A discriminant is an expression in the coefficients of an algebraic object that detects particular kinds of degeneracy. Most commonly, it is associated with a polynomial: its discriminant is zero exactly when the polynomial has a repeated root in a field where it splits into linear factors. For a quadratic equation , the discriminant is , whose sign determines the number of real roots. Related discriminants occur in quadratic forms, algebraic geometry, and number theory, although their definitions and normalizations depend on the setting.
Polynomial discriminant
Let
be a polynomial of degree over a field. In a field containing all its roots, write
where roots are listed with their multiplicities. Its discriminant is
The squared differences make this expression independent of how the roots are ordered. Although the formula uses roots, the result is a polynomial with integer coefficients in . It can therefore be computed directly from the coefficients without solving the equation.
The defining property is
A polynomial with no repeated roots is called separable. Thus, for a polynomial of fixed degree, a nonzero discriminant is precisely a test for separability.
The restriction to fixed degree matters when coefficients depend on parameters: if the leading coefficient becomes zero, the degree changes, and a discriminant formula derived for the original degree requires separate interpretation.
Quadratic equations
For
the discriminant is
Over the real numbers, the quadratic formula
gives the following classification:
| Discriminant | Roots |
|---|---|
| Two distinct real roots | |
| One real root of multiplicity two | |
| Two nonreal complex-conjugate roots |
Geometrically, these cases describe whether the parabola crosses the horizontal axis twice, touches it once, or does not meet it.
For example,
has discriminant and roots and , whereas
has discriminant zero and equals .
If are rational numbers, the roots are rational exactly when is a square in the rational numbers, including zero. More generally, over any field of characteristic other than , the quadratic splits into linear factors over that field exactly when its discriminant is a square there. The familiar quadratic formula and sign classification do not apply unchanged in characteristic .
Cubic equations and real-root classification
For a cubic
the discriminant is
For the depressed cubic
this simplifies to
When the coefficients are real:
- means that all three roots are real and distinct.
- means that one root is real and the other two form a nonreal conjugate pair.
- means that at least two roots coincide.
For higher-degree real polynomials, the sign gives less information. If all roots are distinct and is the number of nonreal conjugate pairs, then
Thus the sign determines the parity of the number of nonreal conjugate pairs, not generally the exact number of real roots. A real quartic with positive discriminant, for example, may have either four real roots or no real roots.
Derivatives, resultants, and computation
A root is repeated exactly when it is also a root of the polynomial’s derivative. Consequently,
This connects the discriminant to the resultant, an expression that detects whether two polynomials have a common root. With the standard resultant convention,
When has degree , the resultant is the determinant of the Sylvester matrix formed from the coefficients of and . This provides a coefficient-based construction and explains why the discriminant is itself a polynomial in the coefficients.
For testing repeated roots, computing the greatest common divisor of and , often by the Euclidean algorithm, may be more economical than evaluating the full discriminant.
These statements extend to positive characteristic, but derivative degrees can drop, or the derivative can vanish identically. For example, over a field of characteristic ,
The root-product definition remains valid and still detects repeated roots; resultant computations must account for the characteristic and actual degrees.
Transformation laws
The discriminant changes predictably under basic transformations. For a nonzero scalar ,
Translating the variable does not change the discriminant:
More generally, for ,
Translation leaves all root differences unchanged, while scaling changes them uniformly.
For positive-degree polynomials and ,
with the discriminant of a linear polynomial taken as . This identity separates three causes of repeated roots in a product: repetition within , repetition within , and a root shared by both factors.
Quadratic forms and conic sections
For a binary quadratic form
the classical discriminant is
Its symmetric coefficient matrix is
so
For real coefficients, means that the form is definite, means it is indefinite, and means it is degenerate. Under an invertible change of coordinates represented by a matrix , the coefficient matrix becomes
and its determinant is multiplied by . The sign and vanishing of the discriminant are therefore preserved under invertible real coordinate changes.
For a general conic section
the expression classifies the quadratic part. For a nondegenerate real conic with real points, negative, zero, and positive values correspond respectively to ellipse, parabola, and hyperbola types.
This expression alone does not determine whether the full conic is degenerate or has real points. Degeneracy is detected by the determinant of the full homogeneous coefficient matrix,
Discriminants in algebraic number theory
A related construction assigns a discriminant to a basis of a finite field extension. Let have degree , and let be a rational basis of . Define
where the field trace is the trace of the rational linear map given by multiplication by .
Choosing an integral basis of the ring of integers of gives the field discriminant , which is independent of the chosen integral basis.
If an algebraic integer generates , its minimal polynomial has discriminant
Here denotes the discriminant of that minimal polynomial, and the bracketed quantity is the index of the order in the full ring of integers . Polynomial and field discriminants therefore need not coincide.
The prime numbers dividing are exactly those that ramify in . For a quadratic field , where is a square-free integer,
Galois-theoretic interpretation
Suppose a separable polynomial over a field of characteristic not has degree . In its splitting field, the expression
satisfies
Permuting the roots multiplies by the sign of the permutation.
Consequently, in Galois theory, the discriminant is a square in exactly when the Galois group, acting on the roots, consists entirely of even permutations. Equivalently, the group lies in the alternating subgroup of the symmetric group . This provides information about the Galois group, although it does not generally determine the group completely.
Geometric and numerical significance
For a parameterized polynomial, setting the discriminant equal to zero defines a locus in coefficient or parameter space where roots collide. For example, the family
has a repeated root along the curve
Away from the discriminant locus, roots remain distinct; on it, the multiplicity pattern changes.
In numerical computation, closely spaced roots can make root recovery sensitive to coefficient perturbations. The product of squared root differences explains the connection between discriminants and such sensitivity. However, the absolute size of the discriminant is not a scale-independent measure of numerical stability: multiplying the polynomial by a constant changes the discriminant without changing any root. Reliable conditioning analysis must also consider coefficient normalization, root magnitudes, and the chosen perturbation model.