the quantity which appears under thesquare root in thequadratic formula. If this discriminant is zeroif and only if the polynomial has adouble root. In the case ofreal coefficients, it is positive if the polynomial has two distinct real roots, and negative if it has two distinctcomplex conjugate roots.[1] Similarly, the discriminant of acubic polynomial is zero if and only if the polynomial has amultiple root. In the case of a cubic with real coefficients, the discriminant is positive if the polynomial has three distinct real roots, and negative if it has one real root and two distinct complex conjugate roots.
More generally, the discriminant of a univariate polynomial of positivedegree is zero if and only if the polynomial has a multiple root. For real coefficients and no multiple roots, the discriminant is positive if the number of non-real roots is amultiple of 4 (including none), and negative otherwise.
is a polynomial in withinteger coefficients, which is thedeterminant of theSylvester matrix ofA andA′. The nonzero entries of the first column of the Sylvester matrix are and and theresultant is thus a multiple of Hence the discriminant—up to its sign—is defined as the quotient of the resultant ofA andA' by:
where the resultant is computed with considered of degree even if it has a lower degree, which occurs when the characteristic divides.
Historically, this sign has been chosen such that, over the reals, the discriminant will be positive when all the roots of the polynomial are real. The division by may not be well defined if thering of the coefficients containszero divisors. Such a problem may be avoided by replacing by 1 in the first column of the Sylvester matrix—before computing the determinant. In any case, the discriminant is a polynomial in with integer coefficients.
This expression for the discriminant is often taken as a definition. It makes clear that if the polynomial has amultiple root, then its discriminant is zero, and that, in the case of real coefficients, if all the roots are real andsimple, then the discriminant is positive. Unlike the previous definition, this expression is not obviously a polynomial in the coefficients, but this follows either from thefundamental theorem of Galois theory, or from thefundamental theorem of symmetric polynomials andVieta's formulas by noting that this expression is asymmetric polynomial in the roots ofA.
The discriminant of alinear polynomial (degree 1) is rarely considered. If needed, it is commonly defined to be equal to 1 (using the usual conventions for theempty product and considering that one of the two blocks of theSylvester matrix isempty). There is no common convention for the discriminant of a constant polynomial (i.e., polynomial of degree 0).
For small degrees, the discriminant is rather simple (see below), but for higher degrees, it may become unwieldy. For example, the discriminant of ageneralquartic has 16 terms,[3] that of aquintic has 59 terms,[4] and that of asextic has 246 terms.[5]This isOEIS sequenceA007878.
The square root of the discriminant appears in thequadratic formula for the roots of the quadratic polynomial:
where the discriminant is zero if and only if the two roots are equal. Ifa,b,c are real numbers, the polynomial has two distinct real roots if the discriminant is positive, and twocomplex conjugate roots if it is negative.[6]
The discriminant is the product ofa2 and the square of the difference of the roots.
Ifa,b,c arerational numbers, then the discriminant is the square of a rational number if and only if the two roots are rational numbers.
In the special case of adepressed cubic polynomial, the discriminant simplifies to
The discriminant is zero if and only if at least two roots are equal. If the coefficients are real numbers, and the discriminant is not zero, the discriminant is positive if the roots are three distinct real numbers, and negative if there is one real root and two complex conjugate roots.[9]
The square root of a quantity strongly related to the discriminant appears in theformulas for the roots of a cubic polynomial. Specifically, this quantity can be−3 times the discriminant, or its product with the square of a rational number; for example, the square of1/18 in the case ofCardano formula.
If the polynomial is irreducible and its coefficients are rational numbers (or belong to anumber field), then the discriminant is a square of a rational number (or a number from the number field) if and only if theGalois group of the cubic equation is thecyclic group oforder three.
The discriminant of the quartic polynomialx4 +cx2 +dx +e. The surface represents points (c,d,e) where the polynomial has a repeated root. The cuspidal edge corresponds to the polynomials with a triple root, and the self-intersection corresponds to the polynomials with two different repeated roots.
The discriminant is zero if and only if at least two roots are equal. If the coefficients are real numbers and the discriminant is negative, then there are two real roots and two complex conjugate roots. Conversely, if the discriminant is positive, then the roots are either all real or all non-real.
The discriminant of a polynomial over afield is zero if and only if the polynomial has a multiple root in somefield extension.
The discriminant of a polynomial over anintegral domain is zero if and only if the polynomial and itsderivative have a non-constant common divisor.
Incharacteristic 0, this is equivalent to saying that the polynomial is notsquare-free (i.e., it is divisible by the square of a non-constant polynomial).
In nonzero characteristicp, the discriminant is zero if and only if the polynomial is not square-free or it has anirreducible factor which is not separable (i.e., the irreducible factor is a polynomial in).
The discriminant of a polynomial is,up to a scaling, invariant under anyprojective transformation of the variable. As a projective transformation may be decomposed into a product of translations, homotheties and inversions, this results in the following formulas for simpler transformations, whereP(x) denotes a polynomial of degreen, with as leading coefficient.
Invariance by translation:
This results from the expression of the discriminant in terms of the roots
Invariance by homothety:
This results from the expression in terms of the roots, or of the quasi-homogeneity of the discriminant.
inR[x], the homomorphism acts onA for producing the polynomial
inS[x].
The discriminant is invariant under in the following sense. If then
As the discriminant is defined in terms of a determinant, this property results immediately from the similar property of determinants.
If then may be zero or not. One has, when
When one is only interested in knowing whether a discriminant is zero (as is generally the case inalgebraic geometry), these properties may be summarised as:
if and only if either or
This is often interpreted as saying that if and only if has amultiple root (possiblyat infinity).
where denotes theresultant with respect to the variablex, andp andq are the respective degrees ofP andQ.
This property follows immediately by substituting the expression for the resultant, and the discriminant, in terms of the roots of the respective polynomials.
The discriminant is ahomogeneous polynomial in the coefficients; it is also a homogeneous polynomial in the roots and thusquasi-homogeneous in the coefficients.
The discriminant of a polynomial of degreen is homogeneous of degree2n − 2 in the coefficients. This can be seen in two ways. In terms of the roots-and-leading-term formula, multiplying all the coefficients byλ does not change the roots, but multiplies the leading term byλ. In terms of its expression as a determinant of a(2n − 1) × (2n − 1)matrix (theSylvester matrix) divided byan, the determinant is homogeneous of degree2n − 1 in the entries, and dividing byan makes the degree2n − 2.
The discriminant of a polynomial of degreen is homogeneous of degreen(n − 1) in the roots. This follows from the expression of the discriminant in terms of the roots, which is the product of a constant and squared differences of roots.
The discriminant of a polynomial of degreen is quasi-homogeneous of degreen(n − 1) in the coefficients, if, for everyi, the coefficient of is given the weightn −i. It is also quasi-homogeneous of the same degree, if, for everyi, the coefficient of is given the weighti. This is a consequence of the general fact that every polynomial which is homogeneous andsymmetric in the roots may be expressed as a quasi-homogeneous polynomial in theelementary symmetric functions of the roots.
Consider the polynomial
It follows from what precedes that the exponents in everymonomial appearing in the discriminant satisfy the two equations
and
and also the equation
which is obtained by subtracting the second equation from the first one multiplied byn.
This restricts the possible terms in the discriminant. For the general quadratic polynomial, the discriminant is a homogeneous polynomial of degree 2 which has only two there are only two terms, while the general homogeneous polynomial of degree two in three variables has 6 terms. The discriminant of the general cubic polynomial is a homogeneous polynomial of degree 4 in four variables; it has five terms, which is the maximum allowed by the above rules, while the general homogeneous polynomial of degree 4 in 4 variables has 35 terms.
For higher degrees, there may be monomials which satisfy above rules and do not appear in the discriminant. The first example is for the quartic polynomial, in which case the monomial satisfies the rules without appearing in the discriminant.
In this section, all polynomials havereal coefficients.
It has been seen in§ Low degrees that the sign of the discriminant provides useful information on the nature of the roots for polynomials of degree 2 and 3. For higher degrees, the information provided by the discriminant is less complete, but still useful. More precisely, for a polynomial of degreen, one has:
The polynomial has amultiple root if and only if its discriminant is zero.
If the discriminant is positive, the number of non-real roots is a multiple of 4. That is, there is a nonnegative integerk ≤n/4 such that there are2k pairs ofcomplex conjugate roots andn − 4k real roots.
If the discriminant is negative, the number of non-real roots is not a multiple of 4. That is, there is a nonnegative integerk ≤ (n − 2)/4 such that there are2k + 1 pairs of complex conjugate roots andn − 4k + 2 real roots.
Supposing, for the moment, that and are both nonzero, one has
Denoting this quantity byone has
and
Because of these properties, the quantity is called thediscriminant or thehomogeneous discriminant ofA.
If and are permitted to be zero, the polynomialsA(x, 1) andA(1,y) may have a degree smaller thann. In this case, above formulas and definition remain valid, if the discriminants are computed as if all polynomials would have the degreen. This means that the discriminants must be computed with and indeterminate, the substitution for them of their actual values being doneafter this computation. Equivalently, the formulas of§ Invariance under ring homomorphisms must be used.
The typical use of discriminants inalgebraic geometry is for studying planealgebraic curves, and more generallyalgebraic hypersurfaces. LetV be such a curve or hypersurface;V is defined as the zero set of amultivariate polynomial. This polynomial may be considered as a univariate polynomial in one of the indeterminates, with polynomials in the other indeterminates as coefficients. The discriminant with respect to the selected indeterminate defines a hypersurfaceW in the space of the other indeterminates. The points ofW are exactly the projection of the points ofV (including thepoints at infinity), which either are singular or have atangent hyperplane that is parallel to the axis of the selected indeterminate.
For example, letf be a bivariate polynomial inX andY with real coefficients, so that f = 0 is the implicit equation of a real planealgebraic curve. Viewingf as a univariate polynomial inY with coefficients depending onX, then the discriminant is a polynomial inX whose roots are theX-coordinates of the singular points, of the points with a tangent parallel to theY-axis and of some of the asymptotes parallel to theY-axis. In other words, the computation of the roots of theY-discriminant and theX-discriminant allows one to compute all of the remarkable points of the curve, except theinflection points.
Discriminants of the second class arise for problems depending on coefficients, when degenerate instances or singularities of the problem are characterized by the vanishing of a single polynomial in the coefficients. This is the case for the discriminant of a polynomial, which is zero when two roots collapse. Most of the cases, where such a generalized discriminant is defined, are instances of the following.
LetA be a homogeneous polynomial inn indeterminates over a field ofcharacteristic 0, or of aprime characteristic that does notdivide the degree of the polynomial. The polynomialA defines aprojective hypersurface, which hassingular points if and only thenpartial derivatives ofA have a nontrivial commonzero. This is the case if and only if themultivariate resultant of these partial derivatives is zero, and this resultant may be considered as the discriminant ofA. However, because of the integer coefficients resulting of the derivation, this multivariate resultant may be divisible by a power ofn, and it is better to take, as a discriminant, theprimitive part of the resultant, computed with generic coefficients. The restriction on the characteristic is needed because otherwise a common zero of the partial derivative is not necessarily a zero of the polynomial (seeEuler's identity for homogeneous polynomials).
In the case of a homogeneous bivariate polynomial of degreed, this general discriminant is times the discriminant defined in§ Homogeneous bivariate polynomial. Several other classical types of discriminants, that are instances of the general definition are described in next sections.
TheHessian determinant ofQ is times its discriminant. Themultivariate resultant of the partial derivatives ofQ is equal to its Hessian determinant. So, the discriminant of a quadratic form is a special case of the above general definition of a discriminant.
The discriminant of a quadratic form is invariant under linear changes of variables (that is achange of basis of the vector space on which the quadratic form is defined) in the following sense: a linear change of variables is defined by anonsingular matrixS, changes the matrixA into and thus multiplies the discriminant by the square of the determinant ofS. Thus the discriminant is well defined onlyup to the multiplication by a square. In other words, the discriminant of a quadratic form over a fieldK is an element ofK/(K×)2, thequotient of the multiplicativemonoid ofK by thesubgroup of the nonzero squares (that is, two elements ofK are in the sameequivalence class if one is the product of the other by a nonzero square). It follows that over thecomplex numbers, a discriminant is equivalent to 0 or 1. Over thereal numbers, a discriminant is equivalent to −1, 0, or 1. Over therational numbers, a discriminant is equivalent to a uniquesquare-free integer.
By a theorem ofJacobi, a quadratic form over a field of characteristic different from 2 can be expressed, after a linear change of variables, indiagonal form as
More precisely, a quadratic form may be expressed as a sum
where theLi are independent linear forms andn is the number of the variables (some of theai may be zero). Equivalently, for any symmetric matrixA, there is anelementary matrixS such that is adiagonal matrix.Then the discriminant is the product of theai, which is well-defined as a class inK/(K×)2.
Geometrically, the discriminant of a quadratic form in three variables is the equation of aquadratic projective curve. The discriminant is zero if and only if the curve is decomposed in lines (possibly over analgebraically closed extension of the field).
A quadratic form in four variables is the equation of aprojective surface. The surface has asingular point if and only its discriminant is zero. In this case, either the surface may be decomposed in planes, or it has a unique singular point, and is acone or acylinder. Over the reals, if the discriminant is positive, then the surface either has no real point or has everywhere a negativeGaussian curvature. If the discriminant is negative, the surface has real points, and has a negative Gaussian curvature.
It is zero if the conic section degenerates into two lines, a double line or a single point.
The second discriminant, which is the only one that is considered in many elementary textbooks, is the discriminant of the homogeneous part of degree two of the equation. It is equal to[12]
and determines the shape of the conic section. If this discriminant is negative, the curve either has no real points, or is anellipse or acircle, or, if degenerated, is reduced to a single point. If the discriminant is zero, the curve is aparabola, or, if degenerated, a double line or two parallel lines. If the discriminant is positive, the curve is ahyperbola, or, if degenerated, a pair of intersecting lines.
A realquadric surface in theEuclidean space of dimension three is a surface that may be defined as the zeros of a polynomial of degree two in three variables. As for the conic sections there are two discriminants that may be naturally defined. Both are useful for getting information on the nature of a quadric surface.
Let be a polynomial of degree two in three variables that defines a real quadric surface. The first associated quadratic form, depends on four variables, and is obtained byhomogenizingP; that is
Let us denote its discriminant by
The second quadratic form, depends on three variables, and consists of the terms of degree two ofP; that is
If the surface has asingular point, possiblyat infinity. If there is only one singular point, the surface is acylinder or acone. If there are several singular points the surface consists of two planes, a double plane or a single line.
When the sign of if not 0, does not provide any useful information, as changingP into−P does not change the surface, but changes the sign of However, if and the surface is aparaboloid, which is elliptic or hyperbolic, depending on the sign of
The discriminant ofK can be referred to as the absolute discriminant ofK to distinguish it from the of anextensionK/L of number fields. The latter is anideal in the ring of integers ofL, and like the absolute discriminant it indicates which primes are ramified inK/L. It is a generalization of the absolute discriminant allowing forL to be bigger thanQ; in fact, whenL = Q, the relative discriminant ofK/Q is theprincipal ideal ofZ generated by the absolute discriminant ofK.
A specific type of discriminant useful in the study of quadratic fields is the fundamental discriminant. It arises in the theory of integralbinary quadratic forms, which are expressions of the form:
where,, and are integers. The discriminant of is given by:Not every integer can arise as a discriminant of an integral binary quadratic form. An integer is a fundamental discriminant if and only if it meets one of the following criteria:
Case 1: is congruent to 1 modulo 4 () and is square-free, meaning it is not divisible by the square of any prime number.
Case 2: is equal to four times an integer () where is congruent to 2 or 3 modulo 4 () and is square-free.
These conditions ensure that every fundamental discriminant corresponds uniquely to a specific type of quadratic form.
The first eleven positive fundamental discriminants are:
A quadratic field is a field extension of the rational numbers that has degree 2. The discriminant of a quadratic field plays a role analogous to the discriminant of a quadratic form.
There exists a fundamental connection: an integer is a fundamental discriminant if and only if:
, or
is the discriminant of a quadratic field.
For each fundamental discriminant, there exists a unique (up to isomorphism) quadratic field with as its discriminant. This connects the theory of quadratic forms and the study of quadratic fields.
Fundamental discriminants can also be characterized by their prime factorization. Consider the set consisting of the prime numbers congruent to 1 modulo 4, and theadditive inverses of the prime numbers congruent to 3 modulo 4:An integer is a fundamental discriminant if and only if it is a product of elements of that are pairwisecoprime.[citation needed]
^Sylvester, J. J. (1851). "On a remarkable discovery in the theory of canonical forms and of hyperdeterminants".Philosophical Magazine. 4th series.2:391–410. Sylvester coins the word "discriminant" onpage 406.
^Cohen, Henri; Diaz y Diaz, Francisco; Olivier, Michel (2002), "A Survey of Discriminant Counting", in Fieker, Claus; Kohel, David R. (eds.),Algorithmic Number Theory, Proceedings, 5th International Syposium, ANTS-V, University of Sydney, July 2002, Lecture Notes in Computer Science, vol. 2369, Berlin: Springer-Verlag, pp. 80–94,doi:10.1007/3-540-45455-1_7,ISBN978-3-540-43863-2,ISSN0302-9743,MR2041075