document.write( "Question 1187483: If Anne is 4 years older than Marie and the sum of the squares of their ages is 40. what are their individual ages? \n" ); document.write( "
Algebra.Com's Answer #818493 by greenestamps(13203)\"\" \"About 
You can put this solution on YOUR website!


\n" ); document.write( "Solving by trial and error is far easier than a formal algebraic solution. Simply look for a way to break 40 into the sum of two perfect squares.

\n" ); document.write( "1+39? no
\n" ); document.write( "4+36? YES

\n" ); document.write( "The squares of their ages are 4 and 36; their ages are 2 and 6. 6 is 4 more than 2, so that solution works.

\n" ); document.write( "But probably a formal algebraic solution was wanted....

\n" ); document.write( "Let x = Marie's age
\n" ); document.write( "Then x+4 = Anne's age

\n" ); document.write( "The sum of the squares of their ages is 40:

\n" ); document.write( "\"x%5E2%2B%28x%2B4%29%5E2=40\"
\n" ); document.write( "\"x%5E2%2Bx%5E2%2B8x%2B16=40\"
\n" ); document.write( "\"2x%5E2%2B8x-24=0\"
\n" ); document.write( "\"x%5E2%2B4x-12=0\"
\n" ); document.write( "\"%28x%2B6%29%28x-2%29=0\"
\n" ); document.write( "\"x=-6\" OR \"x=2\"

\n" ); document.write( "Obviously the negative solution for Marie's age makes no sense; so x=2.

\n" ); document.write( "ANSWERS: Marie's age = x = 2; Anne's age = x+4 = 6

\n" ); document.write( "
\n" ); document.write( "
\n" );