4.2 Graphs of Polynomial Functions

Learning Objectives

In this section, you will:

  • Recognize characteristics of graphs of polynomial functions.
  • Use factoring to find zeros of polynomial functions.
  • Identify zeros and their multiplicities algebraically and graphically.
  • Determine end behavior.
  • Understand the relationship between degree and turning points.
  • Graph polynomial functions.
  • Determine the equation of a polynomial graph.

The revenue in millions of dollars for a fictional cable company from 2006 through 2013 is shown in Table 1.

Table 1
Year 2006 2007 2008 2009 2010 2011 2012 2013
Revenues 52.4 52.8 51.2 49.5 48.6 48.6 48.7 47.1

The revenue can be modeled by the polynomial function

[latex]R\left(t\right)=-0.037{t}^{4}+1.414{t}^{3}-19.777{t}^{2}+118.696t-205.332[/latex]
[latex]\\[/latex]

where [latex]R[/latex] represents the revenue in millions of dollars and [latex]t[/latex] represents the year, with [latex]t=6[/latex] corresponding to 2006. Over which intervals is the revenue for the company increasing? Over which intervals is the revenue for the company decreasing? These questions, along with many others, can be answered by examining the graph of the polynomial function. In this section we will explore the behavior of polynomials in general.

Recognizing Characteristics of Graphs of Polynomial Functions

Polynomial functions of degree 2 or more have graphs that do not have sharp corners. These types of graphs are called smooth curves. Polynomial functions also display graphs that have no breaks. Curves with no breaks are called continuous. Figure 1 shows a graph that represents a polynomial function on the left and a graph that represents a function that is not a polynomial on the right.

Graph of f(x)=x^3-0.01x.

Figure 1

Example 1:  Recognizing Polynomial Functions

Which of the graphs in Figure 2 and Figure 3 represent a polynomial function?

Two graphs in which one has a polynomial function and the other has a function closely resembling a polynomial but is not.

Figure 2

Two graphs in which one has a polynomial function and the other has a function closely resembling a polynomial but is not.

Figure 3

Q&A

Do all polynomial functions have all real numbers as their domain?

Yes. Any real number is a valid input for a polynomial function.

Using Factoring to Find Zeros of Polynomial Functions

Recall that if [latex]f[/latex] is a polynomial function, the values of [latex]x[/latex] for which [latex]f\left(x\right)=0[/latex] are called zeros of [latex]f.[/latex] If the equation of the polynomial function can be factored, we can set each factor equal to zero and solve for the zeros.

We can use this method to find [latex]x\text{-}[/latex]intercepts because at the [latex]x\text{-}[/latex]intercepts, we find the input values when the output value is zero. For general polynomials, this can be a challenging prospect. While quadratics can be solved using the relatively simple quadratic formula, the corresponding formulas for cubic and fourth-degree polynomials are not simple enough to remember, and formulas do not exist for general higher-degree polynomials. Consequently, we will limit ourselves to three cases in this section:

  1. The polynomial can be factored using known methods: greatest common factor and trinomial factoring.
  2. The polynomial is given in factored form.
  3. Technology is used to determine the intercepts.[latex]\\[/latex]

How To

Given a polynomial function [latex]f,[/latex] find the x-intercepts by factoring.

  1. Set [latex]f\left(x\right)=0.[/latex]
  2. If the polynomial function is not given in factored form:
    1. Factor out any common monomial factors.
    2. Factor any factorable binomials or trinomials.
  3. Set each factor equal to zero and solve to find the [latex]x\text{-}[/latex]intercepts.

Example 2:  Finding the x-Intercepts of a Polynomial Function by Factoring

Find the x-intercepts of [latex]f\left(x\right)={x}^{6}-3{x}^{4}+2{x}^{2}.[/latex]

Example 3:  Finding the x-Intercepts of a Polynomial Function by Factoring

Find the [latex]x\text{-}[/latex]intercepts of [latex]f\left(x\right)={x}^{3}-5{x}^{2}-x+5.[/latex]

Example 4:  Finding the y– and x-Intercepts of a Polynomial in Factored Form

Find the [latex]y\text{-}[/latex] and x-intercepts of [latex]g\left(x\right)={\left(x-2\right)}^{2}\left(2x+3\right).[/latex]

Example 5:  Finding the x-Intercepts of a Polynomial Function Using a Graph

Find the [latex]x\text{-}[/latex]intercepts of [latex]h\left(x\right)={x}^{3}+4{x}^{2}+x-6.[/latex]

The graph of this function, is in Figure 7.

Graph of g(x)=(x-2)^2(2x+3) with its two x-intercepts (2, 0) and (-3/2, 0) and its y-intercept (0, 12).

Figure 7

Try it #1

Find the [latex]y\text{-}[/latex] and x-intercepts of the function [latex]f\left(x\right)={x}^{4}-19{x}^{2}+30x.[/latex]

Identifying Zeros and Their Multiplicities

Graphs behave differently at various [latex]x\text{-}[/latex]intercepts. Sometimes, the graph will cross over the horizontal axis at an intercept. Other times, the graph will touch the horizontal axis and bounce off.

Suppose, for example, we graph the function  [latex]f\left(x\right)=\left(x+3\right){\left(x-2\right)}^{2}{\left(x+1\right)}^{3}.[/latex]

Notice in Figure 8 that the behavior of the function at each of the [latex]x\text{-}[/latex]intercepts is different.

Graph of h(x)=x^3+4x^2+x-6.

Figure 8 Identifying the behavior of the graph at an x-intercept by examining the multiplicity of the zero.

The [latex]x\text{-}[/latex]intercept [latex]-3[/latex] is the solution of equation [latex]\left(x+3\right)=0.[/latex] The graph passes directly through the [latex]x\text{-}[/latex]intercept at [latex]x=-3.[/latex] The factor is linear (has a degree of 1), so the behavior near the intercept is like that of a line—it passes directly through the intercept. We call this a single zero because the zero corresponds to a single factor of the function.

The [latex]x\text{-}[/latex]intercept at [latex]x=2[/latex] is the repeated solution of equation [latex]{\left(x-2\right)}^{2}=0.[/latex] The graph touches the axis at the intercept and changes direction. The factor is quadratic (degree 2), so the behavior near the intercept is like that of a quadratic—it bounces off of the horizontal axis at the [latex]x\text{-}[/latex]intercept.

[latex]{\left(x-2\right)}^{2}=\left(x-2\right)\left(x-2\right)[/latex]
[latex]\\[/latex]

The factor is repeated, that is, the factor [latex]\left(x-2\right)[/latex] appears twice. The number of times a given factor appears in the factored form of the equation of a polynomial is called the multiplicity. The zero associated with this factor, [latex]x=2,[/latex] has multiplicity 2 because the factor [latex]\left(x-2\right)[/latex] occurs twice.

The [latex]x\text{-}[/latex]intercept at [latex]x=-1[/latex] is the repeated solution of factor [latex]{\left(x+1\right)}^{3}=0.[/latex] The graph passes through the axis at the intercept, but flattens out a bit first. This factor is cubic (degree 3), so the behavior near the intercept is like that of a cubic—with the same S-shape near the intercept as the toolkit function [latex]f\left(x\right)={x}^{3}.[/latex] We call this a triple zero, or a zero with multiplicity 3.

For zeros with even multiplicities, the graphs touch or are tangent to the [latex]x\text{-}[/latex]axis. For zeros with odd multiplicities, the graphs cross or intersect the [latex]x\text{-}[/latex]axis. See Figure 9 for examples of graphs of polynomial functions with multiplicity 1, 2, and 3.

Graph of f(x)=(x+3)(x-2)^2(x+1)^3.

Figure 9

For higher even powers, such as 4, 6, and 8, the graph will still touch and bounce off of the horizontal axis but, for each increasing even power, the graph will appear flatter as it approaches and leaves the [latex]x\text{-}[/latex]axis.

For higher odd powers, such as 5, 7, and 9, the graph will still cross through the horizontal axis, but for each increasing odd power, the graph will appear flatter as it approaches and leaves the [latex]x\text{-}[/latex]axis.

Graphical Behavior of Polynomials at [latex]x\text{-}[/latex]Intercepts

If a polynomial contains a factor of the form [latex]{\left(x-h\right)}^{p},[/latex] the behavior near the [latex]x\text{-}[/latex]intercept [latex](h, 0)[/latex] is determined by the power [latex]p.[/latex] We say that [latex]x=h[/latex] is a zero of multiplicity [latex]p.[/latex]

The graph of a polynomial function will touch the [latex]x\text{-}[/latex]axis at zeros with even multiplicities. The graph will cross the x-axis at zeros with odd multiplicities.

The sum of the multiplicities is the degree of the polynomial function.

How To

Given a graph of a polynomial function of degree [latex]n,[/latex] identify the zeros and their multiplicities.

  1. If the graph crosses the x-axis and appears almost linear at the intercept, it is a single zero.
  2. If the graph touches the x-axis and bounces off of the axis, it is a zero with even multiplicity.
  3. If the graph crosses the x-axis at a zero, it is a zero with odd multiplicity.
  4. The sum of the multiplicities is [latex]n.[/latex]

Example 6:  Identifying Zeros and Their Multiplicities

Use the graph of the function of degree 6 in Figure 10 to identify the zeros of the function and their possible multiplicities.

Three graphs showing three different polynomial functions with multiplicity 1, 2, and 3.

Figure 10

Try it #2

Use the graph of the function of degree 9 in Figure 11 to identify the zeros of the function and their multiplicities.

Graph of an even-degree polynomial with degree 6.

Figure 11

Determining End Behavior

As we have already learned, the behavior of a graph of a polynomial function of the form

[latex]f\left(x\right)={a}_{n}{x}^{n}+{a}_{n-1}{x}^{n-1}+...+{a}_{1}x+{a}_{0}[/latex]
[latex]\\[/latex]

will either ultimately rise or fall as [latex]x[/latex] increases without bound and will either rise or fall as [latex]x[/latex] decreases without bound. This is because for very large inputs, say 100 or 1,000, the leading term dominates the size of the output. The same is true for more and more negative inputs, say –100 or –1,000.

Recall that we call this behavior the end behavior of a function. When the leading term of a polynomial function, [latex]{a}_{n}{x}^{n},[/latex] is an even power function with a positive leading coefficient, as [latex]x[/latex] increases or decreases without bound, [latex]f\left(x\right)[/latex] increases without bound. When the leading term is an odd power function with a positive leading coefficient, as [latex]x[/latex] decreases without bound, [latex]f\left(x\right)[/latex] also decreases without bound; as [latex]x[/latex] increases without bound, [latex]f\left(x\right)[/latex] also increases without bound. If the leading coefficient is negative, it will change the direction of the end behavior. Figure 12 summarizes all four cases.

Graph of a polynomial function with degree 5.

Figure 12

Understanding the Relationship between Degree and Turning Points

In addition to the end behavior, recall that we can analyze a polynomial function’s local behavior. It may have a turning point where the graph changes from increasing to decreasing (rising to falling or a local maximum) or decreasing to increasing (falling to rising or a local minimum). Look at the graph of the polynomial function [latex]f\left(x\right)={x}^{4}-{x}^{3}-4{x}^{2}+4x[/latex] in Figure 13. The graph has three turning points.

Graph of an odd-degree polynomial with a negative leading coefficient. Note that as x goes to positive infinity, f(x) goes to negative infinity, and as x goes to negative infinity, f(x) goes to positive infinity.

This function [latex]f[/latex] is a 4th degree polynomial function and has 3 turning points. The maximum number of turning points of a polynomial function is always one less than the degree of the function.

A polynomial of degree [latex]n[/latex] will have at most [latex]n-1[/latex] turning points.

Example 7:  Finding the Maximum Number of Turning Points Using the Degree of a Polynomial Function

Find the maximum possible number of turning points of each polynomial function.

  1. [latex]f\left(x\right)=-{x}^{3}+4{x}^{5}-3{x}^{2}+1[/latex]
  2. [latex]f\left(x\right)=-{\left(x-1\right)}^{2}\left(1+2{x}^{2}\right)[/latex]

Graphing Polynomial Functions

We can use what we have learned about multiplicities, end behavior, and turning points to sketch graphs of polynomial functions. Let us put this all together and look at the steps required to graph polynomial functions.

How To

Given a polynomial function, sketch the graph.

  1. Find the intercepts.
  2. Check for symmetry. If the function is an even function, its graph is symmetrical about the [latex]y\text{-}[/latex]axis, that is, [latex]f\left(-x\right)=f\left(x\right).[/latex] If a function is an odd function, its graph is symmetrical about the origin, that is, [latex]f\left(-x\right)=-f\left(x\right).[/latex]
  3. Use the multiplicities of the zeros to determine the behavior of the polynomial at the [latex]x\text{-}[/latex]intercepts.
  4. Determine the end behavior by examining the leading term.
  5. Use the end behavior and the behavior at the intercepts to sketch a graph.
  6. Ensure that the number of turning points does not exceed one less than the degree of the polynomial.
  7. Optionally, use technology to check the graph.

Example 8:  Sketching the Graph of a Polynomial Function

Sketch a graph of [latex]f\left(x\right)=-2{\left(x+3\right)}^{2}\left(x-5\right).[/latex]

Try it #3

Sketch a graph of [latex]f\left(x\right)=\frac{1}{4}x{\left(x-1\right)}^{4}{\left(x+3\right)}^{3}.[/latex]

Writing Formulas for Polynomial Functions

Now that we know how to find zeros of polynomial functions, we can use them to write formulas based on graphs. Because a polynomial function written in factored form will have an [latex]x\text{-}[/latex]intercept where each factor is equal to zero, we can form a function that will pass through a set of [latex]x\text{-}[/latex]intercepts by introducing a corresponding set of factors.

Factored Form of Polynomials

If a polynomial of lowest degree [latex]p[/latex] has horizontal intercepts at [latex]x={x}_{1},{x}_{2},\dots ,{x}_{n},[/latex] then the polynomial can be written in the factored form: [latex]f\left(x\right)=a{\left(x-{x}_{1}\right)}^{{p}_{1}}{\left(x-{x}_{2}\right)}^{{p}_{2}}\cdots {\left(x-{x}_{n}\right)}^{{p}_{n}}[/latex] where the powers [latex]{p}_{i}[/latex] on each factor can be determined by the behavior of the graph at the corresponding intercept, and the stretch factor [latex]a[/latex] can be determined given a value of the function other than an x-intercept.

How To

Given a graph of a polynomial function, write a formula for the function.

  1. Identify the x-intercepts of the graph to find the factors of the polynomial.
  2. Examine the behavior of the graph at the x-intercepts to determine the multiplicity of each factor.
  3. Find the polynomial of least degree containing all the factors found in the previous step.
  4. Use any other point on the graph (the y-intercept may be easiest) to determine the stretch factor.

Example 9:  Writing a Formula for a Polynomial Function from the Graph

Write a formula for the polynomial function shown in Figure 18.

Graph of a positive even-degree polynomial with zeros at x=-3, 2, 5 and y=-2.

Figure 18

Try it #4

Given the graph shown in Figure 19, write a formula for the function shown.

Graph of a negative even-degree polynomial with zeros at x=-1, 2, 4 and y=-4.

Figure 19

Using Local and Global Extrema

With quadratics, we algebraically find the maximum or minimum value of the function by finding the vertex. For general polynomials, finding these turning points is not possible without more advanced techniques from calculus. Even then, finding where extrema occur can still be algebraically challenging. For now, we will estimate the locations of turning points using technology to generate a graph.

Each turning point represents a local minimum or maximum. Sometimes, a turning point is the highest or lowest point on the entire graph. In these cases, we say that the turning point is a global maximum or a global minimum. These are also referred to as the absolute maximum and absolute minimum values of the function.

Definition

A local maximum or local minimum at [latex]x=a[/latex] (sometimes called the relative maximum or minimum, respectively) is the output at the highest or lowest point on the graph in an open interval around [latex]x=a.[/latex] If a function has a local maximum at [latex]a,[/latex] then [latex]f\left(a\right)\ge f\left(x\right)[/latex] for all [latex]x[/latex] in an open interval around [latex]x=a.[/latex] If a function has a local minimum at [latex]a,[/latex] then [latex]f\left(a\right)\le f\left(x\right)[/latex] for all [latex]x[/latex] in an open interval around [latex]x=a.[/latex]

A global maximum or global minimum is the output at the highest or lowest point of the function. If a function has a global maximum at [latex]a,[/latex] then [latex]f\left(a\right)\ge f\left(x\right)[/latex] for all [latex]x.[/latex] If a function has a global minimum at [latex]a,[/latex] then [latex]f\left(a\right)\le f\left(x\right)[/latex] for all [latex]x.[/latex]

We can see the difference between local and global extrema in Figure 20.

Graph of an even-degree polynomial that denotes the local maximum and minimum and the global maximum.

Figure 20

Q&A

Do all polynomial functions have a global minimum or maximum?

No. Only polynomial functions of even degree have a global minimum or maximum. For example, [latex]f\left(x\right)=x[/latex] has neither a global maximum nor a global minimum.

Example 10:  Using Local Extrema to Solve Applications

An open-top box is to be constructed by cutting out squares from each corner of a 14 cm by 20 cm sheet of plastic then folding up the sides. Find the size of squares that should be cut out to maximize the volume enclosed by the box.

Try it #5

Use technology to find the maximum and minimum values on the interval [latex]\left[-1,4\right][/latex] of the function [latex]f\left(x\right)=-0.2{\left(x-2\right)}^{3}{\left(x+1\right)}^{2}\left(x-4\right).[/latex]

Key Concepts

  • Polynomial functions of degree 2 or more are smooth, continuous functions.
  • To find the zeros of a polynomial function, if it can be factored, factor the function and set each factor equal to zero.
  • Another way to find the [latex]x\text{-}[/latex]intercepts of a polynomial function is to graph the function and identify the points at which the graph crosses the [latex]x\text{-}[/latex]axis.
  • The multiplicity of a zero determines how the graph behaves at the [latex]x\text{-}[/latex]intercepts.
  • The graph of a polynomial will cross the horizontal axis at a zero with odd multiplicity.
  • The graph of a polynomial will touch the horizontal axis at a zero with even multiplicity.
  • The end behavior of a polynomial function depends on the leading term.
  • The graph of a polynomial function changes direction at its turning points.
  • A polynomial function of degree [latex]n[/latex] has at most [latex]n-1[/latex] turning points.
  • To graph polynomial functions, find the zeros and their multiplicities, determine the end behavior, and ensure that the final graph has at most [latex]n-1[/latex] turning points.
  • Graphing a polynomial function helps to estimate local and global extremas.

Glossary

global maximum
highest turning point on a graph; [latex]f\left(a\right)[/latex] where [latex]f\left(a\right)\ge f\left(x\right)[/latex] for all [latex]x.[/latex]
global minimum
lowest turning point on a graph; [latex]f\left(a\right)[/latex] where [latex]f\left(a\right)\le f\left(x\right)[/latex] for all [latex]x.[/latex]
multiplicity
the number of times a given factor appears in the factored form of the equation of a polynomial; if a polynomial contains a factor of the form [latex]{\left(x-h\right)}^{p},[/latex] [latex]x=h[/latex] is a zero of multiplicity [latex]p.[/latex]