Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > Mathematics and Algorithms > Polynomial Algebra > Polynomial Division >

PolynomialLCM

PolynomialLCM[poly1, poly2, ...]
gives the least common multiple of the polynomials polyi.
PolynomialLCM[poly1, poly2, ..., Modulus->p]
evaluates the LCM modulo the prime p.
  • PolynomialLCM[poly1, poly2, ...] will by default treat algebraic numbers that appear in the polyi as independent variables.
The least common multiple of polynomials:
The least common multiple of polynomials:
In[1]:=
Click for copyable input
Out[1]=
The LCM of univariate polynomials:
The LCM of multivariate polynomials:
The LCM of more than two polynomials:
The LCM of rational functions:
By default, algebraic numbers are treated as independent variables:
With Extension->Automatic, PolynomialLCM detects algebraically dependent coefficients:
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:
The LCM of polynomials is divisible by the polynomials; use PolynomialMod to prove it:
PolynomialGCD finds the greatest common divisor of polynomials:
New in 2 | Last modified in 3
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team