
# 3.3: Graphs of Polynomial Functions

$$\newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$

$$\newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$

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 4$${}^{th}$$ 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 in the next section.

Example 1

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

Solution

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}{l} {x^{2} =0} \\ {x=0} \end{array}$$ or $$\begin{array}{l} {\left(x^{2} -1\right)=0} \\ {x^{2} =1} \\ {x=\pm 1} \end{array}$$ or $$\begin{array}{l} {\left(x^{2} -2\right)=0} \\ {x^{2} =2} \\ {x=\pm \sqrt{2} } \end{array}$$

This gives us 5 horizontal intercepts.

Example 2

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

Solution

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:

$$\begin{array}{l} {(t-2)^{2} =0} \\ {t-2=0} \\ {t=2} \end{array}$$ or $$\begin{array}{l} {(2t+3)=0} \\ {t=\dfrac{-3}{2} } \end{array}$$

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

Example 3

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

Solution

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

Exercise

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

Vertical intercept (0, 0). $$0=t^{4} -4t^{2}$$ factors as $$0=t^{2} \left(t^{2} -4\right)=t^{2} \left(t-2\right)\left(t+2\right)$$ Horizontal intercepts (0, 0), (-2, 0), (2, 0).

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

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.

graphical behavior of polynomials at horizontal intercepts

If a polynomial contains a factor of the form $$(x-h)^{p}$$, the behavior near the horizontal intercept $$h$$ is determined by the power on the factor.

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.

Example 4

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

Solution

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 2$${}^{nd}$$ 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 4$${}^{th}$$ quadrant.

Using technology we can verify the shape of the graph.

Exercise

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.

Vertical intercept (0, 0), Horizontal intercepts (-2, 0), (0, 0), (3, 0)

The function is negative on ($$-\infty$$, -2) and (0, 3)

The function is positive on (-2, 0) and (3,$$\infty$$)

The leading term is $$x^{3}$$so as$$x\to -\infty$$, $$g(x)\to -\infty$$and as$$x\to \infty$$, $$g(x)\to \infty$$

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

Example 5

Solve $$(x+3)(x+1)^{2} (x-4)>0$$

Solution

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 know the function can only change from positive to negative at these values, 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) > 0 or < 0?
$$x < -3$$ -4 72 > 0
$$-3 < x < -1$$ -2 -6 < 0
$$-1 < x < 4$$ 0 -12 < 0
$$x > 4$$ 5 288 > 0

On a number line this would look like:

From our test values, we can determine this function is positive when $$x < -3$$ or $$x > 4$$, or in interval notation, $$(-\infty ,-3)\bigcup (4,\infty )$$

We could have also determined on which intervals the function was positive by sketching a graph of the function. We illustrate that technique in the next example

Example 6

Find the domain of the function $$v(t)=\sqrt{6-5t-t^{2} }$$.

Solution

A square root is only defined when the quantity we are taking the square root of, the quantity inside the square root, is zero or greater. Thus, the domain of this function will be when $$6-5t-t^{2} \ge 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} \ge 0$$ for $$-6 \le t \le 1$$, and this will be the domain of the $$v(t)$$ function.

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

factored form of polynomials

If a polynomial has horizontal intercepts at $$x=x_{1} ,x_{2} , ... ,x_{n}$$, then the polynomial can be written in the factored form

$f(x)=a(x-x_{1} )^{p_{1} } (x-x_{2} )^{p_{2} } \cdots (x-x_{n} )^{p_{n} }$

where the powers $$p_i$$ 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 horizontal intercept.

Example 7

Write a formula for the polynomial function graphed here.

Solution

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$$:

$$\begin{array}{l} {-2=a(0+3)(0-2)^{2} (0-5)} \\ {-2=-60a} \\ {a=\dfrac{1}{30} } \end{array}$$

The graphed polynomial appears to represent the function

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

Exercise

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

Double zero at $$x= - 1$$, triple zero at $$x = 2$$. Single zero at $$x = 4$$. $$f(x) = a(x - 2)^{3} (x+1)^{2} (x-4)$$. Substituting (0,-4) and solving for $$a$$, $$f(x) = -\dfrac{1}{8} (x-2)^{3} (x+1)^{2} (x-4)$$

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

Example 8

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.

Solution

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.

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

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

Exercise

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)$$.

The minimum occurs at approximately the point (0, -6.5), and the maximum occurs at approximately the point (3.5, 7).

## 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