Topic guide

Quadratic equations, solved three ways.

Factorising, the quadratic formula and completing the square: how each one works, and how to choose the right one for the question in front of you.

The quadratic formula

x = −b ± √b² − 4ac2a

Solves any quadratic ax² + bx + c = 0

  • LevelGCSE Higher & A-Level
  • MethodsFactorise · Formula · Complete the square
  • You’ll needExpanding brackets
  • Exam boardsAQA · Edexcel · OCR
  • Practice6 questions with answers

On this page

Still stuck?

Book a 1-on-1 session and we’ll work through it together.

The basics

What is a quadratic equation?

A quadratic equation is one where the highest power of x is x². Every quadratic can be rearranged into the same standard form:

ax² + bx + c = 0,  where a ≠ 0

The solutions (also called roots) are the values of x that make the equation true. On a graph, they’re where the curve y = ax² + bx + c crosses the x-axis. A quadratic can have two solutions, one repeated solution or no real solutions at all.

Key idea

Always rearrange so one side is 0 before you start. Every method relies on it.

Method 1

Factorising

If the quadratic factorises, this is usually the quickest method. When a = 1, look for two numbers that multiply to give c and add to give b.

x² + 5x + 6 = 0
(x + 2)(x + 3) = 0
x = −2  or  x = −3

This works because if two things multiply to make zero, one of them must be zero. So either x + 2 = 0 or x + 3 = 0.

When a isn’t 1

Multiply a × c, find two numbers that multiply to that and add to b, then use them to split the middle term.

2x² + 7x + 3 = 0  (ac = 6: use 6 and 1)
2x² + 6x + x + 3 = 0
2x(x + 3) + 1(x + 3) = 0
(2x + 1)(x + 3) = 0  ⇒  x = −½  or  x = −3

Method 2

The quadratic formula

The formula works for every quadratic, including ones that don’t factorise. Read off a, b and c carefully, signs included.

x = −b ± √b² − 4ac2a

For x² − 4x − 7 = 0: a = 1, b = −4, c = −7.

x = 4 ± √16 + 282 = 4 ± √442 = 2 ± √11
x ≈ 5.32  or  x ≈ −1.32

Method 3

Completing the square

Rewrite the quadratic as a squared bracket plus a number. Halve the coefficient of x to get the bracket, then subtract that number squared:

x² + bx + c = (x + b2)² − (b2)² + c

For x² + 6x + 2 = 0:

(x + 3)² − 9 + 2 = 0
(x + 3)² = 7
x + 3 = ±√7  ⇒  x = −3 ± √7

Bonus

Completing the square also gives you the turning point. y = (x + 3)² − 7 has its minimum at (−3, −7).

How many solutions?

The discriminant

The part under the square root, b² − 4ac, is called the discriminant. It tells you how many real solutions there are before you solve anything:

> 0

Two solutions

The curve crosses the x-axis twice.

= 0

One repeated solution

The curve just touches the x-axis.

< 0

No real solutions

The curve never reaches the x-axis.

Try it: move the sliders and watch the roots and the discriminant change together.

Try it y = x² − 2x − 3
−4−22442−2−4
1
−2
−3

Δ = b² − 4ac = 16, so there are two distinct real roots: x = −1 and x = 3. Turning point (1, −4), a minimum.

Which method should I use?

  • Factorise when it factorises neatly, especially if the answers are whole numbers.
  • Use the formula when the question says “give your answers to 2 decimal places” or it won’t factorise.
  • Complete the square when asked for the form (x + p)² + q, the turning point, or exact answers in surd form.

Try first, then reveal

Worked examples

Have a go at each question yourself, then reveal the solution one step at a time.

Example 1

GCSE

Solve x² − x − 12 = 0.

  1. Find two numbers that multiply to −12 and add to −1: −4 and 3.Check: −4 × 3 = −12 and −4 + 3 = −1.
  2. (x − 4)(x + 3) = 0Write the factorised form.
  3. x = 4  or  x = −3Set each bracket equal to zero. Check: 4² − 4 − 12 = 0 ✓

Example 2

GCSE Higher

Solve 3x² − 5x − 1 = 0, giving your answers to 2 decimal places.

  1. a = 3,  b = −5,  c = −1“2 decimal places” is a clue to use the formula.
  2. b² − 4ac = 25 + 12 = 37Work out the discriminant first: fewer sign slips.
  3. x = 5 ± √376Substitute into the formula. −b = +5.
  4. x = 1.85  or  x = −0.18(5 + 6.083) ÷ 6 = 1.847… and (5 − 6.083) ÷ 6 = −0.180…

Example 3

A-Level

Solve x⁴ − 5x² + 4 = 0.

  1. Let u = x²:  u² − 5u + 4 = 0This is a “disguised quadratic”: x⁴ = (x²)².
  2. (u − 1)(u − 4) = 0  ⇒  u = 1 or u = 4Solve the quadratic in u.
  3. x² = 1 or x² = 4  ⇒  x = ±1, ±2Swap back, and remember both the positive and negative roots. Check: 2⁴ − 5(4) + 4 = 0 ✓

Avoid these

Common mistakes

Common mistake

Dividing by x: x² = 5x becomes x = 5, and the solution x = 0 is lost.

Do this instead

Rearrange and factorise: x² − 5x = 0, so x(x − 5) = 0 and x = 0 or 5.

Common mistake

Factorising before rearranging: trying to solve x² + 3x = 10 as it stands.

Do this instead

Make one side zero first: x² + 3x − 10 = 0, so (x + 5)(x − 2) = 0.

Common mistake

Forgetting the ± when square rooting: (x + 3)² = 7 gives only x = −3 + √7.

Do this instead

Write x + 3 = ±√7, which gives both x = −3 + √7 and x = −3 − √7.

Your turn

Practice questions

Work each one out on paper before you open the answer.

1FoundationSolve x² + 7x + 10 = 0

2 × 5 = 10 and 2 + 5 = 7, so (x + 2)(x + 5) = 0.

x = −2 or x = −5

2FoundationSolve x² − 9 = 0

Difference of two squares: (x − 3)(x + 3) = 0.

x = 3 or x = −3

3HigherSolve 2x² + x − 6 = 0

ac = −12: use 4 and −3. 2x² + 4x − 3x − 6 = 2x(x + 2) − 3(x + 2) = (2x − 3)(x + 2).

x = 3/2 or x = −2

4HigherSolve x² − 6x + 4 = 0, leaving your answers in surd form

Complete the square: (x − 3)² − 9 + 4 = 0, so (x − 3)² = 5.

x = 3 ± √5

5HigherSolve x² + 3x − 5 = 0 to 2 decimal places

b² − 4ac = 9 + 20 = 29, so x = (−3 ± √29) ÷ 2.

x = 1.19 or x = −4.19

6A-LevelFind the values of k for which x² + kx + 9 = 0 has equal roots

Equal roots means the discriminant is zero: k² − 4(1)(9) = 0, so k² = 36.

k = 6 or k = −6

Pick up every mark

Exam tips

  1. Rearrange to “= 0” first. Every method depends on it.
  2. Read the required form. “Exact”, “surd form” and “2 decimal places” each point to a different method.
  3. Show your substitution. Writing out the formula with the numbers in earns method marks even if the arithmetic slips.
  4. Check by substituting back. It takes seconds and catches sign errors.

Keep going

Katie Pybis

Ready when you are.

Book a relaxed introductory chat, or send a message with any questions.