When factoring a quadratic is awkward, completing the square is the method that always works. It rewrites a quadratic into a form like , which makes the graph easier to read and gives a reliable way to solve quadratic equations by taking square roots.
The core identity, when the quadratic part starts with , is:
You add the exact term needed to make a square, then subtract the same term so the value stays unchanged.
When To Reach For This Method
You will usually use completing the square when you need to:
- Solve a quadratic that does not factor nicely
- Rewrite a quadratic into vertex form
- Find the maximum or minimum value of a quadratic function
- Understand where the quadratic formula comes from
A perfect square trinomial comes from squaring a binomial:
or
Completing the square means rewriting part of a quadratic so it matches one of those patterns exactly. The fast rule is: in , take half of , then square it. That gives the needed constant .
The Steps
1. Isolate the quadratic part
Keep the and terms together. If the quadratic starts as with , factor out of the and terms first, because the half-then-square shortcut applies directly only after the quadratic part has leading coefficient .
2. Half the linear coefficient, then square
In , take and square it. Adding to gives
3. Add and balance
Add that value and subtract the same amount so the expression stays equal:
You are not changing the quantity, only the form.
4. Rewrite the square and simplify
Turn the trinomial into a square such as and combine the constants.
A Full Worked Example: Rewrite And Solve
Start with
Focus on . Half of is , and , so is the term that completes the square. Add and subtract :
Group the square and simplify:
Now the structure is clear. The vertex is , so the graph reaches its minimum when .
To solve , set the rewritten form equal to zero:
Move across:
Take square roots:
Then solve:
One rewrite gave both the vertex and the solutions. That is the main practical reason this method is useful.
Where Students Get Stuck, And How To Check
The hardest single step is handling a leading coefficient. If the quadratic starts as with , factor out of the quadratic part first. For example,
becomes
Inside the parentheses, half of is , so you add there:
That simplifies to
The balancing term is , not , because the added was inside parentheses multiplied by .
To self-check at the end, expand your answer and make sure you recover the original. If you claim
then expanding gives , which confirms the rewrite.
Watch for these recurring slips:
- Squaring before halving. For , the needed term is , not .
- Forgetting to balance. If you add a value to make a square, subtract the same total value.
- Skipping the leading coefficient step when the quadratic starts with or .
- Losing the sign. expands to , not .
To rehearse the leading-coefficient-free case, work through : half of is , so the square part involves . Then solve the same quadratic with the quadratic formula and confirm both methods give the same roots.
Frequently Asked Questions
- What is completing the square used for?
- It rewrites a quadratic into a square form that makes the vertex easier to read and can turn a quadratic equation into something you can solve by taking square roots.
- Do you factor out the leading coefficient first?
- If the quadratic starts as $ax^2 + bx + c$ with $a \ne 1$, factor $a$ out of the $x^2$ and $x$ terms before completing the square inside the parentheses.
Need help with a problem?
Upload your question and get a verified, step-by-step solution in seconds.
Open GPAI Solver →