← LibraryResultants and DiscriminantsEngineering · MathematicsLesson 264/385← PrevNext →
ArticlePublished 7 Aug 20262 min readBy Kevin JoginresultantdiscriminantSylvester matrixcommon roots

Polynomial Arithmetic and GCD

Resultants and Discriminants

The resultant as a criterion for common roots, the discriminant as a test for repeated roots, and how both are computed in practice.

Engineering / MathematicsPolynomial Arithmetic and GCD2 min readKV-MATH-0561

The resultant detects whether two polynomials share a root without computing any roots. The discriminant is the resultant of a polynomial with its derivative, detecting repeated roots. Both are central to number field computation.

The resultant

The resultant of two polynomials is the determinant of their Sylvester matrix, and it vanishes exactly when they have a common root in an algebraic closure.

Res(f, g) = lc(f)^deg(g) * product over roots a of f of g(a)Zero exactly when f and g share a root.

Computing it

Computing resultants
MethodApproachSuits
Sylvester determinantDirect determinant of a matrix of size the sum of the degreesSmall degrees; conceptually clear
Sub-resultant sequenceRead off the last non-zero remainderThe standard practical method
Modular with CRTCompute modulo primes and reconstructLarge coefficients
Evaluation-interpolationFor multivariate resultantsElimination problems

The discriminant

disc(f) = (-1)^(d(d-1)/2) * Res(f, f') / lc(f)Vanishes exactly when f has a repeated root.
Zero discriminant
The polynomial has a repeated root, hence is not squarefree.
Polynomial discriminant of a number field generator
Differs from the field discriminant by the square of the index — see discriminants and integral bases.
Sign over the reals
Encodes the number of real roots for small degrees, and the signature of the field for a defining polynomial.

Elimination

Resultants eliminate variables: taking the resultant of two multivariate polynomials with respect to one variable produces a polynomial in the others that vanishes wherever both originals do.

Uses in this collection

Source. Henri Cohen, A Course in Computational Algebraic Number Theory, Springer GTM 138 — 3.3.2. Structural reference unverified: the source file was not available during authoring; chapter and section numbers are taken from the published edition and have not been checked against a physical copy.

Continue learning

The Sub-Resultant GCD AlgorithmArticle · MathematicsNEXT LESSON →Polynomial Factorisation: Overall StrategyArticle · MathematicsPolynomial GCD over a Unique Factorisation DomainArticle · MathematicsSquarefree Factorisation of PolynomialsArticle · Mathematics