document.write( "Question 5955: david`s father is two year old than his mother and his mother`s age is the square of his age. They years adds up to 80 years.How old is each one of them? \n" ); document.write( "
Algebra.Com's Answer #3276 by glabow(165)\"\" \"About 
You can put this solution on YOUR website!
Define variables:
\n" ); document.write( "x = David's age
\n" ); document.write( "f = father's age
\n" ); document.write( "m = mother's age
\n" ); document.write( "We know:
\n" ); document.write( "f = m + 2
\n" ); document.write( "\"x%5E2\" = m
\n" ); document.write( "x + f + m = 80\r
\n" ); document.write( "\n" ); document.write( "Rearrange to \"x+=+80+-+f+-+m\"
\n" ); document.write( "Substitute m+2 for f, giving \"x=80-%28m%2B2%29-m\" which is \"x=80-m-2-m\"
\n" ); document.write( "which is \"x=80-2m-2\" which is \"x=78-2m\"
\n" ); document.write( "Substitute \"x%5E2\" for m, giving \"x=78-2x%5E2\"
\n" ); document.write( "Rearranging gives \"2x%5E2%2Bx-78=0\"
\n" ); document.write( "This can be solved by factoring. We are looking for two numbers that multiply to -78 and when we subtract twice one from the other we get 1. If we assume the ages are given in whole numbers, possible answers to numbers that multiply to 78 are (1, 78), (2, 39), and (6, 13). By inspection we see that 2*6 is different from 13 by 1. So the factors are either 6 and -13 or -6 and 13. Since we want a positive 1, -6 and 13 are correct. The equation factors to
\n" ); document.write( "\"x=2x%5E2%2Bx-78=%282x%2B13%29%28x-6%29=0\" and x will be either -13 or 6.
\n" ); document.write( "Obviously,
\n" ); document.write( "x = 6
\n" ); document.write( "m = 36
\n" ); document.write( "f = 38
\n" ); document.write( "Checking, \"6%2B36%2B38=80\"
\n" ); document.write( "
\n" );