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

InputsResult
a (coefficient)2b (coefficient)-4c (constant)-6Discriminant: 64 — Two real roots
Show 3 more examples
a (coefficient)1b (coefficient)2c (constant)1Discriminant: 0 — One repeated root
a (coefficient)1b (coefficient)0c (constant)4Discriminant: -16 — Complex roots only
a (coefficient)3b (coefficient)7c (constant)2Discriminant: 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 (—)
140 — Two real roots
1.2546 — Two real roots
1.552 — Two real roots
1.7558 — Two real roots
2starting value64 — Two real roots
2.2570 — Two real roots
2.576 — Two real roots
2.7582 — Two real roots
388 — 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

Δ = b² − 4ac
a, b, cThe 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.