Rewrite any quadratic as a square plus a constant and its graph gives up its secrets: the vertex, the line of symmetry, the least or greatest value and the range, all without a single derivative.
\(x^{2} + bx + c = \left(x + \dfrac{b}{2}\right)^{2} - \left(\dfrac{b}{2}\right)^{2} + c\). In the form \(a(x + p)^{2} + q\), the vertex is \((-p,\ q)\): a minimum if \(a > 0\), a maximum if \(a < 0\).
Fig. 1: y = x² - 6x + 5 = (x - 3)² - 4 has its vertex at (3, -4), line of symmetry x = 3, roots 1 and 5 and y-intercept 5
Section 01
Half the coefficient, squared.
In the lab, press Make the square and watch \(x^{2} + bx\) rearranged into a square: there is always a small corner missing, of area \(\left(\frac{b}{2}\right)^{2}\). Completing the square means adding that corner and then taking it away again so the value does not change.
Start from \((x + k)^{2} = x^{2} + 2kx + k^{2}\): the number inside the bracket is half the coefficient of \(x\).
So \(x^{2} + bx = \left(x + \dfrac{b}{2}\right)^{2} - \dfrac{b^{2}}{4}\).
Then carry the constant term along: \(x^{2} + bx + c = \left(x + \dfrac{b}{2}\right)^{2} - \dfrac{b^{2}}{4} + c\).
Check by expanding your answer; it must give back the original quadratic exactly.
Worked example Integer half
Express \(x^{2} - 6x + 11\) in the form \((x - a)^{2} + b\).
Half of \(-6\) is \(-3\), so start with \((x - 3)^{2} = x^{2} - 6x + 9\).
That bracket contains an extra \(9\) we did not have, so subtract it: \(x^{2} - 6x = (x - 3)^{2} - 9\).
Express \(x^{2} + 8x + 3\) in the form \((x + a)^{2} + b\).
Half of 8 is 4: \((x + 4)^{2} - 16 + 3 = (x + 4)^{2} - 13\).
Examiner trap
The sign inside the bracket matches the sign of \(b\): \(x^{2} - 6x\) gives \((x - 3)^{2}\), not \((x + 3)^{2}\). And the square you subtract is always positive: \(-(-3)^{2} = -9\).
Section 02
When \(a\) is not 1.
For \(ax^{2} + bx + c\), take the factor \(a\) out of the \(x^{2}\) and \(x\) terms only, complete the square inside the bracket, then multiply back out carefully. A negative \(a\) works the same way and gives a maximum.
Worked example Positive a
Express \(2x^{2} - 12x + 7\) in the form \(a(x + b)^{2} + c\).
Factor 2 from the first two terms: \(2(x^{2} - 6x) + 7\).
Writing \(2x^{2} - 12x + 7 = 2(x - 3)^{2} - 9 + 7\) is the classic slip: the 9 sits INSIDE the bracket that is multiplied by 2, so it must become 18. Expand your answer to catch it.
Stage 1 · Learn
Check your understanding
Four quick checks. Each correct answer earns XP and records this skill on your profile.
Quick check+10 XP
Express \(x^{2} + 10x + 30\) in the form \((x + a)^{2} + b\).
Quick check+10 XP
What are the coordinates of the vertex of \(y = (x + 2)^{2} - 7\)?
A square is never negative. That one fact turns the completed square form into the vertex, the least or greatest value, the line of symmetry and the range of the quadratic. It also solves equations without the formula.
Form
Vertex
Type
Range (\(x \in \mathbb{R}\))
\((x - 3)^{2} - 4\)
\((3,\ -4)\)
minimum
\(y \ge -4\)
\(2(x + 1)^{2} + 5\)
\((-1,\ 5)\)
minimum
\(y \ge 5\)
\(9 - (x - 2)^{2}\)
\((2,\ 9)\)
maximum
\(y \le 9\)
Worked example Vertex and sketch
For \(y = x^{2} - 6x + 5\), find the vertex and sketch the curve (Fig. 1).
The vertex of \(a(x + p)^{2} + q\) is at \(x = -p\), not \(x = p\): \((x + 1)^{2}\) is zero when \(x = -1\). Read the \(x\)-coordinate as the value that makes the bracket zero.
Stage 2 · Exam
Exam-style questions
Unlocks once the four checks above are done. Worth more XP, written to AS & A Level Paper 1 to 6 standard.
Finish the four checks above to unlock the exam questions
Exam style+20 XP
Express \(4x^{2} - 24x + 41\) in the form \(a(x + b)^{2} + c\).
Exam style+20 XP
Find the greatest value of \(7 - 6x - x^{2}\) and the value of \(x\) at which it occurs.
Exam style+20 XP
The function f is defined by \(f(x) = 2x^{2} - 8x + 3\) for \(x \in \mathbb{R}\). Find the range of f.
Exam style+20 XP
The curve \(y = x^{2} + px + q\) has its vertex at \((4,\ -3)\). Find \(p\) and \(q\).
Skill unlocked
Squares completed, vertices found.
This skill is now recorded on your profile. Keep the chain going.