# 多项式除法的余式（Polynomial division remainder，polynomial_remainder）

多项式除法的余式。

## 怎么写

### polynomial_remainder(p, q, x)

**p**

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

**q**

除式。接受一个多项式。

**x**

多项式的变量。接受一个变量。

## 示例

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

  `polynomial_remainder(x^2 + 1, x - 1, x)`

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

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

## 相关函数

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

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

  两个多项式的最小公倍式。
- [polynomial_gcd](https://zh.hilberon.com/library/polynomial_gcd)

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

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

  展开乘积与幂的幂和对数。
- [resultant](https://zh.hilberon.com/library/resultant)

  两个多项式关于某个变量的结式。

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