Completing the square
A LEVEL LINKS
Scheme of work: 1b. Quadratic functions – factorising, solving, graphs and the discriminants
Key points
• Completing the square for a quadratic rearranges ax2 + bx + c into the form p(x + q)2 + r
• If a ≠ 1, then factorise using a as a common factor.
Examples
Example 1 Complete the square for the quadratic expression x2 + 6x − 2
x2 + 6x − 2 1 Write x2 + bx + c in the form
2 2
b b
= (x + 3)2 − 9 − 2 x + − +c
2 2
= (x + 3)2 − 11 2 Simplify
Example 2 Write 2x2 − 5x + 1 in the form p(x + q)2 + r
2x2 − 5x + 1 1 Before completing the square write
ax2 + bx + c in the form
b
a x2 + x + c
a
5
= 2 x2 − x + 1 2 Now complete the square by writing
2 5
x 2 − x in the form
2
5 5
2 2
2 2
= 2 x − − +1 b b
4 4 x + −
2 2
2
5 25
= 2 x − − +1 3 Expand the square brackets – don’t
4 8 5
2
forget to multiply by the
4
factor of 2
2
5 17
= 2 x − − 4 Simplify
4 8
Practice
1 Write the following quadratic expressions in the form (x + p)2 + q
a x2 + 4x + 3 b x2 – 10x – 3
c x2 – 8x d x2 + 6x
e x2 – 2x + 7 f x2 + 3x – 2
2 Write the following quadratic expressions in the form p(x + q)2 + r
a 2x2 – 8x – 16 b 4x2 – 8x – 16
c 3x2 + 12x – 9 d 2x2 + 6x – 8
3 Complete the square.
a 2x2 + 3x + 6 b 3x2 – 2x
c 5x2 + 3x d 3x2 + 5x + 3
Extend
4 Write (25x2 + 30x + 12) in the form (ax + b)2 + c.
Answers
1 a (x + 2)2 – 1 b (x – 5)2 – 28
c (x – 4)2 – 16 d (x + 3)2 – 9
2
3 17
e (x – 1)2 + 6 f x+ −
2 4
2 a 2(x – 2)2 – 24 b 4(x – 1)2 – 20
2
3 25
c 3(x + 2)2 – 21 d 2 x + −
2 2
2 2
3 39 1 1
3 a 2 x + + b 3 x − −
4 8 3 3
2 2
3 9 5 11
c 5 x + − d 3 x + +
10 20 6 12
4 (5x + 3)2 + 3