6.2: Graphs of Exponential Functions
- Graph exponential functions.
- Graph exponential functions using transformations.
As we discussed in the previous section, exponential functions are used for many real-world applications such as finance, forensics, computer science, and most of the life sciences. Working with an equation that describes a real-world situation gives us a method for making predictions. Most of the time, however, the equation itself is not enough. We learn a lot about things by seeing their pictorial representations, and that is exactly why graphing exponential equations is a powerful tool. It gives us another layer of insight for predicting future events.
Graphing Exponential Functions
Before we begin graphing, it is helpful to review the behavior of exponential growth. Recall the table of values for a function of the form \(f(x)=b^x\) whose base is greater than one. We’ll use the function \(f(x)=2^x\). Observe how the output values in Table \(\PageIndex{1}\) change as the input increases by \(1\).
| \(x\) | \(−3\) | \(−2\) | \(−1\) | \(0\) | \(1\) | \(2\) | \(3\) |
|---|---|---|---|---|---|---|---|
| \(f(x)=2^x\) | \(\dfrac{1}{8}\) | \(\dfrac{1}{4}\) | \(\dfrac{1}{2}\) | \(1\) | \(2\) | \(4\) | \(8\) |
Each output value is the product of the previous output and the base, \(2\). We call the base \(2\) the constant ratio . In fact, for any exponential function with the form \(f(x)=b^x\), \(b\) is the constant ratio of the function. This means that as the input increases by \(1\), the output value will increase by a multiple of the base.
Notice from the table that
- the output values are positive for all values of \(x\);
- as \(x\) increases, the output values increase without bound; and
- as \(x\) decreases, the output values grow smaller, approaching zero.
Figure \(\PageIndex{1}\) shows the exponential growth function \(f(x)=2^x\).
The domain of \(f(x)=2^x\) is all real numbers, the range is \((0,\infty)\), and the horizontal asymptote is \(y=0\).
To get a sense of the behavior of exponential decay, we can create a table of values for a function of the form \(f(x)=b^x\) whose base is between zero and one. We’ll use the function \(g(x)={\left(\dfrac{1}{2}\right)}^x\). Observe how the output values in Table \(\PageIndex{2}\) change as the input increases by \(1\).
| \(x\) | \(-3\) | \(-2\) | \(-1\) | \(0\) | \(1\) | \(2\) | \(3\) |
|---|---|---|---|---|---|---|---|
| \(g(x)={\left(\dfrac{1}{2}\right)}^x\) | \(8\) | \(4\) | \(2\) | \(1\) | \(\dfrac{1}{2}\) | \(\dfrac{1}{4}\) | \(\dfrac{1}{8}\) |
Again, because the input is increasing by \(1\), each output value is the product of the previous output and the base, or constant ratio \(\dfrac{1}{2}\).
Notice from the table that
- the output values are positive for all values of \(x\);
- as \(x\) increases, the output values grow smaller, approaching zero; and
- as \(x\) decreases, the output values grow without bound.
Figure \(\PageIndex{2}\) shows the exponential decay function, \(g(x)={\left(\dfrac{1}{2}\right)}^x\).
The domain of \(g(x)={(\dfrac{1}{2})}^x\) is all real numbers, the range is \((0,\infty)\),and the horizontal asymptote is \(y=0\).
An exponential function with the form \(f(x)=b^x\), \(b>0\), \(b≠1\),has these characteristics:
- one-to-one function
- horizontal asymptote: \(y=0\)
- domain: \((–\infty, \infty)\)
- range: \((0,\infty)\)
- x- intercept: none
- y- intercept: \((0,1)\)
- increasing if \(b>1\)
- decreasing if \(b<1\)
Figure \(\PageIndex{3}\) compares the graphs of exponential growth and decay functions.
- Create a table of points.
- Plot at least \(3\) point from the table, including the y -intercept \((0,1)\).
- Draw a smooth curve through the points.
- State the domain, \((−\infty,\infty)\),the range, \((0,\infty)\),and the horizontal asymptote, \(y=0\).
Sketch a graph of \(f(x)=0.25^x\). State the domain, range, and asymptote.
Solution
Before graphing, identify the behavior and create a table of points for the graph.
| \(x\) | \(−3\) | \(−2\) | \(−1\) | \(0\) | \(1\) | \(2\) | \(3\) |
|---|---|---|---|---|---|---|---|
| \(f(x)={0.25}^x\) | \(64\) | \(16\) | \(4\) | \(1\) | \(0.25\) | \(0.0625\0 | \(0.015625\) |
- Since \(b=0.25\) is between zero and one, we know the function is decreasing. The left tail of the graph will increase without bound, and the right tail will approach the asymptote \(y=0\).
- Create a table of points as in Table \(\PageIndex{3}\).
- 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 as in Figure \(\PageIndex{4}\).
The domain is \((−\infty,\infty)\); the range is \((0,\infty)\); the horizontal asymptote is \(y=0\).
Sketch the graph of \(f(x)=4^x\). State the domain, range, and asymptote.
- Answer
-
The domain is \((−\infty,\infty)\); the range is \((0,\infty)\); the horizontal asymptote is \(y=0\).
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 shiftd 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 \(\PageIndex{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}\). \(h(x)=2^{x−3}\). Both horizontal shifts are shown in Figure \(\PageIndex{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,\dfrac{1}{8})\). Again, see that \(2^{x−3}=(\dfrac{1}{8})2^x\),so the initial value of the function is \(\dfrac{1}{8}\).
For any constants \(h\) and \(k\),the function \(f(x)=b^{x+h}+k\) shifts the parent function \(f(x)=b^x\)
- vertically \(k\) units, in the same direction of the sign of \(k\).
- horizontally \(h\) units, in the opposite direction of the sign of \(h\).
- The y -intercept becomes \((0,b^h+k)\).
- The horizontal asymptote becomes \(y=k\).
- The range becomes \((k,\infty)\).
- The domain, \((−\infty,\infty)\),remains unchanged.
- Draw the horizontal asymptote \(y=k\).
- Identify the shift as \((−h,k)\). Shift the graph of \(f(x)=b^x\) left \(h\) units if \(h\) is positive, and right \(h\) units if \(h\) is negative.
- Shift the graph of \(f(x)=b^x\) up \(k\) units if \(k\) is positive, and down \(k\) units if \(k\) is negative.
- State the domain, \((−\infty,\infty)\),the range, \((k,\infty)\),and the horizontal asymptote \(y=k\).
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+h}+k\), with \(b=2\), \(h=1\), and \(k=−3\).
Draw the horizontal asymptote \(y=k\), so draw \(y=−3\).
Identify the shift as \((−h,k)\), so the shift is \((−1,−3)\).
Shift the graph of \(f(x)=b^x\) left \(1\) units and down \(3\) units.
The domain is \((−\infty,\infty)\); the range is \((−3,\infty)\); the horizontal asymptote is \(y=−3\).
Graph \(f(x)=2^{x−1}+3\). State domain, range, and asymptote.
- Answer
-
The domain is \((−\infty,\infty)\); the range is \((3,\infty)\); the horizontal asymptote is \(y=3\).
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 \(\PageIndex{8}\), and the compression, using \(a=\dfrac{1}{3}\),to get \(h(x)=\dfrac{1}{3}{(2)}^x\) as shown on the right in Figure \(\PageIndex{8}\).
For any factor \(C>0\),the function \(f(x)=C{(b)}^x\)
- is stretched vertically by a factor of \(C\) if \(|C|>1\).
- is compressed vertically by a factor of \(C\) if \(|C|<1\).
- has a y -intercept of \((0,C)\).
- 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.
Sketch a graph of \(f(x)=4{\big(\dfrac{1}{2}}\big)^x\). State the domain, range, and asymptote.
Solution
Before graphing, identify the behavior and key points on the graph.
- Since \(b=\dfrac{1}{2}\) 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)={(\dfrac{1}{2})}^x\) will be stretched by a factor of \(4\).
-
Create a table of points as shown in Table \(\PageIndex{4}\).
Table \(\PageIndex{4}\) \(x\) \(−3\) \(−2\) \(−1\) \(0\) \(1\) \(2\) \(3\) \(f(x)=4{(\dfrac{1}{2})}^x\) \(32\) \(16\) \(8\) \(4\) \(2\) \(1\) \(0.5\) - 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 \(\PageIndex{9}\).
The domain is \((−\infty,\infty)\); the range is \((0,\infty)\); the horizontal asymptote is \(y=0\).
Sketch the graph of \(f(x)=\dfrac{1}{2}{(4)}^x\). State the domain, range, and asymptote.
- Answer
-
The domain is \((−\infty,\infty)\); the range is \((0,\infty)\); the horizontal asymptote is \(y=0\).
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 \(\PageIndex{10}\), and the reflection about the y-axis \(h(x)=2^{−x}\), is shown on the right side of Figure \(\PageIndex{10}\).
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.
Find and graph the equation for a function, \(g(x)\),that reflects \(f(x)={(\dfrac{1}{4})}^x\) about the x -axis. State its domain, range, and asymptote.
Solution
Since we want to reflect the parent function \(f(x)={(\dfrac{1}{4})}^x\) about the x- axis, we multiply \(f(x)\) by \(−1\) to get, \(g(x)=−{(\dfrac{1}{4})}^x\). Next we create a table of points as in Table \(\PageIndex{5}\).
| \(x\) | \(−3\) | \(−2\) | \(−1\) | \(0\) | \(1\) | \(2\) | \(3\) |
|---|---|---|---|---|---|---|---|
| \(g(x)=−{(\dfrac{1}{4})}^x\) | \(−64\) | \(−16\) | \(−4\) | \(−1\) | \(−0.25\) | \(−0.0625\) | \(−0.0156\) |
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:
The domain is \((−\infty,\infty)\); the range is \((−\infty,0)\); the horizontal asymptote is \(y=0\).
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.
- Answer
-
The domain is \((−\infty,\infty)\); the range is \((0,\infty)\); the horizontal asymptote is \(y=0\).
Summarizing Translations of the Exponential Function
Now that we have worked with each type of translation for the exponential function, we can summarize them in Table \(\PageIndex{6}\) to arrive at the general equation for translating exponential functions.
A transformation of an exponential function has the form
\(f(x)=Cb^{x+h}+k\)
Where the parent function, \(y=b^x\), \(b \neq 1\),is
- shifted horizontally \(h\) units (right if \(h<0\) and left if \(h>0\))
- stretched vertically by a factor of \(|C|\) if \(|C|>1\).
- compressed vertically by a factor of \(|C|\) if \(0<|C|<1\).
- shifted vertically \(k\) units (down if \(k<0\) and up if \(k>0\))
- reflected about the x- axis when \(C<0\).
Note the order of the shifts, transformations, and reflections follow the order of operations.
Write the equation for the function described below. Give the horizontal asymptote, the domain, and the range.
\(f(x)=e^x\) is vertically stretched by a factor of \(2\) , reflected across the y -axis, and then shifted up \(4\) units.
Solution
We want to find an equation of the general form \(f(x)=Cb^(x+h)+k\). We use the description provided to find \(C\), \(b\), (\h\), and \(k\).
- We are given the parent function \(f(x)=e^x\), so \(b=e\).
- The function is stretched by a factor of \(2\), so \(C=2\).
- The function is reflected about the y -axis. We replace \(x\) with \(−x\) to get: \(e^{−x}\).
- The graph is shifted vertically 4 units, so \(k=4\).
Substituting in the general form we get,
\(f(x)=Cb^{x+h}+k\)
\(=2e^{−x+0}+4\)
\(=2e^{−x}+4\)
The domain is \((−\infty,\infty)\); the range is \((4,\infty)\); the horizontal asymptote is \(y=4\).
Write the equation for function described below. Give the horizontal asymptote, the domain, and the range.
\(f(x)=e^x\) is compressed vertically by a factor of \(\dfrac{1}{3}\), reflected across the x -axis and then shifted down \(2\) units.
- Answer
-
\(f(x)=−\dfrac{1}{3}e^{x}−2\); the domain is \((−\infty,\infty)\); the range is \((−\infty,2)\); the horizontal asymptote is \(y=2\).
Key Equations
| General Form for the Translation of the Parent Function \(f(x)=b^x\) | \(f(x)=Cb^{x+h}+k\) |
Key Concepts
- The graph of the function \(f(x)=b^x\) has a y- intercept at \((0, 1)\),domain \((−\infty, \infty)\),range \((0, \infty)\), and horizontal asymptote \(y=0\). See Example .
- If \(b>1\),the function is increasing. The left tail of the graph will approach the asymptote \(y=0\), and the right tail will increase without bound.
- If \(0<b<1\), the function is decreasing. The left tail of the graph will increase without bound, and the right tail will approach the asymptote \(y=0\).
- The equation \(f(x)=b^x+d\) represents a vertical shift of the parent function \(f(x)=b^x\).
- The equation \(f(x)=b^{x+c}\) represents a horizontal shift of the parent function \(f(x)=b^x\). See Example .
- Approximate solutions of the equation \(f(x)=b^{(x+h)}+k\) can be found using a graphing calculator. See Example .
- The equation \(f(x)=Cb^x\), where \(C>0\), represents a vertical stretch if \(|C|>1\) or compression if \(0<|C|<1\) of the parent function \(f(x)=b^x\). See Example .
- When the parent function \(f(x)=b^x\) is multiplied by \(−1\),the result, \(f(x)=−b^x\), is a reflection about the x -axis. When the input is multiplied by \(−1\),the result, \(f(x)=b^{−x}\), is a reflection about the y -axis. See Example .
- All translations of the exponential function can be summarized by the general equation \(f(x)=Cb^{(x+h)}+k\). See Table .
- Using the general equation \(f(x)=Cb^{(x+h)}+k\), we can write the equation of a function given its description. See Example .