Completing the square is one of those algebra moves that students see once and forget. But it is the single technique behind the quadratic formula, vertex form of a parabola, and several common calculus integrals. Once you internalise the trick, you have a tool you'll use forever.
The core idea
The squared binomial expands to . To turn any expression into a perfect square, you need to add . That is the entire trick.
Worked example: monic case
Complete the square on .
- Take half the linear coefficient: .
- Square it: .
- Rewrite: .
We added 9 and subtracted 9 — net zero, but the first three terms now form a perfect square.
Worked example: non-monic case
Complete the square on .
- Factor 2 out of the first two terms: .
- Inside the bracket, complete the square: .
- Substitute back: .
Application 1: solving quadratics
To solve :
.
Same answer as the quadratic formula, derived from scratch.
Application 2: vertex of a parabola
is in vertex form . Vertex is at , opening upward (since ). You can read this off without calculus.
Application 3: integration
Integrals like resist direct attack but yield to completing the square: , then substitute to recognize an arctangent.
Common mistakes
- Forgetting to subtract what you added — the expression must remain equal to itself.
- Not factoring out the leading coefficient in non-monic cases first.
- Halving the wrong coefficient — it's the linear coefficient , not the leading .
Try with the AI Quadratic Solver
The Quadratic Solver shows the completing-the-square approach side-by-side with the quadratic formula.
Related references:
- Factor Calculator — the alternative path to roots
- Equation Solver — broader equation-solving toolkit
- Integral Calculator — for the calculus application above