document.write( "Question 353789: solve by completing the square\r
\n" ); document.write( "\n" ); document.write( "x^2+7x-30=0\r
\n" ); document.write( "\n" ); document.write( " what is the solution for x?? use commas to separate as needed
\n" ); document.write( "

Algebra.Com's Answer #252902 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
\"x%5E2+%2B+7x+-+30+=+0\"
\n" ); document.write( "Add \"30\" to both sides
\n" ); document.write( "\"x%5E2+%2B+7x+=+30\"
\n" ); document.write( "Take 1/2 of \"7\", square it, and
\n" ); document.write( "add it to both sides
\n" ); document.write( "\"x%5E2+%2B+7x+%2B+%287%2F2%29%5E2+=+30+%2B+%287%2F2%29%5E2\"
\n" ); document.write( "\"x%5E2+%2B+7x+%2B+49%2F4+=+30+%2B+49%2F4\"
\n" ); document.write( "\"x%5E2+%2B+7x+%2B+49%2F4+=+120%2F4+%2B+49%2F4\"
\n" ); document.write( "\"x%5E2+%2B+7x+%2B+49%2F4+=+169%2F4\"
\n" ); document.write( "\"%28x+%2B+7%2F2%29%5E2+=+%2813%2F2%29%5E2\"
\n" ); document.write( "Both sides are now perfect squares. The
\n" ); document.write( "right side doesn't have to be a perfect
\n" ); document.write( "square, but the solution is neater if it is.
\n" ); document.write( "Now take the square root of both sides
\n" ); document.write( "\"x+%2B+7%2F2+=+13%2F2\"
\n" ); document.write( "\"x+=+13%2F2+-+7%2F2\"
\n" ); document.write( "\"x+=+6%2F2\"
\n" ); document.write( "\"x+=+3\"
\n" ); document.write( "Taking the (-) square root:
\n" ); document.write( "\"x+%2B+7%2F2+=+-13%2F2\"
\n" ); document.write( "\"x+=+-13%2F2+-+7%2F2\"
\n" ); document.write( "\"x+=+-20%2F2\"
\n" ); document.write( "\"x+=+-10\"
\n" ); document.write( "From these I get \"x+-+3+=+0\"
\n" ); document.write( "and \"x+%2B+10+=+0\"
\n" ); document.write( "\"%28x+-+3%29%2A%28x+%2B+10%29+=+x%5E2+%2B+7x+-+30\"
\n" ); document.write( "
\n" );