Algebra · SS 1
Quadratic formula
Solve any quadratic equation, even one that won't factorise.
- For ax2 + bx + c = 0:
- x = −b ± √(b2 − 4ac)2a
What the letters mean
- a
- the number in front of x2 (not 0)
- b
- the number in front of x
- c
- the number on its own
Worked example
Solve 2x2 − 5x − 3 = 0.
Step 1: Read off a, b and c
a = 2, b = −5, c = −3
Step 2: Work out b2 − 4ac
(−5)2 − 4 × 2 × (−3) = 25 + 24 = 49
Step 3: Put into the formula
x = 5 ± √494 = 5 ± 74
Step 4: Take + and − separately
x = 124 = 3 or x = −24 = −12
Final answer: x = 3 or x = −12
Keep the signs: when b = −5, −b = +5.
When to use it
Use the formula for any quadratic equation in the form ax2 + bx + c = 0, especially when it does not factorise easily or the question asks for answers 'to 2 decimal places'. First rearrange so that one side is 0. If the equation factorises quickly, factorising is faster. If b2 − 4ac is negative, there are no real solutions.
Why it works
The formula comes from completing the square on ax2 + bx + c = 0. Divide every term by a, move the number term across, then add the square of half the x-coefficient, (b2a)2, to both sides. The left side becomes the perfect square (x + b2a)2. Take the square root of both sides, which brings in the ± sign, then make x the subject. Because this works for every quadratic, you never have to repeat it.
Try it yourself
Solve x2 + 4x − 1 = 0, giving your answers to 2 decimal places.
Try it first, then show the solution
- Read off a = 1, b = 4, c = −1
- b2 − 4ac = 42 − 4 × 1 × (−1) = 16 + 4 = 20
- x = −4 ± √202
- √20 ≈ 4.4721, so x ≈ −4 + 4.47212 ≈ 0.2361 or x ≈ −4 − 4.47212 ≈ −4.2361
- Round each answer to 2 decimal places
Answer: x ≈ 0.24 or x ≈ −4.24 (to 2 d.p.)
See it
Play with this picture from the Quadratic Equations by Factorisation lesson.
y = x2 − x − 6
x2 − x − 6 = (x + 2)(x − 3)
Roots: x = −2 or x = 3
Check: −2 + 3 = 1 (that's −b) and −2 × 3 = −6 (that's c)
Common mistakes
- Dividing only the square root by 2a. The fraction line goes under the whole top, so all of −b ± √(b2 − 4ac) is divided by 2a.
- Squaring a negative b wrongly on a calculator. Type (−3)2 with brackets to get 9; without brackets, many calculators give −9.
In BECE and WASSCE
The quadratic formula is an SS-level skill used often in WASSCE Paper 2, either on its own or after forming an equation from a word problem about areas, ages or speeds. Questions often ask for answers to 1 or 2 decimal places, so keep extra digits in your working and round only at the final step.
Questions students ask
When should I use the formula instead of factorising?
Try factorising for a few seconds: look for two numbers that multiply to ac and add to b. If none are obvious, or the question asks for decimal answers, use the formula. It always works, while factorising only works for equations with nice roots.
What if b or c is missing?
Use 0 for the missing number. For x2 − 9 = 0, a = 1, b = 0 and c = −9, so x = 0 ± √362 = ±3. In simple cases like this, though, it is quicker to rearrange or factorise directly.