impera Open Impera

A levels Mathematics · Pure: algebra and functions

Quadratics and inequalities

1Solving quadratic equations

A quadratic has the form $ax^2 + bx + c$, with $a \neq 0$. There are three main methods of solving $ax^2 + bx + c = 0$.

  • Factorising: $x^2 - 5x + 6 = (x - 2)(x - 3) = 0$, so $x = 2$ or $x = 3$.
  • Completing the square: rewriting in the form $a(x + p)^2 + q$.
  • The quadratic formula:

$$x = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}$$

Worked example

Using the formula

  1. Solve $2x^2 - 3x - 4 = 0$, leaving answers in surd form.
  2. $a = 2$, $b = -3$, $c = -4$.
  3. $x = \dfrac{3 \pm \sqrt{9 + 32}}{4} = \dfrac{3 \pm \sqrt{41}}{4}$.
Check yourself

What are the roots of x² − 7x + 12 = 0?

  • −3 and −4

  • 2 and 6

  • 1 and 12

  • 3 and 4

Show the answer

3 and 4

(x − 3)(x − 4) = 0.

2Completing the square

Completing the square writes a quadratic as $a(x + p)^2 + q$. It gives the turning point $(-p, q)$ directly.

Worked example

Completing the square with a = 1

  1. $x^2 + 6x + 2 = (x + 3)^2 - 9 + 2 = (x + 3)^2 - 7$.
  2. Minimum point: $(-3, -7)$.
Worked example

Completing the square with a ≠ 1

  1. $2x^2 - 12x + 5 = 2(x^2 - 6x) + 5$.
  2. $= 2\left[(x - 3)^2 - 9\right] + 5 = 2(x - 3)^2 - 13$.
  3. Minimum point: $(3, -13)$.

Since $(x + p)^2 \geq 0$, the minimum value of $a(x + p)^2 + q$ when $a > 0$ is $q$.

Check yourself

What is the turning point of y = (x − 4)² + 1?

  • (4, 1)

  • (1, 4)

  • (4, −1)

  • (−4, 1)

Show the answer

(4, 1)

The bracket is zero when x = 4, giving y = 1.

3The discriminant

The discriminant is $b^2 - 4ac$. It tells you how many real roots a quadratic has.

  • $b^2 - 4ac > 0$: two distinct real roots; the graph crosses the $x$-axis twice.
  • $b^2 - 4ac = 0$: one repeated root; the graph touches the $x$-axis.
  • $b^2 - 4ac < 0$: no real roots; the graph does not meet the $x$-axis.

The discriminant tells you whether a parabola crosses, touches or misses the x-axis

Worked example

Finding k for equal roots

  1. $x^2 + kx + 9 = 0$ has equal roots. Find $k$.
  2. Discriminant $= k^2 - 36 = 0$.
  3. $k = 6$ or $k = -6$.
Check yourself

How many real roots does x² + 2x + 5 = 0 have?

  • None

  • Three

  • Two

  • One

Show the answer

None

b² − 4ac = 4 − 20 = −16 < 0.

4Quadratic graphs

To sketch $y = ax^2 + bx + c$:

  • Shape: a U-shape if $a > 0$; an upside-down U if $a < 0$.
  • $y$-intercept: $(0, c)$.
  • $x$-intercepts: solve $ax^2 + bx + c = 0$.
  • Turning point: from completing the square, or $x = -\frac{b}{2a}$.
  • The graph is symmetric about the vertical line through the turning point.
Worked example

Sketch information

  1. $y = -x^2 + 4x + 5 = -(x - 5)(x + 1)$.
  2. Roots: $x = 5$ and $x = -1$; $y$-intercept: $5$.
  3. Line of symmetry $x = 2$; maximum point $(2, 9)$.
  4. The graph is an upside-down U, since $a = -1$.
Check yourself

What is the line of symmetry of y = x² − 8x + 3?

  • x = 3

  • x = 8

  • x = −4

  • x = 4

Show the answer

x = 4

x = −b/(2a) = 8/2 = 4.

5Linear and quadratic inequalities

Linear inequalities are solved like equations, but reverse the inequality sign when multiplying or dividing by a negative number.

To solve a quadratic inequality:

  1. Rearrange to compare with zero.
  2. Find the critical values by solving the equation.
  3. Sketch the graph.
  4. Read off where the graph is above zero ($> 0$) or below zero ($< 0$).
Worked example

Quadratic inequality

  1. Solve $x^2 - x - 12 > 0$.
  2. $(x - 4)(x + 3) = 0$ gives critical values $x = -3$ and $x = 4$.
  3. A U-shaped graph is above the axis outside the roots.
  4. Answer: $x < -3$ or $x > 4$. In set notation: $\{x : x < -3\} \cup \{x : x > 4\}$.
Worked example

Range of k for no real roots

  1. $kx^2 + 4x + k = 0$ has no real roots, with $k > 0$.
  2. Need $16 - 4k^2 < 0$, so $k^2 > 4$.
  3. With $k > 0$: $k > 2$.
Check yourself

What is the solution of x² − 9 < 0?

  • −3 < x < 3

  • x > −3

  • x < 3

  • x < −3 or x > 3

Show the answer

−3 < x < 3

The U-shaped graph is below the axis between the roots.

6Simultaneous equations

A linear and a quadratic equation are solved by substitution.

Worked example

Line and curve

  1. Solve $y = x + 1$ and $x^2 + y^2 = 13$.
  2. Substitute: $x^2 + (x + 1)^2 = 13$, so $2x^2 + 2x - 12 = 0$.
  3. $x^2 + x - 6 = 0$, so $(x + 3)(x - 2) = 0$.
  4. $x = 2$, $y = 3$ or $x = -3$, $y = -2$.

The solutions are the intersection points of the graphs. If substitution gives a quadratic with a zero discriminant, the line is a tangent to the curve; a negative discriminant means they do not meet.

Inequalities can also be shown as regions on a graph: use a dashed line for $<$ or $>$ and a solid line for $\leq$ or $\geq$.

Check yourself

A line and a curve give a quadratic with discriminant 0 after substitution. What does this mean?

  • They meet at two points

  • The line is a tangent to the curve

  • They do not meet

  • The line is parallel to the y-axis

Show the answer

The line is a tangent to the curve

Equal roots mean one point of contact.

Now test yourself

This lesson has a 8-question quiz and 5 exam-style questions with mark schemes in Impera. Free, with your progress saved.

Practise in Impera