How to complete the square
Short answer: halve the number in front of x, put it in a bracket with x, square the bracket, then subtract the square of that half so the expression stays equal. For x² + 6x + 2 that gives (x + 3)² − 7. From this form you can read the turning point, (−3, −7), and solve the equation with a square root: x = −3 ± √7.
Free course on this topicMaths Quest: free courseStart the course →
What completing the square means
A quadratic like x² + 6x + 2 is hard to read as it stands. Completing the square rewrites it as (x + p)² + q: one squared bracket plus a number. It's the same expression, just in a form that tells you more. At GCSE it's a higher-tier topic and it shows up in two kinds of questions: "write in the form (x + p)² + q" and "find the turning point".
More in the lesson: Completing the square
Step by step: halve the middle number
Take x² + 6x + 2.
1. Halve the coefficient of x. Half of 6 is 3, so the bracket is (x + 3).
2. Square the bracket in your head. (x + 3)² = x² + 6x + 9. That's 9 too many compared with the original.
3. Subtract the square of the half. (x + 3)² − 9 + 2.
4. Tidy up. (x + 3)² − 7.
Check by expanding: (x + 3)² − 7 = x² + 6x + 9 − 7 = x² + 6x + 2.
More in the lesson: Completing the square
Two more examples with answers
- x² + 8x + 3. Half of 8 is 4. (x + 4)² = x² + 8x + 16, so subtract 13: (x + 4)² − 13.
- x² − 10x. Half of −10 is −5. (x − 5)² = x² − 10x + 25, so subtract 25: (x − 5)² − 25.
The sign inside the bracket is the sign of the x term.
More in the lesson: Completing the square
How to find the turning point
The lowest point of the curve y = (x + 3)² − 7 is where the bracket equals 0, because a square can never be negative. The bracket is 0 at x = −3, and then y = −7. So the turning point is (−3, −7).
The rule: for y = (x + p)² + q the turning point is (−p, q). Watch the sign of x: for y = (x − 2)² + 5 it's (2, 5), not (−2, 5).
More in the lesson: Completing the square
How to solve an equation by completing the square
Solve x² + 6x + 2 = 0.
1. Complete the square: (x + 3)² − 7 = 0.
2. Rearrange: (x + 3)² = 7.
3. Square root both sides and remember ±: x + 3 = ±√7.
4. Answer: x = −3 ± √7, so x ≈ −0.354 or x ≈ −5.646 to 3 decimal places.
Forgetting the ± loses one of the two answers.
More in the lesson: Completing the square
Completing the square or the quadratic formula?
Both solve any quadratic. The formula is quicker when the question just says "solve" and the numbers are awkward. Completing the square is the one to use when the question asks for the form (x + p)² + q or for the turning point. The formula also has a shortcut check: if b² − 4ac is negative, there are no real solutions.
More in the lesson: The quadratic formula
Common mistakes
- Not halving. Writing (x + 8)² for x² + 8x + 3 instead of (x + 4)².
- Forgetting to subtract. (x + 4)² + 3 is not the same as x² + 8x + 3: the extra 16 has to come off.
- Flipping the sign of the turning point's y. In (x − 2)² + 5 the y-value is +5.
- Dropping ± when you take the square root.
More in the lesson: Completing the square
FAQ
How do you complete the square quickly?
Halve the coefficient of x, write (x + half)², then subtract half squared and add the original number. For x² + 8x + 3: (x + 4)² − 16 + 3 = (x + 4)² − 13.
How do you find the turning point from completing the square?
Write the quadratic as y = (x + p)² + q. The turning point is (−p, q). For y = (x + 3)² − 7 it's (−3, −7).
Is completing the square on the GCSE higher paper?
Yes, it's a higher-tier topic: you may be asked to write a quadratic in the form (x + p)² + q, find its turning point or solve an equation with it.
Practise it free
Maths Quest on Brainax is a free UK maths course from Year 7 to GCSE, built as a quest with islands and bosses. The completing the square lesson has worked steps and a quiz with instant feedback. Start the lesson
Free course on this topicMaths Quest: free courseStart the course →