Section 2.8 Polynomial Graphs

In the previous section, we explored the short run behavior of quadratics, a special case of polynomials. In this section, we will explore the short run behavior of polynomials in general.

Short run Behavior: Intercepts

As with any function, the vertical intercept can be found by evaluating the function at an input of zero. Since this is evaluation, it is relatively easy to do it for a polynomial of any degree.

To find horizontal intercepts, we need to solve for when the output will be 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 4th 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.

Other techniques for finding the intercepts of general polynomials will be explored later sections.

Find the horizontal intercepts of $f(x)=x^6-3x^4+2x^2$.

We can attempt to factor this polynomial to find solutions for $f(x)=0.$

$$x^6-3x^4+2x^2=0$$ Factoring out the greatest common factor

$$x^2(x^4−3x^2+2)=0$$ Factoring the inside as a quadratic in $x^2$

$$x^2(x^2−1)(x^2−2)=0$$ Then break apart to find solutions

$$\begin{array}{c} x^{2}=0 \\ x=0 \end{array}\ \ \text{ or }\ \ \begin{array}{c} x^{2} -1=0 \\ x^{2}=1 \\ x=\pm 1 \end{array}\ \ \ \text{ or }\ \ \ \begin{array}{c} x^{2} -2=0 \\ x^{2}=2 \\ x=\pm \sqrt{2} \end{array}$$

This gives us 5 horizontal intercepts.


Find the vertical and horizontal intercepts of $g(t)=(t−2)^2(2t+3)$

The vertical intercept can be found by evaluating $g(0).$

$$g(0)=(0−2)^2(2(0)+3)=12$$

The horizontal intercepts can be found by solving $g(t) = 0$.

$$(t−2)^2(2t+3)=0$$

Since this is already factored, we can break it apart using the ZPP:

$$\begin{array}{c} (t -2)^{2}=0 \\ t -2=0 \\ t=2 \end{array}\ \ \text{ or }\ \ \ \begin{array}{c} 2t + 3=0 \\ t=-\frac{3}{2} \end{array}$$

We can always check our answers are reasonable by graphing the polynomial.


Find the horizontal intercepts of $h(t)=t^3+4t^2+t-6$

Since this polynomial is not in factored form, has no common factors, and does not appear to be factorable using techniques we know, we can turn to technology to find the intercepts.

Graphing this function, it appears there are horizontal intercepts at $t = -3, -2$, and 1.

We could check these are correct by plugging in these values for t and verifying that $h(−3)=h(−2)=h(1)=0$.

A polynomial that increases, decreases, then increases, with apparent horizontal intercepts at negative 3 comma 0, negative 2 comma 0 and 1 comma 0

Find the vertical and horizontal intercepts of the function$f(t)=t^4-4t^2$.


Graphical Behavior at Intercepts

If we graph the function $f(x)=(x+3)(x−2)^2(x+1)^3$, notice that the behavior at each of the horizontal intercepts is different.

At the horizontal intercept $x = -3$, coming from the $(x+3)$ factor of the polynomial, the graph passes directly through the horizontal intercept.

The factor $(x+3)$ is linear (has a power 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, since the zero corresponds to a single factor of the function.

A polynomial that decreases passing through negative 3 comma 0 down to about negative 2.5 comma negative 33 then increasing but flatting off at negative 1 comma 0 on the way up to about 0.9 comma 32, then decreasing to 2 comma 0, then increasing again.

At the horizontal intercept $x=2$, coming from the $(x−2)^2$ factor of the polynomial, 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 the horizontal axis at the intercept. Since $(x−2)^2=(x−2)(x−2)$, the factor is repeated twice, so we call this a double zero. We could also say the zero has multiplicity 2.

At the horizontal intercept $x=-1$, coming from the $(x+1)^3$ factor of the polynomial, 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” type shape near the intercept that the toolkit $x^3$ has. We call this a triple zero. We could also say the zero has multiplicity 3.

By utilizing these behaviors, we can sketch a reasonable graph of a factored polynomial function without needing technology.

Multiplicity

If a function $f$ is fully factored, and $(x−r)^m$ is one of those factors, then $x=r$ is a horizontal intercept with multiplicity $m$.


Graphical Behavior of Polynomials at Horizontal Intercepts

If a polynomial contains a factor of the form $(x−r)^p$, the behavior near the horizontal intercept r is determined by the power on the factor, that is, the multiplicity of the intercept.

$p=1$

A graph showing a horizontal axis, and a curve passing directly through the axis

Multiplicity 1

$p=2$

A graph showing a horizontal axis, and a curve decreasing down to the axis, touching the axis, then increasing away from the axis.

Multiplicity 2

$p=3$

A graph showing a horizontal axis, and a curve passing through the axis, but flattening as it passes through the axis.

Multiplicity 3

For higher even powers 4,6,8 etc.… the graph will still bounce off the horizontal axis but the graph will appear flatter with each increasing even power as it approaches and leaves the axis.

For higher odd powers, 5,7,9 etc… the graph will still pass through the horizontal axis but the graph will appear flatter with each increasing odd power as it approaches and leaves the axis.


Sketch a graph of $f(x)=-2(x+3)^2(x−5)$.

This graph has two horizontal intercepts. At $x = -3$, the factor is squared, indicating the graph will bounce at this horizontal intercept. At $x = 5$, the factor is not squared, indicating the graph will pass through the axis at this intercept.

Additionally, we can see the leading term, if this polynomial were multiplied out, would be $-2x^3$, so the long-run behavior is that of a vertically reflected cubic, with the outputs decreasing as the inputs get large positive, and the inputs increasing as the inputs get large negative.

To sketch this we consider the following:

As $x\to -\infty$ the function $f(x)\to\infty$ so we know the graph starts in the 2nd quadrant and is decreasing toward the horizontal axis.

At (-3, 0) the graph bounces off the horizontal axis and so the function must start increasing.

At (0, 90) the graph crosses the vertical axis at the vertical intercept.

Somewhere after this point, the graph must turn back down or start decreasing toward the horizontal axis since the graph passes through the next intercept at (5,0).

As $x\to\infty$ the function$f(x)\to -\infty$ so we know the graph continues to decrease and we can stop drawing the graph in the 4th quadrant.

Using technology we can verify the shape of the graph.

A graph that decreases down to negative 3 comma 0 then increases through 0 comma 90 and continues up to about 2.1 comma 150, then deceases passing through 5 comma 0

Given the function $g(x)=x^3-x^2-6x$ use the methods that we have learned so far to find the vertical & horizontal intercepts, determine where the function is negative and positive, describe the long run behavior and sketch the graph without technology.


Solving Polynomial Inequalities

One application of our ability to find intercepts and sketch a graph of polynomials is the ability to solve polynomial inequalities. It is a very common question to ask when a function will be positive and negative. We can solve polynomial inequalities by either utilizing the graph, or by using test values.

Solve $(x+3)(x+1)^2(x−4) \gt 0$

As with all inequalities, we start by solving the equality $(x+3)(x+1)^2(x−4)=0$, which has solutions at $x = -3, -1$, and 4.

We can sketch the function to help us determine where its height is greater than 0. We know that the function has the following intercepts and corresponding multiplicities:

$$\begin{array}{ccc} x=-3 & \text{multiplicity}\ 1 & \text{pass through} \\ x=-1 & \text{multiplicity}\ 2 & \text{bounce} \\ x=4 & \text{multiplicity}\ 1 & \text{pass through} \end{array}$$

This is a degree 4 polynomial with a positive leading coefficient, so as $x\to\infty, f(x)\to\infty$ and as $x\to-\infty, f(x)\to\infty$. Therefore, the graph looks something like this:

A graph with blue lines and numbers AI-generated content may be incorrect.

Therefore, the function is greater than 0 (has heights above the $x$-axis) when $x \lt -3 $ or when $x \gt 4$. In interval notation, that’s $(−\infty,−3) ∪ (4,\infty)$.

Alternatively, we know the function can only change from positive to negative at $x=-3, -1,$ and 4, so these divide the inputs into 4 intervals.

We could choose a test value in each interval and evaluate the function $f(x)=(x+3)(x+1)^2(x−4)$ at each test value to determine if the function is positive or negative in that interval

Interval Test x in interval f( test value) $\gt 0$ or $\lt0$ ?
$x \lt -3$ -4 72 $\gt 0$
$-3 \lt x \lt -1$ -2 -6 $\lt 0$
$-1 \lt x \lt 4$ 0 -12 $\lt 0$
$x \gt 4$ 5 288 $\gt 0$

On a number line this would look like:

Description: Description: Graphs

From our test values, we can determine this function is positive when $x\lt-3$ or $x\gt 4$, or in interval notation, $(−\infty,−3) \cup (4,\infty)$.


Solve $6-5t-t^2 \geq 0.$

We start by solving the equality $6-5t-t^2=0$. While we could use the quadratic formula, this equation factors nicely to $(6+t)(1−t)=0$, giving horizontal intercepts $t=1$ and $t=-6$.

Sketching a graph of this quadratic will allow us to determine when it is positive.

From the graph we can see this function is positive for inputs between the intercepts. So $6-5t-t^2 \geq 0$ for $-6 \leq t \leq 1$.

A downwards opening U-shaped parabola with horizontal intercepts at negative 6 comma 0 and 1 comma 0

Writing Equations using Intercepts

Since a polynomial function written in factored form will have a horizontal intercept where each factor is equal to zero, we can form a function that will pass through a set of horizontal intercepts by introducing a corresponding set of factors.

Writing an Equation for a Polynomial from Intercepts

If we know the horizontal intercepts and the behavior or multiplicity at those intercepts, we can write a polynomial of minimal degree with those intercepts.

  1. Determine the horizontal intercepts $x=x_1, x_2, …, x_k$

  2. Examine the behavior at each intercept to determine the corresponding multiplicity of each intercept, $p_1, p_2, …, p_k$

  3. Write the polynomial in factored form $f(x)=a(x−x_1)^{p_1}(x−x_2)^{p_2}⋯(x−x_k)^{p_k}$

  4. Use another point on the graph to solve for the stretch factor a

Notice the degree of the polynomial will be the sum of the multiplicities $p_i$.


Write a formula for the polynomial function graphed here.

A polynomial that decreases passing through negative 3 comma 0, then increases passing through 0 comma negative 2 up to 2 comma 0, then decreases to about 4 comma negative 1 then increases passing through 5 comma 0

This graph has three horizontal intercepts: $x=-3, 2$, and $5$. At $x=-3$ and $5$ the graph passes through the axis, suggesting the corresponding factors of the polynomial will be linear. At $x=2$ the graph bounces at the intercept, suggesting the corresponding factor of the polynomial will be 2^nd degree (quadratic).

Together, this gives us:

$$f(x)=a(x+3)(x−2)^2(x−5)$$

To determine the stretch factor, we can utilize another point on the graph. Here, the vertical intercept appears to be $(0,-2)$, so we can plug in those values to solve for a:

$$-2=a(0+3)(0-2)^{2}(0-5)$$ $$-2=-60a$$ $$a=\frac{1}{30}$$

The graphed polynomial appears to represent the function

$$f(x)=\frac{1}{30}(x+3)(x-2)^{2}(x -5).$$


Given the graph, write a formula for the function shown.

A polynomial that increases to negative 1 comma 0, decreases to 0 comma negative 4, increases up to 2 comma 0 leveling off at that intercept, the increases further before decreasing passing through 4 comma 0


Estimating 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.

An open-top box is to be constructed by cutting out squares from each corner of a 14cm by 20cm 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.

A large rectangle with squares in each corner. The sides of the squares are labeled w.

We will start this problem by drawing a picture, labeling the width of the cut-out squares with a variable, $w$.

Notice that after a square is cut out from each end, it leaves a $(14−2w)$ cm by $(120−2w)$ cm rectangle for the base of the box, and the box will be $w$ cm tall. This gives the volume:

$$V(w)=(14−2w)(20−2w)w=280w-68w^2+4w^3$$

Using technology to sketch a graph allows us to estimate the maximum value for the volume, restricted to reasonable values for w: values from 0 to 7.

A polynomial that increases passing through 0 comma 0 up to about 2.4 comma 340, then decreases passing through 7 comma 0, then increases passing through 10 comma 0

From this graph, we can estimate the maximum value is around 340, and occurs when the squares are about 2.85cm square. 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.

A zoomed graph with horizontal scale from 2.3 to 3 in steps of 0.1 and vertical scale from 331 to 340. A downwards opening U-shaped graph with maximum around 2.8 comma 339

From this zoomed-in view, we can refine our estimate for the max volume to about 339, when the squares are 2.8cm square.


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


Important Topics of this Section

Short Run Behavior

Intercepts (Horizontal & Vertical)

Methods to find Horizontal intercepts

Factoring Methods

Factored Forms

Technology

Graphical Behavior at intercepts

Single, Double and Triple zeros (or multiplicity 1, 2, and 3 behaviors)

Solving polynomial inequalities using test values & graphing techniques

Writing equations using intercepts

Estimating extrema

Section 2.8 Exercises

Conceptual Questions

  1. A fully-factored polynomial has factors including $(x-r)^2$ and $(x-s)^3.$ Describe how the graph will differ at the roots $x=r$ and $x=s.$
  2. Describe how to find the solution to $f(x)\geq 0$ using the graph of $f,$ a polynomial.
  3. True or false: A polynomial of degree 3 must have at least one root.
  4. True or false: A polynomial of degree 4 must have four roots.

Practice Problems

Find the C and t intercepts of each function.

  1. $C(t)=2(t−4)(t+1)(t−6)$

  2. $C(t)=3(t+2)(t−3)(t+5)$

  3. $C(t)=4t(t−2)^2(t+1)$

  4. $C(t)=2t(t−3)(t+1)^2$

  5. $C(t)=2t^4-8t^3+6t^2$

  6. $C(t)=4t^4+12t^3-40t^2$

  1. (a) C intercept at (0, 48)
    (b) $t$ intercepts at (4,0), (-1,0), (6,0)

  1. (a) C intercept at (0,0)
    (b) $t$ intercepts at (2,0), (-1,0), (0,0)

  1. $C(t) = 2t^{4}-8t^{3}+6t^{2} = 2t^{2}(t^{2}−4t+3) = 2t^{2}(t−1)(t−3)$.
    (a) C intercept at (0,0)
    (b) $t $intercepts at (0,0), (3,0) (1,0)



Use your calculator or other graphing technology to solve graphically for the zeros of the function.

  1. $f(x)=x^3-7x^2+4x+30$

  2. $g(x)=x^3-6x^2+x+28$

  1. Zeros: $x\approx -1.65,  x\approx 3.64,  x\approx 5$.


Find the end behavior of each function as $t\to\infty$ and $t\to-\infty$

  1. $h(t)=3(t−5)^3(t−3)^3(t−2)$

  2. $k(t)=2(t−3)^2(t+1)^3(t+2)$

  3. $p(t)=-2t(t−1)(3−t)^2$

  4. $q(t)=-4t(2−t)(t+1)^3$

  1. (a) as $t \to \infty, h(t) \to \infty.$
    (b) as $t \to -\infty, h(t) \to -\infty$

  1. (a) as $t \to \infty, p(t) \to -\infty$
    (b) as $t \to -\infty, p(t) \to -\infty$



Sketch a graph of each equation.

  1. $f(x)=(x+3)^2(x−2)$

  2. $g(x)=(x+4)(x−1)^2$

  3. $h(x)=(x−1)^3(x+3)^2$

  4. $k(x)=(x−3)^3(x−2)^2$

  5. $m(x)=-2x(x−1)(x+3)$

  6. $n(x)=-3x(x+2)(x−4)$

  1. The graph starts in the lower left, goes up to touch the x-axis at -3, turns around and goes down, then up through the x-axis at 2, and up and to the right.

  1. The graph starts in the lower left, goes up to touch the x-axis at -3, turns around and goes down, then up through the x-axis at 1 (flattening slightly), and up and to the right.

  1. The graph starts in the upper left, goes down through the x-axis at -3, up through the origin, and down through the x-axis at 1, and down and to the right.



Solve each inequality.

  1. $(x−3)(x−2)^2 \gt 0$

  2. $(x−5)(x+1)^2 \gt 0$

  3. $(x−1)(x+2)(x−3) \lt 0$

  4. $(x−4)(x+3)(x+6) \lt 0$

  5. $-42+19x- 2x^{2}\gt 0$

  6. $28-17x- 3x^{2}\leq 0$

  7. $4-5x + x^{2}\geq$

  8. $2+7x + 3x^{2}\lt 0$

  9. $(x-3)(x + 2)^{2}\gt 0$

  10. $(x-1)^{2}(x + 3)\leq 0$

  1. $(3, \infty)$

  1. $(−2, 1) ∪ (3, \infty)$

  1. $(\frac{7}{2},6)$

  1. $(−\infty, 1]∪[4, \infty)$

  1. $[3, \infty)$



Write an equation for a polynomial the given features.

  1. Degree 3. Zeros at x=-2, x=1, and x=3. Vertical intercept at (0,-4)

  2. Degree 3. Zeros at x=-5, x=-2, and x=1. Vertical intercept at (0, 6)

  3. Degree 5. Roots of multiplicity 2 at x=3 and x=1, and a root of multiplicity 1 at x=-3. Vertical intercept at (0, 9)

  4. Degree 4. Root of multiplicity 2 at x=4, and a roots of multiplicity 1 at x=1 and x=-2. Vertical intercept at (0,-3)

  5. Degree 5. Double zero at x=1, and triple zero at x=3. Passes through the point (2, 15)

  6. Degree 5. Single zero at x=-2 and x=3, and triple zero at x=1. Passes through the point (2, 4)

    1. $f(x) = - \frac{2}{3}(x + 2)(x - 1)(x - 3)$

    1. $f(x) = \frac{1}{3}(x - 3)^{2}(x - 1)^{2}(x + 3)$

    1. $f(x) = -15(x−1)^{2}(x−3)^{3}$


Write a formula for each polynomial function graphed.

  1. The graph starts in the lower left, goes through the x-axis at -2, through the y-axis at 3, through the x-axis at 1, through the x-axis at 3, before extending up and to the right.

  2. The graph starts in the upper right, goes through the x-axis at -3 and -1, through the y-axis at 2, through the x-axis at 3, before extending down and to the right.

  3. The graph starts in the upper left, touches the x-axis at -1, turns around and goes through the y-axis at 2, then through the x-axis at 2 and down and to the right.

  4. The graph starts in the lower left, touches the x-axis at -2, turns around and goes through the y-axis at -3, curves back up, through the x-axis at 3, and then goes up to the right.

  5. The graph starts in the lower left, goes through the x-axis at-3 and -2, through the y-axis at -2, through the x-axis at 2, through the x-axis at 4, before extending down and to the right.

  6. The graph starts in the lower left, goes through the x-axis at-4 and -2, through the y-axis at -3, through the x-axis at 1, through the x-axis at 3, before extending down and to the right.

  7. The graph starts in the upper left, goes through the x-axis at -4, and -2, through the y-axis at 3, touches the x-axis at 3 before turning around and extending up and to the right.

  8. The graph starts in the lower left, goes up to touch the x-axis at -3, turns around to go through the y-axis at -2, goes through the x-axis at 1 and 3, then extends down and to the right.

  9. The graph starts in the upper left, goes down to touch the x-axis at -2, turns around to go through the y-axis at 3, touches the x-axis at 3 before turning up and to the right.

  10. The graph starts in the upper left, goes down to touch the x-axis at -2, turns around to go through the y-axis at 4, touches the x-axis at 1 before turning up and to the right.

  11. The graph starts in the lower left, goes up through the x-axis at -3 and -2, through the y-axis at -1, up to slightly flatten and go through the x-axis at 1, then up and to the right.

  12. The graph starts in the upper right, goes down through the x-axis at -2 and -1, up through the y-axis at 4, down to flatten slightly and go through the x-axis at 4, then down and to the right.

  13. The graph starts in the upper left, goes down through the x-axis at -3, up through the x-axis at -1 and the y-axis at 3, down to touch the x-axis at 2, turns around and goes back through the x-axis at 4 and down and to the right.

  14. The graph starts in the upper left, goes through the x-axis at -4 and -2, through the y-axis at 3, through the x-axis at 1, then touches the x-axis at 4, before turning around and going down to the right.

  1. $f(x) = \frac{1}{2}(x + 2)(x - 1)(x - 3)$.

  1. $f(x) = -(x+1)^{2}(x−2)$

  1. $f(x) = - \frac{1}{24}(x + 3)(x + 2)(x - 2)(x - 4)$

  1. $f(x) = \frac{1}{24}(x + 4)(x + 2)(x - 3)^{2}$

  1. $f(x) = \frac{3}{32}(x + 2)^{2}(x - 3)^{2}$

  1. $f(x) = \frac{1}{6}(x + 3)(x + 2)(x - 1)^{3}$

  1. $f(x) = - \frac{1}{16}(x + 3)(x + 1)(x - 2)^{2}(x - 4)$



  1. A rectangle is inscribed with its base on the x axis and its upper corners on the parabola $y=5-x^2$. What are the dimensions of such a rectangle that has the greatest possible area?

    1. Base = 2.58, height = 3.34


  2. A rectangle is inscribed with its base on the x axis and its upper corners on the curve $y=16-x^4$. What are the dimensions of such a rectangle that has the greatest possible area?