document.write( "Question 697142: Mary Lou is 4 years younger than her sister, Jane. Their mother, who is a mathematics teacher, noticed that the product of the ages of the two sisters is 32. How old are the girls?\r
\n" ); document.write( "\n" ); document.write( "So far i have : y= age of jane
\n" ); document.write( " x= age of mary lu\r
\n" ); document.write( "\n" ); document.write( "y-x
\n" ); document.write( "y(x)=32
\n" ); document.write( "

Algebra.Com's Answer #429687 by Stitch(470)\"\" \"About 
You can put this solution on YOUR website!
Hi, you are on the right track but the trick is that there are two equations.
\n" ); document.write( "Given:
\n" ); document.write( "Y = Age of Jane
\n" ); document.write( "X = Age of Mary Lou
\n" ); document.write( "-----------------
\n" ); document.write( "Setup:
\n" ); document.write( "Equation 1: \"Y+=+X+%2B+4\"
\n" ); document.write( "Equation 2: \"Y+%2A+X+=+32\"
\n" ); document.write( "------------------
\n" ); document.write( "Since equation 1 is already solved for Y, plug (X + 4) into equation 2 for Y.
\n" ); document.write( "Equation 2: \"Y+%2A+X+=+32\"
\n" ); document.write( "\"%28X+%2B+4%29%2AX+=+32\"
\n" ); document.write( "Simplify
\n" ); document.write( "\"X%5E2+%2B+4X+=+32\"
\n" ); document.write( "Subtract 32 from both sides to set the equation equal to zero
\n" ); document.write( "\"X%5E2+%2B+4X+-+32+=+0\"
\n" ); document.write( "You can now factor the equation or use the quadratic equation.
\n" ); document.write( "Here is the quadratic equation approach.
\n" ); document.write( "\n" ); document.write( "\n" ); document.write( " \n" ); document.write( "\n" ); document.write( "
Solved by pluggable solver: SOLVE quadratic equation with variable
Quadratic equation \"aX%5E2%2BbX%2Bc=0\" (in our case \"1X%5E2%2B4X%2B-32+=+0\") has the following solutons:
\n" ); document.write( "
\n" ); document.write( " \"X%5B12%5D+=+%28b%2B-sqrt%28+b%5E2-4ac+%29%29%2F2%5Ca\"
\n" ); document.write( "
\n" ); document.write( " For these solutions to exist, the discriminant \"b%5E2-4ac\" should not be a negative number.
\n" ); document.write( "
\n" ); document.write( " First, we need to compute the discriminant \"b%5E2-4ac\": \"b%5E2-4ac=%284%29%5E2-4%2A1%2A-32=144\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=144 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-4%2B-sqrt%28+144+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"X%5B1%5D+=+%28-%284%29%2Bsqrt%28+144+%29%29%2F2%5C1+=+4\"
\n" ); document.write( " \"X%5B2%5D+=+%28-%284%29-sqrt%28+144+%29%29%2F2%5C1+=+-8\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1X%5E2%2B4X%2B-32\" can be factored:
\n" ); document.write( " \"1X%5E2%2B4X%2B-32+=+1%28X-4%29%2A%28X--8%29\"
\n" ); document.write( " Again, the answer is: 4, -8.\n" ); document.write( "Here's your graph:
\n" ); document.write( "\"graph%28+500%2C+500%2C+-10%2C+10%2C+-20%2C+20%2C+1%2Ax%5E2%2B4%2Ax%2B-32+%29\"

\n" ); document.write( "\n" ); document.write( "So X is 4 or -8.
\n" ); document.write( "Since age is a positive number this means that Mary Lou is 4
\n" ); document.write( "Now plug 4 into equation 1 for X to solve for Jane's age
\n" ); document.write( "Equation 1: \"Y+=+X+%2B+4\"
\n" ); document.write( "\"Y+=+%284%29+%2B+4\"
\n" ); document.write( "\"highlight%28Y+=+8%29\"\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );