How do you solve by completing the square: ax2+bx+c=0?

1 Answer
Apr 1, 2015

ax2+bx+c=0

Divide all terms by a so as to reduce the coefficient of x2 to 1
x2+bax+ca=0

Subtract the constant term from both sides of the equation
x2+bax=ca

To have a square on the left side the third term (constant) should be
(b2a)2

So add that amount to both sides
x2+bax+(b2a)2=(b2a)2ca

Re-write the left-side as a square
(x+(b2a))2=(b2a)2ca

Take the square root of both sides (remembering that the result could be plus or minus)
x+(b2a)=±(b2a)2ca

Subtract the constant term on the left side from both sides
x=±(b2a)2ca(b2a)

or, with some simplification

x=b±b24ac2a

(the standard form for solving a quadratic)