How to Complete the Square
Written by Awn · Published · 7 min read
Quick Answer
To learn how to complete the square, start with x squared plus bx on one side and the number on the other. Take half of b, square it, and add it to both sides. Write the left side as a squared bracket. Then take square roots of both sides and solve for x.
What Does Completing the Square Mean?
It means turning into a perfect square, such as . Perfect squares are useful because a square root undoes them.
Picture as a square with two strips along its sides. The strips are 4 wide. They leave a 4 by 4 gap in the corner. Adding 16 fills the gap, and you have a full square with sides .
How to Complete the Square in 5 Steps
- Divide every term by , if the number in front of is not 1.
- Move the plain number to the right side.
- Take half of the number in front of , square it, and add it to both sides.
- Write the left side as .
- Take square roots, with , and solve for .
Why half of ? Because . The middle number is double , so is half of it.
You can watch the same five steps on your own problem with the complete the square calculator.
Completing the Square to Find Vertex Form
An expression has no second side, so you can't add to both sides. Add and subtract the same number instead.
Write in vertex form:
- Half of is , and .
- Add and subtract 9: .
- Group the square: .
The vertex is . Since the square is never negative, the smallest value is 2.
How It Leads to the Quadratic Formula
If you complete the square with letters instead of numbers, you get the quadratic formula. Start with .
- Divide by : .
- Move the number: .
- Half of is . Square it and add it to both sides.
- The left side becomes . The right side becomes .
- Take square roots and subtract .
The result is . So the formula is not a separate method. It is this method, done once for every quadratic. If you ever forget the formula, you can rebuild it this way.
When Should You Complete the Square?
| Goal | Best method |
|---|---|
| Find roots, easy numbers | Factor |
| Find roots, any numbers | Quadratic formula |
| Find the vertex or rewrite a circle | Complete the square |
| is even and is 1 | Complete the square is quick |
The other methods are compared in how to solve quadratic equations.
Completing the Square Examples
Example 1: An Even Middle Number
Solve .
- Move the 7: .
- Half of is . Square it and add 16: .
- Write the square: .
- Square roots: , so or .
Example 2: A Number in Front
Solve .
- Divide by 2: .
- Move the 5: .
- Add 9: .
- Square roots: , so or .
Example 3: An Odd Middle Number
Solve .
- Move the 3: .
- Half of 5 is , and its square is . Add it to both sides: .
- Square roots: .
- So or .
Example 4: No Real Roots
Solve .
- Move the 8 and add 4: .
- Square roots of a negative give : .
- So or .
Example 5: Vertex Form With a Number in Front
Write in vertex form.
- Take 2 out of the first two terms only: .
- Half of 6 is 3, and . Add and subtract 9 inside: .
- Move the out. It is multiplied by 2, so it becomes : .
- Combine: .
The vertex is . Since the number in front is positive, the graph opens up and is the smallest value.
Example 6: A Word Problem
A rectangular garden is 6 feet longer than it is wide. Its area is 91 square feet. How wide is it?
- Let be the width. Then , or .
- Half of 6 is 3. Add 9 to both sides: .
- Square roots: , so or .
A width can't be negative, so the garden is 7 feet wide and 13 feet long. Check: .
Example 7: A Circle
Find the center and radius of .
- Group by letter and move the number: .
- Complete each square. Half of is , so add 9. Half of 4 is 2, so add 4.
- Add both numbers on the right too: .
The center is , and the radius is . This is how you complete the square with two letters: you just do it twice.
Example 8: A Fraction in Front
Solve .
- Multiply every term by 2, so the number in front becomes 1: .
- Move the 16: .
- Add 9 to both sides: .
- Square roots: , so or .
How to Check a Completed Square
Expand it. For Example 5, . That is the expression we started with.
You can also look at the two middle numbers. In , the middle term must be . If you wrote for , then , which fits.
For an equation, put both roots back in. There is a faster check as well. When the number in front of is 1, the two roots add to the opposite of and multiply to . In Example 1, and , which match .
What the Finished Square Tells You
| Form you reach | What it means |
|---|---|
| A positive number: two real roots | |
| Zero: one repeated root | |
| A negative number: two complex roots | |
| A graph with its vertex at |
So before you take square roots, look at the number on the right. Its sign tells you what kind of answer to expect.
Common Mistakes
Squaring Before Halving
Half of 8 is 4, and . Squaring first and then halving gives 32, which is wrong.
Forgetting the Plus or Minus
has two answers, because both 3 and square to 9.
Adding the Wrong Amount in Vertex Form
In , adding 4 inside the bracket really adds 8. Subtract 8 outside to balance it.
Leaving a Number in Front of the Square Term
The half-and-square step works only when the number in front of is 1. For , divide everything by 2 first. If you skip that, half of leads nowhere.
Adding to One Side Only
The number you add changes the left side. Add it to the right side too, or the equation is no longer true.
Practice Problems
- Solve .
- Solve .
- Solve .
- Solve .
- Write in vertex form.
Show the answers
- or
- or
- or
- or
Check Your Answer With the Calculator
Put each root back into the first equation. Then compare your steps in the calculator for completing the square. For a class-style explanation, see Quadratic Equations, Part II in Paul's Online Notes.
FAQ
What Are the Completing the Square Steps?
Divide by , move the constant, add the square of half of to both sides, write the square, then take square roots.
Can You Always Complete the Square?
Yes. It works on every quadratic. The numbers may be fractions, and the roots may be complex.
How Do You Complete the Square With Fractions?
Halve the fraction by doubling its bottom number, then square it. Half of is , and its square is .
Why Is It Called Completing the Square?
Because can be drawn as a square with a corner missing. The number you add is the area of that corner.
Is Completing the Square Used After Algebra?
Yes. It gives the center and radius of a circle, and it helps with some integrals in calculus.
What Number Do You Add to Complete the Square?
Add the square of half the number in front of . For , half of 10 is 5, so add 25. The sign of the middle number does not matter here, because a square is never negative.
Is Completing the Square Better Than the Quadratic Formula?
For solving, the formula is often faster when the middle number is odd. For finding a vertex or the center of a circle, completing the square gives the answer directly, and the formula does not.
Next step: pick a quadratic with an even middle number and say each move out loud. Knowing how to complete the square by heart also means you can rebuild the quadratic formula if you forget it.
Try the Calculator
Related Pages
- How to Solve Quadratic EquationsLearn how to solve quadratic equations by factoring, square roots, completing the square, the formula and graphing. See solving quadratics by example.
- How to Factor PolynomialsLearn how to factor polynomials using the GCF, grouping, trinomials and special patterns. Factoring polynomials in clear steps, with diagrams and practice.