3F

The quadratic formula and the discriminant

Use the quadratic formula, the axis of symmetry formula and the discriminant to find zeroes, vertices and the number of x-intercepts of any parabola.

Completing the square works every time, but doing it from scratch with letters each time is slow. If you complete the square once for the general $y = ax^2 + bx + c$, you get two formulas that do the job in one line. This is the third way to sketch a parabola, and the one to use when the numbers are awkward.

The two formulas

For y = ax² + bx + c
$$\text{axis: } x = -\frac{b}{2a} \qquad\quad \text{zeroes: } x = \frac{-b \pm \sqrt{\Delta}}{2a}, \quad \text{where } \Delta = b^2 - 4ac$$

Only remember the axis formula. For the $y$-coordinate of the vertex, substitute the axis value back into the quadratic.

Notice the zeroes are $-\dfrac{b}{2a} \pm \dfrac{\sqrt\Delta}{2a}$: they sit an equal distance either side of the axis, as symmetry says they must.

Sketching with the formulas

Example 1●●

Sketch $y = -x^2 + 4x + 2$, giving the zeroes in surd form and to 2 decimal places.

Concave down, $y$-intercept $2$.
a = −1, so concave down. Put x = 0 for the y-intercept.
Axis $x = 2$
a = −1 and b = 4, so −b/(2a) = −4/(−2).
$y = -4 + 8 + 2 = 6$, so the vertex is $(2, 6)$
Substitute x = 2 into the quadratic.
$\Delta = 16 + 8 = 24 = 4 \times 6$, so $\sqrt\Delta = 2\sqrt6$
Work out Δ on its own first. Careful: −4ac = −4(−1)(2) = +8.
$x = \dfrac{-4 \pm 2\sqrt6}{-2} = 2 \mp \sqrt6$, so $x \approx -0.45$ or $x \approx 4.45$
Divide every term by −2. Dividing by a negative swaps which root is which, but both are listed.
Example 2: no zeroes●●

Sketch $y = 2x^2 - 4x + 5$.

Concave up, $y$-intercept $5$, axis $x = -\dfrac{-4}{4} = 1$, vertex $(1, 3)$.
$\Delta = 16 - 40 = -24 \lt 0$: no zeroes.
A negative number has no square root, so the formula gives nothing.
Plot $(0, 5)$, the vertex $(1, 3)$ and $(2, 5)$, and draw the U through them.
With no x-intercepts you need a third point. The mirror image of the y-intercept across x = 1 is (2, 5).

The discriminant counts the zeroes

$\Delta$ sits under the square root, so its sign decides everything:

$\Delta$ZeroesGraph
$\Delta \gt 0$Two distinct zeroes ($\pm$ gives two values)Crosses the $x$-axis twice
$\Delta = 0$One double zero ($\pm 0$ gives one value)Vertex touches the $x$-axis
$\Delta \lt 0$No zeroes (no square root)Misses the $x$-axis

When $\Delta \lt 0$ the whole graph is on one side of the $x$-axis, and the sign of $a$ says which side. If $a \gt 0$ too, the quadratic is positive for every $x$: it is called positive definite. If $a \lt 0$ and $\Delta \lt 0$, it is negative definite. Example 2 is positive definite.

There is a bonus: if $a$, $b$ and $c$ are rational and $\Delta$ is a perfect square, the zeroes are rational, so the quadratic factors. That tells you whether factoring is worth trying.

Example 3●●

Find the values of $m$ for which $f(x) = x^2 - 2mx + 3m$ has a double zero, and write each quadratic in factored form.

$\Delta = 4m^2 - 12m = 4m(m - 3)$
Here a = 1, b = −2m, c = 3m. Keep b in brackets: (−2m)² = 4m².
$m = 0$ or $m = 3$
A double zero needs Δ = 0.
$m = 0$: $f(x) = x^2$. $m = 3$: $f(x) = x^2 - 6x + 9 = (x - 3)^2$.
Substitute each value back in.

Your turn

Use the formulas to find the vertex and zeroes of $y = x^2 - 2x - 1$.

Show the working

Axis $x = -\dfrac{-2}{2} = 1$, and $y = 1 - 2 - 1 = -2$, so the vertex is $(1, -2)$. $\Delta = 4 + 4 = 8$, so $\sqrt\Delta = 2\sqrt2$ and $x = \dfrac{2 \pm 2\sqrt2}{2} = 1 \pm \sqrt2$.

Flashcards
Axis of symmetry of $y = ax^2 + bx + c$
$x = -\dfrac{b}{2a}$
Zeroes of $y = ax^2 + bx + c$
$x = \dfrac{-b \pm \sqrt{\Delta}}{2a}$, where $\Delta = b^2 - 4ac$
$Delta gt 0$, $Delta = 0$, $Delta lt 0$
Two zeroes, one double zero, no zeroes.
Practice
  1. Find the axis of symmetry of $y = 2x^2 - 12x + 5$. Enter the $x$-value.

  2. Find the discriminant of $3x^2 - 5x - 2$.

  3. The discriminant of $3x^2 - 5x - 2$ is a perfect square. This tells you the zeroes are:

  4. Find the $y$-coordinate of the vertex of $y = -x^2 + 4x + 2$.

  5. Find the larger zero of $y = -x^2 + 4x + 2$, correct to 2 decimal places.

  6. How many zeroes does $y = 2x^2 - 4x + 5$ have?

  7. Solve $2x^2 - 3x - 4 = 0$. Enter the smaller root, correct to 2 decimal places.

  8. $f(x) = x^2 - 2mx + 3m$ has a double zero and $m \ne 0$. Find $m$.

  9. Exam style: the parabola $y = x^2 + kx + 9$ touches the $x$-axis, and $k \gt 0$. Find $k$.

  10. Exam style: which quadratic has two irrational zeroes?

Formula sheet