Completing the Square Formula
The Formula
When to use: Imagine you have x^2 + 6x and want a perfect square. A perfect square like (x + 3)^2 = x^2 + 6x + 9 needs that extra +9. So you add 9 and subtract 9 to keep the expression equal—then group the perfect square part.
Quick Example
Vertex form with vertex (-3, -7).
Notation
What This Formula Means
A technique for rewriting ax^2 + bx + c in vertex form a(x - h)^2 + k by adding and subtracting the value \left(\frac{b}{2a}\right)^2 to create a perfect square trinomial.
Imagine you have x^2 + 6x and want a perfect square. A perfect square like (x + 3)^2 = x^2 + 6x + 9 needs that extra +9. So you add 9 and subtract 9 to keep the expression equal—then group the perfect square part.
Formal View
Worked Examples
Example 1
mediumSolution
- 1 Take half of the coefficient of x: \frac{6}{2} = 3.
- 2 Square it: 3^2 = 9.
- 3 Add and subtract 9: x^2 + 6x + 9 - 9 + 2 = (x + 3)^2 - 7.
Answer
Example 2
hardCommon Mistakes
- Forgetting to subtract the same value you added (you must add AND subtract \left(\frac{b}{2}\right)^2 to maintain equality)
- Not factoring out a first when a \neq 1
- Arithmetic errors when computing \left(\frac{b}{2}\right)^2, especially with fractions or negatives
Why This Formula Matters
Completing the square converts standard form to vertex form, derives the quadratic formula, and appears throughout higher math including conic sections and integral techniques.
Frequently Asked Questions
What is the Completing the Square formula?
A technique for rewriting ax^2 + bx + c in vertex form a(x - h)^2 + k by adding and subtracting the value \left(\frac{b}{2a}\right)^2 to create a perfect square trinomial.
How do you use the Completing the Square formula?
Imagine you have x^2 + 6x and want a perfect square. A perfect square like (x + 3)^2 = x^2 + 6x + 9 needs that extra +9. So you add 9 and subtract 9 to keep the expression equal—then group the perfect square part.
What do the symbols mean in the Completing the Square formula?
\left(\frac{b}{2}\right)^2 is the value added and subtracted. The result is a perfect square (x + \frac{b}{2})^2 plus a constant.
Why is the Completing the Square formula important in Math?
Completing the square converts standard form to vertex form, derives the quadratic formula, and appears throughout higher math including conic sections and integral techniques.
What do students get wrong about Completing the Square?
When a \neq 1, you must factor out a from the x^2 and x terms first, then complete the square inside the parentheses—and be careful when distributing a back.
What should I learn before the Completing the Square formula?
Before studying the Completing the Square formula, you should understand: quadratic standard form, expressions.
Want the Full Guide?
This formula is covered in depth in our complete guide:
Quadratic Equations: Factoring, Completing the Square, and the Quadratic Formula →