document.write( "Question 603119: solve for x:
\n" ); document.write( "x^2-6x+4=0
\n" ); document.write( "

Algebra.Com's Answer #380616 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
You can solve \"x%5E2-6x%2B4=0\" by \"completing the square\" or you can apply the quadratic formula.
\n" ); document.write( "
\n" ); document.write( "COMPLETING THE SQUARE:
\n" ); document.write( "\"x%5E2-6x%2B4=0\" --> \"x%5E2-6x=-4\"
\n" ); document.write( "At this point you would recognize that the left hand side of the equation resembles the square
\n" ); document.write( "\"%28x-3%29%5E2=x%5E2-6x%2B9\"
\n" ); document.write( "So, you add 9 to both sides of \"x%5E2-6x=-4\" to get the equivalent equation with the complete square on the left hand side:
\n" ); document.write( "\"x%5E2-6x%2B9=-4%2B9\" --> \"x%5E2-6x%2B9=5\" ---> \"%28x-3%29%5E2=5\"
\n" ); document.write( "At this point, you know that either
\n" ); document.write( "\"x-3=sqrt%285%29\" or \"x-3=-sqrt%285%29\"
\n" ); document.write( "Adding 3 to both sides of the two equations above, you get the two solutions
\n" ); document.write( "\"x=3%2Bsqrt%285%29\" and \"x=3-sqrt%285%29\",
\n" ); document.write( "which can be summarized as
\n" ); document.write( "\"x=3+%2B-+sqrt%285%29\"
\n" ); document.write( "
\n" ); document.write( "THE QUADRATIC FORMULA
\n" ); document.write( "All quadratic equations are of the form
\n" ); document.write( "\"ax%5E2%2Bbx%2Bc=0\" where a, b, and c are the coefficients which could be any number, with the only restriction that a cannot be zero.
\n" ); document.write( "The solution is given by the quadratic formula:
\n" ); document.write( "\"x=%28-b+%2B-+sqrt%28b%5E2-4%2Aa%2Ac%29%29%2F%282%2Aa%29\"
\n" ); document.write( "In the equation \"x%5E2-6x%2B4=0\",
\n" ); document.write( "a=1, b=-6 and c=4, so the quadratic formula gives us
\n" ); document.write( "
\n" ); document.write( "That can be simplified like this
\n" ); document.write( "\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );