document.write( "Question 27815: Solve by completing the square.\r
\n" ); document.write( "\n" ); document.write( "x^2=5x+2
\n" ); document.write( "

Algebra.Com's Answer #15148 by Earlsdon(6294)\"\" \"About 
You can put this solution on YOUR website!
Solve by completing the square:
\n" ); document.write( "\"x%5E2+=+5x+%2B+2\" First, subtract 5x from both sides of the equation.
\n" ); document.write( "\"x%5E2+-+5x+=+2\" Complete the square in the x-terms by adding the square of half the x-coefficient (that's \"%285%2F2%29%5E2+=+%2825%2F4%29\" to both sides of the equation.
\n" ); document.write( "\"x%5E2+-+5x+%2B+25%2F4+=+2+%2B+25%2F4\"Simplify.
\n" ); document.write( "\"%28x+-+5%2F2%29%5E2+=+33%2F4\" Now take the square root of both sides.
\n" ); document.write( "\"x+-+5%2F2+=+%28sqrt%2833%29%29%2F2\" ...and , of course, the right side has a + or - in front. Now add 5/2 to both sides.
\n" ); document.write( "\"x+=+5%2F2\"+or-\"%28sqrt%2833%29%29%2F2\"
\n" ); document.write( "
\n" );