document.write( "Question 491211: Solve by completing the square...
\n" ); document.write( "1. x^2-6x+8=0
\n" ); document.write( "2. x^2+5x+6=0
\n" ); document.write( "

Algebra.Com's Answer #334560 by Maths68(1474)\"\" \"About 
You can put this solution on YOUR website!
x^2-6x+8=0
\n" ); document.write( "x^2-6x=-8
\n" ); document.write( "Half of the middle term coefficient (6) is 3 so add square of 3 both sides of the equation.
\n" ); document.write( "x^2-6x+9=-8+9
\n" ); document.write( "x^-2(3)x+(3)^2=1
\n" ); document.write( "x^-2(3)x+(3)^2=1
\n" ); document.write( "(x-3)^2=1
\n" ); document.write( "x-3=1 or x-3=-1
\n" ); document.write( "x=1+3 or x=-1+3
\n" ); document.write( "x=4 or x=2
\n" ); document.write( "
\n" ); document.write( "x^2+5x+6=0
\n" ); document.write( "x^2+5x=-6
\n" ); document.write( "Half of the middle term coefficient (5) is 5/2 so add square of 5/2 both sides of the equation.
\n" ); document.write( "x^2+5x+25/4=-6+25/4
\n" ); document.write( "x^2+2 (5/2)x+25/4=-6+25/4
\n" ); document.write( "x^2+2 (5/2)x+25/4=(-24+25)/4
\n" ); document.write( "x^2+2 (5/2)x+25/4=1/4
\n" ); document.write( "(x+5/2)^2=1/4
\n" ); document.write( "x+5/2=1/2 or x+5/2=-1/2
\n" ); document.write( "x=1/2-5/2 or x=-1/2-5/2
\n" ); document.write( "x=(1-5)/2 or x=(-1-5)/2
\n" ); document.write( "x=-4/2 or x=-6/2
\n" ); document.write( "x=-2 or x=-3
\n" ); document.write( "
\n" ); document.write( "
\n" );