Penny has been commissioned to paint a large mural on the side of the humane society. The society has a mascot, an African lion that the society supports by donating money to the local zoo for his care. Penny is expected to sketch the lion, submit the sketch to the board of the humane society for approval, and then scale up the drawing to 22 square feet so it will cover the side of the building.

Shortly after Penny actually begins the job of painting the mural, she is visited by the chairman of the board of the humane society. He tells Penny that the Fire Chief has just notified the society that the additional activity the mural is expected to attract means that the building will need another entrance/exit for fire safety. Unfortunately, that means that the mural will need to be moved up and to the right about 5 feet.

What kinds of transformations of complex lines (like the ones in this lesson) will Penny have used by the time she completes the job?

### Graphing Polynomials Using Transformations

#### Polynomial Functions

You have already studied many different kinds of functions, for example linear functions, constant functions, and quadratic functions. All three these functions belong to a larger group of functions called the **polynomial functions**.

The most simple polynomial is called a power function. A **power function** is a polynomial of the form \begin{align*}f(x)=ax^{n}\end{align*} where \begin{align*}a\end{align*} is a real number and \begin{align*}n\end{align*} is an integer with \begin{align*}n\ge1\end{align*}.

If \begin{align*}n\end{align*} is even, then the power function is also called “even,” and if \begin{align*}n\end{align*} is odd, then the power function is “odd.” The graphs of the first five power functions are shown below.

Notice that each power function has only one \begin{align*}x-\end{align*} and \begin{align*}y-\end{align*}intercept, the origin (0, 0).

The **end behavior** of a function describes the \begin{align*}y-\end{align*}values as \begin{align*}x\end{align*} gets very large (\begin{align*}x\rightarrow\infty\end{align*} in symbols) or as \begin{align*}x\end{align*} gets very small \begin{align*}(x\rightarrow-\infty)\end{align*}.

- For even powers \begin{align*}n\end{align*}, the power function \begin{align*}f(x)=ax^{n}\end{align*} is U-shaped (like a parabola) and as \begin{align*}x\rightarrow\infty, f(x)\rightarrow\infty\end{align*}. Likewise as \begin{align*}x\rightarrow-\infty, f(x)\rightarrow\infty\end{align*}.
- For odd powers \begin{align*}n\end{align*}, the power function goes from the third quadrant to the first quadrant (like the line \begin{align*}y=x\end{align*}). As \begin{align*}x\rightarrow\infty, f(x)\rightarrow\infty,\end{align*} and as \begin{align*}x\rightarrow-\infty, f(x)\rightarrow-\infty\end{align*}.

As with quadratics and polynomials, the leading coefficient \begin{align*}a\end{align*} changes the vertical “stretching” of power functions.

#### Graph Polynomial Functions Using Transformations

Just like quadratics, polynomial functions can be graphed using transformations of a known graph. The basic transformations are vertical and horizontal shifts and reflections about the \begin{align*}x-\end{align*} and \begin{align*}y-\end{align*}axis.

Given a polynomial \begin{align*}p(x)\end{align*} and constant real numbers \begin{align*}c\end{align*} and \begin{align*}a\end{align*}

- \begin{align*}p(x)+c\end{align*} is a
*vertical shift*of the graph of \begin{align*}p(x)\end{align*} by \begin{align*}c\end{align*} units*up*(so the function shifts down if \begin{align*}c<0\end{align*}). - \begin{align*}p(x-c)\end{align*} is a
*horizontal*shift of the graph of \begin{align*}p(x)\end{align*} by \begin{align*}c\end{align*} units to the*right*. (So the function shifts left if \begin{align*}c<0\end{align*}). - \begin{align*}-p(x)\end{align*} is a reflection of the graph of \begin{align*}p(x)\end{align*} about the \begin{align*}x-\end{align*}axis.
- \begin{align*}p(-x)\end{align*} is a reflection of the graph of \begin{align*}p(x)\end{align*} about the \begin{align*}y-\end{align*}axis.
- \begin{align*}ap(x)\end{align*} is a vertical stretch by a multiple of \begin{align*}a\end{align*}.
- \begin{align*}p(ax)\end{align*} is a horizontal compression by a multiple of \begin{align*}a\end{align*}.

### Examples

#### Example 1

Earlier, you were asked a question about the kinds of transformations of complex lines that Penny will have used in her sketch by the time she completes it.

When Penny first sketches the lion, she will be (probably unconsciously) applying a vertical and horizontal compression to the sketch, unless she is using a very large piece of paper!

Once the sketch is approved, Penny will then need to greatly stretch the image vertically and horizontally to make the image big enough to cover the side of the building.

After the Fire Chief visit, Penny was required to apply a horizontal and vertical shift to move the image out of the way of the new door.

#### Example 2

The graph of \begin{align*}f(x)\end{align*} is shown below. Use the graph of \begin{align*}f(x)\end{align*} to graph \begin{align*}f(x+4)\end{align*}.

This is a horizontal shift of \begin{align*}f(x)\end{align*} to the left by 4 units.

#### Example 3

The graph of \begin{align*}f(x)\end{align*} is shown below. Use the graph of \begin{align*}f(x)\end{align*} to graph \begin{align*}f(-x)+3\end{align*}.

This is a reflection of \begin{align*}f(x)\end{align*} about the \begin{align*}y-\end{align*}axis and a vertical shift up by 3 units.

#### Example 4

Describe the transformations to a graph of the function \begin{align*}y = x^2\end{align*} necessary to make a reasonable approximation of \begin{align*}f(x) = -x^4\end{align*}.

Since \begin{align*}f(x) = -x^4\end{align*} is an even function, the function \begin{align*}f(x) = -x^2\end{align*} is a reasonable approximation, requiring only a reflection of \begin{align*}y = x^2\end{align*} across the x-axis.

#### Example 5

Describe the transformations necessary to make a graph of the reference function \begin{align*}f(x) = x^3\end{align*} look like the graph of \begin{align*}y = -2x^3 +2\end{align*}.

The transformations required to replicate the function \begin{align*}y = -2x^3 +2\end{align*} are reflect \begin{align*}f(x) = x^3\end{align*} across the x-axis, stretch \begin{align*}f(x) = -x^3\end{align*} by 2, and shift \begin{align*}f(x) = -2x^3\end{align*} upward by 2.

#### Example 6

Describe the end behavior of \begin{align*}f(x) = -7x^3 + 6x^2 - 3x\end{align*} using the leading coefficient test.

According to the leading coefficient test, given \begin{align*}f(x) = ax^n\end{align*} where *a* is the leading coefficient and *n* is the degree, if *n* is odd and *a* is negative, the graph goes up on the left, and down on the right.

\begin{align*}\therefore f(x) = -7x^3 + 6x^2 - 3x\end{align*} grows without bound toward \begin{align*}\infty\end{align*} in Quadrant II and grows negatively without bound in Quadrant IV.

### Review

- Given: \begin{align*}P(x) = 7x^4 - 5x^3 + x^2 - 7x + 6\end{align*}

State:

- The leading term:
- The degree of the polynomial:
- The leading coefficient:

Describe the transformation given in each question below:

- Original Function: \begin{align*}g(x) = 3x^3\end{align*} Transformed Function: \begin{align*}f(x) = 3x^3 + 3\end{align*}
- Original Function: \begin{align*}g(x) = 2x^3 + 3\end{align*} Transformed Function: \begin{align*}f(x) = 2x^3 + 7\end{align*}
- Original Function: \begin{align*}g(x) = x^4 + 2\end{align*} Transformed Function: \begin{align*}f(x) = 3(x^4 + 2)\end{align*}
- Original Function: \begin{align*}g(x) = 5x^3\end{align*} Transformed Function: \begin{align*}f(x) =\frac{1}{2} (x^3)\end{align*}

Graph the following by using transformations of parent functions:

- \begin{align*}f(x) = 2x^5 - 4\end{align*}
- \begin{align*}f(x) = (x-4)^3 + 6\end{align*}
- The graph of \begin{align*}f(x) = -2x^4 + x^2\end{align*} is shown below.

Describe each transformation based on the images below:

- From: To:
- From: To:
- From: To:
- From: To:

### Review (Answers)

To see the Review answers, open this PDF file and look for section 2.3.