document.write( "Question 106099: Solve the equation by completing the square. Give exact Solutions.
\n" ); document.write( "
\n" ); document.write( " x^2 + 4x - 21 = 0\r
\n" ); document.write( "\n" ); document.write( " ( X Squared plus four x Subtract twenty one equals zero.)
\n" ); document.write( "

Algebra.Com's Answer #77194 by Fombitz(32388)\"\" \"About 
You can put this solution on YOUR website!
To complete the square you want to come to an equation that looks like:
\n" ); document.write( "\"%28x%2Ba%29%5E2\"
\n" ); document.write( "If you expand that form and look for common terms in your equation,
\n" ); document.write( "\"%28x%2Ba%29%5E2=x%5E2%2B2ax%2Ba%5E2\"
\n" ); document.write( "Comparing with your equation,
\n" ); document.write( "\"x%5E2%2B2ax%2Ba%5E2=x%5E2%2B4x-21%2BZ\"
\n" ); document.write( "Where Z is the constant I will add to both sides of my original equation to complete the square.
\n" ); document.write( "Comparing the x term,
\n" ); document.write( "\"2ax=4x\"
\n" ); document.write( "\"2a=4\"
\n" ); document.write( "\"a=2\"
\n" ); document.write( "Comparing my constant terms,
\n" ); document.write( "\"a%5E2=-21%2BZ\"
\n" ); document.write( "\"4=-21%2BZ\"
\n" ); document.write( "\"Z=25\"
\n" ); document.write( "Going back to the original equation:
\n" ); document.write( "\"x%5E2+%2B+4x+-+21+=+0\"
\n" ); document.write( "Add Z to both sides,
\n" ); document.write( "\"x%5E2%2B4x-21%2B25=+25\"
\n" ); document.write( "\"x%5E2%2B4x%2B4=+25\"
\n" ); document.write( "\"%28x%2B2%29%5E2=+25\"
\n" ); document.write( "Two solutions.
\n" ); document.write( "\"x%2B2=5%29\" and \"x%2B2=+-5\"
\n" ); document.write( "\"x%2B2=5%29\"
\n" ); document.write( "\"highlight%28x=3%29\"
\n" ); document.write( "\"x%2B2=+-5\"
\n" ); document.write( "\"highlight%28x=-7%29\"
\n" ); document.write( "Always check your answers.
\n" ); document.write( "\"x%5E2+%2B+4x+-+21+=+0\"
\n" ); document.write( "\"3%5E2+%2B+4%283%29+-+21+=+0\"
\n" ); document.write( "\"9%2B12-21=0\"
\n" ); document.write( "\"0=0\"
\n" ); document.write( "Good answer.
\n" ); document.write( "\"x%5E2+%2B+4x+-+21+=+0\"
\n" ); document.write( "\"%28-7%29%5E2+%2B+4%28-7%29+-+21+=+0\"
\n" ); document.write( "\"49-28-21=0\"
\n" ); document.write( "\"0=0\"
\n" ); document.write( "Good answer.
\n" ); document.write( "x=3 and x=-7.
\n" ); document.write( "
\n" );