Completing the Square
Completing the square rewrites a quadratic so one side becomes a perfect square trinomial — something that factors as . Once it is a perfect square, you can solve by taking the square root of both sides.
The heart of the method is one number: to complete , you add . That is the value that makes the trinomial fold up into a perfect square.
The number that completes the square
Take half of the coefficient of , then square it. For , half of is , and .
Adding makes , which factors as . That is the number you always add.
Solving by completing the square
Move the constant to the other side, add to both sides, and the left side becomes a perfect square. Then take the square root of both sides, remembering the plus-or-minus.
Keep the equation balanced — whatever you add on the left, add on the right too. Finish by solving the two resulting equations for .
Worked examples
Example 1: finding the number
What number completes the square for ?
Answer:
Example 2: solving a quadratic
Solve by completing the square.
Answer: or
Example 3: a coefficient on x squared
Solve by completing the square.
Answer: or
Try one yourself
Common questions
What number do I add to complete the square?
Half of the x-coefficient, squared: . For that is .
Why do I add it to both sides?
To keep the equation balanced. Adding the number only to the left would change the equation; adding it to both sides preserves equality while making the left a perfect square.
What if there is a coefficient on x squared?
Divide every term by that coefficient first so the term stands alone, then complete the square on the result.
Want the video version?
Allday Everyday Math has video lessons, practice, and an AI tutor for every topic, Pre-Algebra through Algebra 2.