Loading [MathJax]/jax/output/HTML-CSS/jax.js
Skip to main content
Library homepage
 

Text Color

Text Size

 

Margin Size

 

Font Type

Enable Dyslexic Font
Mathematics LibreTexts

12.4: Polynomials

( \newcommand{\kernel}{\mathrm{null}\,}\)

Expressions like 35x and 1+3x2x2 are examples of polynomials. In general, a polynomial is an expression of the form

f(x)=a0+a1x+a2x2++anxn

where the ai are numbers, called the coefficients of the polynomial, and x is a variable called an indeterminate. The number a0 is called the constant coefficient of the polynomial. The polynomial with every coefficient zero is called the zero polynomial, and is denoted simply as 0.

If f(x)0, the coefficient of the highest power of x appearing in f(x) is called the leading coefficient of f(x), and the highest power itself is called the degree of the polynomial and is denoted deg(f(x)). Hence

1+5x+3x2 has constant coefficient 1, leading coefficient 3, and degree 2,7 has constant coefficient 7, leading coefficient 7, and degree 0,6x3x3+x4x5 has constant coefficient 0, leading coefficient 1, and degree 5.

We do not define the degree of the zero polynomial.

Two polynomials f(x) and g(x) are called equal if every coefficient of f(x) is the same as the corresponding coefficient of g(x). More precisely, if

f(x)=a0+a1x+a2x2+ and g(x)=b0+b1x+b2x2+

are polynomials, then

f(x)=g(x) if and only if a0=b0,a1=b1,a2=b2,

In particular, this means that

f(x)=0 is the zero polynomial if and only if a0=0,a1=0,a2=0,

This is the reason for calling x an indeterminate.

Let f(x) and g(x) denote nonzero polynomials of degrees n and m respectively, say

f(x)=a0+a1x+a2x2++anxn and g(x)=b0+b1x+b2x2++bmxm

where an0 and bm0. If these expressions are multiplied, the result is

f(x)g(x)=a0b0+(a0b1+a1b0)x+(a0b2+a1b1+a2b0)x2++anbmxn+m

Since an and bm are nonzero numbers, their product anbm0 and we have

035227 If f(x) and g(x) are nonzero polynomials of degrees n and m respectively, their product f(x)g(x) is also nonzero and

deg[f(x)g(x)]=n+m

035231 (2x+3x2)(3+x25x3)=63x+11x211x3+8x415x5.

If f(x) is any polynomial, the next theorem shows that f(x)f(a) is a multiple of the polynomial xa. In fact we have

Remainder Theorem035236 If f(x) is a polynomial of degree n1 and a is any number, then there exists a polynomial q(x) such that

f(x)=(xa)q(x)+f(a)

where deg(q(x))=n1.

Write f(x)=a0+a1x+a2x2++anxn where the ai are numbers, so that

f(a)=a0+a1a+a2a2++anan

If these expressions are subtracted, the constant terms cancel and we obtain

f(x)f(a)=a1(xa)+a2(x2a2)++an(xnan).

Hence it suffices to show that, for each k1, xkak=(xa)p(x) for some polynomial p(x) of degree k1. This is clear if k=1. If it holds for some value k, the fact that

xk+1ak+1=(xa)xk+a(xkak)

shows that it holds for k+1. Hence the proof is complete by induction.

There is a systematic procedure for finding the polynomial q(x) in the remainder theorem. It is illustrated below for f(x)=x33x2+x1 and a=2. The polynomial q(x) is generated on the top line one term at a time as follows: First x2 is chosen because x2(x2) has the same x3-term as f(x), and this is subtracted from f(x) to leave a “remainder” of x2+x1. Next, the second term on top is x because x(x2) has the same x2-term, and this is subtracted to leave x1. Finally, the third term on top is 1, and the process ends with a “remainder” of 3.

x2x1\cline29x2)x33x2+x1x32x2\cline39x2+x1x2+2x\cline49x1x+2\cline693

Hence x33x2+x1=(x2)(x2x1)+(3). The final remainder is 3=f(2) as is easily verified. This procedure is called the division algorithm.1

A real number a is called a root of the polynomial f(x) if

f(a)=0

Hence for example, 1 is a root of f(x)=2x+3x24x3, but 1 is not a root because f(1)=100. If f(x) is a multiple of xa, we say that xa is a factor of f(x). Hence the remainder theorem shows immediately that if a is root of f(x), then xa is factor of f(x). But the converse is also true: If xa is a factor of f(x), say f(x)=(xa)q(x), then f(a)=(aa)q(a)=0. This proves the

Factor Theorem035282 If f(x) is a polynomial and a is a number, then xa is a factor of f(x) if and only if a is a root of f(x).

035287 If f(x)=x32x26x+4, then f(2)=0, so x(2)=x+2 is a factor of f(x). In fact, the division algorithm gives f(x)=(x+2)(x24x+2).

Consider the polynomial f(x)=x33x+2. Then 1 is clearly a root of f(x), and the division algorithm gives f(x)=(x1)(x2+x2). But 1 is also a root of x2+x2; in fact, x2+x2=(x1)(x+2). Hence

f(x)=(x1)2(x+2)

and we say that the root 1 has multiplicity 2.

Note that non-zero constant polynomials f(x)=b0 have no roots. However, there do exist nonconstant polynomials with no roots. For example, if g(x)=x2+1, then g(a)=a2+11 for every real number a, so a is not a root. However the complex number i is a root of g(x); we return to this below.

Now suppose that f(x) is any nonzero polynomial. We claim that it can be factored in the following form:

f(x)=(xa1)(xa2)(xam)g(x)

where a1,a2,,am are the roots of f(x) and g(x) has no root (where the ai may have repetitions, and may not appear at all if f(x) has no real root).

By the above calculation f(x)=x33x+2=(x1)2(x+2) has roots 1 and 2, with 1 of multiplicity two (and g(x)=1). Counting the root 2 once, we say that f(x) has three roots counting multiplicities. The next theorem shows that no polynomial can have more roots than its degree even if multiplicities are counted.

035311 If f(x) is a nonzero polynomial of degree n, then f(x) has at most n roots counting multiplicities.

If n=0, then f(x) is a constant and has no roots. So the theorem is true if n=0. (It also holds for n=1 because, if f(x)=a+bx where b0, then the only root is ab.) In general, suppose inductively that the theorem holds for some value of n0, and let f(x) have degree n+1. We must show that f(x) has at most n+1 roots counting multiplicities. This is certainly true if f(x) has no root. On the other hand, if a is a root of f(x), the factor theorem shows that f(x)=(xa)q(x) for some polynomial q(x), and q(x) has degree n by Theorem [thm:035227]. By induction, q(x) has at most n roots. But if b is any root of f(x), then

(ba)q(b)=f(b)=0

so either b=a or b is a root of q(x). It follows that f(x) has at most n roots. This completes the induction and so proves Theorem [thm:035311].

As we have seen, a polynomial may have no root, for example f(x)=x2+1. Of course f(x) has complex roots i and i, where i is the complex number such that i2=1. But Theorem [thm:035311] even holds for complex roots: the number of complex roots (counting multiplicities) cannot exceed the degree of the polynomial. Moreover, the fundamental theorem of algebra asserts that the only nonzero polynomials with no complex root are the non-zero constant polynomials. This is discussed more in Appendix [chap:appacomplexnumbers], Theorems [thm:034196] and [thm:034210].


  1. This procedure can be used to divide f(x) by any nonzero polynomial d(x) in place of xa; the remainder then is a polynomial that is either zero or of degree less than the degree of d(x).↩

This page titled 12.4: Polynomials is shared under a CC BY-NC-SA 4.0 license and was authored, remixed, and/or curated by W. Keith Nicholson (Lyryx Learning Inc.) via source content that was edited to the style and standards of the LibreTexts platform.

Support Center

How can we help?