Graphing Transformations of Exponential Functions

Transformations of exponential graphs behave similarly to those of other functions. Just as with other parent functions, we can apply the four types of transformations – shifts, reflections, stretches, and compressions – to the parent function f(x)=b^x without loss of shape. For instance, just as the quadratic function maintains its parabolic shape when shifted, reflected, stretched, or compressed, the exponential function also maintains its general shape regardless of the transformations applied.


Graphing a Vertical Shift

The first transformation occurs when we add a constant d to the parent function f(x)=b^x, giving us a vertical shift d units in the same direction as the sign. For example, if we begin by graphing a parent function, f(x)=2^x, we can then graph two vertical shifts alongside it, using d=3: the upward shift, g(x)=2^x+3 and the downward shift, h(x)=2^x−3. Both vertical shifts are shown in Figure 5.

Graph of three functions, g(x) = 2^x+3 in blue with an asymptote at y=3, f(x) = 2^x in orange with an asymptote at y=0, and h

Figure 5

Observe the results of shifting f(x)=2^x vertically:

  • The domain, (− \infty, \infty) remains unchanged.
  • When the function is shifted up 3 units to g(x)=2^x+3:
    • The y-intercept shifts up 3 units to (0,4).
    • The asymptote shifts up 3 units to y=3.
    • The range becomes (3, \infty).
  • When the function is shifted down 3 units to h(x)=2^x−3:
    • The y-intercept shifts down 3 units to (0,−2).
    • The asymptote also shifts down 3 units to y=−3.
    • The range becomes (−3, \infty).


Graphing a Horizontal Shift

The next transformation occurs when we add a constant c to the input of the parent function f(x)=b^x, giving us a horizontal shift c units in the opposite direction of the sign. For example, if we begin by graphing the parent function f(x)=2^x, we can then graph two horizontal shifts alongside it, using c=3: the shift left, g(x)=2^{x+3}, and the shift right, h(x)=2^{x−3}. Both horizontal shifts are shown in Figure 6.

Graph of three functions, g(x) = 2^(x+3) in blue, f(x) = 2^x in orange, and h(x)=2^(x-3). Each functions’ asymptotes are at y

Figure 6

Observe the results of shifting f(x)=2^x horizontally:

  • The domain, (− \infty, \infty), remains unchanged.
  • The asymptote, y=0, remains unchanged.
  • The y-intercept shifts such that:
    • When the function is shifted left 3 units to g(x)=2^{x+3}, the y-intercept becomes (0,8). This is because 2^{x+3}=(8)2^x, so the initial value of the function is 8.
    • When the function is shifted right 3 units to h(x)=2^{x−3}, the y-intercept becomes (0,\frac{1}{8}). Again, see that 2^{x−3}=(\frac{1}{8})2^x, so the initial value of the function is \frac{1}{8}.

Shifts of the Parent Function F(X) = B^X

For any constants c and d, the function f(x)=b^{x+c}+d shifts the parent function f(x)=b^x

  • vertically d units, in the same direction of the sign of d.
  • horizontally c units, in the opposite direction of the sign of c.
  • The y-intercept becomes (0,b^c+d).
  • The horizontal asymptote becomes y=d.
  • The range becomes (d, \infty).
  • The domain, (−\infty, \infty), remains unchanged.

HOW TO

Given an exponential function with the form f(x)=b^{x+c}+d, graph the translation.
  1. Draw the horizontal asymptote y=d.

  2. Identify the shift as (−c,d). Shift the graph of f(x)=b^x left c units if c is positive, and right c units if c is negative.

  3. Shift the graph of f(x)=b^x up d units if d is positive, and down d units if d is negative.

  4. State the domain, (− \infty, \infty), the range, (d, \infty), and the horizontal asymptote y=d.

Example 2

Graphing a Shift of an Exponential Function

Graph f(x)=2^{x+1}−3. State the domain, range, and asymptote.

Solution

We have an exponential equation of the form f(x)=b^{x+c}+d, with b=2, c=1, and d=−3.

Draw the horizontal asymptote y=d, so draw y=−3.

Identify the shift as (−c,d), so the shift is (−1,−3).

Shift the graph of f(x)=b^x left 1 units and down 3 units.

Graph of the function, f(x) = 2^(x+1)-3, with an asymptote at y=-3. Labeled points in the graph are (-1, -2), (0, -1), and (1

Figure 7

The domain is (− \infty, \infty); the range is (−3, \infty); the horizontal asymptote is y=−3.

Try It #2

Graph f(x)=2^{x−1}+3. State domain, range, and asymptote.

Try It #3

Solve 4=7.85(1.15)^x−2.27 graphically. Round to the nearest thousandth.


Graphing a Stretch or Compression

While horizontal and vertical shifts involve adding constants to the input or to the function itself, a stretch or compression occurs when we multiply the parent function f(x)=b^{x} by a constant |a| > 0. For example, if we begin by graphing the parent function f(x)=2^{x}, we can then graph the stretch, using a=3, to get g(x)=3(2)^{x} as shown on the left in Figure 8 , and the compression, using a=\frac{1}{3}, to get h(x)=\frac{1}{3}(2)^{x} as shown on the right in Figure 8.

Two graphs where graph a is an example of vertical stretch and graph b is an example of vertical compression.

Figure 8 (a) g(x)=3(2)^x stretches the graph of f(x)=2^x vertically by a factor of 3. (b) h(x)= \frac{1}{3}(2)^x compresses the graph of f(x)=2^x vertically by a factor of \frac{1}{3}.

Stretches and Compressions of the Parent Function f(x)=b^x

For any factor a > 0, the function f(x)=a(b)^x

  • is stretched vertically by a factor of a if |a| > 1.
  • is compressed vertically by a factor of a if |a| < 1.
  • has a y-intercept of (0,a).
  • has a horizontal asymptote at y=0, a range of (0, \infty), and a domain of (−\infty, \infty), which are unchanged from the parent function.

Example 4

Graphing the Stretch of an Exponential Function

Sketch a graph of f(x)=4(\frac{1}{2})^x. State the domain, range, and asymptote.

Solution

Before graphing, identify the behavior and key points on the graph.

  • Since b=12 is between zero and one, the left tail of the graph will increase without bound as x decreases, and the right tail will approach the x-axis as x increases.
  • Since a=4, the graph of f(x)=(\frac{1}{2})^x will be stretched by a factor of 4.
  • Create a table of points as shown in Table 4.

  • x -3 -2 -1 0 1 2 3
    f(x)=4(\frac{1}{2})^x 32 16 8 4 2 1 0.5

    Table 4

  • Plot the y-intercept, (0,4), along with two other points. We can use (−1,8) and (1,2).

Draw a smooth curve connecting the points, as shown in Figure 9.

Graph of the function, f(x) = 4(1/2)^(x), with an asymptote at y=0. Labeled points in the graph are (-1, 8), (0, 4), and (1,

Figure 9

The domain is (− \infty, \infty); the range is (0, \infty); the horizontal asymptote is y=0.

Try It #4

Sketch the graph of f(x)=\frac{1}{2} (4)^x. State the domain, range, and asymptote.


Graphing Reflections

In addition to shifting, compressing, and stretching a graph, we can also reflect it about the x-axis or the y-axis. When we multiply the parent function f(x)=b^x by −1, we get a reflection about the x-axis. When we multiply the input by −1, we get a reflection about the y-axis. For example, if we begin by graphing the parent function f(x)=2^x, we can then graph the two reflections alongside it. The reflection about the x-axis, g(x)=−2^x, is shown on the left side of Figure 10, and the reflection about the y-axis h(x)=2^{−x}, is shown on the right side of Figure 10.

Two graphs where graph a is an example of a reflection about the x-axis and graph b is an example of a reflection about the y

Figure 10 (a) g(x)=−2^x reflects the graph of f(x)=2^x about the x-axis. (b) g(x)=2^{−x} reflects the graph of f(x)=2^x about the y-axis.

Reflections of the Parent Function f(x)=b^x

The function f(x)=−b^x

  • reflects the parent function f(x)=b^x about the x-axis.
  • has a y-intercept of (0,−1).
  • has a range of (− \infty,0).
  • has a horizontal asymptote at y=0 and domain of (−\infty, \infty), which are unchanged from the parent function.
The function f(x)=b{−x}
  • reflects the parent function f(x)=b^x about the y-axis.
  • has a y-intercept of (0,1), a horizontal asymptote at y=0, a range of (0, \infty), and a domain of (−\infty, \infty), which are unchanged from the parent function.

Example 5

Writing and Graphing the Reflection of an Exponential Function

Find and graph the equation for a function, g(x), that reflects f(x)=(\frac{1}{4})^x about the x-axis. State its domain, range, and asymptote.

Solution

Since we want to reflect the parent function f(x)=(\frac{1}{4})^x about the x-axis, we multiply f(x) by −1 to get, g(x)=−(\frac{1}{4})^x. Next we create a table of points as in Table 5.

x -3 -2 -1 0 1 2 3
g(x)=−(\frac{1}{4})^x -64 -16 -4 -1 -0.25 -0.0625 -0.0156

Table 5

Plot the y-intercept, (0,−1), along with two other points. We can use (−1,−4) and (1,−0.25).

Draw a smooth curve connecting the points:

Graph of the function, g(x) = -(0.25)^(x), with an asymptote at y=0. Labeled points in the graph are (-1, -4), (0, -1), and (

Figure 11

The domain is (− \infty, \infty); the range is (− \infty, 0); the horizontal asymptote is y=0.

Try It #5

Find and graph the equation for a function, g(x), that reflects f(x)=1.25^x about the y-axis. State its domain, range, and asymptote.


Source: Rice University, https://openstax.org/books/college-algebra/pages/6-2-graphs-of-exponential-functions
Creative Commons License This work is licensed under a Creative Commons Attribution 4.0 License.