<img src="https://d5nxst8fruw4z.cloudfront.net/atrk.gif?account=iA1Pi1a8Dy00ym" style="display:none" height="1" width="1" alt="" />

# Transformations

## Change in graph by adding, subtracting, or multiplying its equation by a constant.

0%
Progress
Practice Transformations
Progress
0%
Graphical Transformations

The basic functions are powerful, but they are extremely limited until you can change them to match any given situation. Transformation means that you can change the equation of a basic function by adding, subtracting, and/or multiplying by constants and thus cause a corresponding change in the graph. What are the effects of the following transformations?

1) f(x)f(x+3)\begin{align*}f(x) \rightarrow f(x+3)\end{align*}

2) h(x)h(x)5\begin{align*}h(x) \rightarrow h(x)-5\end{align*}

3) g(x)g(2x)\begin{align*}g(x) \rightarrow -g(2x)\end{align*}

4) j(x)j(x2)\begin{align*}j(x) \rightarrow j \left ( -\frac{x}{2} \right )\end{align*}

#### Watch This

http://www.youtube.com/watch?v=CESXLJaq6Mk James Sousa: Function Transformations: Horizontal and Vertical Translations

http://www.youtube.com/watch?v=2S9LUinJ8-w James Sousa: Function Transformations: Horizontal and Vertical Stretch and Compression

#### Guidance

A function is a rule that takes any input x\begin{align*}x\end{align*} and gives a specific output. When you use letters like f\begin{align*}f\end{align*}g\begin{align*}g\end{align*}, h\begin{align*}h\end{align*}, or j\begin{align*}j\end{align*} to describe the rule, this is called function notation. In order to interpret what effect the algebraic change in the equation will have on the graph, it is important to be able to read those changes in general function notation and then apply them to specific cases.

When transforming a function, you can transform the argument (the part inside the parentheses with the x\begin{align*}x\end{align*}), or the function itself. There are two ways to linearly transform the argument. You can multiply the x\begin{align*}x\end{align*} by a constant and/or add a constant to the x\begin{align*}x\end{align*} as shown below:

f(x)f(bx+c)

The function itself can also be linearly transformed in the same ways:

f(x)af(x)+d

Each of the letters a,b,c,\begin{align*}a,b,c,\end{align*} and d\begin{align*}d\end{align*} corresponds to a very specific change. Some of these changes are straightforward, while others may be the opposite of what you might expect.

• a\begin{align*}a\end{align*} is a vertical stretch. If a\begin{align*}a\end{align*} is negative, there is also a reflection across the x\begin{align*}x\end{align*} axis.
• d\begin{align*}d\end{align*} is a vertical shift. If d\begin{align*}d\end{align*} is positive, then the shift is up. If d\begin{align*}d\end{align*} is negative, then the shift is down.

When transforming the argument of the function things are much trickier.

• 1b\begin{align*}\frac{1}{b}\end{align*} is a horizontal stretch. If b\begin{align*}b\end{align*} is negative, there is also a reflection across the y\begin{align*}y\end{align*} axis.
• c\begin{align*}c\end{align*} is a horizontal shift. If c\begin{align*}c\end{align*} is positive, then the shift is to the left. If c\begin{align*}c\end{align*} is negative, then the shift is to the right. Note that this is the opposite of what most people think at first.

The trickiest part with transforming the argument of a function is the order in which you carry out the transformations. See Example A.

Example A

Describe the following transformation in words and show an example with a picture: f(x)f(3x6)\begin{align*}f(x) \rightarrow f(3x-6)\end{align*}

Solution: Often it makes sense to apply the transformation to a specific function that is known and then describe the transformation that you see.

Clearly the graph is narrower and to the right, but in order to be specific you must look closer. First, note that the transformation is entirely within the argument of the function. This affects only the horizontal values. This means while the graph seems like it was stretched vertically, you must keep your perspective focused on a horizontal compression.

Look carefully at the vertex of the parabola. It has moved to the right two units. This is because first the entire graph was shifted entirely to the right 6 units. Then the function was horizontally compressed by a factor of 3 which means the point (6, 0) became (2, 0) and the x\begin{align*}x\end{align*} value of every other point was also compressed by a factor of 3 towards the line x=0\begin{align*}x = 0\end{align*}. This method is counter-intuitive because it requires reading the transformations backwards (the opposite of the way the order of operations tells you to).

Alternatively, the argument can be factored and each component of the transformation will present itself. This time the stretch occurs from the center of the transformed graph, not the origin. This method is ultimately the preferred method.

f(3(x2))\begin{align*}f(3(x-2))\end{align*}

Either way, this is a horizontal compression by a factor of 3 and a horizontal shift to the right by 2 units.

Example B

Describe the transformation in words and show an example with a picture: f(x)14f(x)+3\begin{align*}f(x) \rightarrow - \frac{1}{4}f(x)+3\end{align*}

Solution: This is a vertical stretch by a factor of 14\begin{align*}\frac{1}{4}\end{align*}, a reflection over the x\begin{align*}x\end{align*} axis, and a vertical shift 3 units up. As opposed to what you saw in Example A, the order of the transformations for anything outside of the argument is directly what the order of operations dictates.

First, the parabola is reflected over the x\begin{align*}x\end{align*} axis and compressed vertically so it appears wider. Then, every point is moved up 3 units.

Example C

Describe the transformation in words and show an example with a picture:

f(x)3f(12x1)+1\begin{align*}f(x)\rightarrow- 3f \left ( -\frac{1}{2}x-1 \right )+1\end{align*}

Solution: Every possible transformation is occurring in this example. The horizontal and the vertical components do not interact with each other and so your description of the transformation can begin with either component. Here, start by describing the vertical components of the transformation:

There is reflection across the x\begin{align*}x\end{align*} axis and a vertical stretch by a factor of 3. Then, there is a vertical shift up 1 unit. Below is an image of a non-specific function going through the vertical transformations.

In order to figure out the horizontal components of the transformation, start by factoring the inside of the parentheses (the argument):

f(12x1)=f(12(x+2))\begin{align*}f \left ( -\frac{1}{2} x- 1 \right ) = f \left ( -\frac{1}{2}(x+2) \right )\end{align*}

Factoring reveals a reflection across the \begin{align*}y\end{align*} axis, a horizontal shift left 2 units and a horizontal stretch by a factor of 2. Below is an image of the same function going through the horizontal transformations.

Concept Problem Revisited

1) \begin{align*}f(x) \rightarrow f(x+3)\end{align*}

This transformation shifts the entire graph left 3 units. A common misconception is to shift right because the three is positive.

2) \begin{align*}h(x) \rightarrow h(x) -5\end{align*}

This transformation shifts the entire graph down 5 units.

3) \begin{align*}g(x) \rightarrow -g(2x)\end{align*}

This transformation is a vertical reflection across the \begin{align*}x\end{align*} axis and a horizontal compression by a factor of 2.

4) \begin{align*}j(x) = j \left ( - \frac{x}{2} \right )\end{align*}

This transformation is a horizontal reflection across the \begin{align*}y\end{align*} axis and a horizontal stretch by a factor of 2. A common misconception is to see the \begin{align*}\frac{1}{2}\end{align*} and believe that the \begin{align*}x\end{align*} values will be half as big which is a horizontal compression.  However, the \begin{align*}x\end{align*} values need to be twice as big to counteract this factor of \begin{align*}\frac{1}{2}\end{align*}.

#### Vocabulary

Horizontal comes from the word horizon and means flat.

Vertical means up and down.

Shift is a rigid transformation that means the shape keeps the exact shape.

Stretch is a scaled transformation.

#### Guided Practice

1. Describe the following transformation in words: \begin{align*}g(x) \rightarrow 2 g (-x)\end{align*}

2. Describe the transformation that would change \begin{align*}h(x)\end{align*} in the following ways:

• Vertical compression by a factor of 3.
• Vertical shift down 4 units.
• Horizontal shift right 5 units.

3. Describe the transformation that would change \begin{align*}f(x)\end{align*} in the following ways:

• Horizontal stretch by a factor of 4 and a horizontal shift 3 units to the right.
• Vertical reflection across the \begin{align*}x\end{align*} axis and a shift down 2 units.

1. Vertical stretch by a factor of 2 and a reflection across the \begin{align*}y\end{align*} axis.

2. \begin{align*}\frac{1}{3}h(x-5)-4\end{align*}

3.\begin{align*}-f \left ( \frac{1}{4}(x -3)\right ) -2\end{align*} or \begin{align*}-f \left ( \frac{1}{4}x -\frac{3}{4}\right ) -2\end{align*}

#### Practice

Describe the following transformations in words.

1. \begin{align*}g(x) \rightarrow -g(-x)\end{align*}

2. \begin{align*}f(x) \rightarrow -f(x+3)\end{align*}

3. \begin{align*}h(x) \rightarrow h(x+1)-2\end{align*}

4. \begin{align*}j(x) \rightarrow j(-x+3)\end{align*}

5. \begin{align*}k(x) \rightarrow - k(2x)\end{align*}

6. \begin{align*}f(x) \rightarrow 4 f \left ( \frac{1}{2}x + 1 \right )\end{align*}

7. \begin{align*}g(x) \rightarrow -3g(x-2)-2\end{align*}

8. \begin{align*}h(x) \rightarrow 5h (x+1)\end{align*}

9. Describe the transformation that would change \begin{align*}h(x)\end{align*} in the following ways:

• Vertical stretch by a factor of 2
• Vertical shift up 3 units.
• Horizontal shift right 2 units.

10. Describe the transformation that would change \begin{align*}f(x)\end{align*} in the following ways:

• Vertical reflection across the \begin{align*}x\end{align*} axis.
• Vertical shift down 1 unit.
• Horizontal shift left 2 units.

11. Describe the transformation that would change \begin{align*}g(x)\end{align*} in the following ways:

• Vertical compression by a factor of 4.
• Reflection across the \begin{align*}y\end{align*} axis.

12. Describe the transformation that would change \begin{align*}j(x)\end{align*} in the following ways:

• Horizontal compression by a factor of 3.
• Vertical shift up 3 units.
• Horizontal shift right 2 units.

13. Describe the transformation that would change \begin{align*}k(x)\end{align*} in the following ways:

• Horizontal stretch by a factor of 4.
• Vertical shift up 3 units.
• Horizontal shift left 1 unit.

14. Describe the transformation that would change \begin{align*}h(x)\end{align*} in the following ways:

• Vertical compression by a factor of 2.
• Horizontal shift right 3 units.
• Reflection across the \begin{align*}y\end{align*} axis.

15. Describe the transformation that would change \begin{align*}f(x)\end{align*} in the following ways:

• Vertical stretch by a factor of 5.
• Reflection across the \begin{align*}x\end{align*} axis.

### Vocabulary Language: English

Function

Function

A function is a relation where there is only one output for every input. In other words, for every value of $x$, there is only one value for $y$.
horizontal

horizontal

Horizontal transformations occur parallel to the x-axis.
Reflection

Reflection

A reflection is a transformation that flips a figure on the coordinate plane across a given line without changing the shape or size of the figure.
shift

shift

A shift, also known as a translation or a slide, is a transformation applied to the graph of a function that does not change the shape or orientation of the graph, only the location of the graph.
stretch

stretch

A stretch or compression is a function transformation that makes a graph narrower or wider.
stretches

stretches

A stretch or compression is a function transformation that makes a graph narrower or wider.
Transformation

Transformation

A transformation moves a figure in some way on the coordinate plane.
Vertical

Vertical

Vertical transformations happen in the up/down directions.