banner

Free Discriminant Calculator

ax² + bx + c

Discriminant (Δ)

Enter coefficients to see the discriminant.

Understanding the Discriminant

The discriminant of a polynomial is a single numeric value that encapsulates crucial information about the polynomial’s roots—whether they are real or complex, distinct or repeated. For polynomials with real coefficients and degree nn ( n≥2n \ge 2 ), the discriminant is computed from the polynomial’s coefficients. The most well‑known case is the quadratic discriminant, Δ=b2−4ac\Delta = b^{2} - 4ac, but the concept extends naturally to higher degrees.

This free online Polynomial Discriminant Calculator handles polynomials from quadratic (degree 2) up to quintic (degree 5). By entering the coefficients, you instantly obtain the discriminant and a summary of the root nature. It serves as an efficient algebra calculator for students and professionals exploring root characteristics.

What Does the Discriminant Tell Us?

The discriminant (denoted Δ\Delta or DD) serves as an indicator of root multiplicity:

  • If Δ=0\Delta = 0, the polynomial has at least one repeated root (double, triple, etc.).
  • If Δ>0\Delta > 0, the nature of the roots depends on the degree (see below).
  • If Δ<0\Delta < 0, the polynomial must have some non‑real complex roots.

The term “discriminant” was introduced by the English mathematician James Joseph Sylvester in 1851.

Formal Definition Using Roots

By the fundamental theorem of algebra, a degree‑nn polynomial

P(x)=anx n+an−1x n−1+⋯+a0P(x) = a_n x^{\,n} + a_{n-1}x^{\,n-1} + \dots + a_0

has exactly nn complex roots x1,x2,…,xnx_1, x_2, \dots, x_n (counting multiplicities). The discriminant is defined as

Δ=an 2n−2∏1≤i<j≤n(xi−xj)2.\Delta = a_n^{\,2n-2} \prod_{1 \le i < j \le n} (x_i - x_j)^{2}.

This product is a symmetric function of the roots, guaranteeing that its value does not depend on the order of labeling. Equivalently, the discriminant can be expressed as the determinant of the Sylvester matrix of the polynomial and its derivative—an approach used when the roots are unknown.

Key Properties

  • Δ\Delta is always a real number for polynomials with real coefficients.
  • Δ=0\Delta = 0 if and only if the polynomial has a multiple root (i.e., at least one root with multiplicity ≥2\ge 2).
  • Δ>0\Delta > 0 if and only if the number of non‑real roots is a multiple of 4 (including zero). Consequently, if all roots are real and simple, the discriminant is positive.
  • The discriminant is invariant under translation: replacing P(x)P(x) with P(x+c)P(x + c) leaves Δ\Delta unchanged.
  • Under scaling (P(cx)P(cx)), the discriminant scales by a factor of c n(n−1)c^{\,n(n-1)}.

Quadratic Discriminant (Degree 2)

For the standard quadratic ax2+bx+cax^{2} + bx + c:

Δ=b2−4ac.\Delta = b^{2} - 4ac.

The value of Δ\Delta determines the root type:

  • Δ>0\Delta > 0: two distinct real roots.
  • Δ=0\Delta = 0: one real double root (the parabola touches the xx-axis).
  • Δ<0\Delta < 0: a pair of complex conjugate roots (the parabola does not intersect the xx-axis).

If the coefficients are rational and Δ\Delta is a perfect square of a rational number, then both roots are rational. Geometrically, the sign of Δ\Delta tells whether the parabola y=ax2+bx+cy = ax^{2} + bx + c crosses, touches, or avoids the horizontal axis.

Cubic Discriminant (Degree 3)

For the cubic ax3+bx2+cx+dax^{3} + bx^{2} + cx + d:

Δ=b2c2−4ac3−4b3d−27a2d2+18abcd.\Delta = b^{2}c^{2} - 4ac^{3} - 4b^{3}d - 27a^{2}d^{2} + 18abcd.
  • Δ>0\Delta > 0: three distinct real roots.
  • Δ=0\Delta = 0: at least two roots coincide (a double root and a real simple root, or a triple root).
  • Δ<0\Delta < 0: one real root and a pair of complex conjugate roots.

Quartic Discriminant (Degree 4)

The general quartic ax4+bx3+cx2+dx+eax^{4} + bx^{3} + cx^{2} + dx + e has a discriminant whose expanded form contains 16 terms (OEIS sequence A007878). Its sign tells us:

  • Δ>0\Delta > 0: either four distinct real roots or four distinct non‑real roots (two conjugate pairs).
  • Δ=0\Delta = 0: at least one repeated root, with several possible multiplicity configurations (e.g., one double root, two double roots, one triple root, etc.).
  • Δ<0\Delta < 0: two distinct real roots and one pair of complex conjugate roots.

Quintic Discriminant (Degree 5)

The discriminant of a quintic polynomial ax5+bx4+cx3+dx2+ex+fax^{5} + bx^{4} + cx^{3} + dx^{2} + ex + f has 59 expanded terms. The root‑nature rules are:

  • Δ>0\Delta > 0: all five roots are real and distinct, or one real root plus two pairs of complex conjugate roots.
  • Δ=0\Delta = 0: at least two roots are equal (various patterns involving double, triple, or quadruple roots).
  • Δ<0\Delta < 0: three distinct real roots and one pair of conjugate complex roots.

How to Use the Discriminant Calculator

  1. Select the polynomial degree – choose 2 (quadratic), 3 (cubic), 4 (quartic), or 5 (quintic).
  2. Enter the coefficients – fill in the fields for a,b,c,…a, b, c, \dots corresponding to your polynomial. Remember to include zero for any missing terms.
  3. Get the result – the calculator instantly returns the discriminant value and a plain‑language summary of the root nature (distinct real roots, repeated roots, etc.).

This tool is designed to save time and eliminate manual calculation errors, especially for the lengthy formulas of higher‑degree discriminants. Whether you’re studying algebra or preparing exams, having a reliable discriminant of polynomial calculator at hand makes root analysis straightforward.

FAQ

1. What does the discriminant tell you about a polynomial's roots?

The discriminant indicates whether the roots are real or complex and whether any are repeated. A value of zero means at least one repeated root; positive or negative values give specific information that varies with the polynomial's degree.

2. How do I use this discriminant calculator for a quadratic equation?

Select degree 2, then enter the coefficients a, b, c (as in ax² + bx + c). The calculator will show the discriminant Δ = b² − 4ac and interpret its meaning.

3. Can the discriminant handle polynomials with missing terms (coefficient zero)?

Yes. Simply input 0 for any coefficient that is missing. The calculator works correctly for all polynomials with degrees between 2 and 5.

4. What is the formula for the cubic discriminant?

For a cubic polynomial ax³ + bx² + cx + d, the discriminant is Δ = b²c² − 4ac³ − 4b³d − 27a²d² + 18abcd. The sign tells you whether the three roots are all real, or one real and two complex.

5. What does a negative discriminant mean for a quadratic?

For a quadratic, a negative discriminant (Δ < 0) means the polynomial has no real roots; it has a pair of complex conjugate roots. The parabola does not intersect the x‑axis.

How to Use

  1. Select the degree of your polynomial (2 to 5).
  2. Enter all coefficients, including zeros for missing terms.
  3. View the discriminant value and root analysis instantly.

Related Tools