Skip to content

Math glossary

Discriminant

The discriminant of the quadratic ax² + bx + c is b² − 4ac, the expression under the square root in the quadratic formula. If it is positive there are two real solutions, if it is zero there is one repeated solution, and if it is negative there are no real solutions.

Discriminant meaning

Every quadratic equation ax² + bx + c = 0 can be solved with the quadratic formula:

x=−b±b2−4ac2ax = \frac{-b \pm \sqrt{b^2 - 4ac}}{2a}

The part under the square root, b² − 4ac, is the discriminant, often written D or Δ. You can work it out in a few seconds, and it tells you what kind of answers to expect before you do the rest of the formula. That makes it a quick check on homework, a shortcut on multiple-choice questions and a way to understand a graph without drawing it.

What the sign tells you

DiscriminantNumber of real rootsGraph of y = ax² + bx + c
D > 0Two different real rootsCrosses the x-axis twice
D = 0One repeated real rootTouches the x-axis at the vertex
D < 0No real roots (two complex roots)Never meets the x-axis

The logic follows straight from the formula. A positive number has two square roots, so ± gives two answers. Zero has one square root, so both answers are the same. A negative number has no real square root.

Worked examples

Example 1: two roots. 2x² + 5x − 3 = 0, with a = 2, b = 5, c = −3. D = 5² − 4(2)(−3) = 25 + 24 = 49. Positive, and a perfect square, so there are two rational roots. The formula gives x = (−5 ± 7) ÷ 4, which is x = 0.5 or x = −3. Because 49 is a perfect square, this quadratic factors: (2x − 1)(x + 3) = 0.

Example 2: one root. x² + 4x + 4 = 0. D = 16 − 16 = 0. One repeated root: x = −4 ÷ 2 = −2. It factors as (x + 2)².

Example 3: no real roots. x² + x + 1 = 0. D = 1 − 4 = −3. Negative, so no real solutions. In complex numbers the roots are (−1 ± i√3) ÷ 2.

Example 4: irrational roots. x² − 2x − 1 = 0. D = 4 + 4 = 8. Positive but not a perfect square, so there are two real roots involving √8 = 2√2: x = 1 ± √2, about 2.414 and −0.414.

Four cases at a glance

DRoots areQuadratic factors over integers?
Positive perfect squareTwo rationalYes (with integer a, b, c)
Positive, not a perfect squareTwo irrationalNo
ZeroOne rational, repeatedYes, a perfect square
NegativeTwo complex conjugatesNo

Using the discriminant to find unknowns

The discriminant can be turned around to find a missing coefficient. For which k does x² + kx + 9 = 0 have exactly one root? Set D = 0: k² − 36 = 0, so k = 6 or k = −6. For which values does it have no real roots? k² − 36 < 0, so −6 < k < 6.

The same idea answers geometry questions. To check whether the line y = 2x + c just touches the parabola y = x², set them equal: x² − 2x − c = 0. One touching point means D = 4 + 4c = 0, so c = −1, and the line y = 2x − 1 is tangent to the parabola at x = 1.

The discriminant and the graph

The discriminant also connects to the vertex. A parabola's vertex has y-coordinate −D ÷ 4a. For y = x² − 6x + 5, D = 36 − 20 = 16 and a = 1, so the vertex is at y = −4: below the axis, and with a positive a, the parabola opens upward and crosses the x-axis twice, at x = 1 and x = 5. If D were negative with a > 0, the vertex would sit above the axis and the graph would never reach it.

Beyond quadratics

Cubic and higher-degree polynomials have discriminants too. They are longer formulas, but they play the same role: a zero discriminant means at least one repeated root. In more advanced maths, discriminants appear in number theory and in classifying curves such as ellipses and hyperbolas, where b² − 4ac in the general second-degree equation tells you which conic you have.

Discriminant of a cubic

A cubic ax³ + bx² + cx + d = 0 has the discriminant

Δ=18abcd−4b3d+b2c2−4ac3−27a2d2\Delta = 18abcd - 4b^3d + b^2c^2 - 4ac^3 - 27a^2d^2

If Δ > 0 there are three different real roots, if Δ = 0 at least two roots are equal, and if Δ < 0 there is one real root and two complex ones. For x³ − 6x² + 11x − 6, Δ = 4, positive, and indeed the roots are 1, 2 and 3. For x³ − 1, Δ = −27, negative: the only real root is 1.

Common mistakes

  • Dropping the sign of c. With c = −3, −4ac becomes +24, not −24.
  • Squaring −b instead of b. b² is always positive, so (−5)² = 25.
  • Reading "no real roots" as "no solution" when the question allows complex answers.
  • Forgetting the equation must equal zero before reading off a, b and c.

The quadratic equation calculator shows the discriminant and both roots with steps. For full methods, see solving quadratic equations and completing the square explained.

FAQ

Frequently asked questions

01What is the discriminant formula?

For a quadratic ax² + bx + c = 0, the discriminant is D = b² − 4ac. It is the expression under the square root in the quadratic formula.

02What does a negative discriminant mean?

The quadratic has no real roots. Its graph never touches the x-axis, and the two solutions are complex numbers.

03What does a discriminant of zero mean?

There is exactly one real root, a repeated or double root. The parabola just touches the x-axis at its vertex.

04How does the discriminant tell you if a quadratic factors?

If a, b and c are integers and the discriminant is a perfect square (0, 1, 4, 9, 16...), the quadratic factors over the rational numbers. Otherwise its roots involve a square root that does not simplify to a whole number.

05Why is it called the discriminant?

Because it discriminates, or tells apart, the different cases: two real roots, one real root or no real roots.

06Do cubic equations have a discriminant?

Yes. For ax³ + bx² + cx + d it is 18abcd − 4b³d + b²c² − 4ac³ − 27a²d². Positive means three distinct real roots, zero means a repeated root, and negative means one real root and two complex roots.

Related terms

Last updated November 9, 2026. See all math terms.