Quadratic Formula: How to Use It (With Worked Examples)
The quadratic formula solves any equation of the form ax² + bx + c = 0, even when it won’t factor neatly. Once you can spot a, b and c, the rest is substitution.
Quick answer
x = (−b ± √(b² − 4ac)) ÷ 2a
- a is the number in front of x², b the number in front of x, and c the constant.
- The ± means there are usually two answers: one with + and one with −.
- The part under the square root, b² − 4ac, is called the discriminant.
Example 1: two whole-number answers
Solve x² − 5x + 6 = 0, so a = 1, b = −5, c = 6.
- First, find the discriminant: (−5)² − 4 × 1 × 6 = 25 − 24 = 1.
- Then take its square root: √1 = 1.
- Next, substitute: x = (5 ± 1) ÷ 2.
- Finally, work out both: x = 6 ÷ 2 = 3, and x = 4 ÷ 2 = 2.
Example 2: decimal answers
Solve 2x² + 3x − 4 = 0, so a = 2, b = 3, c = −4.
- First, the discriminant: 3² − 4 × 2 × (−4) = 9 + 32 = 41.
- Then √41 ≈ 6.40.
- Finally, x = (−3 ± 6.40) ÷ 4, so x ≈ 0.85 or x ≈ -2.35.
What the discriminant tells you
| b² − 4ac | Number of real solutions | Example |
|---|---|---|
| Positive | Two different solutions | x² − 5x + 6 = 0 |
| Zero | One repeated solution | x² − 6x + 9 = 0 → x = 3 |
| Negative | No real solutions (two complex ones) | x² + x + 1 = 0 |
Before you start: standard form
The equation must equal zero first. For 3x² = 7x − 2, move everything to one side: 3x² − 7x + 2 = 0, so a = 3, b = −7, c = 2. That gives x = (7 ± 5) ÷ 6, so x = 2 or x = 1/3.
Common mistakes
- Forgetting the sign: if b = −5, then −b = +5.
- Squaring a negative b wrongly: (−5)² = 25, not −25.
- Dividing only the square root by 2a instead of the whole top line.
- Not rearranging to = 0 before reading off a, b and c.
For square roots, see how to find a square root; for powers, see exponents.
Frequently asked questions
What is the quadratic formula?
x = (−b ± √(b² − 4ac)) ÷ 2a, for ax² + bx + c = 0.
What is the discriminant?
b² − 4ac. It tells you how many real solutions there are.
Can the quadratic formula always be used?
Yes, for any quadratic equation, as long as a isn’t zero.
What if the discriminant is negative?
There are no real solutions; the solutions are complex numbers.
