Learning

open
close

All blog posts

Explore the world of design and learn how to create visually stunning artwork.

Graphs of Polynomial Functions

June 22, 2024 | by Bloom Code Studio

Power Functions and Polynomial Functions

June 22, 2024 | by Bloom Code Studio

Quadratic Functions

June 22, 2024 | by Bloom Code Studio

Introduction to Polynomial and Rational Functions

June 22, 2024 | by Bloom Code Studio

Key Concepts

June 22, 2024 | by Bloom Code Studio

Fitting Linear Models to Datav

June 22, 2024 | by Bloom Code Studio

Modeling with Linear Functions

June 22, 2024 | by Bloom Code Studio

Linear Functions

June 22, 2024 | by Bloom Code Studio

Introduction to Linear Functions

June 22, 2024 | by Bloom Code Studio

Key Concepts

June 21, 2024 | by Bloom Code Studio

Learning Objectives

In this section, you will:

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

Year20062007200820092010201120122013
Revenues52.452.851.249.548.648.648.747.1
Tableย 1

The revenue can be modeled by the polynomial function

R(t)=โˆ’0.037t4+1.414t3โˆ’19.777t2+118.696tโˆ’205.332๐‘…(๐‘ก)=โˆ’0.037๐‘ก4+1.414๐‘ก3โˆ’19.777๐‘ก2+118.696๐‘กโˆ’205.332

where R๐‘… represents the revenue in millions of dollars and t๐‘ก represents the year, with t=6๐‘ก=6 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.ย Figure 1ย shows a graph that represents aย polynomial functionย and a graph that represents a function that is not a polynomial.

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

Figure 1

EXAMPLE 1

Recognizing Polynomial Functions

Which of the graphs inย Figure 2ย represents 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

Solution

The graphs of f๐‘“ and hโ„Ž are graphs of polynomial functions. They are smooth and continuous.

The graphs of g๐‘” and k๐‘˜ are graphs of functions that are not polynomials. The graph of function g๐‘” has a sharp corner. The graph of function k๐‘˜ 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 f๐‘“ is a polynomial function, the values of x๐‘ฅ for which f(x)=0๐‘“(๐‘ฅ)=0 are called zeros of f.๐‘“. 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 x-๐‘ฅ- intercepts because at the x-๐‘ฅ- 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:

  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.

HOW TO

Given a polynomial function f,๐‘“, find the x-intercepts by factoring.

  1. Setย f(x)=0.๐‘“(๐‘ฅ)=0.
  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ย x-๐‘ฅ-ย intercepts.

EXAMPLE 2

Finding the x-Intercepts of a Polynomial Function by Factoring

Find the x-intercepts of f(x)=x6โˆ’3×4+2×2.๐‘“(๐‘ฅ)=๐‘ฅ6โˆ’3๐‘ฅ4+2๐‘ฅ2.

Solution

We can attempt to factor this polynomial to find solutions for f(x)=0.๐‘“(๐‘ฅ)=0.

x6โˆ’3×4+2x2x2(x4โˆ’3×2+2)x2(x2โˆ’1)(x2โˆ’2)===000Factor out the greatestcommon factor.Factor the trinomial.Set each factor equal to zero.๐‘ฅ6โˆ’3๐‘ฅ4+2๐‘ฅ2=0Factor out the greatestcommon factor.๐‘ฅ2(๐‘ฅ4โˆ’3๐‘ฅ2+2)=0Factor the trinomial.๐‘ฅ2(๐‘ฅ2โˆ’1)(๐‘ฅ2โˆ’2)=0Set each factor equal to zero.

x2x==00or(x2โˆ’1)x2x===01ยฑ1or(x2โˆ’2)x2x===02ยฑ2โ€“โˆš(๐‘ฅ2โˆ’1)=0(๐‘ฅ2โˆ’2)=0๐‘ฅ2=0or๐‘ฅ2=1or๐‘ฅ2=2๐‘ฅ=0๐‘ฅ=ยฑ1๐‘ฅ=ยฑ2

This gives us fiveย x-intercepts:ย (0,0),(1,0),(โˆ’1,0),(2โ€“โˆš,0),(0,0),(1,0),(โˆ’1,0),(2,0),ย andย (โˆ’2โ€“โˆš,0).(โˆ’2,0).ย Seeย Figure 3. We can see that this is an even function because it is symmetric about theย y-axis.

Four graphs where the first graph is of an even-degree polynomial, the second graph is of an absolute function, the third graph is an odd-degree polynomial, and the fourth graph is a disjoint function.

Figure 3

EXAMPLE 3

Finding the x-Intercepts of a Polynomial Function by Factoring

Find the x-intercepts of f(x)=x3โˆ’5×2โˆ’x+5.๐‘“(๐‘ฅ)=๐‘ฅ3โˆ’5๐‘ฅ2โˆ’๐‘ฅ+5.

Solution

Find solutions for f(x)=0๐‘“(๐‘ฅ)=0 by factoring.

x3โˆ’5×2โˆ’x+5×2(xโˆ’5)โˆ’(xโˆ’5)(x2โˆ’1)(xโˆ’5)(x+1)(xโˆ’1)(xโˆ’5)====0000Factor by grouping.Factor out the common factor.Factor the difference of squares.Set each factor equal to zero.๐‘ฅ3โˆ’5๐‘ฅ2โˆ’๐‘ฅ+5=0Factor by grouping.๐‘ฅ2(๐‘ฅโˆ’5)โˆ’(๐‘ฅโˆ’5)=0Factor out the common factor.(๐‘ฅ2โˆ’1)(๐‘ฅโˆ’5)=0Factor the difference of squares.(๐‘ฅ+1)(๐‘ฅโˆ’1)(๐‘ฅโˆ’5)=0Set each factor equal to zero.

x+1x==0โˆ’1orxโˆ’1x==01orxโˆ’5x==05๐‘ฅ+1=0or๐‘ฅโˆ’1=0or๐‘ฅโˆ’5=0๐‘ฅ=โˆ’1๐‘ฅ=1๐‘ฅ=5

There are threeย x-intercepts:ย (โˆ’1,0),(1,0),(โˆ’1,0),(1,0),ย andย (5,0).(5,0).ย Seeย Figure 4.

Graph of f(x)=x^6-3x^4+2x^2 with its five intercepts, (-sqrt(2), 0), (-1, 0), (0, 0), (1, 0), and (sqrt(2), 0).

Figure 4

EXAMPLE 4

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

Find the y– and x-intercepts of g(x)=(xโˆ’2)2(2x+3).๐‘”(๐‘ฅ)=(๐‘ฅโˆ’2)2(2๐‘ฅ+3).

Solution

The y-intercept can be found by evaluating g(0).๐‘”(0).

g(0)==(0โˆ’2)2(2(0)+3)12๐‘”(0)=(0โˆ’2)2(2(0)+3)=12

So the y-intercept is (0,12).(0,12).

The x-intercepts can be found by solving g(x)=0.๐‘”(๐‘ฅ)=0.

(xโˆ’2)2(2x+3)=0(๐‘ฅโˆ’2)2(2๐‘ฅ+3)=0

(xโˆ’2)2xโˆ’2x===002or(2x+3)x==0โˆ’32(๐‘ฅโˆ’2)2=0(2๐‘ฅ+3)=0๐‘ฅโˆ’2=0or๐‘ฅ=โˆ’32๐‘ฅ=2

So the x-intercepts are (2,0)(2,0) and (โˆ’32,0).(โˆ’32,0).

Analysis

We can always check that our answers are reasonable by using a graphing calculator to graph the polynomial as shown inย Figure 5.

Graph of f(x)=x^3-5x^2-x+5 with its three intercepts (-1, 0), (1, 0), and (5, 0).

Figure 5

EXAMPLE 5

Finding the x-Intercepts of a Polynomial Function Using a Graph

Find the x-intercepts of h(x)=x3+4×2+xโˆ’6.โ„Ž(๐‘ฅ)=๐‘ฅ3+4๐‘ฅ2+๐‘ฅโˆ’6.

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, as shown inย Figure 6, it appears that there areย x-intercepts atย x=โˆ’3,โˆ’2,๐‘ฅ=โˆ’3,โˆ’2,ย andย 1.1.

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 6

We can check whether these are correct by substituting these values for x๐‘ฅ and verifying that

h(โˆ’3)=h(โˆ’2)=h(1)=0โ„Ž(โˆ’3)=โ„Ž(โˆ’2)=โ„Ž(1)=0

Since h(x)=x3+4×2+xโˆ’6,โ„Ž(๐‘ฅ)=๐‘ฅ3+4๐‘ฅ2+๐‘ฅโˆ’6, we have:

h(โˆ’3)h(โˆ’2)h(1)===(โˆ’3)3+4(โˆ’3)2+(โˆ’3)โˆ’6=โˆ’27+36โˆ’3โˆ’6=0(โˆ’2)3+4(โˆ’2)2+(โˆ’2)โˆ’6=โˆ’8+16โˆ’2โˆ’6=0(1)3+4(1)2+(1)โˆ’6=1+4+1โˆ’6=0โ„Ž(โˆ’3)=(โˆ’3)3+4(โˆ’3)2+(โˆ’3)โˆ’6=โˆ’27+36โˆ’3โˆ’6=0โ„Ž(โˆ’2)=(โˆ’2)3+4(โˆ’2)2+(โˆ’2)โˆ’6=โˆ’8+16โˆ’2โˆ’6=0โ„Ž(1)=(1)3+4(1)2+(1)โˆ’6=1+4+1โˆ’6=0

Each x-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.

h(x)==x3+4×2+xโˆ’6(x+3)(x+2)(xโˆ’1)โ„Ž(๐‘ฅ)=๐‘ฅ3+4๐‘ฅ2+๐‘ฅโˆ’6=(๐‘ฅ+3)(๐‘ฅ+2)(๐‘ฅโˆ’1)

TRY IT #1

Find the y– and x-intercepts of the function f(x)=x4โˆ’19×2+30x.๐‘“(๐‘ฅ)=๐‘ฅ4โˆ’19๐‘ฅ2+30๐‘ฅ.

Identifying Zeros and Their Multiplicities

Graphs behave differently at various x-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 shown.

f(x)=(x+3)(xโˆ’2)2(x+1)3๐‘“(๐‘ฅ)=(๐‘ฅ+3)(๐‘ฅโˆ’2)2(๐‘ฅ+1)3

Notice in Figure 7 that the behavior of the function at each of the x-intercepts is different.

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

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

The x-intercept x=โˆ’3๐‘ฅ=โˆ’3 is the solution of equation (x+3)=0.(๐‘ฅ+3)=0. The graph passes directly through the x-intercept at x=โˆ’3.๐‘ฅ=โˆ’3. 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 x-intercept x=2๐‘ฅ=2 is the repeated solution of equation (xโˆ’2)2=0.(๐‘ฅโˆ’2)2=0. 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.

(xโˆ’2)2=(xโˆ’2)(xโˆ’2)(๐‘ฅโˆ’2)2=(๐‘ฅโˆ’2)(๐‘ฅโˆ’2)

The factor is repeated, that is, the factor (xโˆ’2)(๐‘ฅโˆ’2) 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, x=2,๐‘ฅ=2, has multiplicity 2 because the factor (xโˆ’2)(๐‘ฅโˆ’2) occurs twice.

The x-intercept x=โˆ’1๐‘ฅ=โˆ’1 is the repeated solution of factor (x+1)3=0.(๐‘ฅ+1)3=0. 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 f(x)=x3.๐‘“(๐‘ฅ)=๐‘ฅ3. 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ย x-axis. For zeros with odd multiplicities, the graphsย crossย or intersect theย x-axis. Seeย Figure 8ย 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 8

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 x-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 x-axis.

GRAPHICAL BEHAVIOR OF POLYNOMIALS AT X-INTERCEPTS

If a polynomial contains a factor of the form (xโˆ’h)p,(๐‘ฅโˆ’โ„Ž)๐‘, the behavior near the x-๐‘ฅ- intercept hโ„Ž is determined by the power p.๐‘. We say that x=h๐‘ฅ=โ„Ž is a zero of multiplicity p.๐‘.

The graph of a polynomial function will touch the x-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 n,๐‘›, 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ย โ‰คn.โ‰ค๐‘›.

EXAMPLE 6

Identifying Zeros and Their Multiplicities

Use the graph of the function of degree 6 inย Figure 9ย 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 9

Solution

The polynomial function is of degree 6. The sum of the multiplicities must be 6.

Starting from the left, the first zero occurs at x=โˆ’3.๐‘ฅ=โˆ’3. The graph touches the x-axis, so the multiplicity of the zero must be even. The zero of โˆ’3โˆ’3 most likely has multiplicity 2.2.

The next zero occurs at x=โˆ’1.๐‘ฅ=โˆ’1. The graph looks almost linear at this point. This is a single zero of multiplicity 1.

The last zero occurs at x=4.๐‘ฅ=4. The graph crosses the x-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 6.

TRY IT #2

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

Graph of an even-degree polynomial with degree 6.

Figure 10

Determining End Behavior

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

f(x)=anxn+anโˆ’1xnโˆ’1+…+a1x+a0๐‘“(๐‘ฅ)=๐‘Ž๐‘›๐‘ฅ๐‘›+๐‘Ž๐‘›โˆ’1๐‘ฅ๐‘›โˆ’1+…+๐‘Ž1๐‘ฅ+๐‘Ž0

will either ultimately rise or fall as x๐‘ฅ increases without bound and will either rise or fall as x๐‘ฅ 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 โ€“100 or โ€“1,000.

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,ย anxn,๐‘Ž๐‘›๐‘ฅ๐‘›,ย is an even power function, asย x๐‘ฅย increases or decreases without bound,ย f(x)๐‘“(๐‘ฅ)ย increases without bound. When the leading term is an odd power function, asย x๐‘ฅย decreases without bound,ย f(x)๐‘“(๐‘ฅ)ย also decreases without bound; asย x๐‘ฅย increases without bound,ย f(x)๐‘“(๐‘ฅ)ย also increases without bound. If the leading term is negative, it will change the direction of the end behavior.ย Figure 11ย summarizes all four cases.

Graph of a polynomial function with degree 5.

Figure 11

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ย f(x)=x4โˆ’x3โˆ’4×2+4x๐‘“(๐‘ฅ)=๐‘ฅ4โˆ’๐‘ฅ3โˆ’4๐‘ฅ2+4๐‘ฅย inย Figure 12. 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.

Figure 12

This function f๐‘“ 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 n๐‘› will have at most nโˆ’1๐‘›โˆ’1 turning points.

EXAMPLE 7

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

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

  1. โ“ย f(x)=โˆ’x3+4×5โˆ’3×2+1๐‘“(๐‘ฅ)=โˆ’๐‘ฅ3+4๐‘ฅ5โˆ’3๐‘ฅ2+1
  2. โ“‘ย f(x)=โˆ’(xโˆ’1)2(1+2×2)๐‘“(๐‘ฅ)=โˆ’(๐‘ฅโˆ’1)2(1+2๐‘ฅ2)

Solution

  1. โ“First, rewrite the polynomial function in descending order:ย f(x)=4×5โˆ’x3โˆ’3×2+1๐‘“(๐‘ฅ)=4๐‘ฅ5โˆ’๐‘ฅ3โˆ’3๐‘ฅ2+1Identify the degree of the polynomial function. This polynomial function is of degree 5.The maximum number of turning points isย 5โˆ’1=4.5โˆ’1=4.
  2. โ“‘First, identify the leading term of the polynomial function if the function were expanded.Graph of f(x)=x^4-x^3-4x^2+4x which denotes where the function increases and decreases and its turning points.Then, identify the degree of the polynomial function. This polynomial function is of degree 4.The maximum number of turning points isย 4โˆ’1=3.4โˆ’1=3.

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ย y-๐‘ฆ-ย axis, that is,ย f(โˆ’x)=f(x).๐‘“(โˆ’๐‘ฅ)=๐‘“(๐‘ฅ).ย If a function is an odd function, its graph is symmetrical about the origin, that is,ย f(โˆ’x)=โˆ’f(x).๐‘“(โˆ’๐‘ฅ)=โˆ’๐‘“(๐‘ฅ).
  3. Use the multiplicities of the zeros to determine the behavior of the polynomial at theย x-๐‘ฅ-ย 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 f(x)=โˆ’2(x+3)2(xโˆ’5).๐‘“(๐‘ฅ)=โˆ’2(๐‘ฅ+3)2(๐‘ฅโˆ’5).

Solution

This graph has two x-intercepts. At x=โˆ’3,๐‘ฅ=โˆ’3, the factor is squared, indicating a multiplicity of 2. The graph will bounce at this x-intercept. At x=5,๐‘ฅ=5, the function has a multiplicity of one, indicating the graph will cross through the axis at this intercept.

The y-intercept is found by evaluating f(0).๐‘“(0).

f(0)===โˆ’2(0+3)2(0โˆ’5)โˆ’2โ‹…9โ‹…(โˆ’5)90๐‘“(0)=โˆ’2(0+3)2(0โˆ’5)=โˆ’2โ‹…9โ‹…(โˆ’5)=90

The y-intercept is (0,90).(0,90).

Additionally, we can see the leading term, if this polynomial were multiplied out, would beย โˆ’2×3,โˆ’2๐‘ฅ3,ย 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. Seeย Figure 13.

Showing the distribution for the leading term.

Figure 13

To sketch this, we consider that:

Graph of the end behavior and intercepts, (-3, 0) and (0, 90), for the function f(x)=-2(x+3)^2(x-5).

Figure 14

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ย (5,0).(5,0).ย Seeย Figure 15.

Graph of the end behavior and intercepts, (-3, 0), (0, 90) and (5, 0), for the function f(x)=-2(x+3)^2(x-5).

Figure 15

As xโ†’โˆž๐‘ฅโ†’โˆž the function f(x)โ†’โˆ’โˆž,๐‘“(๐‘ฅ)โ†’โˆ’โˆž, 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 graph for the polynomial function, shown inย Figure 16, and verify that the resulting graph looks like our sketch inย Figure 15.

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

Figure 16 The complete graph of the polynomial function f(x)=โˆ’2(x+3)2(xโˆ’5)๐‘“(๐‘ฅ)=โˆ’2(๐‘ฅ+3)2(๐‘ฅโˆ’5)

TRY IT #3

Sketch a graph of f(x)=14x(xโˆ’1)4(x+3)3.๐‘“(๐‘ฅ)=14๐‘ฅ(๐‘ฅโˆ’1)4(๐‘ฅ+3)3.

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 x-axis, we can confirm that there is a zero between them. Consider a polynomial function f๐‘“ whose graph is smooth and continuous. The Intermediate Value Theorem states that for two numbers a๐‘Ž and b๐‘ in the domain of f,๐‘“, if a<b๐‘Ž<๐‘ and f(a)โ‰ f(b),๐‘“(๐‘Ž)โ‰ ๐‘“(๐‘), then the function f๐‘“ takes on every value between f(a)๐‘“(๐‘Ž) and f(b).๐‘“(๐‘). (While the theorem is intuitive, the proof is actually quite complicated and requires higher mathematics.) 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 f๐‘“ at x=a๐‘ฅ=๐‘Ž lies above the x-๐‘ฅ- axis and another point at x=b๐‘ฅ=๐‘ lies below the x-๐‘ฅ- axis, there must exist a third point between x=a๐‘ฅ=๐‘Ž and x=b๐‘ฅ=๐‘ where the graph crosses the x-๐‘ฅ- axis. Call this point (c,f(c)).(๐‘,๐‘“(๐‘)). This means that we are assured there is a solution c๐‘ where f(c)=0.๐‘“(๐‘)=0.

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ย x-๐‘ฅ-ย axis.ย Figure 17ย shows that there is a zero betweenย a๐‘Žย andย b.๐‘.

Graph of an odd-degree polynomial function that shows a point f(a) thatโ€™s negative, f(b) thatโ€™s positive, and f(c) thatโ€™s 0.

Figure 17 Using the Intermediate Value Theorem to show there exists a zero.

INTERMEDIATE VALUE THEOREM

Let f๐‘“ be a polynomial function. The Intermediate Value Theorem states that if f(a)๐‘“(๐‘Ž) and f(b)๐‘“(๐‘) have opposite signs, then there exists at least one value c๐‘ between a๐‘Ž and b๐‘ for which f(c)=0.๐‘“(๐‘)=0.

EXAMPLE 9

Using the Intermediate Value Theorem

Show that the function f(x)=x3โˆ’5×2+3x+6๐‘“(๐‘ฅ)=๐‘ฅ3โˆ’5๐‘ฅ2+3๐‘ฅ+6 has at least two real zeros between x=1๐‘ฅ=1 and x=4.๐‘ฅ=4.

Solution

As a start, evaluateย f(x)๐‘“(๐‘ฅ)ย at the integer valuesย x=1,2,3,๐‘ฅ=1,2,3,ย andย 4.4.ย Seeย Table 2.

x๐‘ฅ1234
f(x)๐‘“(๐‘ฅ)50โ€“32
Tableย 2

We see that one zero occurs at x=2.๐‘ฅ=2. Also, since f(3)๐‘“(3) is negative and f(4)๐‘“(4) 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 x=1๐‘ฅ=1 and x=4.๐‘ฅ=4.

Analysis

We can also see on the graph of the function inย Figure 18ย that there are two real zeros betweenย x=1๐‘ฅ=1ย andย x=4.๐‘ฅ=4.

Graph of f(x)=x^3-5x^2+3x+6 and shows, by the Intermediate Value Theorem, that there exists two zeros since f(1)=5  and f(4)=2 are positive and f(3) = -3 is negative.

Figure 18

TRY IT #4

Show that the function f(x)=7×5โˆ’9×4โˆ’x2๐‘“(๐‘ฅ)=7๐‘ฅ5โˆ’9๐‘ฅ4โˆ’๐‘ฅ2 has at least one real zero between x=1๐‘ฅ=1 and x=2.๐‘ฅ=2.

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 x-intercept where each factor is equal to zero, we can form a function that will pass through a set of x-intercepts by introducing a corresponding set of factors.

FACTORED FORM OF POLYNOMIALS

If a polynomial of lowest degree p๐‘ has horizontal intercepts at x=x1,x2,โ€ฆ,xn,๐‘ฅ=๐‘ฅ1,๐‘ฅ2,โ€ฆ,๐‘ฅ๐‘›, then the polynomial can be written in the factored form: f(x)=a(xโˆ’x1)p1(xโˆ’x2)p2โ‹ฏ(xโˆ’xn)pn๐‘“(๐‘ฅ)=๐‘Ž(๐‘ฅโˆ’๐‘ฅ1)๐‘1(๐‘ฅโˆ’๐‘ฅ2)๐‘2โ‹ฏ(๐‘ฅโˆ’๐‘ฅ๐‘›)๐‘๐‘› where the powers pi๐‘๐‘– on each factor can be determined by the behavior of the graph at the corresponding intercept, and the stretch factor a๐‘Ž can be determined given a value of the function other than the 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 10

Writing a Formula for a Polynomial Function from the Graph

Write a formula for the polynomial function shown inย Figure 19.

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

Figure 19

Solution

This graph has three x-intercepts: x=โˆ’3,2,๐‘ฅ=โˆ’3,2, and 5.5. The y-intercept is located at (0,2).(0,2). At x=โˆ’3๐‘ฅ=โˆ’3 and x=5,๐‘ฅ=5, the graph passes through the axis linearly, suggesting the corresponding factors of the polynomial will be linear. At x=2,๐‘ฅ=2, the graph bounces at the intercept, suggesting the corresponding factor of the polynomial will be second degree (quadratic). Together, this gives us

f(x)=a(x+3)(xโˆ’2)2(xโˆ’5)๐‘“(๐‘ฅ)=๐‘Ž(๐‘ฅ+3)(๐‘ฅโˆ’2)2(๐‘ฅโˆ’5)

To determine the stretch factor, we utilize another point on the graph. We will use the y-๐‘ฆ- intercept (0,โ€“2),(0,โ€“2), to solve for a.๐‘Ž.

f(0)โˆ’2โˆ’2a====a(0+3)(0โˆ’2)2(0โˆ’5)a(0+3)(0โˆ’2)2(0โˆ’5)โˆ’60a130๐‘“(0)=๐‘Ž(0+3)(0โˆ’2)2(0โˆ’5)โˆ’2=๐‘Ž(0+3)(0โˆ’2)2(0โˆ’5)โˆ’2=โˆ’60๐‘Ž๐‘Ž=130

The graphed polynomial appears to represent the function f(x)=130(x+3)(xโˆ’2)2(xโˆ’5).๐‘“(๐‘ฅ)=130(๐‘ฅ+3)(๐‘ฅโˆ’2)2(๐‘ฅโˆ’5).

TRY IT #5

Given the graph shown inย Figure 20, 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 20

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 x=a๐‘ฅ=๐‘Ž (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 x=a.๐‘ฅ=๐‘Ž. If a function has a local maximum at a,๐‘Ž, then f(a)โ‰ฅf(x)๐‘“(๐‘Ž)โ‰ฅ๐‘“(๐‘ฅ) for all x๐‘ฅ in an open interval around x=a.๐‘ฅ=๐‘Ž. If a function has a local minimum at a,๐‘Ž, then f(a)โ‰คf(x)๐‘“(๐‘Ž)โ‰ค๐‘“(๐‘ฅ) for all x๐‘ฅ in an open interval around x=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 a,๐‘Ž, then f(a)โ‰ฅf(x)๐‘“(๐‘Ž)โ‰ฅ๐‘“(๐‘ฅ) for all x.๐‘ฅ. If a function has a global minimum at a,๐‘Ž, then f(a)โ‰คf(x)๐‘“(๐‘Ž)โ‰ค๐‘“(๐‘ฅ) for all x.๐‘ฅ.

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

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

Figure 21

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,ย f(x)=x๐‘“(๐‘ฅ)=๐‘ฅย has neither a global maximum nor a global minimum.

EXAMPLE 11

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 and 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 that inย Figure 22, labeling the width of the cut-out squares with a variable,ย w.๐‘ค.

Diagram of a rectangle with four squares at the corners.

Figure 22

Notice that after a square is cut out from each end, it leaves a (14โˆ’2w)(14โˆ’2๐‘ค) cm by (20โˆ’2w)(20โˆ’2๐‘ค) cm rectangle for the base of the box, and the box will be w๐‘ค cm tall. This gives the volume

V(w)==(20โˆ’2w)(14โˆ’2w)w280wโˆ’68w2+4w3๐‘‰(๐‘ค)=(20โˆ’2๐‘ค)(14โˆ’2๐‘ค)๐‘ค=280๐‘คโˆ’68๐‘ค2+4๐‘ค3

Notice, since the factors areย w,๐‘ค,ย 20โ€“2w20โ€“2๐‘คย andย 14โ€“2w,14โ€“2๐‘ค,ย the three zeros are 10, 7, and 0, respectively. Because a height of 0 cm is not reasonable, we consider the only the zeros 10 and 7. The shortest side is 14 and we are cutting off two squares, so valuesย w๐‘คย may take on are greater than zero or less than 7. This means we will restrict the domain of this function toย 0<w<7.0<๐‘ค<7.ย Using technology to sketch the graph ofย V(w)๐‘‰(๐‘ค)ย on this reasonable domain, we get a graph like that inย Figure 23. We can use this graph to estimate the maximum value for the volume, restricted to values forย w๐‘คย that are reasonable for this problemโ€”values from 0 to 7.

Graph of V(w)=(20-2w)(14-2w)w where the x-axis is labeled w and the y-axis is labeled V(w).

Figure 23

From this graph, we turn our focus to only the portion on the reasonable domain,ย [0,7].[0,7].ย 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ย Figure 24.

Graph of V(w)=(20-2w)(14-2w)w where the x-axis is labeled w and the y-axis is labeled V(w) on the domain [2.4, 3].

Figure 24

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.

TRY IT #6

Use technology to find the maximum and minimum values on the interval [โˆ’1,4][โˆ’1,4] of the function f(x)=โˆ’0.2(xโˆ’2)3(x+1)2(xโˆ’4).