<meta http-equiv="refresh" content="1; url=/nojavascript/">
You are viewing an older version of this Concept. Go to the latest version.

# Transformations

%
Progress
Progress
%
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) \rightarrow f(x+3)$

2) $h(x) \rightarrow h(x)-5$

3) $g(x) \rightarrow -g(2x)$

4) $j(x) \rightarrow j \left ( -\frac{x}{2} \right )$

#### 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$  and gives a specific output. When you use letters like $f$$g$ , $h$ , or $j$ 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$ ), or the function itself. There are two ways to linearly transform the argument. You can multiply the  $x$ by a constant and/or add a constant to the $x$  as shown below:

$f(x) \rightarrow f(bx+c)$

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

$f(x) \rightarrow af(x)+d$

Each of the letters $a,b,c,$  and $d$  corresponds to a very specific change. Some of these changes are straightforward, while others may be the opposite of what you might expect.

• $a$  is a vertical stretch. If $a$ is negative, there is also a reflection across the  $x$ axis.
• $d$ is a vertical shift. If  $d$ is positive, then the shift is up. If  $d$ is negative, then the shift is down.

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

• $\frac{1}{b}$  is a horizontal stretch. If  $b$ is negative, there is also a reflection across the  $y$ axis.
• $c$ is a horizontal shift. If  $c$ is positive, then the shift is to the left. If  $c$ 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) \rightarrow f(3x-6)$

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$  value of every other point was also compressed by a factor of 3 towards the line $x = 0$ . 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(x-2))$

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) \rightarrow - \frac{1}{4}f(x)+3$

Solution: This is a vertical stretch by a factor of $\frac{1}{4}$ , a reflection over the $x$  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$  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)\rightarrow- 3f \left ( -\frac{1}{2}x-1 \right )+1$

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$ 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 \left ( -\frac{1}{2} x- 1 \right ) = f \left ( -\frac{1}{2}(x+2) \right )$

Factoring reveals a reflection across the  $y$ 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) $f(x) \rightarrow f(x+3)$

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

2) $h(x) \rightarrow h(x) -5$

This transformation shifts the entire graph down 5 units.

3) $g(x) \rightarrow -g(2x)$

This transformation is a vertical reflection across the  $x$ axis and a horizontal compression by a factor of 2.

4) $j(x) = j \left ( - \frac{x}{2} \right )$

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

#### 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:  $g(x) \rightarrow 2 g (-x)$

2. Describe the transformation that would change $h(x)$  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  $f(x)$ in the following ways:

• Horizontal stretch by a factor of 4 and a horizontal shift 3 units to the right.
• Vertical reflection across the  $x$ axis and a shift down 2 units.

1. Vertical stretch by a factor of 2 and a reflection across the $y$  axis.

2. $\frac{1}{3}h(x-5)-4$

3. $-f \left ( \frac{1}{4}(x -3)\right ) -2$ or $-f \left ( \frac{1}{4}x -\frac{3}{4}\right ) -2$

#### Practice

Describe the following transformations in words.

1. $g(x) \rightarrow -g(-x)$

2. $f(x) \rightarrow -f(x+3)$

3. $h(x) \rightarrow h(x+1)-2$

4. $j(x) \rightarrow j(-x+3)$

5. $k(x) \rightarrow - k(2x)$

6. $f(x) \rightarrow 4 f \left ( \frac{1}{2}x + 1 \right )$

7. $g(x) \rightarrow -3g(x-2)-2$

8. $h(x) \rightarrow 5h (x+1)$

9. Describe the transformation that would change $h(x)$  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 $f(x)$  in the following ways:

• Vertical reflection across the  $x$ axis.
• Vertical shift down 1 unit.
• Horizontal shift left 2 units.

11. Describe the transformation that would change $g(x)$  in the following ways:

• Vertical compression by a factor of 4.
• Reflection across the  $y$ axis.

12. Describe the transformation that would change $j(x)$  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 $k(x)$  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 $h(x)$  in the following ways:

• Vertical compression by a factor of 2.
• Horizontal shift right 3 units.
• Reflection across the  $y$ axis.

15. Describe the transformation that would change $f(x)$  in the following ways:

• Vertical stretch by a factor of 5.
• Reflection across the  $x$ 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.