Learning Outcomes
- Write the equation of a polynomial function given its graph.
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.
A General Note: Factored Form of Polynomials
If a polynomial of lowest degree p has zeros at [latex]x={x}_{1},{x}_{2},\dots ,{x}_{n}[/latex], then the polynomial can be written in the factored form: [latex]f\left(x\right)=a{\left(x-{x}_{1}\right)}^{{p}_{1}}{\left(x-{x}_{2}\right)}^{{p}_{2}}\cdots {\left(x-{x}_{n}\right)}^{{p}_{n}}[/latex] where the powers [latex]{p}_{i}[/latex] on each factor can be determined by the behavior of the graph at the corresponding intercept, and the stretch factor 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
- Identify the x-intercepts of the graph to find the factors of the polynomial.
- Examine the behavior of the graph at the x-intercepts to determine the multiplicity of each factor.
- Find the polynomial of least degree containing all of the factors found in the previous step.
- Use any other point on the graph (the y-intercept may be easiest) to determine the stretch factor.
Example: Writing a Formula for a Polynomial Function from Its Graph
Write a formula for the polynomial function.
Try It
Given the graph below, write a formula for the function shown.
Try It
Use an online graphing calculator to help you write the equation of a degree 5 polynomial function with roots at [latex](-1,0),(0,2),\text{and },(0,3)[/latex] with multiplicities 3, 1, and 1 respectively, that passes through the point [latex](1,-32)[/latex].
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.
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 [latex]f\left(a\right)\ge f\left(x\right)[/latex] for all x in an open interval around x = a. If a function has a local minimum at a, then [latex]f\left(a\right)\le f\left(x\right)[/latex] for all x in an open interval around x = a.
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 [latex]f\left(a\right)\ge f\left(x\right)[/latex] for all x. If a function has a global minimum at a, then [latex]f\left(a\right)\le f\left(x\right)[/latex] for all x.
We can see the difference between local and global extrema 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, [latex]f\left(x\right)=x[/latex] has neither a global maximum nor a global minimum.
Example: Using Local Extrema to Solve Applications
An open-top box is to be constructed by cutting out squares from each corner of a 14 cm by 20 cm sheet of plastic then folding up the sides. Find the size of squares that should be cut out to maximize the volume enclosed by the box.
Try It
Use an online graphing tool to find the maximum and minimum values on the interval [latex]\left[-2,7\right][/latex] of the function [latex]f\left(x\right)=0.1{\left(x - \frac{5}{3}\right)}^{3}{\left(x+1\right)}^{2}\left(x - 7\right)[/latex].
Now change the value of the leading coefficient ([latex]a[/latex]) to see how it affects the end behavior and y-intercept of the graph.
[latex]f\left(x\right)=a{\left(x - \frac{5}{3}\right)}^{3}{\left(x+1\right)}^{2}\left(x - 7\right)[/latex].
Make sure to observe both positive and negative [latex]a[/latex]-values, and large and small [latex]a[/latex]-values.
Candela Citations
- Revision and Adaptation. Provided by: Lumen Learning. License: CC BY: Attribution
- Interactive: Zeros of a Polynomial. Authored by: Lumen Learning (With Desmos). License: CC BY: Attribution
- College Algebra. Authored by: Abramson, Jay et al.. Provided by: OpenStax. Located at: http://cnx.org/contents/9b08c294-057f-4201-9f48-5d6ad992740d@5.2. License: CC BY: Attribution. License Terms: Download for free at http://cnx.org/contents/9b08c294-057f-4201-9f48-5d6ad992740d@5.2
- Question ID 29478. Authored by: McClure, Caren. License: CC BY: Attribution. License Terms: IMathAS Community License CC-BY + GPL