Graphs of Polynomial Functions
By the end of this section, you will be able to:
- Recognize characteristics of graphs of polynomial functions
- Use factoring to find zeros of polynomial functions
- Identify zeros and their multiplicities
- Determine end behavior
- Understand the relationship between degree and turning points
- Graph polynomial functions
- Use the Intermediate Value Theorem
The revenue in millions of dollars for a fictional cable company from 2006 through 2013 is shown below.
| 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
where represents the revenue in millions of dollars and represents the year, with 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. We have already explored the local behavior of quadratics, a special case of polynomials. In this section we will explore the local 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; recall that these types of graphs are called smooth curves. Polynomial functions also display graphs that have no breaks. Curves with no breaks are called continuous. The figures below show a graph that represents a polynomial function and a graph that represents a function that is not a polynomial.
Example. Which of the four graphs below represents a polynomial function?
Solution. The graphs of and are graphs of polynomial functions. They are smooth and continuous.
The graphs of and are graphs of functions that are not polynomials. The graph of function has a sharp corner. The graph of function is not continuous.
Q&A. Do all polynomial functions have as their domain all real numbers?
Yes. Any real number is a valid input for a polynomial function.
Using factoring to find zeros of polynomial functions
Recall that if is a polynomial function, the values of for which are called zeros of . 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 -intercepts because at the -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:
- The polynomial can be factored using known methods: greatest common factor and trinomial factoring.
- The polynomial is given in factored form.
- Technology is used to determine the intercepts.
How To: given a polynomial function , find the -intercepts by factoring.
- Set .
- If the polynomial function is not given in factored form:
- Factor out any common monomial factors.
- Factor any factorable binomials or trinomials.
- Set each factor equal to zero and solve to find the -intercepts.
Example. Find the -intercepts of .
Solution. We can attempt to factor this polynomial to find solutions for .
Set each factor equal to zero.
This gives us five -intercepts: , , , , and . We can see that this is an even function.
Example. Find the -intercepts of .
Solution. Find solutions for by factoring.
There are three -intercepts: , , and .
Example. Find the - and -intercepts of .
Solution. The -intercept can be found by evaluating .
So the -intercept is .
The -intercepts can be found by solving .
So the -intercepts are and .
Analysis. We can always check that our answers are reasonable by using a graphing calculator to graph the polynomial, shown below.
Example. Find the -intercepts of .
Solution. This polynomial is not in factored form, has no common factors, and does not appear to be factorable using techniques previously discussed. Fortunately, we can use technology to find the intercepts. Keep in mind that some values make graphing difficult by hand. In these cases, we can take advantage of graphing utilities.
Looking at the graph of this function, shown below, it appears that there are -intercepts at , , and .
We can check whether these are correct by substituting these values for and verifying that .
Each -intercept corresponds to a zero of the polynomial function and each zero yields a factor, so we can now write the polynomial in factored form.
Find the x-intercepts of. Enter all of them, separated by commas.
Factor out the greatest common factor first, then factor the remaining cubic by testing small integer values.Identifying zeros and their multiplicities
Graphs behave differently at various -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
Notice in the figure below that the behavior of the function at each of the -intercepts is different.
The -intercept is the solution of equation . The graph passes directly through the -intercept at . 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 -intercept is the repeated solution of equation . 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 intercept.
The factor is repeated, that is, the factor 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, , has multiplicity 2 because the factor occurs twice.
The -intercept is the repeated solution of factor . 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 . 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 -axis. For zeros with odd multiplicities, the graphs cross or intersect the -axis. The three figures below show examples of graphs of polynomial functions with multiplicity 1, 2, and 3.
Single zero.
Zero with multiplicity 2.
Zero with multiplicity 3.
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 -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 -axis.
Graphical behavior of polynomials at -intercepts. If a polynomial contains a factor of the form , the behavior near the -intercept is determined by the power . We say that is a zero of multiplicity .
The graph of a polynomial function will touch the -axis at zeros with even multiplicities. The graph will cross the -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 , identify the zeros and their multiplicities.
- If the graph crosses the -axis and appears almost linear at the intercept, it is a single zero.
- If the graph touches the -axis and bounces off of the axis, it is a zero with even multiplicity.
- If the graph crosses the -axis at a zero, it is a zero with odd multiplicity.
- The sum of the multiplicities is .
Example. Use the graph of the degree-6 function below to identify its zeros and their possible multiplicities.
Solution. The polynomial function is of degree . The sum of the multiplicities must be .
Starting from the left, the first zero occurs at . The graph touches the -axis, so the multiplicity of the zero must be even. The zero of has multiplicity 2.
The next zero occurs at . The graph looks almost linear at this point. This is a single zero of multiplicity 1.
The last zero occurs at . The graph crosses the -axis, so the multiplicity of the zero must be odd. We know that the multiplicity is likely 3 and that the sum of the multiplicities is likely 6.
The graph below shows a degree-7 polynomial function. What are its zeros and their multiplicities?
A crossing zero that flattens out has odd multiplicity of at least 3; a zero where the graph only touches the axis has even multiplicity.Determining end behavior
As we have already learned, the behavior of a graph of a polynomial function of the form
will either ultimately rise or fall as increases without bound and will either rise or fall as 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 very small inputs, say or .
Recall that we call this behavior the end behavior of a function. As we pointed out when discussing quadratic equations, when the leading term of a polynomial function, , is an even power function, as increases or decreases without bound, increases without bound. When the leading term is an odd power function, as decreases without bound, also decreases without bound; as increases without bound, also increases without bound. If the leading term is negative, it will change the direction of the end behavior. The four cases below summarize every combination.
Even degree, positive leading coefficient ().
End behavior: as , ; as , .
Odd degree, positive leading coefficient ().
End behavior: as , ; as , .
Even degree, negative leading coefficient ().
End behavior: as , ; as , .
Odd degree, negative leading coefficient ().
End behavior: as , ; as , .
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 decreasing to increasing (falling to rising). Look at the graph of the polynomial function below. The graph has three turning points.
This function 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.
Interpreting turning points. A turning point is a point of the graph where the graph changes from increasing to decreasing (rising to falling) or decreasing to increasing (falling to rising).
A polynomial of degree will have at most turning points.
Example. Find the maximum number of turning points of each polynomial function.
Solution.
- First, rewrite the polynomial function in descending order: . Identify the degree of the polynomial function. This polynomial function is of degree 5. The maximum number of turning points is .
- First, identify the leading term of the polynomial function if the function were expanded: . Then identify the degree of the polynomial function. This polynomial function is of degree 4. The maximum number of turning points is .
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.
- Find the intercepts.
- Check for symmetry. If the function is an even function, its graph is symmetrical about the -axis, that is, . If a function is an odd function, its graph is symmetrical about the origin, that is, .
- Use the multiplicities of the zeros to determine the behavior of the polynomial at the -intercepts.
- Determine the end behavior by examining the leading term.
- Use the end behavior and the behavior at the intercepts to sketch a graph.
- Ensure that the number of turning points does not exceed one less than the degree of the polynomial.
- Optionally, use technology to check the graph.
Example. Sketch a graph of .
Solution. This graph has two -intercepts. At , the factor is squared, indicating a multiplicity of 2. The graph will bounce at this -intercept. At , the function has a multiplicity of one, indicating the graph will cross through the axis at this intercept.
The -intercept is found by evaluating .
The -intercept is .
Additionally, we can see that the leading term, if this polynomial were multiplied out, would be , so the end behavior is that of a vertically reflected cubic, with the outputs decreasing as the inputs approach infinity, and the outputs increasing as the inputs approach negative infinity. The figure below shows only that end behavior, before the rest of the graph is filled in.
To sketch this, we consider that:
- As the function , so we know the graph starts in the second quadrant and is decreasing toward the -axis.
- Since is not equal to , the graph does not display symmetry.
- At , the graph bounces off of the -axis, so the function must start increasing. At , the graph crosses the -axis at the -intercept.
- Somewhere after this point, the graph must turn back down or start decreasing toward the horizontal axis because the graph passes through the next intercept at .
- As the function , so we know the graph continues to decrease, and we can stop drawing the graph in the fourth quadrant.
Using technology, we can create the complete graph for the polynomial function, shown below, and verify that the resulting graph looks like our sketch.
A Try It sketches. This function has three x-intercepts. Find them, separated by commas.
Set each factor equal to zero:,, and.Using the Intermediate Value Theorem
In some situations, we may know two points on a graph but not the zeros. If those two points are on opposite sides of the -axis, we can confirm that there is a zero between them. Consider a polynomial function whose graph is smooth and continuous. The Intermediate Value Theorem states that for two numbers and in the domain of , if and , then the function takes on every value between and .
We can apply this theorem to a special case that is useful in graphing polynomial functions. If a point on the graph of a continuous function at lies above the -axis and another point at lies below the -axis, there must exist a third point between and where the graph crosses the -axis. Call this point . This means that we are assured there is a solution where .
In other words, the Intermediate Value Theorem tells us that when a polynomial function changes from a negative value to a positive value, the function must cross the -axis. The figure below shows that there is a zero between and .
Example. Show that the function has at least two real zeros between and .
Solution. As a start, evaluate at the integer values , and . See the table below.
| 1 | 2 | 3 | 4 | |
|---|---|---|---|---|
| 5 | 0 | −3 | 2 |
We see that one zero occurs at . Also, since is negative and is positive, by the Intermediate Value Theorem, there must be at least one real zero between 3 and 4.
We have shown that there are at least two real zeros between and .
Analysis. We can also see on the graph of the function below that there are two real zeros between and .
Which pair of values confirms, by the Intermediate Value Theorem, that f(x)=7x^5-9x^4-x^2 has at least one real zero between x=1 and x=2?
Evaluate f(1) and f(2) and check whether the two values have opposite signs.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 -intercept where each factor is equal to zero, we can form a function that will pass through a set of -intercepts by introducing a corresponding set of factors.
Factored form of polynomials. If a polynomial of degree that can be factored into strictly linear factors has horizontal intercepts at , then the polynomial can be written in the factored form
where the powers on each factor can be determined by the behavior of the graph at the corresponding intercept, and the stretch factor can be determined given a value of the function other than the -intercept.
How To: given a graph of a polynomial function, write a formula for the function.
- Identify the -intercepts of the graph to find the factors of the polynomial.
- Examine the behavior of the graph at the -intercepts to determine the multiplicity of each factor.
- Find the polynomial of least degree containing all the factors found in the previous step.
- Use any other point on the graph (the -intercept may be easiest) to determine the stretch factor.
Example. Write a formula for the polynomial function shown below.
Solution. This graph has three -intercepts: , , and . The -intercept is located at . At and , the graph passes through the axis linearly, suggesting the corresponding factors of the polynomial will be linear. At , the graph bounces at the intercept, suggesting the corresponding factor of the polynomial will be second degree (quadratic). Together, this gives us
To determine the stretch factor, we utilize another point on the graph. We will use the -intercept , to solve for .
The graphed polynomial appears to represent the function .
Write a formula, in factored form, for the polynomial function shown in the figure above.
Use the graph’s behavior at each x-intercept for that factor’s power, then use the y-intercept (0, -4) to solve for the stretch factor a.Using local and global extrema
With quadratics, we were able to 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.
Local and global extrema. A local maximum or local minimum at (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 . If a function has a local maximum at , then for all in an open interval around . If a function has a local minimum at , then for all in an open interval around .
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 , then for all . If a function has a global minimum at , then for all .
We can see the difference between local and global extrema in the figure below.
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, has neither a global maximum nor a global minimum.
Example. 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.
Solution. We will start this problem by drawing a picture like the one below, labeling the width of the cut-out squares with a variable, .
Notice that after a square is cut out from each end, it leaves a cm by cm rectangle for the base of the box, and the box will be cm tall. This gives the volume
Notice, since the factors are , , and , the three zeros are 10, 7, and 0, respectively. Because a height of 0 cm is not reasonable, we consider only the zeros 10 and 7. The shortest side is 14 and we are cutting off two squares, so values may take on are greater than zero or less than 7. This means we will restrict the domain of this function to . Using technology to sketch the graph of on this reasonable domain, we get a graph like the one below. We can use this graph to estimate the maximum value for the volume, restricted to values for that are reasonable for this problem — values from 0 to 7.
From this graph, we turn our focus to only the portion on the reasonable domain, . We can estimate the maximum value to be around 340 cubic cm, which occurs when the squares are about 2.75 cm on each side. To improve this estimate, we could use advanced features of our technology, if available, or simply change our window to zoom in on our graph to produce the figure below.
From this zoomed-in view, we can refine our estimate for the maximum volume to about 339 cubic cm, when the squares measure approximately 2.7 cm on each side.
Using the figure, what are the approximate local minimum and local maximum values of f(x)=-0.2(x-2)^3(x+1)^2(x-4) on [-1,4]? Enter the local minimum value first, then the local maximum value, separated by a comma.
local minimum; local maximumRead the y-coordinates of the two labeled points on the graph.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 -intercepts of a polynomial function is to graph the function and identify the points at which the graph crosses the -axis.
- The multiplicity of a zero determines how the graph behaves at the -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 has at most 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 turning points.
- Graphing a polynomial function helps to estimate local and global extrema.
- The Intermediate Value Theorem tells us that if and have opposite signs, then there exists at least one value between and for which .
Key terms
global maximum — the highest turning point on a graph; where for all . global minimum — the lowest turning point on a graph; where for all . Intermediate Value Theorem — for two numbers and in the domain of , if and , then the function takes on every value between and ; specifically, when a polynomial function changes from a negative value to a positive value, the function must cross the -axis. 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 , is a zero of multiplicity .
Practice
Recognize characteristics of graphs of polynomial functions
For a polynomial function f, which statement correctly relates its x-intercepts to its zeros?
A zero is an input value where f(x)=0; think about what that means on the graph.What is the domain of f(x)=x^3+x^2-20x?
Every polynomial function accepts any real number as an input — there is never a division, root, or logarithm to restrict it.Use factoring to find zeros of polynomial functions
Find the zeros of C(t)=3(t+2)(t-3)(t+5). Enter all of them, separated by commas.
The function is already factored — set each factor equal to zero.Find the zeros of f(x)=x^3+x^2-4x-4. Enter all of them, separated by commas.
Factor by grouping: pullfrom the first two terms andfrom the last two, then factor the difference of squares that remains.Identify zeros and their multiplicities
What is the multiplicity of the zero x=-3/2 for f(x)=x^2(2x+3)^5(x-4)^2?
The multiplicity is the exponent on the factor that produces that zero.Which statement correctly describes the zeros of f(x)=x^2(x^2+4x+4)?
Factor the trinomial x^2+4x+4 as a perfect square before reading off the multiplicities.If the graph of a polynomial function touches the x-axis at a zero and then changes direction without crossing, what must be true of that zero’s multiplicity?
Touching and bouncing off the axis is the behavior of a repeated factor raised to an even power, like a quadratic.Determine end behavior
As x approaches infinity, what happens to g(x)=(x+4)(x-1)^2?
Multiply out just the leading term: the leading coefficient and the degree’s parity together determine the end behavior.As x approaches negative infinity, what happens to n(x)=-3x(x+2)(x-4)?
The leading term is -3x^3. Substitute a very negative value of x into just that term to see the sign of the result.Understand the relationship between degree and turning points
What is the maximum number of turning points on the graph of f(x)=x^5-5x^3+4x?
The maximum number of turning points is always one less than the polynomial’s degree.What is the maximum number of turning points on the graph of f(x)=2x^3-x^2-8x+4?
The maximum number of turning points is always one less than the polynomial’s degree.Graph polynomial functions
Write a formula, in factored form, for the degree-3 polynomial function with zeros at x=-2, x=1, and x=3, and y-intercept (0,-4).
Start from f(x)=a(x+2)(x-1)(x-3), then substitute x=0 and solve for the stretch factor a.Write a formula, in factored form, for the degree-3 polynomial function with zeros at x=-3, x=-2, and x=1, and y-intercept (0,12).
Start from f(x)=a(x+3)(x+2)(x-1), then substitute x=0 and solve for the stretch factor a.Write a formula, in factored form, for the degree-3 polynomial function shown in the figure above.
All three x-intercepts cross linearly, so each factor is linear; use the y-intercept to find the stretch factor.Use the Intermediate Value Theorem
Explain how the Intermediate Value Theorem can assist us in finding a zero of a function.
Think about what must happen to a continuous graph that starts below the x-axis and ends above it.Which pair of values confirms, by the Intermediate Value Theorem, that f(x)=x^3-9x has at least one real zero between x=2 and x=4?
Evaluate f(2) and f(4) and compare their signs.Which pair of values confirms, by the Intermediate Value Theorem, that f(x)=-x^4+4 has at least one real zero between x=1 and x=3?
Evaluate f(1) and f(3) and compare their signs.This section is adapted from Precalculus 2e, Section 3.4: Graphs of Polynomial Functions by Jay Abramson and OpenStax, © OpenStax, licensed under CC BY-NC-SA 4.0. Access the original for free at openstax.org. Changes: recreated every graph as an accessible inline SVG generated from its exact polynomial coefficients (expanded by hand from each factored form) — the smooth/discontinuous comparison pair, the four-panel “which graph is a polynomial” figure, , , , , , the single-zero/multiplicity-2/multiplicity-3 panels, a fitted degree-6 example with zeros (mult. 2), (mult. 1), (mult. 3), a fitted degree-7 Try-It with zeros (mult. 3), (mult. 2), (mult. 2), the four end-behavior corner-arc panels, with its turning points labeled, the end-behavior tails and complete graph of (condensing the source’s four-step progressive sketch to a start and an end state, narrated in between), a fitted monotonic cubic for the generic Intermediate Value Theorem illustration, with , , and labeled, , the Try-It graph for with its intercepts and -intercept labeled, a fitted degree-4 local/global extrema illustration, the corner-cutout box diagram, at full scale and zoomed near its maximum, and the labeled local extrema of ; presented the revenue table and the Intermediate Value Theorem sign-check table (Table 2) as Markdown tables; omitted the decorative “How To” and “Q&A” icon glyphs, which carry no mathematics; omitted the Media box linking to an external openstax.org resource; converted every retained “Try It” into an interactive component, adapting the two “sketch a graph” prompts into a check of the resulting x-intercepts (since freehand sketching is not gradable here), the graph-reading multiplicity prompt and both Intermediate Value Theorem “explain” prompts into multiple choice among paraphrased statements (a categorical judgment is never a fill-in number), and the “find the maximum and minimum values” prompt into a single ordered fill-in (minimum then maximum) since the source asks for both values from one graph; and adapted 16 selected end-of-section exercises — an x-intercept/zero vocabulary question, a domain question, two zero-finding-by-factoring problems, a multiplicity-reading problem, a zeros-and-multiplicities multiple choice, an even-multiplicity concept check, two end-behavior judgments, two maximum-turning-points computations, three “write the formula from the given information or graph” problems, an Intermediate-Value-Theorem explanation, and two sign-change confirmations — into 17 interactive components in a closing Practice block, one group per objective.