# Degree Command

From GeoGebra Manual

- Degree( <Polynomial> )
- Gives the degree of a polynomial (in the main variable).
**Example:**`Degree(x^4 + 2 x^2)`

yields*4*

## CAS Syntax

- Degree( <Polynomial> )
- Gives the degree of a polynomial (in the main variable or monomial).
**Example:**`Degree(x^4 + 2 x^2)`

yields*4*`Degree(x^6 y^3 + 2 x^2 y^3)`

yields*9*

- Degree( <Polynomial>, <Variable> )
- Gives the degree of a polynomial in the given variable.
**Example:**`Degree(x^4 y^3 + 2 x^2 y^3, x)`

yields*4*`Degree(x^4 y^3 + 2 x^2 y^3, y)`

yields*3*