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

Algebra.Com's Answer #180395 by richwmiller(17219)\"\" \"About 
You can put this solution on YOUR website!
take (8/2)^2
\n" ); document.write( "4^2=16
\n" ); document.write( "add 16 to both sides\r
\n" ); document.write( "\n" ); document.write( "x^2 + 8x +16= 21
\n" ); document.write( "(x-4)^2=21
\n" ); document.write( "get sqrt
\n" ); document.write( "x=+\-sqrt(21)\r
\n" ); document.write( "\n" ); document.write( "other methods of solving\r
\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%2B8x%2B-5+=+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=%288%29%5E2-4%2A1%2A-5=84\".
\n" ); document.write( "
\n" ); document.write( " Discriminant d=84 is greater than zero. That means that there are two solutions: \"+x%5B12%5D+=+%28-8%2B-sqrt%28+84+%29%29%2F2%5Ca\".
\n" ); document.write( "
\n" ); document.write( " \"x%5B1%5D+=+%28-%288%29%2Bsqrt%28+84+%29%29%2F2%5C1+=+0.58257569495584\"
\n" ); document.write( " \"x%5B2%5D+=+%28-%288%29-sqrt%28+84+%29%29%2F2%5C1+=+-8.58257569495584\"
\n" ); document.write( "
\n" ); document.write( " Quadratic expression \"1x%5E2%2B8x%2B-5\" can be factored:
\n" ); document.write( " \"1x%5E2%2B8x%2B-5+=+1%28x-0.58257569495584%29%2A%28x--8.58257569495584%29\"
\n" ); document.write( " Again, the answer is: 0.58257569495584, -8.58257569495584.\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%2B8%2Ax%2B-5+%29\"
\n" ); document.write( "
\n" ); document.write( "
\n" );