document.write( "Question 954964: The difference between two integers is three and their product is 40. What are the two numbers?
\n" ); document.write( "Thank you!!
\n" ); document.write( "

Algebra.Com's Answer #583302 by macston(5194)\"\" \"About 
You can put this solution on YOUR website!
x and y are integers
\n" ); document.write( "x-y=3
\n" ); document.write( "x=y+3
\n" ); document.write( "xy=40 Substitute for x
\n" ); document.write( "\"%28y%2B3%29y=40\"
\n" ); document.write( "\"y%5E2%2B3y=40\" Subtract 40 from each side.
\n" ); document.write( "\"y%5E2%2B3y-40=0\"\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%2B3y%2B-40+=+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=%283%29%5E2-4%2A1%2A-40=169\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=169 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-3%2B-sqrt%28+169+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"y%5B1%5D+=+%28-%283%29%2Bsqrt%28+169+%29%29%2F2%5C1+=+5\"
\n" ); document.write( " \"y%5B2%5D+=+%28-%283%29-sqrt%28+169+%29%29%2F2%5C1+=+-8\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1y%5E2%2B3y%2B-40\" can be factored:
\n" ); document.write( " \"1y%5E2%2B3y%2B-40+=+1%28y-5%29%2A%28y--8%29\"
\n" ); document.write( " Again, the answer is: 5, -8.\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%2B3%2Ax%2B-40+%29\"

\n" ); document.write( "\n" ); document.write( "y=5 ANSWER 1: One of the integers is 5.
\n" ); document.write( "x=y+3=5+3=8 ANSWER 2: The other integer is 8.
\n" ); document.write( "CHECK:
\n" ); document.write( "xy=40
\n" ); document.write( "(8)(5)=40
\n" ); document.write( "40=40
\n" ); document.write( "
\n" ); document.write( "
\n" );