Discriminant
In mathematics, the discriminant of a polynomial is a value made from its coefficients. It helps us learn something about the polynomial's roots without having to find them. For a polynomial with fixed coefficients, the discriminant is always the same number. Unlike the polynomial itself, it does not change as the variable x changes.
For a quadratic polynomial f(x)=ax²+bx+c, where a≠0, the discriminant is Δ=b²−4ac. A root is a value of x that makes f(x)=0. When a, b, and c are real numbers, the sign of the discriminant tells us how many different real roots there are. It also shows how the graph, a parabola, meets the x-axis. If Δ>0, the parabola crosses the x-axis at two points. If Δ=0, there is one real root, called a double or repeated root, and the parabola touches the x-axis at its top point. The roots can be found with the quadratic formula.
Polynomials with higher degrees also have discriminants, but their formulas are more complicated. For a depressed cubic polynomial, for example, the discriminant has a simpler form. The discriminant is zero exactly when at least two roots are equal. Discriminants also connect to the formulas for the roots of a cubic polynomial, such as the Cardano formula, and to the Galois group of a cubic equation.
This word should not be confused with Determinant. For other uses, see Discriminant (disambiguation).
Properties
The discriminant of a polynomial is zero when the polynomial has a repeated root in some field extension. Over an integral domain, it is zero when the polynomial and its derivative share a common factor that is not a constant. In characteristic 0, this means the polynomial is not square-free. The discriminant stays the same, or changes only by a scaling, when the variable is changed in certain simple ways. This is because any projective transformation can be done in smaller steps. The discriminant of a reciprocal polynomial is the same as that of the original. A homomorphism between commutative rings also keeps these properties in a similar way, which is important in algebraic geometry. Checking whether the discriminant is zero tells us if the polynomial has a multiple root, possibly at infinity.
The discriminant of a product of two polynomials can be found from their separate discriminants and their resultant. The discriminant is a homogeneous polynomial in its coefficients, and it is also quasi-homogeneous. For a polynomial of degree n, its coefficients follow a fixed pattern of powers. This pattern can be found using the Sylvester matrix and the elementary symmetric functions of the roots. These rules limit which monomial terms can appear in the discriminant. For example, the discriminant of a general quadratic has only two terms. Some terms that follow the rules do not actually appear for higher degrees.
Real roots
In this section, all polynomials have real coefficients. As shown in § Low degrees, the sign of the discriminant gives useful clues about the roots of polynomials of degree 2 and 3. For higher degrees, the discriminant tells us less, but it is still useful.
For a polynomial of any degree, the discriminant tells us a few things. The polynomial has a multiple root only if its discriminant is zero. If the discriminant is positive, the number of non-real roots is a multiple of 4. If it is negative, the number of non-real roots is not a multiple of 4. The non-real roots come in pairs called complex conjugate roots.
Homogeneous bivariate polynomial
A homogeneous polynomial of degree n in two variables is a sum of terms. In each term, the powers of x and y always add up to n. Here, a0 and an are both not zero. When this is true, the discriminant of A(x,1) is equal to the discriminant of A(1,y). This shared value is called the homogeneous discriminant, or just the discriminant of A. It is written Disch(A).
Sometimes a0 or an can be zero. Then the polynomials A(x,1) and A(1,y) may have a smaller degree than n. The same rules still work, but the discriminants must be worked out as if the degree were n. The values of a0 and an are put in only after this. This works the same way as the rules in § Invariance under ring homomorphisms.
Use in algebraic geometry
Discriminants are often used in algebraic geometry to study flat algebraic curves and, more generally, algebraic hypersurfaces. A curve like this is the set of points where a multivariate polynomial equals zero. The discriminant is taken with respect to one chosen variable and describes a shape in the other variables. The points of this shape match special points of the curve, including points at infinity. These special points are either singular or have a tangent hyperplane parallel to the chosen variable's axis.
Here is an example. Take a polynomial f in X and Y with real numbers as coefficients, where f = 0 makes a real plane curve. If we treat f as a polynomial in Y, with coefficients that depend on X, the discriminant is a polynomial in X. Its roots are the X-values of singular points, of points with a tangent parallel to the Y-axis, and of some asymptotes parallel to the Y-axis. Finding the roots of the Y-discriminant and the X-discriminant shows almost all of a curve's notable points, except the inflection points.
Generalizations
There are two kinds of discriminants. The first is the discriminant of an algebraic number field. In some cases, including quadratic fields, it is the discriminant of a polynomial that defines the field. The second kind appears in problems that depend on numbers called coefficients. Special cases in these problems happen when a certain expression made from the coefficients equals zero. For example, the discriminant of a polynomial is zero when two of its roots come together.
Several other classical types of discriminants are special cases of the same general idea. These include discriminants for quadratic forms, conic sections, and quadric surfaces. One specific type, the fundamental discriminant, is helpful for studying quadratic fields.

Quiz time!
4 questions about Discriminant
What does the discriminant help us learn about a polynomial?
Pictures
Keep exploring
This article is a child-friendly adaptation of the Wikipedia article on Discriminant, available under CC BY-SA 4.0.
Images from Wikimedia Commons. Tap any image to view credits and license.