document.write( "Question 994122: Please help me solve this equation\r
\n" ); document.write( "\n" ); document.write( "If x^2 + 2xy = 40 and y^2 + 1/2xy = 15 find x^2 + y^2
\n" ); document.write( "x and y are positive integers\r
\n" ); document.write( "\n" ); document.write( "thanks in advance for your help
\n" ); document.write( "

Algebra.Com's Answer #613333 by ikleyn(52814)\"\" \"About 
You can put this solution on YOUR website!
.
\r\n" );
document.write( "x^2 + 2xy = 40,       (1)\r\n" );
document.write( "y^2 + 1/2xy = 15.     (2)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Multiply the second equation by 4 (both sides). You will have an equivalent system\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "x^2 + 2xy = 40,       (3)\r\n" );
document.write( "4y^2 + 2xy = 60.      (4)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Now add equations (3) and (4) of the last system. You will get\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\"x%5E2+%2B+2xy+%2B+2xy+%2B+4y%5E2\" = \"100\", or \"x%5E2+%2B+4xy+%2B+4y%5E2\" = \"100\", or \"%28x+%2B+2y%29%5E2\" = \"100\", or x + 2y = +/-10.      (5)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "Next, distract the equation (4) from the equation (3). You will get\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\"x%5E2+-+4y%5E2\" = \"20\", or (x+2y)*(x-2y) = 20.                 (6)\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "By combining (5) and (6), you have two linear systems of two equations in two unknowns\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "\"system%28x+%2B+2y+=+10%2C%0D%0Ax-2y+=+2%29\",        and     \"system%28x+%2B+2y+=+-10%2C%0D%0Ax-2y+=+-2%29\".\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "First of these two systems has the solution x=6, y=2.\r\n" );
document.write( "\r\n" );
document.write( "The second system has negative solutions x=-6, y=-2.\r\n" );
document.write( "\r\n" );
document.write( "\r\n" );
document.write( "According to the condition, only the pair x=6, y=2 does suit. \r\n" );
document.write( "
\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );