document.write( "Question 754101: The difference of two numbers is 16 and the sum of their squares is 130. Find the two numbers.\r
\n" ); document.write( "\n" ); document.write( "I got -9 and -7, but one should be positive and I don't know what I have done wrong?
\n" ); document.write( "

Algebra.Com's Answer #458800 by lwsshak3(11628)\"\" \"About 
You can put this solution on YOUR website!
The difference of two numbers is 16 and the sum of their squares is 130. Find the two numbers.
\n" ); document.write( "let x=one of the two numbers
\n" ); document.write( "let y=other number
\n" ); document.write( "x-y=16
\n" ); document.write( "x=y+16
\n" ); document.write( "..
\n" ); document.write( "x^2+y^2=130
\n" ); document.write( "(y+16)^2+y^2=130
\n" ); document.write( "y^2+32y+256+y^2=130
\n" ); document.write( "2y^2+32y+126=0
\n" ); document.write( "y^2+16y+63=0
\n" ); document.write( "(y+7)(y+9)=0
\n" ); document.write( "y=-7
\n" ); document.write( "x=y+16=9
\n" ); document.write( "or
\n" ); document.write( "y=-9
\n" ); document.write( "x=y+16=7
\n" ); document.write( "two sets of answers:
\n" ); document.write( "-7 & 9 or -9 & 7
\n" ); document.write( "
\n" ); document.write( "
\n" );