Completing the Square (A-Level): A-Level Maths
Completing the square (A-Level) explained with worked examples, graph insights, common mistakes and focused exam-style practice for A-Level Maths.

Completing the square at A-Level can feel like a familiar GCSE technique wearing more complicated clothes. The algebra is not fundamentally different, but the questions go further. You may need to find a turning point, determine a range, solve an equation exactly or interpret a transformed graph.
The method is simple: rewrite a quadratic in the form a(x+p)2+qa(x+p)^2+qa(x+p)2+q. That form reveals information hidden inside ax2+bx+cax^2+bx+cax2+bx+c.
Imagine a sixth-form student meeting the expression 3x2+12x+53x^2+12x+53x2+12x+5. Factorising is not obvious. The quadratic formula would solve an equation, but it would not immediately reveal the graph. Completing the square does both. That is why the technique matters.
The completing the square checklist
For an expression of the form ax2+bx+cax^2+bx+cax2+bx+c:
- factor out aaa from the terms involving xxx if a≠1a\neq 1a=1;
- halve the coefficient of xxx inside the bracket;
- square that value;
- add and subtract the square so the expression remains unchanged;
- simplify into the form a(x+p)2+qa(x+p)^2+qa(x+p)2+q;
- check by expanding your answer.
The final form can then be used to find turning points, maximum or minimum values, equations of symmetry and exact roots.
Completing the square when the coefficient is one
Start with the pattern
x2+bx=(x+b2)2−(b2)2.x^2+bx=\left(x+\frac{b}{2}\right)^2-\left(\frac{b}{2}\right)^2.x2+bx=(x+2b)2−(2b)2.The number inside the bracket is always half the coefficient of xxx. The subtraction is necessary because expanding the bracket introduces an extra constant.
Worked example: rewriting a quadratic
Write x2+8x+3x^2+8x+3x2+8x+3 in completed square form.
Half of 888 is 444, so begin with (x+4)2(x+4)^2(x+4)2:
x2+8x+3=(x+4)2−16+3=(x+4)2−13.\begin{aligned} x^2+8x+3 &=(x+4)^2-16+3\\ &=(x+4)^2-13. \end{aligned}x2+8x+3=(x+4)2−16+3=(x+4)2−13.The answer is therefore
(x+4)2−13.\boxed{(x+4)^2-13}.(x+4)2−13.Expanding (x+4)2−13(x+4)^2-13(x+4)2−13 gives x2+8x+16−13x^2+8x+16-13x2+8x+16−13, which returns the original expression. This expansion check takes only a few seconds and catches many sign errors.
Completing the square when the coefficient is not one
A-Level questions often place a coefficient in front of x2x^2x2. The reliable approach is to factor that coefficient out of both variable terms before completing the square.
Worked example: finding a maximum point
Write −2x2+12x−7-2x^2+12x-7−2x2+12x−7 in completed square form and state its maximum point.
Factor −2-2−2 from the first two terms:
−2x2+12x−7=−2(x2−6x)−7.-2x^2+12x-7=-2(x^2-6x)-7.−2x2+12x−7=−2(x2−6x)−7.Now complete the square inside the bracket. Half of −6-6−6 is −3-3−3:
x2−6x=(x−3)2−9.x^2-6x=(x-3)^2-9.x2−6x=(x−3)2−9.Substitute this into the expression:
−2(x2−6x)−7=−2((x−3)2−9)−7=−2(x−3)2+18−7=−2(x−3)2+11.\begin{aligned} -2(x^2-6x)-7 &=-2\left((x-3)^2-9\right)-7\\ &=-2(x-3)^2+18-7\\ &=-2(x-3)^2+11. \end{aligned}−2(x2−6x)−7=−2((x−3)2−9)−7=−2(x−3)2+18−7=−2(x−3)2+11.Because (x−3)2≥0(x-3)^2\geq 0(x−3)2≥0, the term −2(x−3)2-2(x-3)^2−2(x−3)2 is never positive. Its greatest value is 000, reached when x=3x=3x=3. The maximum point is therefore
(3,11).\boxed{(3,11)}.(3,11).This is the central advantage of completed square form: the geometry becomes visible without plotting several coordinates.
Use the A-Level Completing the Square lesson and its completing the square Question Bank when you want to practise this same method with guided solutions and mark schemes.
What completed square form tells you
For
y=a(x−h)2+k,y=a(x-h)^2+k,y=a(x−h)2+k,the turning point is (h,k)(h,k)(h,k) and the axis of symmetry is x=hx=hx=h.
Notice the sign inside the bracket. If the expression is (x−5)2+2(x-5)^2+2(x−5)2+2, the turning point has an xxx-coordinate of 555, not −5-5−5. If it is (x+5)2+2(x+5)^2+2(x+5)2+2, the turning point has an xxx-coordinate of −5-5−5.
The sign of aaa tells you whether the turning point is a minimum or maximum:
- if a>0a>0a>0, the graph opens upwards and kkk is the minimum value;
- if a<0a<0a<0, the graph opens downwards and kkk is the maximum value.
For the general quadratic ax2+bx+cax^2+bx+cax2+bx+c, completing the square gives
ax2+bx+c=a(x+b2a)2+c−b24a.ax^2+bx+c=a\left(x+\frac{b}{2a}\right)^2+c-\frac{b^2}{4a}.ax2+bx+c=a(x+2ab)2+c−4ab2.Therefore, its turning point is
(−b2a, c−b24a).\left(-\frac{b}{2a},\ c-\frac{b^2}{4a}\right).(−2ab, c−4ab2).You do not need to memorise this if you understand the process. Deriving it is often safer than recalling a formula under pressure.
A stick-figure student's confidence cautiously returns for one more revision question
Solving equations by completing the square
Completed square form can also produce exact solutions, particularly when a quadratic does not factorise neatly.
Worked example: finding exact roots
Solve
3x2+12x+5=0.3x^2+12x+5=0.3x2+12x+5=0.First complete the square:
3x2+12x+5=3(x2+4x)+5=3((x+2)2−4)+5=3(x+2)2−7.\begin{aligned} 3x^2+12x+5 &=3(x^2+4x)+5\\ &=3\left((x+2)^2-4\right)+5\\ &=3(x+2)^2-7. \end{aligned}3x2+12x+5=3(x2+4x)+5=3((x+2)2−4)+5=3(x+2)2−7.Now solve the equation:
3(x+2)2−7=0,3(x+2)^2-7=0,3(x+2)2−7=0, 3(x+2)2=7,3(x+2)^2=7,3(x+2)2=7, (x+2)2=73.(x+2)^2=\frac{7}{3}.(x+2)2=37.Remember both square roots:
x+2=±73.x+2=\pm\sqrt{\frac{7}{3}}.x+2=±37.Hence
x=−2±213.\boxed{x=-2\pm\frac{\sqrt{21}}{3}}.x=−2±321.If solving quadratics more broadly still feels uncertain, revisit the A-Level Solving Quadratics lesson or use the quadratic equations revision guide to compare factorisation, completing the square and the quadratic formula.
Completing the square exam questions
Try these without looking back at the examples. Expand each completed square to check your algebra.
- Write x2−10x+7x^2-10x+7x2−10x+7 in completed square form.
- Write 2x2+16x+52x^2+16x+52x2+16x+5 in completed square form and state the minimum point.
- Write −3x2−12x+1-3x^2-12x+1−3x2−12x+1 in completed square form and state the maximum value.
- Solve 2x2−8x−3=02x^2-8x-3=02x2−8x−3=0 exactly by completing the square.
The answers are:
(x−5)2−18,(x-5)^2-18,(x−5)2−18, 2(x+4)2−27,(−4,−27),2(x+4)^2-27,\qquad (-4,-27),2(x+4)2−27,(−4,−27), −3(x+2)2+13,13,-3(x+2)^2+13,\qquad 13,−3(x+2)2+13,13,and
x=2±222.x=2\pm\frac{\sqrt{22}}{2}.x=2±222.For longer written practice, the Completing the Square exam booklet provides useful fluency questions before you return to A-Level applications.
Common mistakes to avoid
Forgetting to factor out the leading coefficient
In 3x2+12x3x^2+12x3x2+12x, the expression inside the bracket should be x2+4xx^2+4xx2+4x, not x2+12xx^2+12xx2+12x. Factor from every relevant term.
Halving incorrectly
To complete x2−7xx^2-7xx2−7x, half of −7-7−7 is −72-\frac{7}{2}−27. Fractions are expected at A-Level and should not be rounded.
Losing the outside multiplier
If you have 3((x+2)2−4)3\left((x+2)^2-4\right)3((x+2)2−4), the −4-4−4 must also be multiplied by 333.
Reading the turning point with the wrong sign
The turning point of y=(x+3)2−5y=(x+3)^2-5y=(x+3)2−5 is (−3,−5)(-3,-5)(−3,−5). The sign of the horizontal coordinate is opposite to the sign shown inside the bracket.
Taking only one square root
From (x+1)2=6(x+1)^2=6(x+1)2=6, you need x+1=±6x+1=\pm\sqrt{6}x+1=±6. Omitting the negative root loses a solution and usually loses marks.
Turn the method into exam confidence
You now have a repeatable process, but knowing the steps and applying them accurately under exam conditions are different skills. Our hypothetical sixth-form student no longer needs to guess which transformation comes next; each question follows the same structure, followed by an expansion check. Turn that structure into reliable practice with the Completing the Square Lessons and Question Bank.



