polynomial_lcm function
Least common multiple of two polynomials.
How to write it
polynomial_lcm(p, q)
- p
- A polynomial. Takes a polynomial.
- q
- A polynomial. Takes a polynomial.
Examples
polynomial_lcm(x^2 - 1, x - 1)In the solver,
Open in the solverpolynomial_lcm(x^2 - 1, x - 1)givesx^2 - 1.
Related functions
- polynomial_quotient
Quotient of a polynomial division.
- polynomial_gcd
Greatest common divisor of two polynomials.
- polynomial_remainder
Remainder of a polynomial division.
- minimal_polynomial
Minimal polynomial of an algebraic number over the rationals.
- numerator
Numerator of a fraction.
- power_expand
Expand powers and logarithms of products and powers.