# polynomial_lcm 函数

两个多项式的最小公倍式。

## 怎么写

### polynomial_lcm(p, q)

**p**

一个多项式。接受一个多项式。

**q**

一个多项式。接受一个多项式。

## 示例

- $\displaystyle \operatorname{polynomial\_lcm}(x^{2}-1, x-1) = x^{2}-1$

  `polynomial_lcm(x^2 - 1, x - 1)`

  在求解器中，`polynomial_lcm(x^2 - 1, x - 1)` 的结果是 `x^2 - 1`。

  [在求解器中打开](https://zh.hilberon.com/?q=polynomial_lcm%28x%5E2%20-%201%2C%20x%20-%201%29)

## 相关函数

- [polynomial_quotient](https://zh.hilberon.com/library/polynomial_quotient)

  多项式除法的商。
- [polynomial_gcd](https://zh.hilberon.com/library/polynomial_gcd)

  两个多项式的最大公因式。
- [polynomial_remainder](https://zh.hilberon.com/library/polynomial_remainder)

  多项式除法的余式。
- [minimal_polynomial](https://zh.hilberon.com/library/minimal_polynomial)

  代数数在有理数域上的极小多项式。
- [numerator](https://zh.hilberon.com/library/numerator)

  分数的分子。
- [power_expand](https://zh.hilberon.com/library/power_expand)

  展开乘积与幂的幂和对数。

---
Source: https://zh.hilberon.com/library/polynomial_lcm
