← Back to arXiv
arXivNumber TheoryarXiv:2609.10626

A New Sparse Algorithm for Polynomial GCD over Integers

The greatest common divisor (GCD) of two polynomials is the largest polynomial that divides both of them evenly. Computing polynomial GCDs is a fundamental operation in computer algebra, used in tasks like simplifying fractions of polynomials or solving systems of equations. When polynomials have many variables and integer coefficients, this computation can become very expensive, and existing algorithms often struggle when degrees are high or the number of variables is large.

The new algorithm introduced in this paper tackles the problem by reducing a multivariate polynomial GCD (many variables) to a single univariate polynomial GCD (one variable), which is much easier to handle. The key innovation is a clever variable substitution that transforms the input polynomials into a special "separated" form, where the coefficients associated with the main variable are each simple monomials rather than complicated expressions. This structure makes the subsequent univariate GCD computation cleaner and more efficient. The authors carefully analyze how the computational cost scales with input size, degrees, and coefficient sizes, showing that the complexity is polynomial in all the relevant parameters.

The algorithm is implemented in the mathematical software Maple, allowing practical testing and benchmarking. Its main strength is handling polynomials that have high degrees and many variables but whose GCD is sparse, meaning it has relatively few terms. In these cases, traditional algorithms tend to perform poorly because they do not exploit sparsity, whereas this new approach remains efficient. The work represents a meaningful advance for applications in symbolic computation where sparse, high-degree polynomial GCDs arise frequently.

Read original →