## Writing Formulas for Polynomial Functions

### 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 $x={x}_{1},{x}_{2},\dots ,{x}_{n}$, then the polynomial can be written in the factored form: $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}}$ 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 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 of 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: 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.

## 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 = 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 = a. If a function has a local maximum at a, then $f\left(a\right)\ge f\left(x\right)$ for all x in an open interval around xa. If a function has a local minimum at a, then $f\left(a\right)\le f\left(x\right)$ for all x in an open interval around = 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 $f\left(a\right)\ge f\left(x\right)$ for all x. If a function has a global minimum at a, then $f\left(a\right)\le f\left(x\right)$ 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, $f\left(x\right)=x$ 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.

## Contribute!

Did you have an idea for improving this content? We’d love your input.