Discriminant meaning
Every quadratic equation ax² + bx + c = 0 can be solved with the quadratic formula:
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
| Discriminant | Number of real roots | Graph of y = ax² + bx + c |
|---|---|---|
| D > 0 | Two different real roots | Crosses the x-axis twice |
| D = 0 | One repeated real root | Touches the x-axis at the vertex |
| D < 0 | No 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
| D | Roots are | Quadratic factors over integers? |
|---|---|---|
| Positive perfect square | Two rational | Yes (with integer a, b, c) |
| Positive, not a perfect square | Two irrational | No |
| Zero | One rational, repeated | Yes, a perfect square |
| Negative | Two complex conjugates | No |
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
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.