Overview: This guide introduces the mathematical concept of the discriminant, a real number derived from a polynomial's coefficients that reveals key properties of its roots. A discriminant of zero indicates the presence of multiple roots. We detail the formal definition, calculation methods for polynomials from quadratic to quintic degrees, and the practical utility of our free discriminant calculator.

Understanding the Discriminant in Mathematics

Before diving into formal definitions, let's grasp the core concept. Consider a real polynomial p of degree n (where n ≥ 2). The discriminant is a specific real number derived from the polynomial's coefficients. This value reveals key properties about the polynomial's roots.

Crucially, the discriminant provides a quick test for multiple roots. The polynomial has at least one multiple root if and only if its discriminant equals zero. This powerful tool saves time by avoiding full root calculations.

Defining Multiple Roots

A complex number x₀ is a root of multiplicity k for polynomial p if p is divisible by (x − x₀)^k but not by (x − x₀)^(k+1). This means we can express p(x) as (x − x₀)^k * q(x), where q(x₀) ≠ 0.

We classify roots based on multiplicity: a simple root has k=1, a multiple root has k≥2, and specifically, a double root has k=2. The multiplicity indicates how many times a linear factor appears in the polynomial's complete factorization over complex numbers.

Illustrative Example

Examine the polynomial x³ - 8x² + 21x - 18. Its roots are 2 and 3. Its factorized form is (x - 2)(x - 3)². Therefore, 2 is a simple root, and 3 is a double root.

The Mathematical Definition and Formula

Building on this foundation, we now present the formal definition. According to the fundamental theorem of algebra, a real-coefficient polynomial of degree n has exactly n roots in the complex plane (not necessarily unique). We define the discriminant D(p) in terms of these roots.

D(p) = a_n^(2n-2) * ∏ (x_i - x_j)² for all i < j.

Here, a_n is the leading coefficient. This expression is a symmetric function of the roots and a homogeneous polynomial in the coefficients, ensuring its value is independent of how we label the roots.

Equivalently, the discriminant can be defined as the determinant of the polynomial's Sylvester matrix with its derivative. This alternative approach is practical for computation when the roots are unknown.

Key Properties of the Discriminant

From its defining formula, we derive essential properties for a real polynomial p with discriminant D(p).

  • Value & Roots: D(p) is always a real number. It equals zero precisely when p has a multiple root. Furthermore, D(p) > 0 if and only if the number of non-real roots is a multiple of four. Notably, if all roots are real and simple, the discriminant is positive.
  • Invariance: The discriminant is translation-invariant. If q(x) = p(x + a), then D(q) = D(p). It is also scale-invariant up to a factor: if q(x) = p(a * x), then D(q) = a^(n(n-1)) * D(p).

The Quadratic Equation Discriminant Formula

For the standard quadratic polynomial ax² + bx + c, the discriminant formula is the well-known:

D = b² - 4ac

This value appears under the square root in the quadratic formula for finding roots.

The discriminant's sign reveals the nature of the roots without solving the equation:

  • D > 0: Indicates two distinct real roots.
  • D < 0: Indicates a pair of conjugate complex roots.
  • D = 0: Indicates a double (repeated) root.

If coefficients a, b, and c are rational, both roots are rational if and only if the discriminant is a perfect square of a rational number.

Discriminants for Higher-Degree Polynomials

While the quadratic discriminant is simple, complexity grows rapidly with degree. The discriminant of a general cubic has 5 terms, a quartic has 16, a quintic has 59, a sextic has 246, and a septic has 1103 terms.

Cubic Polynomial Discriminant

For the cubic ax³ + bx² + cx + d, the discriminant is:

D = b²c² - 4ac³ - 4b³d - 27a²d² + 18abcd

Its sign interprets the roots:

  • D > 0: Three distinct real roots.
  • D < 0: One real and two complex conjugate roots.
  • D = 0: At least two equal roots.

Quartic Polynomial Discriminant

For the quartic ax⁴ + bx³ + cx² + dx + e, the formula is extensive. The sign analysis is as follows:

  • D > 0: Signifies four distinct real roots OR four distinct non-real roots.
  • D < 0: Signifies two distinct real and two distinct non-real roots.
  • D = 0: Indicates the presence of repeated roots, with several possible configurations.

Quintic Polynomial Discriminant

The explicit formula for a quintic polynomial's discriminant contains 59 complex terms. Manually computing it is impractical.

For a quintic:

  • D > 0: Five distinct real roots, OR one real root with two pairs of complex conjugates.
  • D < 0: Three distinct real roots and one pair of complex conjugates.
  • D = 0: Signals repeated roots, with multiple possible scenarios.

How to Use the Discriminant Calculator

Using our free calculator is straightforward.

  1. First, select the degree of your polynomial (2 for quadratic, 3 for cubic, 4 for quartic, or 5 for quintic).
  2. Next, input all coefficients of your polynomial into the corresponding fields, remembering to include any coefficients that are zero.

The calculator will instantly compute and display the discriminant, providing you with a quick and accurate result.