document.write( "Question 229581: Mary is 12 years older than her sister, Martha. The product of their ages is 540. How old is each? \n" ); document.write( "
Algebra.Com's Answer #170182 by drj(1380)\"\" \"About 
You can put this solution on YOUR website!
Mary is 12 years older than her sister, Martha. The product of their ages is 540. How old is each?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Step 1. Let x be the age of Martha.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Step 2. Let x+12 be the age of Mary.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Step 3. Then \"x%28x%2B12%29=x%5E2%2B12x=540\" since the product of their ages is 540. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Step 4. We can form a quadratic equation by subtracting 540 from both sides of the equation\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x%5E2%2B12x-540=cross%28540%29-cross%28540%29\" \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x%5E2%2B12x-540=0\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Step 4. To solve, use the quadratic formula given as\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x+=+%28-b+%2B-+sqrt%28+b%5E2-4%2Aa%2Ac+%29%29%2F%282%2Aa%29+\" \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "where a=1, b=12 and c=-540.\r
\n" ); document.write( "
\n" ); document.write( "\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%2B12x%2B-540+=+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=%2812%29%5E2-4%2A1%2A-540=2304\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=2304 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-12%2B-sqrt%28+2304+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%2812%29%2Bsqrt%28+2304+%29%29%2F2%5C1+=+18\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%2812%29-sqrt%28+2304+%29%29%2F2%5C1+=+-30\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1x%5E2%2B12x%2B-540\" can be factored:
\n" ); document.write( " \"1x%5E2%2B12x%2B-540+=+1%28x-18%29%2A%28x--30%29\"
\n" ); document.write( " Again, the answer is: 18, -30.\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%2B12%2Ax%2B-540+%29\"

\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Step 5. Selecting the positive answer x=18 then x+12=30 and note the product of 18 and 30 is 540.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Step 6. ANSWER: Martha is 18 years old and Mary is 30 years old.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I hope the above steps were helpful.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "For FREE Step-By-Step videos in Introduction to Algebra, please visit http://www.FreedomUniversity.TV/courses/IntroAlgebra and for Trigonometry visit http://www.FreedomUniversity.TV/courses/Trigonometry.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Good luck in your studies!\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Respectfully,
\n" ); document.write( "Dr J\r
\n" ); document.write( "\n" ); document.write( "S
\n" ); document.write( "
\n" ); document.write( "
\n" );