document.write( "Question 27637: One positive number is 3 more than another.
\n" ); document.write( "The sum of their squares is 149 Find both numbers.
\n" ); document.write( "We have tried x=1st number
\n" ); document.write( "and x +3 = 2nd number
\n" ); document.write( "I have figured that x=7 but I cannot get formula written
\n" ); document.write( "Thanks
\n" ); document.write( "

Algebra.Com's Answer #15024 by askmemath(368)\"\" \"About 
You can put this solution on YOUR website!
First Number = X
\n" ); document.write( "Second Number = X+3
\n" ); document.write( "Som of Squares => \"X%5E2+%2B+%28X%2B3%29%5E2\"
\n" ); document.write( "\"X%5E2+%2B+X%5E2+%2B+9+%2B6X\"
\n" ); document.write( "\"2X%5E2+%2B+9+%2B6X\"
\n" ); document.write( "Given that this equals 149
\n" ); document.write( "\"2X%5E2+%2B+9+%2B6X+=+149\"
\n" ); document.write( "Subtracting 149 on both sides
\n" ); document.write( "\"2X%5E2+%2B+9+%2B6X+-+149+=+0\"
\n" ); document.write( "\"2X%5E2+%2B6X+-+140=0\"\r
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE quadratic equation with variable
Quadratic equation \"ax%5E2%2Bbx%2Bc=0\" (in our case \"2x%5E2%2B6x%2B-140+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"x%5B12%5D+=+%28b%2B-sqrt%28+b%5E2-4ac+%29%29%2F2%5Ca\"
\n" ); document.write( "
\n" ); document.write( " For these solutions to exist, the discriminant \"b%5E2-4ac\" should not be a negative number.
\n" ); document.write( "
\n" ); document.write( " First, we need to compute the discriminant \"b%5E2-4ac\": \"b%5E2-4ac=%286%29%5E2-4%2A2%2A-140=1156\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=1156 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-6%2B-sqrt%28+1156+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%286%29%2Bsqrt%28+1156+%29%29%2F2%5C2+=+7\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%286%29-sqrt%28+1156+%29%29%2F2%5C2+=+-10\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"2x%5E2%2B6x%2B-140\" can be factored:
\n" ); document.write( " \"2x%5E2%2B6x%2B-140+=+2%28x-7%29%2A%28x--10%29\"
\n" ); document.write( " Again, the answer is: 7, -10.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+2%2Ax%5E2%2B6%2Ax%2B-140+%29\"

\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Since we are looking for Positive numbers X = 7
\n" ); document.write( "which means the second number is 10 :-)
\n" ); document.write( "
\n" );