Completing the Square
GeneralCompleting the Square
A method for solving quadratic equations by rewriting them into a perfect-square-trinomial form, useful both for solving and for deriving the quadratic formula itself.
Definition
Completing the square is a method for solving a quadratic equation by manipulating it into the form (x + p)² = q, a perfect square trinomial set equal to a constant, which can then be solved by taking a square root. It's one of three standard methods for solving quadratics, alongside factoring and the quadratic formula.
Beyond solving equations, this technique is also how you convert a quadratic from standard form into vertex form, useful for quickly identifying a parabola's maximum or minimum point without graphing it. It's also the method used to derive the quadratic formula itself.
Formula
For ax² + bx + c = 0 (assuming a = 1 for simplicity):
- Move c to the other side: x² + bx = −c
- Add (b/2)² to both sides: x² + bx + (b/2)² = −c + (b/2)²
- Factor the left side as a perfect square: (x + b/2)² = −c + (b/2)²
- Take the square root and solve for x
Worked Example
Solve x² + 6x − 7 = 0 by completing the square:
- Move constant: x² + 6x = 7
- Add (6/2)² = 9 to both sides: x² + 6x + 9 = 16
- Factor: (x + 3)² = 16
- Take square root: x + 3 = ±4
- Solve: x = 1 or x = −7
Checking against the original equation confirms both values satisfy x² + 6x − 7 = 0.
Key Things to Know
- Divide by the leading coefficient first if it isn't 1. Skipping this step breaks the perfect-square pattern and leads to an incorrect result.
- The value added to both sides is always (b/2)². This is the key step that turns the left side into a factorable perfect square trinomial.
- Useful beyond just solving, for finding a parabola's vertex. Converting to (x + p)² = q form directly reveals the vertex coordinates without needing calculus or graphing.
- Mathematically identical to using the quadratic formula. Both methods always agree, completing the square is simply the derivation path that produces the quadratic formula in general form.
- Works even when the equation has no real solutions. You'll encounter a negative number under a square root partway through, revealing complex solutions rather than a dead end.
Frequently Asked Questions