Factorising and completing the square
Completing the square rewrites a quadratic so you can read off its turning point and solve it exactly.
Factorising
3x2 − 10x − 8: ac = −24, use −12 and 2
3x2 − 12x + 2x − 8 = 3x(x − 4) + 2(x − 4) = (3x + 2)(x − 4)
Completing the square
x2 + 8x + 3 = (x + 4)2 − 16 + 3 = (x + 4)2 − 13
The minimum value is −13, when x = −4.
When a is not 1
2x2 + 12x + 5 = 2(x2 + 6x) + 5
= 2[(x + 3)2 − 9] + 5 = 2(x + 3)2 − 13
Write 5 + 4x − x2 in the form a − (x − b)2 and state its maximum value.
- 5 + 4x − x2 = 5 − (x2 − 4x)
- x2 − 4x = (x − 2)2 − 4
- 5 − [(x − 2)2 − 4] = 9 − (x − 2)2
Answer: 9 − (x − 2)2, maximum value 9 when x = 2
x2 + bx + c = (x + b2)2 − (b2)2 + c. Take out a first if a ≠ 1. (x + p)2 + q has its minimum value q when x = −p.
Try two quick questions
See if it has sunk in. Answers are marked straight away.
2 more questions
Try each one, then tap to check.
Write x2 + 10x + 7 in the form (x + p)2 + q.
- (x + 5)2 + 7
- (x + 10)2 − 93
- (x + 5)2 − 18
- (x + 5)2 + 32
Show the answer
Answer: (x + 5)2 − 18
(x + 5)2 = x2 + 10x + 25, so x2 + 10x + 7 = (x + 5)2 − 18.
x2 − 8x + 20 = (x − 4)2 + q. Find q.
Show the answer
Answer: 4
(x − 4)2 = x2 − 8x + 16, so q = 20 − 16 = 4.
Check you have got it
Answer 6 quick questions with instant marking. If you get one wrong, GCSE-ready shows you why and gives you another go. It is free, and you do not need an account.
Facts checked against the sources below, 17 October 2026. Last updated 2 October 2026. Spotted a mistake? Tell us and we will fix it.