Completing the Square (Edexcel IGCSE Maths)
Spec point —
2.7B
Completing the square
How can I rewrite the first two terms of a quadratic expression as the difference of two squares?
- Look at the quadratic expression x2 + bx + c
- The first two terms can be written as the difference of two squares using the following rule
is the same as (x+p)²−p² where is half of
-
Check this is true by expanding the right-hand side
-
Is the same as
(x+1)²−1²?- Yes: (x + 1)(x + 1) - 12 = x2 + 2x + 1 - 1 = x2 + 2x
-
-
This works for negative values of b too
- can be written as
(x−10)²−(−10)²which is(x−10)²−100 - A negative b does not change the sign at the end
- can be written as
How do I complete the square?
-
Completing the square is a way to rewrite a quadratic expression in a form containing a squared bracket
-
To complete the square on x2 + 10x + 9
- Use the rule above to replace the first two terms, x2 + 10*x, *with (x + 5)2 - 52
- then add 9: (x + 5)2 - 52 + 9
- simplify the numbers: (x + 5)2 - 25 + 9
- answer: (x + 5)2 - 16
How do I complete the square when there is a coefficient in front of the x2 term?
-
You first need to take out as a factor of the x2 and x terms only
-
Factorise the first two terms
-
- Use square-shaped brackets here to avoid confusion with round brackets later
-
-
Then complete the square on the bit inside the brackets:
-
This gives
- where p is half of
-
-
Finally multiply this expression through by a (from outside the square brackets) and add the c on to the end
-
a (x+p)²−a p²+c- This looks far more complicated than it is in practice!
-
Usually you are asked to give your final answer in the form
a (x+p)²+q -
For example, y = 4x2 + 16x + 5
-
Factorise out 'a' on the right-hand side (use square brackets)
- y = 4[x2 + 4x] + 5
-
Replace x2 + 4x with (x + 2)2 - 22 (because p = = 2)
- y = 4[(x + 2)2 - 22] + 5
-
Simplify the terms inside the square brackets
- y = 4[(x + 2)2 - 4] + 5
-
Multiply everything inside the square brackets by 4
- y = 4(x + 2)2 - 16 + 5
-
Simplify to get the final answer
- y = 4(x + 2)2 - 11
-
-
-
For quadratics like , do the above but with a = -1
How do I find the turning point by completing the square?
-
Completing the square helps us find the turning point on a quadratic graph
-
If
y=(x+p)²+qthen the turning point is at(−p comma q)- Notice the negative sign in the x-coordinate
- This links to transformations of graphs
- A translation of by p to the left and q up
-
If
y=a (x+p)²+qthen the turning point is still at(−p comma q)- The a does not change the coordinates
- The turning point is a minimum point if a > 0
- or a maximum point if a < 0
-
-
This can also help you create the equation of a quadratic when given the turning point

-
It can also be used to prove or show results using the fact that any squared term, such as the squared bracket (x ± p)2, will always be greater than or equal to 0
- You cannot square a number and get a negative value
- The smallest a squared term can be is 0

Exam Hint To know if you have completed the square correctly, expand your answer to check.
Worked Example (a) By completing the square, find the coordinates of the turning point on the graph of .
Find half of +6 (call this p)
Write x2 + 6**x **in the form (x + p)2* -** p*2
is the same as
(x+3)²−3²Put this result into the equation of the curve
y=(x+3)²−3²−11Simplify the numbers
y=(x+3)²−20Use the fact that the turning point of
y=(x+p)²+qis at(−p comma q)* * Here p = 3 and q= -20Final answer: turning point at (-3, -20)
(b) Write in the form
a (x+p)²+q.Factorise -3 out of the first two terms only Use square-shaped brackets
Complete the square on the x2 - 4x inside the brackets Write in the form (x + p)2 - p2* where p is half of -4*
Simplify the numbers inside the brackets (-2)2 is 4
Multiply -3 by all the terms inside the square brackets (You do not multiply -3 by the 24)
−3 (x−2)²+12+24Simplify the numbers
−3 (x−2)²+36This is now in the form a(x + p)2* + q where a= -3, p = -2 and q = 36*
Was this revision note helpful?