KEVOS
ArticlesServicesCase studiesAboutContact
ArticlesServicesCase studiesAboutContact
← ArticlesThe Sub-Resultant GCD AlgorithmEngineering · Engineering MathematicsLesson 762/884← PrevNext →
ArticlePublished 7 Aug 20262 min readBy Kevin Joginsub-resultantremainder sequencepolynomial GCDcoefficient growth
On this page

Ask about this page

KEVOS AIThe Sub-Resultant GCD Algorithm

KEVOS knowledge first · trusted web sources when needed

Polynomial Arithmetic and GCD

The Sub-Resultant GCD Algorithm

The sub-resultant remainder sequence: predicting the divisible factor at each step to keep coefficients near minimal without content computation.

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

The sub-resultant algorithm is the classical answer to coefficient growth in polynomial remainder sequences. It works by knowing in advance what factor divides each remainder, so it can be removed by a single exact division.

The idea

Each remainder in a pseudo-remainder sequence is divisible by a predictable power of previous leading coefficients. That divisor is computed from data already at hand, and the division is exact.

r_i = (predictable factor) * (sub-resultant of the inputs)The predictable factor is removed at each step by exact division.

Key point

The contrast with the primitive remainder sequence is the whole point. The primitive sequence achieves minimal growth by computing a coefficient GCD at every step, which is expensive. The sub-resultant sequence achieves nearly the same bound with one exact division, which is cheap.

The procedure

Sub-resultant remainder sequence

  1. Pseudo-divideCompute the pseudo-remainder of the current pair.
  2. Compute the divisorFrom the previous leading coefficient and the degree drop, using the sub-resultant recurrence.
  3. Divide exactlyRemove the factor; the division is guaranteed exact.
  4. AdvanceShift the pair and repeat until the remainder is zero.

Pitfall

The recurrence has a special case when the degree drops by more than one — the so-called defective or abnormal case. Implementations that assume a degree drop of exactly one are correct on most inputs and wrong on the rest, which is a particularly unpleasant class of bug.

Growth achieved

Growth versus cost across remainder sequences
SequenceCoefficient sizeWork per step
Pseudo-remainderExponential in the number of stepsLeast
Sub-resultantPolynomial, close to optimalOne exact division
PrimitiveOptimalOne coefficient GCD

Resultants as a by-product

The sub-resultant sequence is named for the sub-resultants, which are determinants of submatrices of the Sylvester matrix. The last non-zero entry of the sequence gives the resultant directly — see resultants and discriminants.

Note

This makes the algorithm the standard route to resultants for moderate degrees, avoiding explicit construction of the Sylvester matrix, which is large and whose determinant suffers its own growth problems.

When to prefer modular methods

Cost

For a bare GCD over the integers, the modular method is usually faster. The sub-resultant sequence earns its place when the whole remainder sequence is wanted — for resultants, sub-resultants, or Newton polygon data.

Source. Henri Cohen, A Course in Computational Algebraic Number Theory, Springer GTM 138 — 3.3.1. 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.

Related pages

  • Polynomial GCD over a Unique Factorisation Domain
  • Resultants and Discriminants

Continue learning

Polynomial GCD over a Unique Factorisation DomainArticle · Engineering MathematicsNEXT LESSON →Resultants and DiscriminantsArticle · Engineering MathematicsUnique Factorisation Domains, Content and Primitive PartsArticle · Engineering MathematicsPolynomial Factorisation: Overall StrategyArticle · Engineering Mathematics
KEVOS · Engineering, manufacturing and project improvement
ArticlesServicesCase studiesAboutContact
© 2026 KEVOS®