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.

(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.

(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

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.

  1. Half of 6 is 3, so x² + 6x = (x + 3)² − 9.
  2. x² + 6x − 11 = (x + 3)² − 9 − 11 = (x + 3)² − 20.
  3. Check: (x + 3)² − 20 = x² + 6x + 9 − 20 = x² + 6x − 11.
  4. (x + 3)² = 20, so x + 3 = ±√20 = ±2√5.
  5. x = −3 + 2√5 = −3 + 4.4721… = 1.4721…
  6. 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

All revision notes · IGCSE Maths course page