48 exam-style questions plus unlimited generated ones on this topic, at up to four difficulty levels, with full mark schemes. Notes, past-paper booklets and workbooks are open to everyone. Practice needs a free account.
Or take a quick quiz: 11 questions on this subtopic in GCSE Maths Higher (Edexcel), marked as you tap.
Higher only. Writing a quadratic in the form \((x + p)^2 + q\) or \(a(x + p)^2 + q\), and using it to solve equations with exact (surd) answers and to find the turning point of the graph.
This gives exact answers in surd form, which is why questions ask for answers 'in the form \(a \pm \sqrt{b}\)'.
Turning points
diagram
For \(y = (x + p)^2 + q\), the minimum point is \((-p, q)\): the squared bracket is never negative, so the smallest value of y is q, when \(x = -p\)
\(y = (x - 3)^2 + 5\) has turning point \((3, 5)\): the x-coordinate changes sign, the y-coordinate does not.
Turning point \((3, 5)\); line of symmetry \(x = 3\)
The line of symmetry of the graph is \(x = -p\)
For \(y = q - (x + p)^2\), the turning point \((-p, q)\) is a maximum. Grade 8+ only
Because \((x + p)^2 \ge 0\), if q is positive then \((x + p)^2 + q\) is always positive. Use this in 'prove that' questions. Grade 8+ only
How to answer each type of question
M = method mark, A = answer mark, B = a mark on its own, C = a communication mark.
Write in the form \((x + a)^2 + b\)
2 marksGrade 6
Halve the coefficient of x to find a.
Subtract \(a^2\) and add the constant.
Example. Write \(x^2 - 8x + 21\) in the form \((x + a)^2 + b\)
Show the model answerHide the model answer
\((x - 4)^2 - 16 + 21\)
M1
\((x - 4)^2 + 5\)
A1
Solve by completing the square (surd answers)
3 marksGrade 7
Complete the square.
Rearrange to (bracket)2 = number.
Square root both sides with ±, then rearrange.
Example. Solve \(x^2 + 6x - 2 = 0\) by completing the square. Give your answers in the form \(a \pm \sqrt{b}\)
Show the model answerHide the model answer
\((x + 3)^2 - 9 - 2 = 0\), so \((x + 3)^2 = 11\)
M1
\(x + 3 = \pm\sqrt{11}\)
M1
\(x = -3 \pm \sqrt{11}\)
A1
Hence find the turning point
3 marksGrade 7
Complete the square.
Read off \((-p, q)\) from \((x + p)^2 + q\)
Example. (a) Write \(x^2 + 10x + 32\) in the form \((x + p)^2 + q\). (b) Hence write down the coordinates of the turning point of \(y = x^2 + 10x + 32\)
Show the model answerHide the model answer
(a) \((x + 5)^2 - 25 + 32\) M1, \((x + 5)^2 + 7\)
A1
(b) \((-5, 7)\)
B1
(follow through from (a))
Complete the square when a is not 1
3 marksGrade 8
Factor a out of the \(x^2\) and x terms.
Complete the square inside the bracket.
Multiply out the square bracket and collect the numbers.
Example. Write \(2x^2 + 12x + 7\) in the form \(a(x + b)^2 + c\)
Show the model answerHide the model answer
\(2(x^2 + 6x) + 7\)
M1
\(2[(x + 3)^2 - 9] + 7\)
M1
\(2(x + 3)^2 - 11\)
A1
Prove that a quadratic is always positive
3 marksGrade 8
Complete the square.
State that the square is greater than or equal to 0 for all x.
Conclude that the whole expression is at least q, which is positive.
Example. Prove that \(x^2 - 6x + 10 \gt 0\) for all values of x.
Show the model answerHide the model answer
\(x^2 - 6x + 10 = (x - 3)^2 - 9 + 10\)
M1
\(= (x - 3)^2 + 1\)
A1
\((x - 3)^2 \ge 0\) for all x, so \((x - 3)^2 + 1 \ge 1 \gt 0\)
C1
Don’t lose marks
Forgetting to subtract \(p^2\): \(x^2 + 6x + 1\) is not \((x + 3)^2 + 1\)
Getting the sign of the turning point wrong: \((x - 4)^2 + 5\) has turning point \((4, 5)\), not \((-4, 5)\)
Missing the ± when square rooting, so only one solution is found.
When a is not 1, forgetting to multiply the \(-p^2\) by a.
More tips
Memory tricks
Halve it, square it, take it away: halve b to get p, then subtract \(p^2\)
Check by expanding: \((x - 4)^2 + 5 = x^2 - 8x + 21\), which matches.
Turning point of \((x + p)^2 + q\): change the sign of p, keep the sign of q.
Exam technique
If the question says 'by completing the square', using the formula instead will not get the marks.
'Hence' means use your completed square form from the part before.
Leave answers as surds when the question asks for exact answers or a form like \(a \pm \sqrt{b}\)
What each grade needs
What you need to be able to do, from the first marks up to the top grade.
Grade 6
Complete the square for simple quadraticsHalve the coefficient of x: \[\begin{aligned}x^2 + 6x + 1 &= (x + 3)^2 - 9 + 1 \\ &= (x + 3)^2 - 8\end{aligned}\]
Grade 7
Solve a quadratic by completing the squareRearrange to \((x + p)^2 = k\) and square root both sides, e.g. \((x + 3)^2 = 8\) gives \(x = -3 \pm 2\sqrt{2}\)
Grade 7
Find the turning point from completed square form\(y = (x + p)^2 + q\) has its minimum point at \((-p, q)\)
Grade 7
Find unknowns by comparing formsExpand the completed square and match coefficients, e.g. \(x^2 + bx + 11 \equiv (x + 4)^2 + c\) gives \(b = 8\), \(c = -5\)
Grade 8
Complete the square when a is not 1Take out a factor of a first, e.g. \(2x^2 - 8x + 3 = 2(x - 2)^2 - 5\)
Grade 8
Prove a quadratic is always positiveComplete the square and use the fact that a square is never negative.
Quick recall
Cover the answers and test yourself. The app has these as flashcards that come back just before you'd forget them.
Fill the box so that the identity is true for every value of \(x\). \(x^2+14x+\Box=(x+7)^2\)
\(49\)
Complete the identity. \(x^2-10x=(x-5)^2-\Box\)
\(25\)
These cards show stages in completing the square in \(x^2+6x-2\). Write their letters in the order: insert the compensating terms, group the perfect square, then write the squared bracket. A: \((x+3)^2-11\) B: \(x^2+6x+9-9-2\) C: \((x^2+6x+9)-11\)
B, C, A
\(f(x)=(x-3)^2+4\) and \(f(1)=8\). Write down the other value of \(x\) for which \(f(x)=8\).
\(5\)
\(f(x)=(x-2)^2+5\) and \(g(x)=(x+2)^2+5\). Complete the statement using \(f\): \(g(x)=\underline{\hspace{1cm}}\)
\(f(-x)\)
Sample questions
Written for this site in the style of Edexcel exam questions. They are not taken from real past papers.
Question 1Easy1 mark
Fill the box so that the identity is true for every value of \(x\). \(x^2+14x+\Box=(x+7)^2\)
[1]
Show the answer and mark scheme
Answer: \(49\)
B1 for 49
Worked solution:\((x+7)^2=x^2+14x+49\), so the missing constant is 49.
Question 2Medium2 marks
Ravi writes \(3x^2+12x+1=3(x+2)^2-3\). The squared bracket is correct. Replace −3 with the correct constant and explain the error.
[2]
Show the answer and mark scheme
Answer: The constant should be −11. The extra 4 inside the square contributes 12 after multiplication by 3.
B1 for −11
C1 for explaining that the extra 4 in the square must be multiplied by 3 before it is compensated for
Worked solution:\(3(x+2)^2=3x^2+12x+12\). To obtain a constant of 1, subtract 11. Ravi subtracted 4 from 1 instead of subtracting \(3\times4\).
Question 3Hard4 marks
Find all real values of \(a\) for which \(x^2-2ax+2a\ge0\) for every real number \(x\). Justify your answer.
[4]
Show the answer and mark scheme
Answer: \(0\le a\le2\)
M1 for (x−a)²+2a−a²
C1 for the condition being equivalent to 2a−a²≥0, since the square can be zero at x=a
M1 for (a−1)²≤1 or for solving a(2−a)≥0
A1 for 0≤a≤2, including both endpoints
Worked solution: Completing the square gives \((x-a)^2+2a-a^2\). Its least value for a fixed \(a\) occurs at \(x=a\), so the required condition is \(2a-a^2\ge0\). This is \((a-1)^2\le1\), giving \(0\le a\le2\). Equality is allowed, so both endpoints are included.