Resources For Teachers For Tutors For Students & Parents AI New Pricing
Year 10 Maths - 10 Parabolas and Other Graphs

Parabolas By Completing The Square

20 practice questions 0 video lessons Theory + worked examples
Create a free accountTrack your progress and save your work as you go.
Create free account

Theory

Completing the square rewrites \(y = x^2 + bx + c\) as \(y = (x - h)^2 + k\), so the turning point \((h, k)\) can be read straight off. This Year 10 maths page shows how to complete the square to sketch a parabola with its intercepts and range, to find exact \(x\)-intercepts with surds, to factorise a quadratic that has no whole-number factors, and to tell how many \(x\)-intercepts a parabola has.

A perfect square \((x + h)^2 = x^2 + 2hx + h^2\) has a constant equal to the square of half the coefficient of \(x\). So \(x^2 + bx\) needs \(\left(\dfrac{b}{2}\right)^2\) added to become a perfect square: that is completing the square.

To keep the expression equal, add and subtract the same number: \(x^2 + bx + c = \left(x + \dfrac{b}{2}\right)^2 - \left(\dfrac{b}{2}\right)^2 + c\).

If the leftover number is negative, as in \((x - 1)^2 - 6\), write \(6 = (\sqrt{6})^2\) and use the difference of two squares. If it is positive, as in \((x - 1)^2 + 6\), the expression is always positive and has no real linear factors.

The form \(a(x + h)^2 + k\) is called the completed-square form. It also shows the smallest (or largest) value of the quadratic, \(k\), when \(x = -h\).

For a parabola, completing the square on \(y = x^2 + bx + c\) gives the turning-point form \(y = (x - h)^2 + k\). The turning point is \((h, k)\): the parabola can then be sketched without a table of values.

Completing the square for x squared + 6xAn x by x square and two strips of 3 by x arranged as an almost complete square of side x + 3. The missing corner is a 3 by 3 square of area 9, shown dashed in red. So x squared + 6x + 9 = (x + 3) squared. x² 3x 3x 9 x 3 x 3
\(x^2 + 6x\) is a square of side \(x + 3\) with a \(3 \times 3\) corner missing. Adding \(\left(\dfrac{6}{2}\right)^2 = 9\) completes the square.
Steps for factorising by completing the squareFive steps shown with x squared + 6x + 5. Halve the coefficient of x and square it: 9. Add and subtract 9. Write (x + 3) squared - 4. Use the difference of two squares: (x + 3 - 2)(x + 3 + 2). Simplify to (x + 1)(x + 5). 1 halve b and square it x² + 6x + 5: (6 ÷ 2)² = 9 2 add and subtract it x² + 6x + 9 − 9 + 5 3 write the square (x + 3)² − 4 4 difference of squares (x + 3 − 2)(x + 3 + 2) 5 simplify (x + 1)(x + 5)
Completing the square turns any quadratic into a square plus or minus a number. When it is a square minus a positive number, the difference of two squares factorises it.
\[x^2 + bx + c = \left(x + \dfrac{b}{2}\right)^2 - \left(\dfrac{b}{2}\right)^2 + c\]
x2+bx+c=(x+b2)2−(b2)2+c
\[(x + h)^2 - d^2 = (x + h - d)(x + h + d)\]
(x+h)2−d2=(x+h−d)(x+h+d)

Turning-point form of a parabola and its \(x\)-intercepts:

\[y = a(x - h)^2 + k \qquad (x - h)^2 = -\dfrac{k}{a} \ \Rightarrow\ x = h \pm \sqrt{-\dfrac{k}{a}}\]
Number of \(x\)-intercepts. For \(y = (x - h)^2 + k\): if \(k \lt 0\) there are two, if \(k = 0\) one (the turning point is on the \(x\)-axis), if \(k \gt 0\) none. For example \(x^2 + 8x + 19 = (x + 4)^2 + 3\) is never less than \(3\), so it has no \(x\)-intercepts and no real factors. Reverse the signs of \(k\) when \(a \lt 0\).
Perfect-square test. \(x^2 + bx + c\) is a perfect square exactly when \(c = \left(\dfrac{b}{2}\right)^2\); for \(a^2x^2 + bx + c^2\) the middle term must be \(\pm 2acx\). This finds a missing coefficient in one step.
Other letters and surd coefficients. The method works for any coefficient: \(x^2 - 2\sqrt{5}x\) needs \((\sqrt{5})^2 = 5\); \(x^2 - 6kx\) needs \(9k^2\). A repeated bracket, such as \(u = x - 2\), can be treated as the variable.
A negative \(x^2\) term. Take out \(-1\) from the \(x\) terms: \(7 + 6x - x^2 = 7 - (x^2 - 6x)\) \(= 7 - \left[(x - 3)^2 - 9\right]\) \(= 16 - (x - 3)^2\). This is a difference of two squares: \(\left(4 - (x - 3)\right)\left(4 + (x - 3)\right)\) \(= (7 - x)(1 + x)\).

How to sketch a parabola by completing the square

  1. Prepare: if the \(x^2\) coefficient is not \(1\), take it out of the \(x^2\) and \(x\) terms. If it is negative, take out \(-1\).
  2. Complete the square inside the bracket: add and subtract the square of half the coefficient of \(x\). Whatever you subtract inside the bracket is multiplied by \(a\) when you remove it.
  3. Read the turning point \((h, k)\) from \(y = a(x - h)^2 + k\), and the concavity from \(a\).
  4. \(y\)-intercept: \(y = c\) from the original equation.
  5. \(x\)-intercepts: set \(y = 0\), make \((x - h)^2\) the subject and take \(\pm\) square roots (exact answers may be surds). A negative value means there are none.
  6. Sketch a smooth curve, symmetric about \(x = h\), through the labelled points, and state the range \(y \ge k\) or \(y \le k\).

How to factorise by completing the square

  1. Prepare: if the \(x^2\) coefficient is not \(1\), take it out of the \(x\) terms (or of everything). If it is negative, take out \(-1\).
  2. Halve the coefficient of \(x\), square it, and add and subtract that number.
  3. Write the perfect square and collect the constants: \((x + h)^2 - d^2\).
  4. Factorise as a difference of two squares, write the number as the square of a surd if needed, and simplify each bracket.
  5. Check by expanding, or by substituting a value of \(x\).

Using the completed square

  1. Turning point given: write \(y = (x - h)^2 + k\), expand, and match it with \(y = x^2 + bx + c\) to find \(b\) and \(c\). With one more point, use \(y = a(x - h)^2 + k\) and solve for \(a\).
  2. Families of parabolas: with a letter such as \(m\) in the equation, complete the square to find the turning point in terms of \(m\), then apply the condition given (passes through a point, lies on a line) (Example 4).
  3. Finding unknowns: if the factors are \((x + h + d)(x + h - d)\), they differ by \(2d\). A given difference of factors, or a given perfect square, fixes \(d\) and hence the constant.
  4. No real factors: if the completed square is \((x + h)^2 + k\) with \(k > 0\), the expression is always positive, so it has no real linear factors (Example 4).
Example 1 — Factorising by completing the square
By completing the square, factorise
(i) \(x^2 + 10x + 21\)
(ii) \(x^2 - 6x + 2\), with surds in simplest form.
Solution

(i) Half of \(10\) is \(5\), and \(5^2 = 25\). Add and subtract \(25\), then use the difference of two squares.

\(x^2 + 10x + 21\)\(=\)\(x^2 + 10x + 25 - 25 + 21\)
\(\)\(=\)\((x + 5)^2 - 4\)
\(\)\(=\)\((x + 5)^2 - 2^2\)
\(\)\(=\)\((x + 5 - 2)(x + 5 + 2)\)
\(\)\(=\)\(\boldsymbol{(x + 3)(x + 7)}\)

(ii) Half of \(-6\) is \(-3\), and \((-3)^2 = 9\). The leftover number \(7\) is not a perfect square, so write it as \((\sqrt{7})^2\).

\(x^2 - 6x + 2\)\(=\)\((x - 3)^2 - 9 + 2\)
\(\)\(=\)\((x - 3)^2 - (\sqrt{7})^2\)
\(\)\(=\)\(\boldsymbol{(x - 3 - \sqrt{7})(x - 3 + \sqrt{7})}\)
Example 2 — Complete the square, then sketch
(i) Write \(y = x^2 - 2x - 8\) in the form \(y = (x - h)^2 + k\). Sketch the parabola, showing the turning point and intercepts, and state the range.
(ii) Find the exact \(x\)-intercepts of \(y = x^2 + 6x + 4\).
Solution

(i) Half of \(-2\) is \(-1\); add and subtract \(1\).

\(y\)\(=\)\(x^2 - 2x + 1 - 1 - 8\)
\(\)\(=\)\(\boldsymbol{(x - 1)^2 - 9}\)

Turning point \((1, -9)\), a minimum (\(a = 1 \gt 0\)). \(y\)-intercept \(-8\). Range \(\boldsymbol{y \ge -9}\).

\((x - 1)^2\)\(=\)\(9\)
\(x - 1\)\(=\)\(\pm 3\)
\(x\)\(=\)\(-2 \text{ or } 4\)
Sketch of y = (x minus 1) squared minus 9Concave up parabola y = x squared - 2x - 8 = (x - 1) squared - 9 with minimum turning point (1, -9), x-intercepts -2 and 4 and y-intercept -8. x y O x = 1 −2 4 (0, −8) (1, −9)

(ii) Complete the square, then set \(y = 0\):

\(y\)\(=\)\((x + 3)^2 - 9 + 4 = (x + 3)^2 - 5\)
\((x + 3)^2\)\(=\)\(5\)
\(x\)\(=\)\(\boldsymbol{-3 \pm \sqrt{5}}\)
Example 3 — Negative and non-monic
Write each parabola in turning-point form, state its turning point and describe its \(x\)-intercepts.
(i) \(y = -x^2 + 6x - 5\)
(ii) \(y = 3x^2 - 12x + 7\)
Solution

(i) Take out \(-1\) from the \(x\) terms; the sign of the \(x\) term flips inside the bracket.

\(y\)\(=\)\(-(x^2 - 6x) - 5\)
\(\)\(=\)\(-(x^2 - 6x + 9 - 9) - 5\)
\(\)\(=\)\(-(x - 3)^2 + 9 - 5\)
\(\)\(=\)\(\boldsymbol{-(x - 3)^2 + 4}\)

Maximum turning point \((3, 4)\). \(y\)-intercept \(-5\). \((x - 3)^2 = 4\) gives \(x = 1\) or \(5\).

Sketch of y = minus (x minus 3) squared plus 4Concave down parabola y = -x squared + 6x - 5 with maximum turning point (3, 4), x-intercepts 1 and 5 and y-intercept -5. x y O x = 3 1 5 (0, −5) (3, 4)

(ii) Take out \(3\) from the \(x\) terms only. The \(-4\) inside the bracket becomes \(-12\) outside.

\(y\)\(=\)\(3(x^2 - 4x) + 7\)
\(\)\(=\)\(3\left[(x - 2)^2 - 4\right] + 7\)
\(\)\(=\)\(\boldsymbol{3(x - 2)^2 - 5}\)

Turning point \((2, -5)\), a minimum. It is below the \(x\)-axis and the parabola is concave up, so there are two \(x\)-intercepts.

Example 4 — Unknown values
(i) A parabola has turning point \((-2, -5)\) and passes through \((0, -3)\). Find its equation and its exact \(x\)-intercepts.
(ii) For each value of \(t\), \(y = x^2 - 2tx + t^2 - 2t\). Show that the turning point is \((t, -2t)\), and find the values of \(t\) for which the parabola passes through \((0, 3)\).
Solution

(i) Use \(y = a(x + 2)^2 - 5\) and substitute \((0, -3)\):

\(-3\)\(=\)\(4a - 5\)
\(a\)\(=\)\(\dfrac{1}{2}\)

So \(y = \boldsymbol{\dfrac{1}{2}(x + 2)^2 - 5}\). Let \(y = 0\):

\((x + 2)^2\)\(=\)\(10\)
\(x\)\(=\)\(\boldsymbol{-2 \pm \sqrt{10}}\)

(ii) Complete the square with \(t\) in place: half of \(-2t\) is \(-t\).

\(y\)\(=\)\((x^2 - 2tx + t^2) - 2t = (x - t)^2 - 2t\)

So the turning point is \((t, -2t)\). Substitute \((0, 3)\):

\(t^2 - 2t\)\(=\)\(3\)
\((t - 3)(t + 1)\)\(=\)\(0\)
\(t\)\(=\)\(\boldsymbol{3} \text{ or } \boldsymbol{-1}\)

The parabolas are \(y = (x - 3)^2 - 6\) and \(y = (x + 1)^2 + 2\). Every turning point \((t, -2t)\) lies on the line \(y = -2x\).

Common pitfalls

Halve before you square. For \(x^2 + 8x\), add \(\left(\dfrac{8}{2}\right)^2 = 16\), not \(8^2 = 64\).
Add and subtract. Adding \(16\) without subtracting it changes the expression. Write \(+16 - 16\).
Factor out a first. For \(3x^2 + 12x\), complete the square on \(x^2 + 4x\) inside \(3(\ldots)\), and multiply the subtracted square by \(3\) when you remove the bracket.
Keep surds exact. \(\sqrt{\dfrac{5}{4}} = \dfrac{\sqrt{5}}{2}\), and \((x + 2)^2 = 10\) gives \(x = -2 \pm \sqrt{10}\). Round only if the question asks for decimals.
A plus sign means no real factors. \((x + 1)^2 + 4\) is not a difference of two squares and does not factorise with real numbers.

Frequently asked questions

How do you complete the square?

Take half of the coefficient of \(x\) and square it. Add and subtract that number, then write the first three terms as a squared bracket: \(x^2 + 8x + 3 = (x + 4)^2 - 16 + 3 = (x + 4)^2 - 13\).

Why do you add and subtract the same number?

Adding a number makes a perfect square, and subtracting the same number keeps the expression equal to the original. Together they add zero.

How do you factorise a quadratic with surds?

Complete the square to get \((x + h)^2 - d\). Write \(d\) as \((\sqrt{d})^2\), then use \(a^2 - b^2 = (a - b)(a + b)\).

How do you complete the square when the coefficient of x squared is not 1?

Take the coefficient out of the x squared and x terms, complete the square inside the bracket, then multiply the subtracted square by that coefficient when you remove the bracket.

How can you tell a quadratic has no real factors?

Complete the square. If you get a bracket squared plus a positive number, the expression is always positive, so it is never zero and has no real linear factors.