# 多項式の次数（degree）

変数に関する多項式の次数。

## 書き方

### degree(polynomial, x)

**polynomial**

多項式（x^2 - 2など）。多項式を受け取ります。

**x**

次数を取る変数。変数を受け取ります。

## 例題

- $\displaystyle \operatorname{degree}(x^{3}+x, x) = 3$

  `degree(x^3 + x, x)`

  ソルバーでは、`degree(x^3 + x, x)` の答えは `3` です。

  [ソルバーで開く](https://ja.hilberon.com/?q=degree%28x%5E3%20%2B%20x%2C%20x%29)

## 関連する関数

- [denominator](https://ja.hilberon.com/library/denominator)

  分数の分母。
- [cyclotomic](https://ja.hilberon.com/library/cyclotomic)

  指定した位数の円分多項式。
- [discriminant](https://ja.hilberon.com/library/discriminant)

  変数に関する多項式の判別式。
- [complex_expand](https://ja.hilberon.com/library/complex_expand)

  変数を実数と仮定して式を展開します。
- [expand](https://ja.hilberon.com/library/expand)

  積や累乗を展開して和の形にします。
- [collect](https://ja.hilberon.com/library/collect)

  式の項を変数の冪でまとめます。

---
Source: https://ja.hilberon.com/library/degree
