What Is the Discriminant?

The discriminant is a numerical invariant derived from a polynomial's coefficients that describes the nature of its roots. For a polynomial p(x) = aₙxⁿ + ... + a₁x + a₀, the discriminant encodes whether roots are real, complex, or repeated.

Rather than solving the polynomial explicitly, you compute the discriminant to determine:

  • Whether roots are distinct or repeated
  • Whether roots are real or non-real complex numbers
  • The geometric structure of the polynomial's graph

This property makes discriminants invaluable in fields ranging from control theory (where repeated roots indicate system instability) to algebraic geometry and computational algebra.

Discriminant Formulas by Degree

Each polynomial degree has its own discriminant formula, built from the coefficients. As the degree rises, the formula becomes exponentially more intricate—a cubic has 5 terms, a quartic has 16, and a quintic jumps to 59.

Quadratic (ax² + bx + c):

Δ = b² − 4ac

Cubic (ax³ + bx² + cx + d):

Δ = 18abcd − 4b³d + b²c² − 4ac³ − 27a²d²

Quartic (ax⁴ + bx³ + cx² + dx + e):

Δ = 256a³e³ − 192a²bde² − 128a²c²e² + 144a²cd²e − 27a²d⁴ + 144ab²ce² − 6ab²d²e − 80abc²de + 18abcd³ + 16ac⁴e − 4ac³d² − 27b⁴e² + 18b³cde − 4b³d³ − 4b²c³e + b²c²d²

  • a, b, c, d, e — Polynomial coefficients in descending order of degree

Interpreting the Discriminant

The sign and magnitude of the discriminant tell you precisely what type of roots your polynomial has:

  • Δ > 0: All roots are real and distinct. For quadratics, this means two separate x-intercepts; for higher degrees, it implies no repeated roots exist.
  • Δ = 0: The polynomial has at least one repeated root. This is the boundary case where the polynomial touches (but may not cross) the x-axis, or where two or more roots coincide.
  • Δ < 0: For quadratics, two complex conjugate roots exist. For cubics and higher, a mix of real and non-real roots occurs.

In control engineering, a zero discriminant signals marginal stability; in optimization, it identifies degenerate critical points.

Common Mistakes and Pitfalls

Avoid these frequent errors when computing or interpreting discriminants:

  1. Sign errors in coefficient entry — Discriminant formulas are highly sensitive to coefficient signs. A single mistaken negative sign cascades into a completely wrong result. Always double-check that you've entered coefficients with their correct signs, especially for linear and constant terms.
  2. Confusing the quadratic discriminant with others — The famous formula b² − 4ac applies only to quadratics. Many students mistakenly apply it to cubics or quartics. Higher-degree polynomials have their own distinct (and much longer) formulas that cannot be simplified to the quadratic version.
  3. Forgetting zero coefficients — If your polynomial is missing a term—for example, x⁴ + 2x² − 5 (no x³ or x term)—you must still enter the missing coefficients as zero. Omitting them entirely will produce incorrect results.
  4. Misinterpreting discriminant sign for root location — A negative discriminant does not mean the polynomial has no real roots; it depends on degree. A cubic with Δ < 0 always has at least one real root. Only for quadratics does Δ < 0 guarantee purely complex roots.

How to Use the Calculator

Using this tool requires just three straightforward steps:

  1. Select polynomial degree: Choose 2 (quadratic), 3 (cubic), 4 (quartic), or 5 (quintic).
  2. Enter coefficients: Input each coefficient in order from highest to lowest degree. Include zero for any missing terms.
  3. Read the result: The discriminant appears instantly, along with an interpretation of what it reveals about your polynomial's roots.

No intermediate steps are shown; the calculator computes the full formula internally and delivers the final numerical discriminant in one calculation.

Frequently Asked Questions

Why does the discriminant formula change with polynomial degree?

The discriminant is defined as a polynomial function of the roots themselves. Higher-degree polynomials have more root pairs to compare, causing the formula to account for many more interactions. The number of terms grows dramatically: quadratics have 2 terms, cubics 5, quartics 16, and quintics 59. This explosion occurs because you're essentially encoding information about all possible root differences into a single number.

Can the discriminant be negative for polynomials of all degrees?

Yes, but the interpretation varies. For quadratics, Δ < 0 guarantees two non-real complex roots. For cubics, Δ < 0 still allows real roots alongside complex ones—a cubic always has at least one real root regardless of discriminant sign. For quartics and quintics, negative discriminants indicate the presence of non-real roots but do not determine exactly how many or what type.

What does a zero discriminant mean practically?

A zero discriminant indicates a repeated root: at least two roots are identical. Graphically, this often appears as the curve touching the x-axis without crossing it. In applications like vibration analysis or electrical circuits, zero discriminants in characteristic polynomials signal critical damping or boundary stability conditions—important transitions in system behaviour.

How is the discriminant related to the polynomial's derivative?

The discriminant and the polynomial's derivative are deeply linked through the resultant, a concept in elimination theory. The discriminant essentially measures whether the polynomial and its derivative share a common root. If they do (and only then) do they have a repeated root, making the discriminant zero. This relationship underpins many algebraic algorithms.

Are there discriminants for polynomials of degree higher than five?

Yes, discriminants exist for polynomials of any degree. However, the formulas become impractically enormous—a sextic (degree 6) has 246 terms, and a septic (degree 7) has over 1100. This calculator limits itself to degree 5 because beyond that, symbolic computation becomes inefficient for manual use, and numerical methods are often more practical.

Does the discriminant tell me the actual roots?

No, the discriminant only reveals properties about roots—their nature (real vs. complex, distinct vs. repeated)—without computing them. To find the actual roots, you'd need to solve the polynomial separately using the quadratic formula, Cardano's method, Ferrari's approach, or numerical solvers. The discriminant is a much faster shortcut when you only need to know root characteristics.

More math calculators (see all)