Completing the Square (Cambridge (CIE) IGCSE Additional Maths): Revision Note

Exam code: 0606

Dan Finlay

Written by: Dan Finlay

Reviewed by: Lucy Kirkham

Updated on

Completing the square

What is completing the square?

  • Completing the square is another way of writing a quadratic function

  • It means rewriting y =ax2+bx+c in the form y = a(x+p)2+q

    • The key point is that x now only occurs once in the equation

  • It can be used to solve quadratic equations, sketch their graphs and to find the coordinates of the turning point

How do I complete the square?

The method used will depend on the value of the coefficient of the x2 term in y =ax2+bx+c

  • When a=1

    • p is half of b

    • q is cp2

Example of completing the square

 

  • When a ≠ 1 

    • First take a factor of a out of the x2 and x terms

    • Then continue as above

Harder example of completing the square

Examiner Tips and Tricks

  • Sometimes a question will explicitly use the phrase complete the square

  • Sometimes a question will use the form a(x+p)2+q without using the phrase completing the square

Worked Example

Write 3x212x+k in the form a(x+p)2+k+q, where a, p and q are constants to be found, and k is an unknown constant.

The form required is 'completing the square' (do not be put off by the k, it is just a constant!).

STEP 1 - Take a factor of 3 out of the x2 and x terms - leaving k avoids awkward fractions.

3x212x+k=3(x24x)+k

STEPS 2 and 3 - Complete the square on the (x24x) part only. "p=42=2" and "q=0(2)2=4".

3[(x2)24]+k

STEP 4 - Expand and simplify.

3(x2)212+k

3(x2)2+k12

i.e. a=3, p=2, q=12

Solving by completing the square

How do I solve a quadratic equation by completing the square?

  • To solve x2 + bx + c = 0 

    • replace the first two terms, x2 + bx, with (x + p)2 - p2 where p is half of b

    • this is called completing the square

      • x2 + bx + c = 0 becomes

        • (x + p)2 - p2 + c = 0 where p is half of b

    • rearrange this equation to make x the subject (using ±√)

  • For example, solve x2 + 10x + 9 = 0 by completing the square

    • x2 + 10x becomes (x + 5)2 - 52

    • so x2 + 10x + 9 = 0 becomes (x + 5)2 - 52 + 9 = 0

    • make x the subject (using ±√)

      • (x + 5)2 - 25 + 9 = 0

      • (x + 5)2 = 16

      • x + 5 = ±√16

      • x  = ±4 - 5

      • x  = -1 or x  = -9

  • If the equation is ax2 + bx + c = 0 with a number in front of x2, then divide both sides by a first, before completing the square 

Examiner Tips and Tricks

  • When making x the subject to find the solutions at the end, don't expand the squared brackets back out again!

    •  Remember to use ±√ to get two solutions

Worked Example

Solve 2x28x24=0 by completing the square.

Divide both sides by 2 to make the quadratic start with x2   

x24x12=0  

Halve the middle number, -4, to get -2
Replace the first two terms, x2 - 4x, with (x - 2)2 - (-2)2  

(x2)2(2)212=0  

Simplify the numbers  

(x2)2412=0(x2)216=0  

Add 16 to both sides  

(x2)2=16  

Square root both sides
Include the ± sign to get two solutions  

x2=±16=±4  

Add 2 to both sides  

x=±4+2  

Work out each solution separately

x = 6 or x = -2

Unlock more, it's free!

Join the 100,000+ Students that ❤️ Save My Exams

the (exam) results speak for themselves:

Build on this topic

Dan Finlay

Author: Dan Finlay

Expertise: Portfolio Lead

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.

Lucy Kirkham

Reviewer: Lucy Kirkham

Expertise: Content Creator

Lucy has been a passionate Maths teacher for over 12 years, teaching maths across the UK and abroad helping to engage, interest and develop confidence in the subject at all levels.Working as a Head of Department and then Director of Maths, Lucy has advised schools and academy trusts in both Scotland and the East Midlands, where her role was to support and coach teachers to improve Maths teaching for all.