Completing the Square
Completing the square rewrites a quadratic so one side is a perfect square trinomial. It is the move behind the quadratic formula and the way to find a parabola's vertex.
The core step: to complete , add . That is the number that makes the trinomial factor as a perfect square.
The magic number
Take half of the coefficient of and square it. For , half of is , and .
Adding makes , a perfect square. That is the number you always add.
Using it to solve
To solve, add the magic number to both sides so the left becomes a perfect square, then solve by taking the square root.
Keep the equation balanced — whatever you add on the left you add on the right too. Then finish with the square-root method.
The same move converts a quadratic to vertex form: becomes , so its parabola has vertex , the lowest point shown below.
Worked examples
Example 1: finding the number
What number completes the square for ?
Answer:
Example 2: writing the square
Complete the square: ?
Answer:
Example 3: using it to solve an equation
Solve by completing the square.
Answer: or
Try one yourself
Common questions
What number do I add?
Half of the x-coefficient, squared: . For that is .
What if there's a coefficient on x-squared?
Factor it out of the x-squared and x terms first, complete the square inside, then account for the factor. The magic-number step applies to the bracket.
Why is completing the square useful?
It solves any quadratic, derives the quadratic formula, and converts to vertex form to read a parabola's vertex directly.
Want the video version?
Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.