Skip to content
MathClicksIGCSE← All notes Cambridge IGCSE® Mathematics 0580 Extended Chapter 14 — Further Solving of Equations and Inequalities

14.5  The Quadratic Formula

The method that solves every quadratic — identifying a, b and c, substituting safely, and reading the discriminant to see how many roots there are.

The formula and how to use it

Some quadratics refuse to factorise. The formula below solves any quadratic, factorising or not, provided you first write it in the standard form ax² + bx + c = 0 with everything on one side and zero on the other.

x = −b ± b² − 4ac2a The quadratic formula — it is given on the formula sheet, but learn it anyway
Watch out The whole of −b ± b² − 4ac sits over 2a, not just the root. On a calculator you must bracket the entire numerator.

Step 1: identify a, b and c — with their signs

The sign in front of a number belongs to that number. If a term is missing, its coefficient is zero, not blank.

EquationabcComment
3x² + 5x − 2 = 035−2the minus belongs to the 2
x² − 7x + 1 = 01−71a lone x² means a = 1
2x² − 9 = 020−9no x term, so b = 0
5x² + 4x = 0540no constant, so c = 0
7 − 2x − x² = 0−1−27reorder first: −x² − 2x + 7 = 0
4x² = 3x + 64−3−6rearrange to 4x² − 3x − 6 = 0 first
Exam tip Write a = …, b = …, c = … on your script before you substitute. It takes five seconds and examiners award method marks for a correct substitution even when the arithmetic afterwards goes wrong.

Step 2: substitute inside brackets

Never write −−7 or 4 × 3 × −2. Put every substituted value in its own bracket — that is what keeps the signs right.

x = −(−7) ± (−7)² − 4(3)(1)2(3) The substitution line for 3x² − 7x + 1 = 0 — write this line out in full
Example 1Solve 2x² + 5x − 3 = 0 using the quadratic formula.
1
It is already in standard form. Read off the coefficients with their signs. a = 2,   b = 5,   c = −3
2
Substitute, using brackets everywhere. x = −(5) ± (5)² − 4(2)(−3)2(2)
3
Work out under the root first. Note −4 × 2 × −3 = +24: two negatives give a plus. 25 − (−24) = 25 + 24 = 49
4
49 is a perfect square, so the root is exact. x = −5 ± 74
5
Split into the plus case and the minus case. x = −5 + 74 = 24 = 0.5   or   x = −5 − 74 = −124 = −3
x = 0.5  or  x = −3
Check x = 0.5: 2(0.25) + 2.5 − 3 = 0 ✓   x = −3: 18 − 15 − 3 = 0 ✓ Because the root came out exact, this one also factorises: (2x − 1)(x + 3) = 0.
Example 2Solve 3x² − 7x + 1 = 0, giving your answers correct to 2 decimal places.
1
Coefficients — the − stays with the 7. a = 3,   b = −7,   c = 1
2
Substitute with brackets. −(−7) = +7 and (−7)² = +49. x = −(−7) ± (−7)² − 4(3)(1)2(3)
3
Evaluate the part under the root. 49 − 12 = 37  →  x = 7 ± 376
4
37 is not a perfect square. Keep the full calculator value — do not round 37 = 6.0827… yet. x = 7 + 6.0827…6 = 2.18046…   or   x = 7 − 6.0827…6 = 0.15287…
5
Round only now, at the very end. 2.18046… → 2.18    0.15287… → 0.15
x = 2.18  or  x = 0.15  (2 d.p.)
Watch out Rounding 37 to 6.08 before dividing still gives 2.18 and 0.15 here, but on other questions it shifts the last digit and costs the accuracy mark. Carry the full value in your calculator.

The discriminant b² − 4ac

The expression under the root has its own name. It decides everything about the number of solutions, because you cannot square-root a negative number.

Definition The discriminant of ax² + bx + c = 0 is b² − 4ac. Its sign tells you how many real solutions the equation has, and therefore how many times the graph y = ax² + bx + c meets the x-axis.
DiscriminantNumber of real solutionsThe graph
b² − 4ac > 0Two different real solutionscrosses the x-axis twice
b² − 4ac = 0One repeated solution, x = −b2atouches the x-axis at the turning point
b² − 4ac < 0No real solutionsnever reaches the x-axis

The three cases (for a > 0)

b² − 4ac > 0 two real roots b² − 4ac = 0 one repeated root b² − 4ac < 0 no real roots
Note If your calculator shows an error, or you meet the root of a negative number, you have not made a mistake automatically — the equation may genuinely have no real solutions. Check the discriminant, then write “no real solutions” and explain why.
Example 3The equation x² + kx + 9 = 0 has exactly one solution. Find the two possible values of k.
1
“Exactly one solution” means the discriminant is zero. a = 1,   b = k,   c = 9
2
Set b² − 4ac = 0. k² − 4(1)(9) = 0  →  k² − 36 = 0
3
Solve. Remember both roots. k² = 36  →  k = ±6
k = 6 or k = −6
Check k = 6 gives x² + 6x + 9 = (x + 3)², so x = −3 twice ✓; k = −6 gives (x − 3)², so x = 3 twice ✓

Quadratic formula calculator

Enter a, b and c from ax² + bx + c = 0 and read the substitution line, the discriminant and both roots. Try 1, −6, 2 for a surd answer and 2, 3, 5 for no real roots.

Choosing a method, and exact answers

Try factorising first

If the numbers are small and you can spot a factor pair quickly, factorising is faster and less error-prone. Give it about twenty seconds.

Use the formula when…

the question says “correct to 2 decimal places” or “3 significant figures”. That wording is the examiner telling you the answers are not whole numbers, so it will not factorise.

Complete the square when…

the question says so, or asks for the turning point. The formula and completing the square always give identical answers — the formula is the completed square, done in general.

Exam tip Unless the question tells you otherwise, give non-exact answers to 3 significant figures; when a quadratic question asks for decimal places it nearly always says 2 decimal places. Read the demand and match it exactly — an unrounded answer loses the accuracy mark.

Exact answers in surd form

If the question says exact, leave the surd in. Simplify it if you can, then cancel any factor common to the whole numerator and the denominator.

Example 4Solve x² − 6x + 2 = 0, giving your answers in exact form.
1
Coefficients. a = 1,   b = −6,   c = 2
2
Substitute. x = −(−6) ± (−6)² − 4(1)(2)2(1) = 6 ± 282
3
Simplify the surd: 28 = 4 × 7 and 4 is a perfect square. 28 = 4 × 7 = 27
4
Now every term of the numerator has a factor 2, so divide the whole fraction by 2. x = 6 ± 272 = 3 ± 7
x = 3 + 7  or  x = 3 − 7  (5.65 or 0.35 to 2 d.p.)
Watch out You may only cancel a factor that divides every term: 6 ± 272 works because 6 and 2 are both even. Cancelling the 2 in 7 ± 376 would be nonsense.

More worked examples

Example 5Solve 5x² − 8 = 3x.
1
Rearrange to standard form first — subtract 3x from both sides. 5x² − 3x − 8 = 0
2
Coefficients. a = 5,   b = −3,   c = −8
3
Discriminant. Watch the double negative: −4(5)(−8) = +160. b² − 4ac = 9 + 160 = 169
4
169 is a perfect square, 13², so the answers are exact. x = −(−3) ± 132(5) = 3 ± 1310
5
Take each sign in turn. x = 1610 = 1.6   or   x = −1010 = −1
x = 1.6  or  x = −1
Check x = 1.6: 5(2.56) − 3(1.6) − 8 = 12.8 − 4.8 − 8 = 0 ✓. A perfect-square discriminant always means the quadratic factorises — here (5x − 8)(x + 1) = 0.
Example 6Solve 2x² + 7x − 3 = 0, giving your answers correct to 2 decimal places.
1
Coefficients. a = 2,   b = 7,   c = −3
2
Substitute with brackets. x = −(7) ± (7)² − 4(2)(−3)2(2)
3
Discriminant: 49 + 24 = 73 > 0, so there are two real roots. x = −7 ± 734
4
73 has no square factor, so this is already the exact answer. Now evaluate, keeping full accuracy. 73 = 8.544003…
x = −7 + 8.544003…4 = 0.386000…   or   x = −7 − 8.544003…4 = −3.886000…
5
Round both to 2 d.p. The third decimal digit is 6, so 0.386… rounds up. x = 0.39  or  x = −3.89
x = 0.39  or  x = −3.89  (2 d.p.)   —   exact form x = −7 ± 734
Watch out −3.886 rounds to −3.89, not −3.88. With negatives, round the digits and keep the sign — think of 3.886 → 3.89 first.
Example 7A rectangle has width x cm and length (x + 3) cm. Its area is 20 cm². Form an equation in x and solve it to find the width, correct to 2 decimal places.
1
Area of a rectangle is length × width. Form the equation. x(x + 3) = 20
2
Expand and rearrange so one side is zero — the formula only works on standard form. x² + 3x = 20  →  x² + 3x − 20 = 0
3
Coefficients, then the discriminant. a = 1, b = 3, c = −20  →  b² − 4ac = 9 + 80 = 89
4
Apply the formula. x = −3 ± 892 = −3 ± 9.43398…2
5
Both roots. x = 3.21699…   or   x = −6.21699…
6
Reject the negative root: x is a width, and a length cannot be negative. Say this in words — there is a mark for it. x = −6.22 is impossible, so x = 3.22 (2 d.p.)
width = 3.22 cm (2 d.p.)
Check width 3.21699, length 6.21699, area = 20.00 ✓
Exam tip In every worded or geometric quadratic, ask what the variable represents. Lengths, areas, times, numbers of people and prices are all positive, so the negative root is discarded — but you must show it and then reject it, not hide it.

Your turn

Practice set

  1. Write down a, b and c for (a) 4x² − 9x + 2 = 0  (b) 3 − 7x = 2x².
  2. Solve x² + 3x − 5 = 0, correct to 2 decimal places.
  3. Solve 2x² − 5x − 4 = 0, giving your answers in exact form.
  4. Use the discriminant to state the number of real solutions of (a) x² + 4x + 4 = 0  (b) 2x² + x + 3 = 0  (c) 3x² − 5x − 1 = 0.
  5. Solve 3x² + 2x − 8 = 0.
  6. A right-angled triangle has base x cm and height (x + 4) cm. Its area is 15 cm². Form a quadratic equation and solve it to find x, correct to 2 decimal places.

  1. (a) a = 4, b = −9, c = 2  (b) rearrange to 2x² + 7x − 3 = 0 → a = 2, b = 7, c = −3
  2. b² − 4ac = 9 + 20 = 29, x = −3 ± 292 → x = 1.19 or x = −4.19
  3. b² − 4ac = 25 + 32 = 57; 57 has no square factor and 4 does not divide the numerator, so x = 5 ± 574 (3.14 or −0.64 to 2 d.p.)
  4. (a) 16 − 16 = 0 → one repeated solution  (b) 1 − 24 = −23 < 0 → no real solutions  (c) 25 + 12 = 37 > 0 → two real solutions
  5. b² − 4ac = 4 + 96 = 100 = 10², x = −2 ± 106 → x = 43 or x = −2 (it factorises: (3x − 4)(x + 2) = 0)
  6. Area = ½x(x + 4) = 15 → x² + 4x − 30 = 0; b² − 4ac = 16 + 120 = 136, so x = −4 ± 1362 = −2 ± 34. Reject the negative root → x = 3.83 (2 d.p.)

Key points to remember

  • Rearrange to ax² + bx + c = 0 before reading off a, b, c; a missing term means that coefficient is 0.
  • The sign in front of a number belongs to it: in x² − 7x + 1, b = −7.
  • Substitute inside brackets — −(−7) and (−7)² — and remember the whole numerator sits over 2a.
  • The discriminant b² − 4ac gives two roots if positive, one repeated root if zero, and no real roots if negative.
  • A perfect-square discriminant means the quadratic would have factorised; an awkward one means the formula was the right choice.
  • Do not round until the final line; then give 2 decimal places (or 3 significant figures) exactly as the question demands.
  • “Exact” means leave the surd: simplify it, then cancel only a factor common to every term of the numerator and the denominator.
  • In worded and geometric problems, form the equation, solve it, then reject any root that gives a negative length, time or price — and state that you are rejecting it.

Where next?

✅ Mark scheme All notes

Progress is saved on this device only and appears on the notes home page.