gives the least common multiple of the polynomials polyi.
Details and Options
- PolynomialLCM[poly1,poly2,…] will by default treat algebraic numbers that appear in the polyi as independent variables.
- PolynomialLCM[poly1,poly2,…,Extension->Automatic] extends the coefficient field to include algebraic numbers that appear in the polyi.
Examplesopen allclose all
Basic Examples (1)
The least common multiple of polynomials:
The LCM of univariate polynomials:
The LCM of multivariate polynomials:
The LCM of more than two polynomials:
Generalizations & Extensions (1)
The LCM of rational functions:
Compute the LCM over the integers modulo 2:
By default, PolynomialLCM treats trigonometric functions as independent variables:
With Trig->True, PolynomialLCM recognizes dependencies between trigonometric functions:
Properties & Relations (1)
The LCM of polynomials is divisible by the polynomials; use PolynomialMod to prove it:
PolynomialGCD finds the greatest common divisor of polynomials:
Introduced in 1991
Updated in 1996