Completing the square
Cambridge IGCSE Mathematics (0580) · 0580 E2.5
Completing the square rewrites a quadratic such as x² + 6x − 11 as (x + 3)² − 20. It is Extended-only content in 0580 topic E2.5, used both to solve equations and to write expressions in completed square form.
(Extended) The idea behind it
Expanding (x + p)² gives x² + 2px + p². So any expression x² + bx can be built from (x + b/2)², as long as you take away the extra (b/2)² that the bracket adds.
- Halve the coefficient of x to get the number in the bracket.
- Subtract the square of that number.
- Then combine with the constant term.
(Extended) When the x² coefficient is not 1
For an expression like 2x² + 12x + 5, take the 2 out of the x terms first: 2(x² + 6x) + 5. Complete the square inside the bracket, 2[(x + 3)² − 9] + 5, then expand the outer bracket to get 2(x + 3)² − 13.
- Factor out a from the x² and x terms only, not the constant.
- Multiply the subtracted square by a when you remove the square bracket.
(Extended) Solving equations
Once you have (x + p)² + q = 0, move q across, square root both sides remembering ±, then subtract p. This gives exact answers, which is why the method links naturally to answers in surd form.
(Extended) Reading the turning point
In y = (x + p)² + q the squared bracket is never negative, so the smallest value of y is q, reached when x = −p. The minimum point is therefore (−p, q). This is a useful check on graph questions.
Key equations
- Completed square form: x² + bx + c = (x + b/2)² − (b/2)² + c ()
- Minimum point of y = (x + p)² + q: (−p, q) ()
Worked example
(a) Write x² + 6x − 11 in the form (x + p)² + q. (b) Hence solve x² + 6x − 11 = 0, giving your answers in surd form and correct to 3 significant figures.
- Half of 6 is 3, so x² + 6x = (x + 3)² − 9.
- x² + 6x − 11 = (x + 3)² − 9 − 11 = (x + 3)² − 20.
- Check: (x + 3)² − 20 = x² + 6x + 9 − 20 = x² + 6x − 11.
- (x + 3)² = 20, so x + 3 = ±√20 = ±2√5.
- x = −3 + 2√5 = −3 + 4.4721… = 1.4721…
- x = −3 − 2√5 = −3 − 4.4721… = −7.4721…
Answer: (a) (x + 3)² − 20, so p = 3 and q = −20. (b) x = −3 ± 2√5, so x = 1.47 or x = −7.47 (3 s.f.)
Where marks are lost
- Adding (b/2)² instead of subtracting it.
- Using the whole x coefficient in the bracket rather than half of it.
- Dropping the ± when square rooting, which loses one solution.
- Giving the minimum point as (p, q) instead of (−p, q).