document.write( "Question 31450: using the quadratic equation x2-4x-5=0 perform the following task:\r
\n" ); document.write( "\n" ); document.write( "solve by completing the square. \r
\n" ); document.write( "\n" ); document.write( "how do i do this im lost thank you.
\n" ); document.write( "

Algebra.Com's Answer #18144 by Earlsdon(6294)\"\" \"About 
You can put this solution on YOUR website!
Solve by completing the square:
\n" ); document.write( "\"x%5E2-4x-5+=+0\" First add 5 to both sides of the equation.
\n" ); document.write( "\"x%5E2-4x+=+5\" Now complete the square in the x-terms by adding the square of half the x-coefficient (\"%284%2F2%29%5E2+=+4\")to both sides of the equation.
\n" ); document.write( "\"x%5E2-4x%2B4+=+9\" Now factor the left side.
\n" ); document.write( "\"%28x-2%29%5E2+=+9\" Take the square root of both sides.
\n" ); document.write( "\"x-2+=+3\"or\"x-2+=+-3\" So:
\n" ); document.write( "\"x+=+5\" and/or \"x+=+-1\"
\n" ); document.write( "The roots are:
\n" ); document.write( "\"x+=+5\"
\n" ); document.write( "\"x+=+-1\"
\n" ); document.write( "
\n" );