Degree of a polynomial

Short description: Mathematical concept

In mathematics, the degree of a polynomial is the highest of the degrees of the polynomial's monomials (individual terms) with non-zero coefficients. The degree of a term is the sum of the exponents of the variables that appear in it, and thus is a non-negative integer. For a univariate polynomial, the degree of the polynomial is simply the highest exponent occurring in the polynomial.[1] The term order has been used as a synonym of degree but, nowadays, may refer to several other concepts (see Order of a polynomial (disambiguation)).

For example, the polynomial 7x2y3+4x−9, which can also be written as 7x2y3+4x1y0−9x0y0, has three terms. The first term has a degree of 5 (the sum of the powers 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 (x+1)2−(x−1)2, one can put it in standard form by expanding the products (by distributivity) and combining the like terms; for example, (x+1)2−(x−1)2=4x 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.

## Contents

* 1 Names of polynomials by degree
* 2 Examples
* 3 Behavior under polynomial operations
* 3.1 Addition
* 3.2 Multiplication
* 3.3 Composition
* 4 Degree of the zero polynomial
* 5 Computed from the function values
* 6 Extension to polynomials with two or more variables
* 7 Degree function in abstract algebra
* 8 See also
* 9 Notes
* 10 References

## Names of polynomials by degree

The following names are assigned to polynomials according to their degree:[2][3][4]

* Special case – zero (see § Degree of the zero polynomial, below)
* Degree 0 – non-zero constant[5]
* Degree 1 – linear
* Degree 2 – quadratic
* Degree 3 – cubic
* Degree 4 – quartic (or, if all terms have even degree, biquadratic)
* Degree 5 – quintic
* Degree 6 – sextic (or, less commonly, hexic)
* Degree 7 – septic (or, less commonly, heptic)
* Degree 8 – octic
* Degree 9 – nonic
* Degree 10 – decic

Names for degree above three are based on Latin ordinal numbers, and end in -ic. This should be distinguished from the names used for the number of variables, the arity, which are based on Latin distributive numbers, and end in -ary. For example, a degree two polynomial in two variables, such as x2+xy+y2, is called a "binary quadratic": binary due to two variables, quadratic due to degree two.[lower-alpha 1] There are also names for the number of terms, which are also based on Latin distributive numbers, ending in -nomial; the common ones are monomial, binomial, and (less commonly) trinomial; thus x2+y2 is a "binary quadratic binomial".

## Examples

The polynomial (y−3)(2y+6)(−4y−21) is a cubic polynomial: after multiplying out and collecting terms of the same degree, it becomes −8y3−42y2+72y+378, with highest exponent 3.

The polynomial (3z8+z5−4z2+6)+(−3z8+8z4+2z3+14z) is a quintic polynomial: upon combining like terms, the two terms of degree 8 cancel, leaving z5+8z4+2z3−4z2+14z+6, with highest exponent 5.

## Behavior under polynomial operations

The degree of the sum, the product or the composition of two polynomials is strongly related to the degree of the input polynomials.[6]

### Addition

The degree of the sum (or difference) of two polynomials is less than or equal to the greater of their degrees; that is,

deg⁡(P+Q)≤max⁡{deg⁡(P),deg⁡(Q)} and deg⁡(P−Q)≤max⁡{deg⁡(P),deg⁡(Q)}.

For example, the degree of (x3+x)−(x3+x2)=−x2+x is 2, and 2 ≤ max{3, 3}.

The equality always holds when the degrees of the polynomials are different. For example, the degree of (x3+x)+(x2+1)=x3+x2+x+1 is 3, and 3 = max{3, 2}.

### Multiplication

The degree of the product of a polynomial by a non-zero scalar is equal to the degree of the polynomial; that is,

deg⁡(cP)=deg⁡(P).

For example, the degree of 2(x2+3x−2)=2x2+6x−4 is 2, which is equal to the degree of x2+3x−2.

Thus, the set of polynomials (with coefficients from a given field F) whose degrees are smaller than or equal to a given number n forms a vector space; for more, see Examples of vector spaces.

More generally, the degree of the product of two polynomials over a field or an integral domain is the sum of their degrees:

deg⁡(PQ)=deg⁡(P)+deg⁡(Q).

For example, the degree of (x3+x)(x2+1)=x5+2x3+x is 5 = 3 + 2\.

For polynomials over an arbitrary ring, the above rules may not be valid, because of cancellation that can occur when multiplying two nonzero constants. For example, in the ring 𝐙/4𝐙 of integers modulo 4, one has that deg⁡(2x)=deg⁡(1+2x)=1, but deg⁡(2x(1+2x))=deg⁡(2x)=1, which is not equal to the sum of the degrees of the factors.

### Composition

The degree of the composition of two non-constant polynomials P and Q over a field or integral domain is the product of their degrees: deg⁡(P∘Q)=deg⁡(P)deg⁡(Q).

For example, if P=x3+x has degree 3 and Q=x2−1 has degree 2, then their composition is P∘Q=P∘(x2−1)=(x2−1)3+(x2−1)=x6−3x4+4x2−2, 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 𝐙/4𝐙, the composition of the polynomials 2x and 1+2x (both of degree 1) is the constant polynomial 2x∘(1+2x)=2+4x=2, of degree 0.

## Degree of the zero polynomial

The degree of the zero 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 the zero 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 be negative infinity, −∞, and to introduce the arithmetic rules[9]

max⁡(a,−∞)=a,

and

a+(−∞)=−∞.

These examples illustrate how this extension satisfies the behavior rules above:

* The degree of the sum (x3+x)+(0)=x3+x is 3. This satisfies the expected behavior, which is that 3≤max⁡(3,−∞).
* The degree of the difference (x)−(x)=0 is −∞. This satisfies the expected behavior, which is that −∞≤max⁡(1,1).
* The degree of the product (0)(x2+1)=0 is −∞. This satisfies the expected behavior, which is that −∞=−∞+2.

## Computed from the function values

A number of formulae exist which will evaluate the degree of a polynomial function f. One based on asymptotic analysis is

deg⁡f=limx->∞log⁡|f(x)|log⁡x;

this is the exact counterpart of the method of estimating the slope in a log–log plot.

This formula generalizes the concept of degree to some functions that are not polynomials. For example:

* The degree of the multiplicative inverse,  1/x, is −1.
* The degree of the square root, x, is 1/2.
* The degree of the logarithm,  log⁡x, is 0.
* The degree of the exponential function, exp⁡x, is ∞.

The formula also gives sensible results for many combinations of such functions, e.g., the degree of 1+xx is −1/2.

Another formula to compute the degree of f from its values is

deg⁡f=limx->∞xf′(x)f(x);

this second formula follows from applying L'Hôpital's rule to the first formula. Intuitively though, it is more about exhibiting the degree d as the extra constant factor in the derivative dxd−1 of xd.

A more fine grained (than a simple numeric degree) description of the asymptotics of a function can be had by using big O notation. In the analysis of algorithms, it is for example often relevant to distinguish between the growth rates of x and xlog⁡x, which would both come out as having the same degree according to the above formulae.

## Extension to polynomials with two or more variables

For polynomials in two or more variables, the degree of a term is the sum of the exponents of the variables in the term; the degree (sometimes called the total degree) of the polynomial is again the maximum of the degrees of all terms in the polynomial. For example, the polynomial x2y2 \+ 3x3 \+ 4y has degree 4, the same degree as the term x2y2.

However, a polynomial in variables x and y, is a polynomial in x with coefficients which are polynomials in y, and also a polynomial in y with coefficients which are polynomials in x. The polynomial

x2y2+3x3+4y=(3)x3+(y2)x2+(4y)=(x2)y2+(4)y+(3x3)

has degree 3 in x and degree 2 in y.

## Degree function in abstract algebra

Given a ring R, the polynomial ring R[x] is the set of all polynomials in x that have coefficients in R. In the special case that R is also a field, the polynomial ring R[x] is a principal ideal domain and, more importantly to our discussion here, a Euclidean domain.

It can be shown that the degree of a polynomial over a field satisfies all of the requirements of the norm function in the euclidean domain. That is, given two polynomials f(x) and g(x), the degree of the product f(x)g(x) must be larger than both the degrees of f and g individually. In fact, something stronger holds:

deg⁡(f(x)g(x))=deg⁡(f(x))+deg⁡(g(x))

For an example of why the degree function may fail over a ring that is not a field, take the following example. Let R = ℤ/4ℤ, the ring of integers modulo 4\. This ring is not a field (and is not even an integral domain) because 2 × 2 = 4 ≡ 0 (mod 4). Therefore, let f(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 of f and g (which each had degree 1).

Since the norm function is not defined for the zero element of the ring, we consider the degree of the polynomial f(x) = 0 to also be undefined so that it follows the rules of a norm in a Euclidean domain.

## See also

* Abel–Ruffini theorem
* Fundamental theorem of algebra

## Notes

1. ↑ For simplicity, this is a homogeneous polynomial, with equal degree in both variables separately.

1. ↑ Gullberg, Jan (1997), Mathematics From the Birth of Numbers, W. W. Norton & Company, p. 128, ISBN 9780393040029, https://books.google.com/books?id=E09fBi9StpQC&pg=PA128
2. ↑ Mac Lane and Birkhoff (1999) define "linear", "quadratic", "cubic", "quartic", and "quintic". (p. 107)
3. ↑ King (2009) defines "quadratic", "cubic", "quartic", "quintic", "sextic", "septic", and "octic".
4. ↑ James Cockle proposed the names "sexic", "septic", "octic", "nonic", and "decic" in 1851. (Mechanics Magazine, Vol. LV, p. 171)
5. ↑ Shafarevich (2003) says of a polynomial of degree zero, f(x)=a0: "Such a polynomial is called a constant because if we substitute different values of x in it, we always obtain the same value a0." (p. 23)
6. ↑ Lang, Serge (2005), Algebra (3rd ed.), Springer, pp. 100, ISBN 978-0-387-95385-4
7. ↑ Shafarevich (2003) says of the zero polynomial: "In this case, we consider that the degree of the polynomial is undefined." (p. 27)
Childs (1995) uses −1. (p. 233)
Childs (2009) uses −∞ (p. 287), however he excludes zero polynomials in his Proposition 1 (p. 288) and then explains that the proposition holds for zero polynomials "with the reasonable assumption that −∞ \+ m = −∞ for m any integer or m = −∞".
Axler (1997) uses −∞. (p. 64)
Grillet (2007) says: "The degree of the zero polynomial 0 is sometimes left undefined or is variously defined as −1 ∈ ℤ or as −∞, as long as deg 0 < deg A for all A ≠ 0." (A is a polynomial.) However, he excludes zero polynomials in his Proposition 5.3. (p. 121)
8. ↑ Caldwell, William (2009), "Applying Concept Mapping to Algebra I", in Afamasaga-Fuata'i, Karoline, Concept Mapping in Mathematics: Research into Practice, Springer, pp. 217–234, doi:10.1007/978-0-387-89194-1_11, ISBN 9780387891941 ; see section "Degree of a polynomial", pp. 225–226: "The product of the zero polynomial [with] any other polynomial is always the zero polynomial, so such a property of degrees (the degree of the product is the sum of the degrees of the two factors) would not hold if one of the two polynomials were the polynomial 0. That is why we do not assign a degree to the zero polynomial."
9. ↑ Axler (1997) gives these rules and says: "The 0 polynomial is declared to have degree −∞ so that exceptions are not needed for various reasonable results." (p. 64)

## References

* Axler, Sheldon (1997), Linear Algebra Done Right (2nd ed.), Springer Science & Business Media, ISBN 9780387982595, https://books.google.com/books?id=ovIYVIlithQC&q="0+polynomial"&pg=PA64
* Childs, Lindsay N. (1995), A Concrete Introduction to Higher Algebra (2nd ed.), Springer Science & Business Media, ISBN 9780387989990, https://books.google.com/books?id=rUApHgaTVx0C&q="zero+polynomial"&pg=PA233
* Childs, Lindsay N. (2009), A Concrete Introduction to Higher Algebra (3rd ed.), Springer Science & Business Media, ISBN 9780387745275, https://books.google.com/books?id=qyDAKBr_I2YC&q="zero+polynomial"&pg=PA287
* Grillet, Pierre Antoine (2007), Abstract Algebra (2nd ed.), Springer Science & Business Media, ISBN 9780387715681, https://books.google.com/books?id=LJtyhu8-xYwC&q="degree+of+the+zero+polynomial"&pg=PA121
* King, R. Bruce (2009), Beyond the Quartic Equation, Springer Science & Business Media, ISBN 9780817648497, https://books.google.com/books?id=9cKX_9zkeg4C
* Mac Lane, Saunders; Birkhoff, Garrett (1999), Algebra (3rd ed.), American Mathematical Society, ISBN 9780821816462, https://books.google.com/books?id=L6FENd8GHIUC&q=linear+quadratic+cubic+quartic+quintic&pg=PA107
* Shafarevich, Igor R. (2003), Discourses on Algebra, Springer Science & Business Media, ISBN 9783540422532, https://books.google.com/books?id=hpkkJgU8rwcC&q="the+degree+of+the+polynomial+is+undefined"&pg=PA27

* v
* t
* e

Polynomials and polynomial functions

By degree|

* Zero polynomial (degree undefined or −1 or −∞)
* Constant function (0)
* Linear function (1)
* Quadratic function (2)
* Cubic function (3)
* Quartic function (4)
* Quintic function (5)
* Sextic equation (6)
* Septic equation (7)
* Octic equation (8)

By properties|

* Univariate
* Bivariate
* Multivariate
* Monomial
* Binomial
* Trinomial
* Irreducible
* Square-free
* Homogeneous
* Quasi-homogeneous

Tools and algorithms|

* Factorization
* Greatest common divisor
* Division
* Horner's method of evaluation
* Resultant
* Discriminant
* Gröbner basis

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/Degree of a polynomial. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Degree_of_a_polynomial&oldid=3982268"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template