Quadratic equations

A quadratic equation has an x² term, like x² + 5x + 6 = 0, and usually has two solutions. You can solve it by factorising, by completing the square, or with the quadratic formula, which always works.

Key facts

  • Rearrange so that one side is 0 before you solve.
  • If two brackets multiply to 0, one of them must be 0: (x − 2)(x + 5) = 0 gives x = 2 or x = −5.
  • Quadratic formula for ax² + bx + c = 0: x = (−b ± √(b² − 4ac))/(2a).
  • The discriminant b² − 4ac: positive → two solutions; zero → one repeated solution; negative → no real solutions.
  • x² = 25 has two solutions, x = 5 and x = −5.
  • The solutions are where the graph of y = ax² + bx + c crosses the x-axis.

Worked examples

Example 1

Solve x² − 2x − 3 = 0.

  1. Two numbers that multiply to −3 and add to −2: −3 and 1. (x − 3)(x + 1) = 0
  2. Set each bracket to 0. x = 3 or x = −1

Answer: x = 3 or x = −1

Example 2

Solve 2x² + 5x − 3 = 0.

  1. Brackets (2x …)(x …) with numbers multiplying to −3. (2x − 1)(x + 3) = 0
  2. Solve each bracket. x = 1/2 or x = −3

Answer: x = ½ or x = −3

Example 3

Solve x² + 4x − 7 = 0, giving your answers to 2 decimal places.

  1. Use the formula with a = 1, b = 4 and c = −7. x = (−4 ± √(16 + 28))/2 = (−4 ± √44)/2
  2. Work out each value. x = 1.32 or x = −5.32

Answer: x = 1.32 or x = −5.32

Example 4

A rectangle is x cm wide and (x + 4) cm long. Its area is 45 cm². Find x.

  1. Area = width × length. x(x + 4) = 45
  2. Rearrange and factorise. x² + 4x − 45 = 0, (x + 9)(x − 5) = 0
  3. A width cannot be negative. x = 5

Answer: x = 5

Example 5

Solve x^2 − 9x + 20 = 0.

  1. Find two numbers that multiply to 20 and add to −9. −4, −5
  2. Factorise and solve. (x − 4)(x − 5) = 0 → x = 4, x = 5

Answer: x = 4 or x = 5