Inmathematics, thedegree of apolynomial is the highest of the degrees of the polynomial'smonomials (individual terms) with non-zero coefficients. Thedegree of a term is the sum of the exponents of thevariables that appear in it, and thus is a non-negativeinteger. For aunivariate polynomial, the degree of the polynomial is simply the highest exponent occurring in the polynomial.[1] The termorder has been used as a synonym ofdegree but, nowadays, may refer to several other concepts (seeOrder of a polynomial (disambiguation)).
For example, the polynomial which can also be written as has three terms. The first term has a degree of 5 (the sum of thepowers 2 and 3), the second term has a degree of 1, and the last term has a degree of 0. Therefore, the polynomial has a degree of 5, which is the highest degree of any term.
To determine the degree of a polynomial that is not in standard form, such as, one can put it in standard form by expanding the products (bydistributivity) and combining the like terms; for example, is of degree 1, even though each summand has degree 2. However, this is not needed when the polynomial is written as a product of polynomials in standard form, because the degree of a product is the sum of the degrees of the factors.
The following names are assigned to polynomials according to their degree:[2][3][4]
Names for degree above three are based on Latinordinal numbers, and end in-ic. This should be distinguished from the names used for the number of variables, thearity, which are based on Latindistributive numbers, and end in-ary. For example, a degree two polynomial in two variables, such as, is called a "binary quadratic":binary due to two variables,quadratic due to degree two.[a] There are also names for the number of terms, which are also based on Latin distributive numbers, ending in-nomial; the common ones aremonomial,binomial, and (less commonly)trinomial; thus is a "binary quadratic binomial".
The polynomial is a cubic polynomial: after multiplying out and collecting terms of the same degree, it becomes, with highest exponent 3.
The polynomial is a quintic polynomial: upon combining like terms, the two terms of degree 8 cancel, leaving, with highest exponent 5.
The degree of the sum, the product or the composition of two polynomials is strongly related to the degree of the input polynomials.[6]
The degree of the sum (or difference) of two polynomials is less than or equal to the greater of their degrees; that is,
For example, the degree of is 2, and 2 ≤ max{3, 3}.
The equality always holds when the degrees of the polynomials are different. For example, the degree of is 3, and 3 = max{3, 2}.
The degree of the product of a polynomial by a non-zeroscalar is equal to the degree of the polynomial; that is,
For example, the degree of is 2, which is equal to the degree of.
Thus, theset of polynomials (with coefficients from a given fieldF) whose degrees are smaller than or equal to a given numbern forms avector space; for more, seeExamples of vector spaces.
More generally, the degree of the product of two polynomials over afield or anintegral domain is the sum of their degrees:
For example, the degree of is 5 = 3 + 2.
For polynomials over an arbitraryring, the above rules may not be valid, because of cancellation that can occur when multiplying two nonzero constants. For example, in the ring ofintegers modulo 4, one has that, but, which is not equal to the sum of the degrees of the factors.
The degree of the composition of two non-constant polynomials and over a field or integral domain is the product of their degrees:
For example, if has degree 3 and has degree 2, then their composition is which has degree 6.
Note that for polynomials over an arbitrary ring, the degree of the composition may be less than the product of the degrees. For example, in the composition of the polynomials and (both of degree 1) is the constant polynomial of degree 0.
The degree of thezero polynomial is either left undefined, or is defined to be negative (usually −1 or).[7]
Like any constant value, the value 0 can be considered as a (constant) polynomial, called thezero polynomial. It has no nonzero terms, and so, strictly speaking, it has no degree either. As such, its degree is usually undefined. The propositions for the degree of sums and products of polynomials in the above section do not apply, if any of the polynomials involved is the zero polynomial.[8]
It is convenient, however, to define the degree of the zero polynomial to benegative infinity, and to introduce the arithmetic rules[9]
and
These examples illustrate how this extension satisfies thebehavior rules above:
A number of formulae exist which will evaluate the degree of a polynomial functionf. One based onasymptotic analysis is
this is the exact counterpart of the method of estimating the slope in alog–log plot.
This formula generalizes the concept of degree to some functions that are not polynomials.For example:
The formula also gives sensible results for many combinations of such functions, e.g., the degree of is.
Another formula to compute the degree off from its values is
this second formula follows from applyingL'Hôpital's rule to the first formula. Intuitively though, it is more about exhibiting the degreed as the extra constant factor in thederivative of.
A more fine grained (than a simple numeric degree) description of the asymptotics of a function can be had by usingbig O notation. In theanalysis of algorithms, it is for example often relevant to distinguish between the growth rates of and, which would both come out as having thesame degree according to the above formulae.
For polynomials in two or more variables, the degree of a term is thesum of the exponents of the variables in the term; the degree (sometimes called thetotal degree) of the polynomial is again the maximum of the degrees of all terms in the polynomial. For example, the polynomialx2y2 + 3x3 + 4y has degree 4, the same degree as the termx2y2.
However, a polynomial in variablesx andy, is a polynomial inx with coefficients which are polynomials iny, and also a polynomial iny with coefficients which are polynomials inx. The polynomial
has degree 3 inx and degree 2 iny.
Given aringR, thepolynomial ringR[x] is the set of all polynomials inx that have coefficients inR. In the special case thatR is also afield, the polynomial ringR[x] is aprincipal ideal domain and, more importantly to our discussion here, aEuclidean domain.
It can be shown that the degree of a polynomial over a field satisfies all of the requirements of thenorm function in the euclidean domain. That is, given two polynomialsf(x) andg(x), the degree of the productf(x)g(x) must be larger than both the degrees off andg individually. In fact, something stronger holds:
For an example of why the degree function may fail over a ring that is not a field, take the following example. LetR =, the ring of integersmodulo 4. This ring is not a field (and is not even anintegral domain) because 2 × 2 = 4 ≡ 0 (mod 4). Therefore, letf(x) =g(x) = 2x + 1. Then,f(x)g(x) = 4x2 + 4x + 1 = 1. Thus deg(f⋅g) = 0 which is not greater than the degrees off andg (which each had degree 1).
Since thenorm function is not defined for the zero element of the ring, we consider the degree of the polynomialf(x) = 0 to also be undefined so that it follows the rules of a norm in a Euclidean domain.