TITLE: Is there a function that returns the degree of a polynomial?
QUESTION [12 upvotes]: I'm playing around with some equations in Geogebra and the degree of the polynomials I am using has become a variable. Is there an exact method for determining the degree of a polynomial?
I am currently approximating the degree of $f(x)$ by using:
$$\text{Degree}(f(x)) = \lfloor\log_{1000}(f(1000))\rfloor$$
This has been a decent enough approximation, but it got me wondering whether or not there exists a precise method? One that could be applied to non-integer degree polynomials.

REPLY [23 votes]: According to the GeoGebra wiki, the function you're looking for is Degree[<Polynomial]. If you have a polynomial in several variables, you can also use Degree[<Polynomial>,<Variable>] to get the degree of the polynomial in the specified variable.