document.write( "Question 7474: How to solve this quadratic equation by completing the square
\n" ); document.write( "
\n" ); document.write( "x^2 + 6X - 7 = 0
\n" ); document.write( "

Algebra.Com's Answer #4128 by longjonsilver(2297)\"\" \"About 
You can put this solution on YOUR website!
ok, completing the square...\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x%5E2%2B6x-7\". First ignore the 7. Just think about the \"x%5E2%2B6x\". What i want to do is think of the correct number (not the 7) that needs to be there so that I can factorise the quadratic as \"%28x%2Bk%29%5E2\" where k is a \"nice\" number, usually an integer, sometimes a simple fraction, rarely a horrible number.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "think about \"%28x%2Bk%29%5E2\". This expands to be \"x%5E2+%2B+2kx+%2B+k%5E2\", so we look at the coefficient before the x-term, our +6, and we note that this is like the \"2k\", so k must be 3. The number we therefore require \"%28k%5E2%29\" is +9, so what we need is:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x%5E2%2B6x%2B9\".\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "That is it done, really. All we have to do now is get this to look like the original, \"x%5E2%2B6x-7\", as follows:\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"x%5E2%2B6x%2B9-9-7\"...note the +9-9 cancel each other out, leaving the -7
\n" ); document.write( "\"x%5E2%2B6x%2B9+-+16\"
\n" ); document.write( "\"%28x%2B3%29%5E2+-+16\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Hope this is clear?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "And now to answer the question... \"%28x%2B3%29%5E2+-+16+=+0\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "\"%28x%2B3%29%5E2+=+16\"
\n" ); document.write( "\"%28x%2B3%29+=+sqrt%2816%29\" or \"%28x%2B3%29+=+-+sqrt%2816%29\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "so x+3 = 4 OR x+3 = -4
\n" ); document.write( "so x=1 OR x=-7\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "jon.
\n" ); document.write( "
\n" ); document.write( "
\n" );