5.2.1: Transformations of the Exponential Function––Vertical and Horizontal Shifts

Learning Outcomes

For the exponential function f(x)=rxf(x)=rx,

  • Perform vertical and horizontal shifts
  • Determine the equation of a transformed function
  • Determine the transformations of the exponential function f(x)=r(xh)+kf(x)=r(xh)+k

Vertical Shifts

If we shift the graph of the exponential function f(x)=2xf(x)=2x up 5 units, all of the points on the graph increase their yy-coordinates by 5, but their xx-coordinates remain the same. Therefore, the equation of the function f(x)=2xf(x)=2x after it has been shifted up 5 units transforms to f(x)=2x+5f(x)=2x+5. Table 1 shows the changes to specific values of this function, which are graphed in figure 1.

xx 2x2x 2x+52x+5
y=2^x+5

Figure 1. Shifting the graph of f(x)=2xf(x)=2x up 5 units.

-3 1818 418418
-2 1414 214214
-1 1212 112112
0 1 6
1 2 7
2 4 9
3 8 13
Table 1. f(x)=2xf(x)=2x is transformed to f(x)=2x+5f(x)=2x+5

If we shift the graph of the function f(x)=2xf(x)=2x down 3 units, all of the points on the graph decrease their yy-coordinates by 3, but their xx-coordinates remain the same. Therefore, the equation of the function f(x)=2xf(x)=2x after it has been shifted down 3 units transforms to f(x)=2x3f(x)=2x3. Table 2 shows the changes to specific values of this function, which are graphed in figure 2.

xx 2x2x 2x32x3
y=2^x-3

Figure 2. Shifting the graph of f(x)=2xf(x)=2x down 3 units.

-3 1818 238238
-2 1414 114114
-1 1212 5252
0 1 -2
1 2 -1
2 4 1
3 8 5
Table 2. f(x)=2xf(x)=2x is transformed to f(x)=2x3f(x)=2x3

These vertical shifts can be applied to any exponential function. Change the values of rr and kk in figure 3 by moving the green and red dots and note the changes that happen.

Figure 3. Manipulation of f(x)=rx+kf(x)=rx+k

Vertical shifts

A vertical shift of the graph of f(x)=rxf(x)=rx with r>0,r1r>0,r1, adds a constant, kk, resulting in the transformed function:

f(x)=rx+kf(x)=rx+k

 If k>0k>0, the graph shifts upwards by kk units and if k<0k<0 the graph shifts downwards by kk units.

TRY IT 1

Manipulate the values of rr and kk in figure 3 to answer the following questions:

1. What happens to the point (0, 1) on the graph of f(x)=2xf(x)=2x when k=5k=5?

2. What happens to the horizontal asymptote y=0y=0 of the function f(x)=2xf(x)=2x when k=5k=5?

3. What happens to the point (0, 1) on the graph of f(x)=3xf(x)=3x when k=2k=2?

4. What happens to the horizontal asymptote y=0y=0 of the function f(x)=3xf(x)=3x when k=2k=2?

5. What happens to every point on the graph of y=rxy=rx for r>0,r1r>0,r1 when k=4k=4?

6. What happens to the horizontal asymptote of the graph of y=rxy=rx for r>0,r1r>0,r1 when k=3k=3?

Try It 2

Determine the exponential function that comes from transforming the parent function f(x)=2xf(x)=2x:

1. 3 units up

2. 7 units down

Horizontal Shifts

If we shift the graph of the function f(x)=2xf(x)=2x right 4 units, all of the points on the graph increase their xx-coordinates by 4, but their yy-coordinates remain the same. The yy-intercept (0, 1) in the original graph moves to (4, 1) (figure 4). Any point (x,y)(x,y) on the original graph is moved to (x+4,y)(x+4,y).

But what happens to the original function f(x)=2xf(x)=2x? An automatic assumption may be that since xx moves to x+4x+4 that the function will become f(x)=2x+4f(x)=2x+4. But that is NOT the case. Remember that the yy-intercept is moved to (4, 1) and if we substitute x=4x=4 into the function f(x)=2x+4f(x)=2x+4 we get f(4)=2(4+4)=2561f(4)=2(4+4)=2561!! The way to get a function value of 1 is for the transformed function to be f(x)=2x4f(x)=2x4. Then f(4)=244=20=1f(4)=244=20=1. So the function f(x)=2xf(x)=2x transforms to f(x)=2x4f(x)=2x4 after being shifted 4 units to the right. The reason is that when we move the function 4 units to the right, the xx-value increases by 4 and to keep the corresponding yy-coordinate the same in the transformed function, the xx-coordinate of the transformed function needs to subtract 4 to get back to the original xx that is associated with the original yy-value. Table 3 shows the changes to specific values of this function, and the graph is shown in figure 4.

xx x4x4 2x42x4  

shifting right

Figure 4. Shift the graph right 4 units.

1 -3 1818
2 -2 1414
3 -1 1212
4 0 1
5 1 2
6 2 4
7 3 8
Table 3. Shifting the graph right by 4 units transforms f(x)=2xf(x)=2x into f(x)=2x4f(x)=2x4

On the other hand, if we shift the graph of the function f(x)=2xf(x)=2x left by 7 units, all of the points on the graph decrease their xx-coordinates by 7, but their yy-coordinates remain the same. So any point (x,y)(x,y) on the original graph moves to (x7,y)(x7,y). Consequently, to keep the same yy-values we need to increase the xx-value by 7 in the transformed function. The equation of the function after being shifted left 7 units is f(x)=2x+7f(x)=2x+7. Table 4 shows the changes to specific values of this function, and the graph is shown in figure 5.

xx x+7x+7 2x+72x+7  

shifting left

Figure 5. Shifting the graph left 7 units.

-10 -3 1818
-9 -2 1414
-8 -1 1212
-7 0 1
-6 1 2
-5 2 4
-4 3 8
Table 4. Shifting the graph left by 7 units transforms f(x)=2xf(x)=2x into f(x)=2x+7f(x)=2x+7

 

horizontal shifts

A horizontal shift of the graph of f(x)=rxf(x)=rx subtracts a constant, hh, from the variable xx resulting in the transformed function

f(x)=rxhf(x)=rxh

If h>0h>0 the graph shifts to the right and if h<0h<0 the graph shifts to the left.

Figure 6. Manipulation of f(x)=rxhf(x)=rxh

TRY IT 3

Manipulate the values of rr and hh in figure 6 to answer the following questions:

1. What happens to the point (0, 1) on the graph of f(x)=2xf(x)=2x when h=5h=5?

2. What happens to the horizontal asymptote y=0y=0 of the function f(x)=2xf(x)=2x when h=5h=5?

3. What happens to the point (0, 1) on the graph of f(x)=3xf(x)=3x when h=2h=2?

4. What happens to the horizontal asymptote y=0y=0 of the function f(x)=3xf(x)=3x when h=2h=2?

5. What happens to every point on the graph of y=rxy=rx for r>0,r1r>0,r1 when h=4h=4?

6. What happens to every point on the graph of y=rxy=rx for r>0,r1r>0,r1 when h=5h=5?

We can now combine vertical and horizontal transformations.

Horizontal and vertical shifts

The parent function f(x)=rxf(x)=rx, r>0,r1r>0,r1, transforms to f(x)=rxh+kf(x)=rxh+k when it is moved hh units horizontally and kk units vertically.

In figure 7, we can manipulate the values of rr, hh, and kk to determine what happens to the graph of f(x)=rxf(x)=rx.

Figure 7. Animation of f(x)=rxh+kf(x)=rxh+k

Try It 4

Use the animation in figure 7 to determine the following:

1. What happens to the point (0, 1) on the function f(x)=2xf(x)=2x when h=4 and k=5?

2. What happens to the point (1, 2) on the function f(x)=2x when h=4 and k=5?

3. What happens to any point (x,y) on the function f(x)=2x when h=4 and k=5?

4. What happens to the point (0, 1) on the function f(x)=3x when h=3 and k=2?

5. What happens to the point (1, 2) on the function f(x)=2x when h=3 and k=2?

6. What happens to any point (x,y) on the function f(x)=2x when h=3 and k=2?

7. What happens to any point (x,y) on the function f(x)=2x when it is shifted h units horizontally and k units vertically?

Example 1

Explain the transformations that need to happen to the function f(x)=3x to get the function f(x)=3x+57.

Solution

First we identify h and k in the function f(x)=3xh+k: h=5 since x+5=x(5). k=7.

The function f(x)=3x is shifted horizontal left by 5 units and vertically down by 7 units.

Try It 5

Explain the transformations that need to happen to the function f(x)=4x to get the function f(x)=4x72.

Example 2

Determine the transformed function after g(x)=2x is shifted right 4 units and up 3 units.

Solution

Shifting right 4 units means h=4. Shifting up 3 units means k=3.

So the transformed function is g(x)=2x4+3.

Try It 6

Determine the transformed function after g(x)=7x is shifted left 6 units and down 2 units.