Completing the square transforms a quadratic equation into a form you can solve by taking a square root. It works on any quadratic equation, even ones that don't factor neatly. The technique also converts quadratics into vertex form, which you'll need for graphing parabolas.
Binomial to Perfect Square Trinomial
The core idea behind completing the square is turning a binomial like x2+bx into a perfect square trinomial, which is an expression that factors as a single binomial squared.
Here's how: take half the coefficient of x, then square it. Add that value to the expression.
Start with x2+bx
Compute (2b)2
Add it: x2+bx+(2b)2=(x+2b)2
Example: For x2+6x, half of 6 is 3, and 32=9. So x2+6x+9=(x+3)2.
This works because (x+3)2=x2+6x+9 when you expand it. You're just reverse-engineering that pattern.
Completing the Square with Leading Coefficient 1
When the equation has the form x2+bx+c=0 (leading coefficient already 1), follow these steps:
Move the constant to the right side. Subtract c from both sides:
x2+bx=−c
Complete the square. Calculate (2b)2 and add it to both sides:
x2+bx+(2b)2=−c+(2b)2
Factor the left side as a perfect square:
(x+2b)2=−c+(2b)2
Take the square root of both sides (don't forget the ±):
x+2b=±−c+(2b)2
Isolate x by subtracting 2b:
x=−2b±−c+(2b)2
Example: Solve x2+6x+5=0
x2+6x=−5
Half of 6 is 3, and 32=9. Add 9 to both sides: x2+6x+9=−5+9
(x+3)2=4
x+3=±2
x=−3+2=−1 or x=−3−2=−5
Completing the Square for Any Leading Coefficient
When a=1 in ax2+bx+c=0, you need one extra step at the start: divide everything by a.
Divide both sides by a to make the leading coefficient 1:
x2+abx+ac=0
Move the constant to the right side:x2+abx=−ac
Complete the square. Calculate (2ab)2 and add it to both sides:
x2+abx+(2ab)2=−ac+(2ab)2
Factor the left side:(x+2ab)2=−ac+(2ab)2
Take the square root of both sides:x+2ab=±−ac+(2ab)2
Isolate x:x=−2ab±−ac+(2ab)2
Example: Solve 2x2+12x+7=0
Divide by 2: x2+6x+27=0
x2+6x=−27
Half of 6 is 3, and 32=9. Add 9 to both sides: x2+6x+9=−27+9=211
(x+3)2=211
x+3=±211=±222
x=−3±222
A common mistake here: students divide only some terms by a instead of every term. Make sure you divide the entire equation.
Other Methods for Solving Quadratic Equations
Completing the square always works, but it's not always the fastest route. Here's how it compares to the other methods:
Factoring: Quickest when the quadratic factors cleanly over integers (like x2+6x+5=(x+5)(x+1)). Not every quadratic factors neatly, though.
Quadratic formula: Works on any quadratic, just like completing the square. The formula x=2a−b±b2−4ac is actually derived from completing the square on the general equation ax2+bx+c=0.
Discriminant: The expression b2−4ac (the part under the square root in the quadratic formula) tells you what kind of solutions to expect before you solve: