Overview
The discriminant of a quadratic equation tells you how many real solutions it has before you solve it. For ax² + bx + c = 0, it's b² − 4ac.
Enter a, b and c.
Worked examples
| Inputs | Result |
|---|---|
| a (coefficient)2b (coefficient)-4c (constant)-6 | Discriminant: 64 — Two real roots |
Show 3 more examples
| a (coefficient)1b (coefficient)2c (constant)1 | Discriminant: 0 — One repeated root |
| a (coefficient)1b (coefficient)0c (constant)4 | Discriminant: -16 — Complex roots only |
| a (coefficient)3b (coefficient)7c (constant)2 | Discriminant: 25 — Two real roots |
Discriminant by a
With the calculator's starting values, the discriminant is 64 — Two real roots. The table shows how it changes with the a.
| a (coefficient) | Discriminant (—) |
|---|---|
| 1 | 40 — Two real roots |
| 1.25 | 46 — Two real roots |
| 1.5 | 52 — Two real roots |
| 1.75 | 58 — Two real roots |
| 2starting value | 64 — Two real roots |
| 2.25 | 70 — Two real roots |
| 2.5 | 76 — Two real roots |
| 2.75 | 82 — Two real roots |
| 3 | 88 — Two real roots |
Other inputs: b: -4 coefficient · c: -6 constant. Change them in the calculator above for your own numbers.
How it works
If the discriminant is positive, the parabola crosses the x-axis twice, so there are two real roots. If it's zero, it just touches the axis, giving one repeated root. If it's negative, there are no real roots, only a pair of complex ones. Its square root is the part under the radical in the quadratic formula.
The formula
| a, b, c | The coefficients of ax² + bx + c |
Practical tips
- 2x² − 4x − 6 has a discriminant of 64, so it has two real roots, x = 3 and x = −1.
- x² + 2x + 1 has a discriminant of 0, giving one root, x = −1.
- A perfect-square discriminant means the roots are rational, so the quadratic can be factored neatly.
Frequently asked questions
How do I find the roots?
Use x = (−b ± √Δ) ÷ 2a.
What does a negative discriminant mean?
The parabola never crosses the x-axis, so there are no real solutions.
Can a be zero?
Then it isn't a quadratic. The equation is linear, with one root, −c ÷ b.