<meta http-equiv="refresh" content="1; url=/nojavascript/">
You are reading an older version of this FlexBook® textbook: CK-12 Math Analysis Go to the latest version.

# 2.2: Polynomial Functions

Difficulty Level: At Grade Created by: CK-12

## Learning Objectives

• Understand and apply methods to find the zeros of a factored polynomial
• Use the zeros of polynomial functions to sketch a graph of the function

## Standard Form of Polynomial Function

You have already studied many different kinds of functions, for example linear functions, constant functions, and quadratic functions. All three these functions belong to a larger group of functions called the polynomial functions.

Polynomial Functions

If $P(x)$ is a polynomial function, then it is given by

$P(x)=a_{n}x^{n}+a_{n-1}x^{n-1}+a_{n-2}x^{n-2}+\cdots+a_{1}x+a_{0}$

where the coefficients $a_{n}, a_{n-1}, \cdots , a_{1}, a_{0}$ are real numbers and the exponents are positive integers.

We call the first nonzero coefficient $a_{n}$ the leading coefficient. The term $a_{n}x^{n}$ is called the leading term. The degree of the polynomial is $n$. For example, the quadratic equation $f(x)=-2x^{2}+3x-5$ has a leading coefficient of -2, a leading term of $-2x^{2}$ and of degree $n=2$. On the other hand, the polynomial $f(x)=1$ is a polynomial of with a leading coefficient of 1, and the leading term is $1x^{0}=1$, so the degree is $n=0$.

A very interesting property of polynomials is that they are all continuous, that is, they have no holes, breaks. Informally, we say you can draw the graph of a continuous function without lifting your pencil from the paper. In calculus you will study function continuity in more depth and you will use the continuity of polynomials to simplify the analysis of other, more complicated functions.

In addition to their continuity, the domain of all polynomial functions is the set of all real numbers. That is, the domain is $x\in(-\infty,\infty)$.

Sometimes it is helpful to consider a counterexample. There are many functions that we use in mathematics which are not polynomials. For example the floor function, $y=int(x)$, is a function that gives the greatest integer less than or equal to $x$, so $int(5.67)=5$. This function is NOT a polynomial and it is NOT continuous.

## Power Function (even, odd)

The most simple polynomial is called a power function. A power function is a polynomial of the form $f(x)=ax^{n}$ where $a$ is a real number and $n$ is an integer with $n\ge1$.

If $n$ is even, then the power function is also called “even,” and if $n$ is odd, then the power function is “odd.” The graphs of the first five power functions are shown below.

Notice that each power function has only one $x-$ and $y-$intercept, the origin (0, 0).

The end behavior of a function describes the $y-$values as $x$ gets very large ($x\rightarrow\infty$ in symbols) or as $x$ gets very small $(x\rightarrow-\infty)$.

• For even powers $n$, the power function $f(x)=ax^{n}$ is U-shaped (like a parabola) and as $x\rightarrow\infty, f(x)\rightarrow\infty$. Likewise as $x\rightarrow-\infty, f(x)\rightarrow\infty$.
• For odd powers $n$, the power function goes from the third quadrant to the first quadrant (like the line $y=x$). As $x\rightarrow\infty, f(x)\rightarrow\infty,$ and as $x\rightarrow-\infty, f(x)\rightarrow-\infty$.

As with quadratics and polynomials, the leading coefficient $a$ changes the vertical “stretching” of power functions.

## Graph Polynomial Functions Using Transformations

Just like quadratics, polynomial functions can be graphed using transformations of a known graph. The basic transformations are vertical and horizontal shifts and reflections about the $x-$ and $y-$axis.

Given a polynomial $p(x)$ and constant real numbers $c$ and $a$

• $p(x)+c$ is a vertical shift of the graph of $p(x)$ by $c$ units up (so the function shifts down if $c<0$).
• $p(x-c)$ is a horizontal shift of the graph of $p(x)$ by $c$ units to the right. (So the function shifts left if $c<0$).
• $-p(x)$ is a reflection of the graph of $p(x)$ about the $x-$axis.
• $p(-x)$ is a reflection of the graph of $p(x)$ about the $y-$axis.
• $ap(x)$ is a vertical stretch by a multiple of $a$.
• $p(ax)$ is a horizontal compression by a multiple of $a$.

Example 1

The graph of $f(x)$ is shown below. Use the graph of $f(x)$ to graph each of the following: 1) $f(x)+3$, 2) $f(x+4)$, and 3) $f(-x)+3$

Solution

1) This is a vertical shift of $f(x)$ up by 3 units.

2) This is a horizontal shift of $f(x)$ to the left by 4 units.

3) This is a reflection of $f(x)$ about the $y-$axis and a vertical shift up by 3 units.

## Graph Polynomial Functions Given Zeros ($x-$intercepts)

Recall that the zeros or the roots of a polynomial are the $x-$intercepts or the solution set of the polynomial function. For example, the polynomial

$h(x)=x^{3}+2x^{2}-5x-6$

can be factored into

$y=h(x)=x^{3}+2x^{2}-5x-6=(x+1)(x-2)(x+3)$

To find the zeros, we set

$h(x)=y=0$

and solve for $x$.

$(x+1)(x-2)(x+3)=0$

This gives

$x+1 & = 0\\x-2 & = 0\\x+3 & = 0$

or

$x & = -1\\x & = 2\\x & = -3$

So we say that the solution set is $\{-3, -1, 2\}$. They are the zeros of the function $h(x)$. The zeros of $h(x)$ are the $x-$intercepts of the graph $y=h(x)$ below.

The previous example illustrates a strategy for graphing a polynomial if you know the zeros of the function. If you know the zeros of a polynomial you can use “test values” between the zeros to see whether the function is above or below the $x-$aixs in the interval between the zeros. While this cannot tell you the hieght ($y-$values) of the function between the zeros, you can use the zeros to sketch an approximation of the graph. The following examples illustrate first finding the zeros, and then a method for graphing a polynomial once you know the zeros.

Example 2

Find the zeros of $g(x)=-(x-2)(x-2)(x+1)(x+5)(x+5)(x+5)$.

Solution

The polynomial can be written as

$g(x)=-(x-2)^{2}(x+1)(x+5)^{3}$

To solve the equation, we simply set it equal to zero

$-(x-2)^{2}(x+1)(x+5)^{3}=0$

this gives

$x-2 & = 0\\x+1 & = 0\\x+5 & = 0$

or

$x & = 2\\x & = -1\\x & = -5$

Notice the occurrence of the zeros in the function. The factor $(x-2)$ occurred twice (because it was squared), the factor $(x+1)$ occurred once and the factor $(x+5)$ occurred three times. We say that the zero we obtain from the factor $(x-2)$ has a multiplicity $k=2$ and the factor $(x+5)$ has a multiplicity $k=3$.

To graph $g(x)$, use the zeros to create a table of intervals and see whether the function is above or below the $x-$axis in each interval:

Interval Test value $x$ $g(x)$ Sign of $g(x)$ Location of graph relative to $x-$axis
$(-\infty, -5)$ -6 320 + Above
$x=-5$ -5 0 NA
(-5, -1) -2 144 + Above
$x=-1$ -1 0 NA
(-1, 2) 0 -100 - Below
$x=2$ 2 NA
$(2, \infty)$ 3 -256 - Below

Finally, use this information and the test points to sketch a graph of $g(x)$.

Example 3

Find the zeros and sketch a graph of the polynomial

$f(x)=x^{4}-x^{2}-56$

Solution

This is a factorable equation,

$f(x) & =x^4-x^2-56\\& = (x^2-8)(x^2+7)$

Setting $f(x)=0$,

$(x^{2}-8)(x^{2}+7) = 0$

the first term gives

$x^{2}-8 & = 0\\x^2 & = 8\\x & = \pm \sqrt{8}\\& = \pm 2\sqrt{2}$

and the second term gives

$x^{2}+7 & = 0\\x^2 & = -7\\x & = \pm \sqrt{-7}\\& = \pm i\sqrt{7}$

So the solutions are $\pm2\sqrt{2}$ and $\pm i\sqrt{7}$, a total of four zeros of $f(x)$.

Keep in mind that only the real zeros of a function correspond to the $x-$intercept of its graph. For our case in this example, only the two zeros $\pm2\sqrt{2}$ correspond to actual $x-$intercepts (Figure 9) but $+i\sqrt{7}$ and $-i\sqrt{7}$ do not, since they are complex. These are given more attention later in the book ((Add cross-referencing link?))

## Summarize Analysis and Graphing of Polynomial Functions

It is helpful to consider the following facts when graphing any polynomial function.

Two Basic Facts About the Graphs of Polynomial Functions

If $f(x)$ is a polynomial function with degree $n\ge1$, then

• The maximum number of real zeros ($x-$intercepts) is $n$.
• The maximum number of turning points is $n-1$.

It is also helpful to learn about the behavior of the function as $x$ becomes very large $(x\to+\infty)$ or very small $(x\to-\infty)$.

If $a_{n}x^{n}$ is the leading term of a polynomial. Then the behavior of the graph as $x\to\infty$ or $x\to-\infty$ can be known by one the four following behaviors:

1. If $a_{n}>0$ and $n$ even

2. If $a_{n}<0$ and $n$ even

3. If $a_{n}>0$ and $n$ odd

4. If $a_{n}<0$ and $n$ odd

The Leading Term Test implies that if you “zoom out” far enough, then all polynomials look like the power function made by the leading term of the polynomial. That is, if the exponent of the leading term is even, then the polynomial is U-shaped, and if the exponent of the leading term is odd, then the polynomial is shaped like $y=x^{3}$.

Zeros of a Polynomial Function

• Every polynomial function with degree $n\ge1$ has at least one zero and at most $n$ zeros (counting imaginary or complex zeros).

or

• Every polynomial function with degree $n\ge1$ has exactly $n$ zeros, if and only if the multiplicities are taken into account (again, counting imaginary zeros).

Example 4

Graph the polynomial function $f(x)=-3x^{4}+2x^{3}$.

Solution

Since the leading term here is $-3x^{4}$ then $a_{n}=-3<0$, and $n=4$ even. Thus the end behavior of the graph as $x\to\infty$ and $x\to-\infty$ is that of Box #2, item 2.

We can find the zeros of the function by simply setting $f(x)=0$ and then solving for $x$.

$-3x^{4}+2x^{3} & = 0\\-x^3(3x-2) & = 0$

This gives

$x=0\quad \text{or} \quad x=\frac{2}{3}$

So we have two $x-$intercepts, at $x=0$ and at $x=\frac{2}{3}$, with multiplicity $k=3$ for $x=0$ and multiplicity $k=1$ for $x=\frac{2}{3}$.

To find the $y-$intercept, we find $f(0)$, which gives

$f(0)=0$

So the graph passes the $y-$axis at $y=0$.

Since the $x-$intercepts are 0 and $\frac{2}{3}$, they divide the $x-$axis into three intervals: $(-\infty, 0), \left ( 0, \frac{2}{3} \right ),$ and $\left ( \frac{2}{3}, \infty \right )$. Now we are interested in determining at which intervals the function $f(x)$ is negative and at which intervals it is positive. To do so, we construct a table and choose a test value for $x$ from each interval and find the corresponding $f(x)$ at that value.

Interval Test Value $x$ $f(x)$ Sign of $f(x)$ Location of points on the graph
$(-\infty, 0)$ -1 -5 - below the $x-$axis
$\left ( 0, \frac{2}{3} \right )$ $\frac{1}{2}$ $\frac{1}{16}$ + above the $x-$axis
$\left ( \frac{2}{3}, \infty \right )$ 1 -1 - below the $x-$axis

Those test points give us three additional points to plot: $(-1, -5), \left ( \frac{1}{2},\frac{1}{16} \right )$, and (1, -1). Now we are ready to plot our graph. We have a total of three intercept points, in addition to the three test points. We also know how the graph is behaving as $x\to-\infty$ and $x\to+\infty$. This information is usually enough to make a rough sketch of the graph. If we need additional points, we can simply select more points to complete the graph (Figure 10).

To summarize, the following procedure can be followed when graphing a polynomial function.

Graphing a Polynomial Function

1. Use the leading-term test to determine the end behavior of the graph.
2. Find the $x-$intercept(s) of $f(x)$ by setting $f(x)=0$ and then solving for $x$.
3. Find the $y-$intercept of $f(x)$ by setting $y=f(0)$ and finding $y$.
4. Use the $x-$intercept(s) to divide the $x-$axis into intervals and then choose test points to determine the sign of $f(x)$ on each interval.
5. Plot the test points.
6. If necessary, find additional points to determine the general shape of the graph.

Example 5

Graph the polynomial function

$g(x)=2x^{3}+3x^{2}-50x-75$

Solution

Notice that the leading term is $2x^{3}$, where $n=3$ odd and $a_{n}=2>0$. This tells us that the end behavior will take the shape of item 3 in Box 2. Next we find the $x-$ and $y-$intercepts. Setting

$g(x) & = 0\\2x^3 + 3x^2 -50x - 75 & = 0$

We can factor this polynomial by grouping,

$(2x+3)(x^{2})-(2x+3)(25) & = 0\\(2x+3)(x^2-25) & = 0\\(x+5)(x-5)(2x+3) & = 0$

The zeros are -5, 5, and $\frac{-3}{2}$. And they divide the $x-$axis into four intervals:

$(-\infty, -5) \qquad \left ( -5, \frac{-3}{2} \right ) \qquad \left ( \frac{-3}{2}, 5 \right ) \qquad (5, \infty)$

The $y-$intercept is when $y=g(0)$. Thus the graph intercepts the $y-$axis at $y=-75$.

Now we choose test points from each interval and find $g(x)$.

Interval Test value $x$ Value of $g(x)$ and its sign Location of points on graph
$(-\infty, -5)$ -6 -99 below the $x-$axis
$\left ( -5, \frac{-3}{2} \right )$ -2 21 above the $x-$axis
$\left ( \frac{-3}{2}, 5 \right )$ 0 -75 below the $x-$axis
$(5, \infty)$ 6 165 above the $x-$axis

From the information obtained, we can roughly sketch the graph (below).

## Applications, Technological Tools

You can use the same tools on a graphing calculator to analyze polynomials that you used to analyze quadratics. In particular, you can use the $Y=$ menu to graph a polynomial, use WINDOW and ZOOM to set up the view, and then use the CALC menu to find MINIMUM, MAXIMUM, and ZEROs of the function.

Two additional tools that are helpful for analyzing graphs with TI-83/84 calculators are the TRACE and TABLE functions.

If you have graphed a function using $Y=$ and set the WINDOW settings properly to allow you to see the graph, then you can use TRACE to “read” pairs of $(x, y)$ coordinates on the graph.

((Insert screen shot of graph with the TRACE function turned on))

While this is useful, a drawback of the TRACE function is that when you use the arrow keys ( < and > ) to “trace” along the function values you cannot easily control the amount by which the $x-$coordinate changes each time you press the arrow key. One solution to find a particular value of the function is to press TRACE and then enter a number on the keypad. For example the sequence TRACE 5 will show the coordinates of the selected function when $x=5$. (Note: this assumes that $x$ is between XMIN and XMAX. If this is not the case, you will get an error).

((Insert screen shot of function with TRACE 5. It should show $X=5$ in the lower left corner, and the corresponding $y-$value in the lower right))

A third way to analyze a function is to use the table. If you enter 2nd GRAPH then you see a table of function values.

((insert screen shot of table))

If you go to TABLSET (2ND WINDOW), you can set the interval on the table, or change the independent variable to ASK and then type in $x-$values directly in the table.

## Exercises

1. Sketch a graph of each power function using the properties of the power functions.
1. $f(x)=-3x^{4}$
2. $h(x)=\frac{1}{2}x^{5}$
3. $q(x)=4x^{8}$
2. Consider the polynomial $f(x)=x^{3}-7x^{2}+10x$.
1. Find the zeros ($x-$intercepts) of $f(x)$.
2. Make a table to show on what intervals $f(x)$ is positive, and on what intervals $f(x)$ is negative
3. Sketch a graph of $f(x)$
3. Without graphing the function, what is the maximum number of roots and turning points of $g(x)=\frac{2}{3}x^{5}-4x^{3}+7x-\pi$. Justify your answer
4. Without graphing the function, what can you say about the end behavior of $g(x)=\frac{2}{3}x^{5}-4x^{3}+7x-\pi$? What happens as $x\rightarrow\infty$? What happens as $x\rightarrow-\infty$?
5. Use a graphing calculator to approximate the zeros of $k(x)=-3x^{4}+18x^{2}-5x+3$
6. The graph of $r(x)$ is shown below Sketch each of the following transformations of $r(x)$.
1. $-r(x)$
2. $r(x-3)$
3. $r(-x)-1$
7. Which of the transformations of $r(x)$ in problem 6 have the same set of zeros as $r(x)$?

1. $\{0, 5, 2\}$
Interval ( $0 $2 $x>5$
Sign of $f(x)$ - + - +
1. The maximum number of roots of $g(x)$ is 5 because the degree of $g(x)$ is 5. The maximum number of turning points is 4.
2. The end behavior of $g(x)$ is the same as the end behavior of $x^{5}$. This is because the leading term of $g(x)$ is $\frac{2}{3}x^{5}$.
3. $\{-2.6052, 2.33885\}$
4. Only the transformation in part (a), $-r(x)$ leaves the zeros the same. The other transformations involve vertical or horizontal shifts which change the $x-$ and $y-$intercepts.

Feb 23, 2012

Jun 08, 2015