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.
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.
| Equation | a | b | c | Comment |
|---|---|---|---|---|
| 3x² + 5x − 2 = 0 | 3 | 5 | −2 | the minus belongs to the 2 |
| x² − 7x + 1 = 0 | 1 | −7 | 1 | a lone x² means a = 1 |
| 2x² − 9 = 0 | 2 | 0 | −9 | no x term, so b = 0 |
| 5x² + 4x = 0 | 5 | 4 | 0 | no constant, so c = 0 |
| 7 − 2x − x² = 0 | −1 | −2 | 7 | reorder first: −x² − 2x + 7 = 0 |
| 4x² = 3x + 6 | 4 | −3 | −6 | rearrange to 4x² − 3x − 6 = 0 first |
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.
Example 1Solve 2x² + 5x − 3 = 0 using the quadratic formula.
Example 2Solve 3x² − 7x + 1 = 0, giving your answers correct to 2 decimal places.
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.
| Discriminant | Number of real solutions | The graph |
|---|---|---|
| b² − 4ac > 0 | Two different real solutions | crosses the x-axis twice |
| b² − 4ac = 0 | One repeated solution, x = −b2a | touches the x-axis at the turning point |
| b² − 4ac < 0 | No real solutions | never reaches the x-axis |
The three cases (for a > 0)
Example 3The equation x² + kx + 9 = 0 has exactly one solution. Find the two possible values of k.
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.
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.
More worked examples
Example 5Solve 5x² − 8 = 3x.
Example 6Solve 2x² + 7x − 3 = 0, giving your answers correct to 2 decimal places.
x = −7 + 8.544003…4 = 0.386000… or x = −7 − 8.544003…4 = −3.886000…
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.
Your turn
Practice set
- Write down a, b and c for (a) 4x² − 9x + 2 = 0 (b) 3 − 7x = 2x².
- Solve x² + 3x − 5 = 0, correct to 2 decimal places.
- Solve 2x² − 5x − 4 = 0, giving your answers in exact form.
- 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.
- Solve 3x² + 2x − 8 = 0.
- 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.
- (a) a = 4, b = −9, c = 2 (b) rearrange to 2x² + 7x − 3 = 0 → a = 2, b = 7, c = −3
- b² − 4ac = 9 + 20 = 29, x = −3 ± 292 → x = 1.19 or x = −4.19
- 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.)
- (a) 16 − 16 = 0 → one repeated solution (b) 1 − 24 = −23 < 0 → no real solutions (c) 25 + 12 = 37 > 0 → two real solutions
- b² − 4ac = 4 + 96 = 100 = 10², x = −2 ± 106 → x = 43 or x = −2 (it factorises: (3x − 4)(x + 2) = 0)
- 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?
📚 Take the full lesson
The Quadratic Formula — objectives, a starter, worked examples, practice and an exit check, taught step by step.
✏️ Practise exam questions
Quadratic Equations — 25 exam-style questions worth 98 marks, with full answers and the mark scheme.
Progress is saved on this device only and appears on the notes home page.