# Degree Command

From GeoGebra Manual

Revision as of 12:36, 14 October 2011 by Christina.biermair (talk | contribs)

- 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).
**Example:**`Degree[x^4 + 2 x^2]`

yields*4*,`Degree[x^6 y^3 + 2 x^2 y^3]`

yields*6*.

- 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*.