Boundless Algebra

Polynomials and Rational Functions

Zeroes of Polynomial Functions

The Fundamental Theorem of Algebra

The fundamental theorem states that every non-constant, single-variable polynomial with complex coefficients has at least one complex root.

Learning Objectives

Discuss the fundamental theorem of algebra

Key Takeaways

Key Points

  • The fundamental theorem of algebra states that every non-constant, single- variable polynomial with complex coefficients has at least one complex root. This includes polynomials with real coefficients, since every real number is a complex number with zero as its coefficient.
  • The fundamental theorem is also stated as follows: every non-zero, single-variable, degree
    nn
    polynomial with complex coefficients has, counted with multiplicity, exactly
    nn
    roots. The equivalence of the two statements can be proven through the use of successive polynomial division.


Key Terms

  • multiplicity: the number of values for which a given condition holds


Some polynomials with real coefficients, like
x2+1x^2 + 1
, have no real zeros. As it turns out, every polynomial with a complex coefficient has a complex zero. Every polynomial of odd degree with real coefficients has a real zero.

The Fundamental Theorem

The fundamental theorem of algebra says that every non-constant polynomial in a single variable
zz
, so any polynomial of the form

cnxn+cn1xn1+c0c_nx^n + c_{n-1}x^{n-1} + \ldots c_0


where
n>0n > 0
and
cn0c_n \not = 0
, has at least one complex root.

There are lots of proofs of the fundamental theorem of algebra. However, despite its name, no purely algebraic proof exists, since every proof makes use of the fact that
C\mathbb{C}
is complete.

In particular, since every real number is also a complex number, every polynomial with real coefficients does admit a complex root. For example, the polynomial
x2+1x^2 + 1
has
ii
as a root.

Alternative Statement

Saying that
x0x_0
is a root of a polynomial
f(x)f(x)
is the same as saying that
(xx0)(x-x_0)
divides
f(x).f(x).
We say that a root
x0x_0
has multiplicity
mm
if
(xx0)m(x-x_0)^m
divides
f(x)f(x)
but
(xx0)m+1(x-x_0)^{m+1}
does not. For example, the polynomial

x4(xi)3(x+π)x^4(x-i)^3(x+\pi)


admits one complex root of multiplicity
44
, namely
x0=0x_0 = 0
, one complex root of multiplicity
33
, namely
x1=ix_1 = i
, and one complex root of multiplicity
11
, namely
x2=πx_2 = - \pi
. The sum of the multiplicity of the roots equals the degree of the polynomial,
88
. For non-zero complex polynomials, this turns out to be true in general and follows directly from the fundamental theorem of algebra.

Indeed, a polynomial of degree
00
takes on the form
c0c_0
, where
c00c_0 \not = 0
, and thus has no zeros.

For a general polynomial
f(x)f(x)
of degree
nn
, the fundamental theorem of algebra says that we can find one root
x0x_0
of
f(x)f(x)
. Thus we can factor
f(x)f(x)
as

f(x)=(xx0)f1(x)f(x) = (x-x_0)f_1(x)


where
f1(x)f_1(x)
is a non-zero polynomial of degree
n1.n-1.
So if the multiplicities of the roots of
f1(x)f_1(x)
add to
n1n-1
, the multiplicity of the roots of
ff
add to
nn
.

So since the property is true for all polynomials of degree
00
, it is also true for all polynomials of degree
11
. And since it is true for all polynomials of degree
11
, it is also true for all polynomials of degree
22
. In general, for any
nNn \in \mathbb{N}
, we will be able to conclude that the property is true for all polynomials of degree
n.n.
Thus the property is true for all polynomials.

Conversely, if the multiplicities of the roots of a polynomial add to its degree, and if its degree is at least
11
(i.e. it is not constant), then it follows that it has at least one zero.

So an alternative statement of the fundamental theorem of algebra is:

The multiplicities of the complex roots of a nonzero polynomial with complex coefficients add to the degree of said polynomial.

The Complex Conjugate Root Theorem

The complex conjugate root theorem says that if a complex number
a+bia+bi
is a zero of a polynomial with real coefficients, then its complex conjugate
abia-bi
is also a zero of this polynomial.

Now suppose our real polynomial admits a root
a+bia+bi
with
b0b \not = 0
. By dividing with the real polynomial
(x(a+bi))(x(abi))=(xa)2+b2(x-(a+bi))(x-(a-bi))=(x-a)^2 +b^2
, we obtain another real polynomial, for which the complex conjugate root theorem again applies. In this way, we see that the total multiplicity of non-real complex roots of a polynomial with real coefficients must always be even.

This last remark, together with the alternative statement of the fundamental theorem of algebra, tells us that the parity of the real roots (counted with multiplicity) of a polynomial with real coefficients must be the same as the parity of the degree of said polynomial. Therefore, a polynomial of even degree admits an even number of real roots, and a polynomial of odd degree admits an odd number of real roots (counted with multiplicity). In particular, every polynomial of odd degree with real coefficients admits at least one real root.


Finding Polynomials with Given Zeros

To construct a polynomial from given zeros, set
xx
equal to each zero, move everything to one side, then multiply each resulting equation.

Learning Objectives

Use the zeros of a polynomial to write a polynomial with those zeros

Key Takeaways

Key Points

  • A polynomial constructed from
    nn
    roots will have degree
    nn
    or less. That is to say, if given three roots, then the highest exponential term needed will be
    x3x^3
    .
  • Each zero given will end up being one term of the factored polynomial. After finding all the factored terms, simply multiply them together to obtain the whole polynomial.
  • Because a polynomial and a polynomial multiplied by a constant have the same roots, every time a polynomial is constructed from given zeros, the general solution includes a constant, shown here as
    cc
    .


Key Terms

  • polynomial: An expression consisting of a sum of a finite number of terms, each term being the product of a constant coefficient and one or more variables raised to a non-negative integer power, such as
    anxn+an1xn1+...+a0x0a_n x^n + a_{n-1}x^{n-1} +... + a_0 x^0
    . Importantly, because all exponents are positive, it is impossible to divide by
    xx
    .
  • zero: Also known as a root, a zero is an
    xx
    value at which the function of
    xx
    is equal to
    00
    .


One type of problem is to generate a polynomial from given zeros. This can be solved using the property that if
x0x_0
is a zero of a polynomial, then
(xx0)(x-x_0)
is a divisor of this polynomial and vice versa.

We assume that the problem statement is as follows: We are given some zeros. If it is not specified what the multiplicity of the zeros are, we want the zeros to have multiplicity one. There are no other zeros, i.e. if a number is not mentioned in the problem statement, it cannot be a zero of the polynomial we find.

Degree of the Polynomial

Remember that the degree of a polynomial, the highest exponent, dictates the maximum number of roots it can have. Thus, the degree of a polynomial with a given number of roots is equal to or greater than the number of roots that are given. If we already count multiplicity in this number, than the degree equals the number of roots. For example, if we are given two zeros, then a polynomial of second degree needs to be constructed.

Solution and Constants

If
x1,x2,xnx_1, x_2, \ldots x_n
are the zeros of
f(x)f(x)
and the leading coefficient of
f(x)f(x)
is
11
, then
f(x)f(x)
factorizes as

f(x)=(xx1)(xx2)(xxn)f(x)=(x-x_1)(x-x_2)\cdots(x-x_n)


This already gives us the solution of our problem: an answer to our question is just the product of all factors
(xxi)(x-x_i)
, where the
xix_i
are the given zeros! However, we see that this polynomial is not unique:

For any nonzero constant
aa
, we have that
(af)(x)=af(x)(af)(x)=af(x)
factorizes as

af(x)=a(xx1)(xx2)(xxn)af(x) = a(x-x_1)(x-x_2) \cdots (x-x_n)


Thus if we find a solution
g(x)g(x)
for our problem, we have actually found infinitely many solutions
cg(x)cg(x)
, one for every non-zero number
cc
.

Thus for given zeros
x1,x2,,xnx_1, x_2, \ldots, x_n
we find infinitely many solutions

c(xx1)(xx2)(xxn)c(x-x_1)(x-x_2)\cdots (x-x_n)


For example, if given
aa
and
bb
as zeros, then the resulting initial terms would be a constant
cc
times the two factors that give zeros at the appropriate place:

c(xa)(xb)c(x-a)(x-b)


Multiplied out, this gives:

cx2c(a+b)x+abccx^2-c(a+b)x+abc


Example

Given zeros
00
,
11
, and
22
, our general solution is of the form

cx(x1)(x2)=cx33cx2+2cxcx(x-1)(x-2) = cx^3 - 3cx^2 + 2cx


In the picture below, the blue graph represents the solution for
cc
equal to
11
. The red graph represents the solution for
cc
equal to
1/2-1/2
.

The red graph decreases from infinity, has a local minimum, increases to a local maximum, then decreases to negative infinity. The blue graph increases from negative infinity, reaches a local maximum, decreases to a local minimum, then increases to infinity. Example: Two polynomials with the same zeros: Both
f(x)f(x)
and
g(x)g(x)
have zeros
0,10, 1
and
22
. They are equal up to a constant. Changing the value and sign of the constant does not change the zeroes, since zero multiplied by any constant is still zero.


Finding Zeros of Factored Polynomials

The factored form of a polynomial reveals its zeros, which are defined as points where the function touches the
xx
-axis.

Learning Objectives

Use the factored form of a polynomial to find its zeros

Key Takeaways

Key Points

  • A polynomial function may have zero, one, or many zeros.
  • All polynomial functions of positive, odd order have at least one zero, while polynomial functions of positive, even order may not have a zero.
  • Regardless of odd or even, any polynomial of positive order can have a maximum number of zeros equal to its order.


Key Terms

  • zero: Also known as a root, a zero is an
    xx
    value at which the function of
    xx
    is equal to
    00
    .


The factored form of a polynomial can reveal where the function crosses the
xx
-axis. An
xx
-value at which this occurs is called a "zero" or " root ".

Number of Zeros of a Polynomial

Consider the factored function:

f(x)=(xa1)(xa2)...(xan)f(x)=(x-a_1)(x-a_2)...(x-a_n)


Each value
a1,a2a_1,a_2
, and so on is a zero.

A polynomial function may have many, one, or no zeros. All polynomial functions of positive, odd order have at least one zero (this follows from the fundamental theorem of algebra), while polynomial functions of positive, even order may not have a zero (for example
x4+1x^4+1
has no real zero, although it does have complex ones).

Regardless of odd or even, any polynomial of positive order can have a maximum number of zeros equal to its order. For example, a cubic function can have as many as three zeros, but no more. This is known as the fundamental theorem of algebra.

Example

Consider the function

f(x)=x3+2x25x6f(x)=x^3+2x^2-5x-6


This can be rewritten in factored form:

f(x)=(x+3)(x+1)(x2)f(x)=(x+3)(x+1)(x-2)


Replacing
xx
with a value that will make either
(x+3),(x+1)(x+3),(x+1)
  or
(x2)(x-2)
zero will result in
f(x)f(x)
being equal to zero. Thus, the zeros for
f(x)f(x)
are at
x=3,x=1x=-3,x=-1
and
x=2.x=2.
This can also be shown graphically:

A cubic polynomial that increases to a local maximum, decreases to a local minimum, then increases to infinity. Cubic function: Graph of the cubic function
f(x)=x3+2x25x6=(x+3)(x+1)(x2).f(x) = x^3 + 2x^2 - 5x - 6 = (x+3)(x+1)(x-2).
We see that its roots equal the negative second coefficients of its first degree factors


Factoring and zeros

In general, we know from the remainder theorem that
aa
is a zero of
f(x)f(x)
if and only if
xax-a
divides
f(x).f(x).
Thus if we can factor
f(x)f(x)
in polynomials of as small a degree as possible, we know its zeros by looking at all linear terms in the factorization. This is why factorization is so important: to be able to recognize the zeros of a polynomial quickly.

It follows from the fundamental theorem of algebra and a fact called the complex conjugate root theorem, that every polynomial with real coefficients can be factorized into linear polynomials and quadratic polynomials without real roots. Thus if you have found such a factorization of a given function, you can be completely sure what the zeros of that function are.

Integer Coefficients and the Rational Zeros Theorem

Each solution to a polynomial, expressed as
x=pqx= \frac {p}{q}
, must satisfy that
pp
and
qq
are integer factors of
a0a_0
and
ana_n
, respectively.

Learning Objectives

Use the Rational Zeros Theorem to find all possible rational roots of a polynomial

Key Takeaways

Key Points

  • In algebra, the Rational Zeros Theorem (also known as the Rational Root Theorem, or the Rational Root Test) states a constraint on rational solutions (or roots) of the polynomial equation
    anxn+an1xn1+...+a0=0a_nx^n+a_{n-1}x^{n-1}+...+a_0=0
    with integer coefficients.
  • If
    a0a_0
    and
    ana_n
    are non-zero, then each rational solution
    xx
    , when written as a fraction
    x=pqx= \frac {p}{q}
    in lowest terms (i.e., the greatest common divisor of
    pp
    and
    qq
    is
    11
    ), satisfies the following:
    11
    )
    pp
    is an integer factor of the constant term
    a0a_0
    , and
    22
    )
    qq
    is an integer factor of the leading coefficient
    ana_n
    .


Key Terms

  • Euclid's lemma: One of the fundamental properties of prime numbers. States that if a prime divides the product of two numbers, it must divide at least one of the factors. For example since 133 × 143 = 19019 is divisible by 19, one or both of 133 or 143 must be as well. In fact, 19 × 7 = 133. It is used in the proof of the fundamental theorem of arithmetic.
  • coprime: Having no positive integer factors, aside from
    11
    , in common with one or more specified other positive integers.


One way to find zeros of a polynomial is trial and error. A more efficient way is through the use of the Rational Zero Theorem.

The Rational Zero Theorem

In algebra, the Rational Zero Theorem, or Rational Root Theorem, or Rational Root Test, states a constraint on rational solutions (also known as zeros, or roots) of the polynomial equation

anxn+an1xn1+...+a0=0a_nx^n+a_{n-1}x^{n-1}+...+a_0=0


With integer coefficients 
an,an1,,a0.a_n,a_{n-1},\ldots,a_0.


If
a0a_0
and
ana_n
are nonzero, then each rational solution
x=pqx= \frac {p}{q}
, where
pp
and
qq
 are coprime integers (i.e. their greatest common divisor is
11
), satisfies:

  • pp
    is a divisor of the constant term
    a0a_0
    .
  • qq
    is a divisor of the leading coefficient
    ana_n
    .


So
a0a_0
must be a multiple of
pp
, and
ana_n
 must be a multiple of
qq
.

Since any integer has only a finite number of divisors, the rational root theorem provides us with a finite number of candidates for rational roots. When given a polynomial with integer coefficients, we can plug in all of these candidates and see whether they are a zero of the given polynomial. Once we have found all the rational zeros (and counted their multiplicity, for example, by dividing using long division ), we know the number of irrational and complex roots.

Since every polynomial with rational coefficients can be multiplied with an integer to become a polynomial with integer coefficients and the same zeros, the Rational Root Test can also be applied for polynomials with rational coefficients.

Example

For example, every rational solution of the cubic equation

3x35x2+5x2=03x^3-5x^2+5x-2=0


must be among the numbers symbolically indicated by:

±1,21,3\pm \frac {1,2}{1,3}


The cubic function is always increasing and has no local maxima or minima. Cubic function: The cubic function
3x35x2+5x23x^3-5x^2+5x-2
has one real root between
00
and
11
. We can use the Rational Root Test to see whether this root is rational.


i.e. its numerator must divide

22
and its denominator must divide
33
. This gives the list of possible answers

1,1,2,2,13,13,23,231,-1,2,-2,\frac 13, -\frac 13, \frac 23, -\frac 23


These root candidates can be tested, either by plugging them in directly, or by dividing and checking to see whether there is any remainder, for example using long division. The advantage of this is that once we have found a root, we immediately have found the smaller degree polynomial of which we again wish to find the roots and the rational root theorem will provide us with even fewer candidates for this root. Moreover, once we have established a root, we must use division anyway to check whether it is a multiple root.

The disadvantage is that we have to use long division more often. When there are a lot of zero candidates for a small degree polynomial, we may just want to plug in candidates and only use division when we have found a root.

In our example, we can plug in
x0=1x_0=1
to see that it is not a root. In fact, the left hand value is equal to
11
.

Now we use a little trick: since the constant term of
(xx0)k(x-x_0)^k
equals
x0kx_0^k
for all positive integers
kk
, we can substitute
xx
by
t+x0t+x_0
to find a polynomial with the same leading coefficient as our original polynomial and a constant term equal to the value of the polynomial at
x0x_0
. In this case we substitute
xx
with
t+1t+1
and obtain a polynomial in
tt
with leading coefficient
33
and constant term
11
. Thus the candidates for zeros in this polynomial in
tt
are

t=±11,3t=\pm \frac 1{1,3}


Thus the candidates for roots of the polynomial in
xx
must be one greater than one of these candidates:

x=1+t=2,0,43,23x=1+t=2,0,\frac 43, \frac 23


Root candidates that do not occur on both lists are ruled out. The list of rational root candidates has thus shrunk to just
x=2x=2
and
x=2/3x=2/3
. After checking for these candidates, we see that the only rational root (with multiplicity
1)1)
is
2/32/3
, which can also be seen in the graph above.

The Rule of Signs

The rule of signs gives an upper bound number of positive or negative roots of a polynomial.

Learning Objectives

Use the rule of signs to find out the maximum number of positive and negative roots a polynomial has

Key Takeaways

Key Points

  • The rule of signs gives us an upper bound number of positive or negative roots of a polynomial. It is not a complete criterion, meaning that it does not tell the exact number of positive or negative roots.
  • The rule states that if the terms of a polynomial with real coefficients are ordered by descending variable exponent, then the number of positive roots of the polynomial is either equal to the number of sign differences between consecutive nonzero coefficients, or is less by a multiple of 2.
  • As a corollary of the rule, the number of negative roots is the number of sign changes after multiplying the coefficients of odd-power terms by
    1-1
    , or less by a multiple of 2.


Key Terms

  • sign: positive or negative polarity.
  • root: any number which, when plugged into the equation, will produce a zero.


The rule of signs, first described by René Descartes in his work La Géométrie, is a technique for determining the number of positive or negative real roots of a polynomial.

The rule gives us an upper bound number of positive or negative roots of a polynomial. However, it does not tell the exact number of positive or negative roots.

Positive Roots

In order to find the number of positive roots in a polynomial with only one variable, we must first arrange the polynomial by descending variable exponent. For example,
x2+x3+x-x^2 + x^3 + x
would be written
x3x2+xx^3 - x^2 + x
.

Then, we must count the number of sign differences between consecutive nonzero coefficients. This number, or any number less than it by a multiple of 2, could be the number of positive roots. In the example
x3x2+xx^3 - x^2 + x
, there are two sign changes, after the first and second terms. Thus, there are either two or zero positive roots for this polynomial.

It is important to note that for polynomials with multiple roots of the same value, each of these roots is counted separately.

Negative Roots

Finding the negative roots is similar to finding the positive roots. The difference is that you must start by finding the coefficients of odd power (for example,
x3x^3
or
x5x^5
, but not
x2x^2
or
x4x^4
). Once you have located them, multiply each by
1-1
. Then the procedure is the same; count the number of sign changes between consecutive nonzero coefficients. This number, or any number less than it by a multiple of 2, could be your number of negative roots. Again it is important to note that multiple roots of the same value should be counted separately.

This can also be done by taking the function,
f(x)f(x)
, and substituting the
xx
for
x-x
, so that we have the function
f(x)f(-x)
. The reason we only bother to change the sign of the odd power coefficients is because if we substitute in
x-x
in an even power, it will just become a positive again.

For example:
(x)3=(x)(x)(x)=x3(-x)^3 = (-x)(-x)(-x) = -x^3


but 
(x)2=(x)(x)=x2(-x)^2 = (-x)(-x) = x^2


We can see that the negative signs cancel out for any even power. By only multiplying the odd powered coefficients by
1-1
, we are essentially saving ourselves a step.

Example

Consider the polynomial:

f(x)=x3+x2x1f(x)=x^3+x^2-x-1


This function has one sign change between the second and third terms. Therefore it has exactly one positive root. Don't forget that the first term has a sign, which, in this case, is positive.

Next, we move on to finding the negative roots. Change the exponents of the odd-powered coefficients, remembering to change the sign of the first term. Once you have done this, you have obtained the second polynomial and are ready to find the number of negative roots. This second polynomial is shown below:

f(x)=x3+x2+x1f(-x)=-x^3+x^2+x-1


This polynomial has two sign changes, after the first and third terms. Therefore, we know that it has at most two negative roots. We know that the number of roots of either sign is the number of sign changes, or a multiple of two less than that. So this polynomial has either
22
or
00
negative roots. We can validate this algebraically, as shown below.

First, factor the polynomial:

f(x)=(x+1)(x+1)(x1)f(x)=(x+1)(x+1)(x-1)
.

This simplifies to:

f(x)=(x+1)2(x1)f(x)=(x+1)^2(x-1)
.

Therefore, the roots are
1-1
,
1-1
and
11
.

Complex Roots

A polynomial of
nthn^{\text{th}}
degree has exactly
nn
roots. The minimum number of complex roots is equal to:

n(p+q)n-(p+q)


where
nn
is the total number of roots in a polynomial,
pp
is the maximum number of positive roots, and
qq
is the maximum number of negative roots.

Example

Consider the polynomial:

f(x)=x2+bf(x) = x^2+b


To find the positive roots we count the sign changes. For this example, we will assume that
b>0b>0
. Since there are no sign changes, there are no positive roots
(p=0)(p=0)
. Now we look for negative roots. Since there are no odd powered coefficients, there are no changes to be made before looking for sign changes; therefore, there are no negative roots
(q=0)(q = 0)
. Now we apply the complex root equation:
n(p+q)=2(0+0)=2n - (p+ q) = 2 - (0 + 0) = 2
. There are 2 complex roots.

Licenses and Attributions