document.write( "Question 790572: A girl is 3 years younger than her brother. The product of their ages is 238. Find their ages. \n" ); document.write( "
Algebra.Com's Answer #479317 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
The easiest way to the answer (in my opinion) is to factor 238.
\n" ); document.write( "Dividing by 2, I find that \"238=2%2A119\"
\n" ); document.write( "119 does not divide evenly by 2, 3, or 5, but it divides by 7:
\n" ); document.write( "\"119=7%2A17\"
\n" ); document.write( "So, \"238=2%2A7%2A17=14%2A17\"
\n" ); document.write( "The sister is \"highlight%2814%29\" and the brother is \"highlight%2817%29\".
\n" ); document.write( "If you are studying prime factorization, or if you are not in advanced algebra, that is the way you are expected to solve the problem.
\n" ); document.write( "
\n" ); document.write( "If you are studying quadratic equations, you may be expected to write and solve one, in a long, painful, unnecessary waste of effort, like this:
\n" ); document.write( "\"x\"= age of the brother
\n" ); document.write( "\"x-3\"= age of the sister
\n" ); document.write( "\"x%28x-3%29=238\"
\n" ); document.write( "\"x%5E2-3x=238\"
\n" ); document.write( "\"x%5E2-3x-238=0\"
\n" ); document.write( "That is the quadratic equation.
\n" ); document.write( "
\n" ); document.write( "There are 3 popular ways to solve such an equation.
\n" ); document.write( "You could use factoring, \"completing the square\", or the quadratic formula.
\n" ); document.write( "
\n" ); document.write( "Factoring involves finding two factors that multiply to yield 238, and differ by 3. In a way, that is what I did above, without even mentioning algebra or equations.
\n" ); document.write( "Factoring, we find that \"x%5E2-3x-238=%28x-17%29%28x%2B14%29\" so we re-write the equation as
\n" ); document.write( "\"%28x-17%29%28x%2B14%29=0\"
\n" ); document.write( "At that point we realize that a solution must make \"x-17=0\" or \"x%2B14=0\"
\n" ); document.write( "\"x%2B14=0\"-->\"x=-14\" which cannot be the brother's age, because it is a negative number.
\n" ); document.write( "\"x-17=0\" leads to \"x=highlight%2817%29\"= age of the brother, and
\n" ); document.write( "\"17-3=highlight%2814%29\"= age of the sister.
\n" ); document.write( "
\n" ); document.write( "Completing the square would be:
\n" ); document.write( "\"x%5E2-3x=238\"
\n" ); document.write( "\"x%5E2-3x%2B9%2F4=238%2B9%2F4\"
\n" ); document.write( "\"%28x-3%2F2%29%5E2=238%2B9%2F4\"
\n" ); document.write( "\"%28x-3%2F2%29%5E2=952%2F4%2B9%2F4\"
\n" ); document.write( "\"%28x-3%2F2%29%5E2=961%2F4\"
\n" ); document.write( "\"%28x-3%2F2%29%5E2=%2831%2F2%29%5E2\"
\n" ); document.write( "So either \"x-3%2F2=-31%2F2\" --> \"x=-31%2F2%2B3%2F2%3C0\" (which cannot be the age of the brother), or
\n" ); document.write( "\"x-3%2F2=31%2F2\" --> \"x=31%2F2%2B3%2F2=34%2F2=highlight%2817%29\"= age of the brother,
\n" ); document.write( "so \"17-3=highlight%2814%29\"= age of the sister.
\n" ); document.write( "
\n" ); document.write( "Using the quadratic formula:
\n" ); document.write( "The solutions to \"ax%5E2%2Bbx%2Bc=0\" can be expressed as
\n" ); document.write( "\"x+=+%28-b+%2B-+sqrt%28+b%5E2-4%2Aa%2Ac+%29%29%2F%282%2Aa%29+\"
\n" ); document.write( "In the case of \"x%5E2-3x-238=0\",
\n" ); document.write( "\"a=1\", \"b=-3\", and \"c=-238\", so
\n" ); document.write( "
\n" ); document.write( "So the solutions to that equation are:
\n" ); document.write( "\"c=%283-31%29%2F2=-28%2F2=-14\" (which is not a solution to the problem, because the brother's age cannot be negative),
\n" ); document.write( "and \"x=%283%2B31%29%2F2=34%2F2=highlight%2817%29\"= age of the brother,
\n" ); document.write( "so \"17-3=highlight%2814%29\"= age of the sister.
\n" ); document.write( " \r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );