document.write( "Question 918203: The difference between two numbers is 9 and the product of the numbers is 162. Find the two numbers.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #558762 by srinivas.g(540)\"\" \"About 
You can put this solution on YOUR website!
let x , y be the 2 numbers
\n" ); document.write( " as per the data x-y =9
\n" ); document.write( " and x*y = 162
\n" ); document.write( " but x-y =9
\n" ); document.write( " x = 9+y
\n" ); document.write( " put x= 9+y in x*y = 162
\n" ); document.write( " (9+y) *y =162
\n" ); document.write( " 9*y+y*y= 162
\n" ); document.write( " 9y+y^2 =162
\n" ); document.write( " y^2+9y =162
\n" ); document.write( " subtract 162 on both sides
\n" ); document.write( " y^2 +9y -162 =162-162
\n" ); document.write( " y^2+9y-162 =0
\n" ); document.write( " solve the quadratic equation \n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE quadratic equation with variable
Quadratic equation \"ay%5E2%2Bby%2Bc=0\" (in our case \"1y%5E2%2B9y%2B-162+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"y%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=%289%29%5E2-4%2A1%2A-162=729\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=729 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-9%2B-sqrt%28+729+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"y%5B1%5D+=+%28-%289%29%2Bsqrt%28+729+%29%29%2F2%5C1+=+9\"
\n" ); document.write( " \"y%5B2%5D+=+%28-%289%29-sqrt%28+729+%29%29%2F2%5C1+=+-18\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1y%5E2%2B9y%2B-162\" can be factored:
\n" ); document.write( " \"1y%5E2%2B9y%2B-162+=+1%28y-9%29%2A%28y--18%29\"
\n" ); document.write( " Again, the answer is: 9, -18.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+1%2Ax%5E2%2B9%2Ax%2B-162+%29\"

\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "so y is either 9 or -18
\n" ); document.write( " if y =9 then x = 9+y=9+9=18
\n" ); document.write( " so numbers x =18 & y =9
\n" ); document.write( " if y =-18 then x= 9+y=9-18 =-9
\n" ); document.write( " so numbers x =-9 & y=-18
\n" ); document.write( "
\n" );