# Degree of a polynomial

The **degree** of a polynomial in one variable is the largest power with which the variable appears with non-zero coefficient. Thus, for instance, the degree of is 3 and the degree of is .

In general, the degree of linear polynomials is 1 and the degree of constant functions is 0, except that sometimes the degree of the zero polynomial is taken to be by convention.

For polynomials in several variables, one typically computes the degree by adding the exponents of the variables in each term and taking the largest of these sums. For example, the polynomial is taken to be the largest of and , and so is 6. Note that this is not in general the same as the degree of the polynomial that arises from setting all variables equal; for instance, is degree 4 but is only degree 2.