Skip to main content
Mathematics LibreTexts

4.2: Graphs of Exponential Functions

  • Page ID
    13851
  • \( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \) \( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)\(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\) \(\newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\) \( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\) \( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\) \( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\) \( \newcommand{\Span}{\mathrm{span}}\)\(\newcommand{\AA}{\unicode[.8,0]{x212B}}\)

    Like with linear functions, the graph of an exponential function is determined by the values for the parameters in the function’s formula.

    To get a sense for the behavior of exponentials, let us begin by looking more closely at the function \(f(x)=2^{x}\). Listing a table of values for this function:

    \(x\) -3 -2 -1 0 1 2 3
    \(f(x)\) \(\dfrac{1}{8}\) \(\dfrac{1}{4}\) \(\dfrac{1}{2}\) 1 2 4 8

    Notice that:

    1. This function is positive for all values of \(x\).
    2. As \(x\) increases, the function grows faster and faster (the rate of change increases).
    3. As \(x\) decreases, the function values grow smaller, approaching zero.
    4. This is an example of exponential growth.

    Looking at the function \(g(x)=\left(\dfrac{1}{2} \right)^{x}\)

    \(x\) -3 -2 -1 0 1 2 3
    \(g(x)\) 8 4 2 1 \(\dfrac{1}{2}\) \(\dfrac{1}{4}\) \(\dfrac{1}{8}\)

    Note this function is also positive for all values of \(x\), but in this case grows as \(x\) decreases, and decreases towards zero as \(x\) increases. This is an example of exponential decay. You may notice from the table that this function appears to be the horizontal reflection of the \(f(x)=2^{x}\) table. This is in fact the case:

    Two graphs on the same axes. The first, labeled f(x), starts flat on the left just above the x-axis and increases, curving upwards as x increases, passing through the y-axis at 1, and continuing to curve upwards. The second, labeled g(x), is the horizontal reflection of the first.  It decreases rapidly on the left, and becomes less steep as x increases, passing through the y-axis at 1 and starting to flatten out towards the x-axis as x increases.\(f(-x)=2^{-x} =(2^{-1} )^{x} =\left(\dfrac{1}{2} \right)^{x} =g(x) \nonumber\)

    Looking at the graphs also confirms this relationship.

    Consider a function of the form \(f(x)=ab^{x}\). Since \(a\), which we called the initial value in the last section, is the function value at an input of zero, \(a\) will give us the vertical intercept of the graph.

    From the graphs above, we can see that an exponential graph will have a horizontal asymptote on one side of the graph, and can either increase or decrease, depending upon the growth factor. This horizontal asymptote will also help us determine the long run behavior and is easy to determine from the graph.

    The graph will grow when the growth rate is positive, which will make the growth factor \(b\) larger than one. When it’s negative, the growth factor will be less than one.

    graphical features of exponential functions

    Graphically, in the function \(f(x)=ab^{x}\)

    \(a\) is the vertical intercept of the graph

    \(b\) determines the rate at which the graph grows. When \(a\) is positive,

    the function will increase if \(b > 1\)
    the function will decrease if \(0 < b < 1\)

    The graph will have a horizontal asymptote at \(y = 0\)

    The graph will be concave up if \(a > 0\); concave down if \(a < 0\).

    The domain of the function is all real numbers

    The range of the function is \((0,\infty )\)

    When sketching the graph of an exponential function, it can be helpful to remember that the graph will pass through the points (0, \(a\)) and (1, \(ab\)).

    The value \(b\) will determine the function’s long run behavior:

    If \(b > 1\), as \(x \to \infty\), \(f(x) \to \infty\) and as \(x \to -\infty\), \(f(x) \to 0\).

    If \(0 < b < 1\), as \(x\to \infty\),\(f(x) \to 0\) and as \(x \to -\infty\), \(f(x) \to \infty\).

    Example \(\PageIndex{1}\)

    Sketch a graph of \(f(x)=4\left(\dfrac{1}{3} \right)^{x}\).

    Solution

    TA graph that decreases steeply at first then flattens as x increases, passing through 0 comma 4 and (1, four thirds), then approaches the x-axis as x increases.his graph will have a vertical intercept at (0,4), and pass through the point \(\left(1,\dfrac{4}{3} \right)\). Since \(b < 1\), the graph will be decreasing towards zero. Since \(a > 0\), the graph will be concave up.

    We can also see from the graph the long run behavior: as \(x\to \infty\), \(f(x)\to 0\) and as \(x\to -\infty\), \(f(x)\to \infty\).

    To get a better feeling for the effect of \(a\) and \(b\) on the graph, examine the sets of graphs below. The first set shows various graphs, where a remains the same and we only change the value for \(b\).

    A graph showing six exponential graphs on the same axes. All pass through the y-axis at 1.  Three graphs are decreasing: nine-tenths to the x is the flattest.  one-half to the x starts out steeper.  one-third to the x starts out the steepest of the three but also levels off towards the x-axis on the right most quickly.  Three graphs are increasing: three-halves to the x is the flattest, followed by 2 to the x.  3 to the x stays flattest on the left for the longest, but then becomes steepest fastest when x becomes positive.

    Notice that the closer the value of \(b\) is to 1, the less steep the graph will be.

    In the next set of graphs, a is altered and our value for \(b\) remains the same.

    A graph showing five exponential graphs on the same axes.  All are multiples of 1.2 to the x.  one-half times 1.2 to the x crosses the y-axis at one half, and increases most slowly, followed by 1.2 to the x, then 2 times 1.2 to the x, and 3 times 1.2 to the x and 4 times 1.2 to the x.  As the multiple increases, the y-intercept changes, and the graph increases somewhat faster.

    Notice that changing the value for \(a\) changes the vertical intercept. Since a is multiplying the \({b}^{x}\) term, a acts as a vertical stretch factor, not as a shift. Notice also that the long run behavior for all of these functions is the same because the growth factor did not change and none of these a values introduced a vertical flip.

    Example \(\PageIndex{2}\)

    Match each equation with its graph. A graph showing four exponential curves on the same axes.  The first, in yellow, is increasing and passes the y-axis at 4.  The second, in blue, is increasing slowly and passes the y-axis at 2.  The third, in green, is also increasing and passes the y-axis at 2, but is curving upwards more rapidly than the second graph.  The fourth, in red, is decreasing and passes the y-axis at 4.

    \[{f(x)=2(1.3)^{x} }\nonumber\]

    \[{g(x)=2(1.8)^{x} }\nonumber \]

    \[{h(x)=4(1.3)^{x} }\nonumber \]

    \[{k(x)=4(0.7)^{x} }\nonumber\]

    Solution

    The graph of \(k(x)\) is the easiest to identify, since it is the only equation with a growth factor less than one, which will produce a decreasing graph. The graph of \(h(x)\) can be identified as the only growing exponential function with a vertical intercept at (0,4). The graphs of \(f(x)\) and \(g(x)\) both have a vertical intercept at (0,2), but since \(g(x)\) has a larger growth factor, we can identify it as the graph increasing faster.

    A graph showing four exponential curves on the same axes.  The first, in yellow, labeled h of x, is increasing and passes the y-axis at 4.  The second, in blue, labeled f of x, is increasing slowly and passes the y-axis at 2.  The third, in green, labeled g of x, is also increasing and passes the y-axis at 2, but is curving upwards more rapidly than the second graph.  The fourth, in red, labeled k of x, is decreasing and passes the y-axis at 4.

    Exercise \(\PageIndex{1}\)

    Graph the following functions on the same axis:

    \(f(x)=(2)^{x}\) ; \(g(x)=2(2)^{x}\); \(h(x)=2(1/2)^{x}\).

    Answer

    Three graphs on the same axes. First, an increasing exponential graph passing through 0 comma 1 and 1 comma 2 labeled f of x = 2 to the x. Second, an increasing exponential graph passing through 0 comma 2 and 2 comma 4 labeled g of x = 2 times 2 to the x. Third, a decreasing exponential graph passing through negative 1 comma 4 and 0 comma 2 labeled h of x = 2 times one half to the x.

    Transformations of Exponential Graphs

    Exponential Functions:Transformations of Exponential Graphs

    While exponential functions can be transformed following the same rules as any function, there are a few interesting features of transformations that can be identified. The first was seen at the beginning of the section – that a horizontal reflection is equivalent to a change in the growth factor. Likewise, since \(a\) is itself a stretch factor, a vertical stretch of an exponential corresponds with a change in the initial value of the function.

    Next consider the effect of a horizontal shift on an exponential function. Shifting the function \(f(x)=3(2)^{x}\) four units to the left would give \(f(x+4)=3(2)^{x+4}\). Employing exponent rules, we could rewrite this:

    \[f(x+4)=3(2)^{x+4} =3(2)^{x} (2^{4} )=48(2)^{x}\nonumber\]

    Interestingly, it turns out that a horizontal shift of an exponential function corresponds with a change in initial value of the function.

    Lastly, consider the effect of a vertical shift on an exponential function. Shifting \(f(x)=3(2)^{x}\) down 4 units would give the equation \(f(x)=3(2)^{x} -4\).

    A graph that starts out flat, just above y=negative 4, and increases and curves upwards, passing through the y-axis at negative 1 and the point 1 comma 2Graphing that, notice it is substantially different than the basic exponential graph. Unlike a basic exponential, this graph does not have a horizontal asymptote at \(y = 0\); due to the vertical shift, the horizontal asymptote has also shifted to \(y = -4\). We can see that as \(x \to \infty\), \(f(x) \to \infty\) and as \(x \to -\infty\), \(f(x) \to -4\).

    We have determined that a vertical shift is the only transformation of an exponential function that changes the graph in a way that cannot be achieved by altering the parameters \(a\) and \(b\) in the basic exponential function \(f(x)=ab^{x}\).

    transformations of exponentials

    Any transformed exponential can be written in the form

    \[f(x)=ab^{x} +c\nonumber\]

    where \(y = c\) is the horizontal asymptote.

    Note that, due to the shift, the vertical intercept is shifted to (0, \(a+c\)).

    Exercise \(\PageIndex{2}\)

    Write the equation and graph the exponential function described as follows:\(f(x)=e^{x}\) is vertically stretched by a factor of 2, flipped across the y axis and shifted up 4 units.

    Answer

    \[f(x)=-2e^{x} +4\nonumber\]

    A graph that starts out nearly flat, just below y=4, that decreases curving downwards passing through 0 comma 2

    Example \(\PageIndex{3}\)

    Sketch a graph of \(f(x)=-3\left(\dfrac{1}{2} \right)^{x} +4\).

    Solution

    Notice that in this exponential function, the negative in the stretch factor -3 will cause a vertical reflection, and the vertical shift up 4 will move the horizontal asymptote to \(y\) = 4. Sketching this as a transformation of \(g(x)=\left(\dfrac{1}{2} \right)^{x}\),

    The basic \(g(x) = (\dfrac{1}{2})^x\)                Vertically Reflected and Stretched by 3            Vertically shifted up four units

    A graph that starts out decreasing rapidly and flattens out as x increases, passing through negative 1 comma 2 and 0 comma 1, leveling off towards the y-axis as x gets large         A graph that starts out negative and increasing rapidly, flattening out as x increases, passing through 0 comma negative 3, leveling off towards the y-axis as x gets large        A graph that starts out negative and increasing rapidly, flattening out as x increases, passing through 0 comma 1, leveling off towards y=4 as x gets large

    Notice that while the domain of this function is unchanged, due to the reflection and shift, the range of this function is \(\left(-\infty ,4\right)\).

    As \(x \to \infty\), \(f(x) \to 4\) and as \(x \to -\infty\), \(f(x) \to -\infty\).

    Functions leading to graphs like the one above are common as models for learning and models of growth approaching a limit.

    Example \(\PageIndex{4}\)

    Find an equation for the function graphed.

    A graph that starts out nearly flat, just below y=5, that decreases, curving downwards, passing through negative 1 comma 3 and 0 comma 2

    Solution

    Looking at this graph, it appears to have a horizontal asymptote at \(y = 5\), suggesting an equation of the form \(f(x)=ab^{x} +5\). To find values for \(a\) and \(b\), we can identify two other points on the graph. It appears the graph passes through (0,2) and (-1,3), so we can use those points. Substituting in (0,2) allows us to solve for \(a\).

    \[\begin{array}{l} {2=ab^{0} +5} \\ {2=a+5} \\ {a=-3} \end{array}\nonumber\]

    Substituting in (-1,3) allows us to solve for \(b\)

    \[\begin{array}{l} {3=-3b^{-1} +5} \\ {-2=\dfrac{-3}{b} } \\ {-2b=-3} \\ {b=\dfrac{3}{2} =1.5} \end{array}\nonumber\]

    The final formula for our function is \(f(x)=-3(1.5)^{x} +5\).

    Exercise \(\PageIndex{3}\)

    Given the graph of the transformed exponential function, find a formula and describe the long run behavior.

    A graph that starts out nearly flat, just above y=negative 1, that increases curving upwards, passing through 0 comma 2

    Answer

    Horizontal asymptote at \(y\) = -1, so \(f(x)=ab^{x} -1\).

    Substitute (0, 2) to find \(a\) = 3.Substitute (1,5) to find \(5=3b^{1} -1\), \(b\) = 2.

    \[f(x)=3(2^{x} )-1\text{ or }f(x)=3(.5)^{-x} -1\nonumber\]

    As \(x \to \infty\), \(f(x) \to \infty\) and as \(x \to -\infty\), \(f(x) \to -1\)

    Important Topics of this Section

    • Graphs of exponential functions
    • Intercept
    • Growth factor
    • Exponential Growth
    • Exponential Decay
    • Horizontal intercepts
    • Long run behavior
    • Transformations

    This page titled 4.2: Graphs of Exponential Functions is shared under a CC BY-SA 4.0 license and was authored, remixed, and/or curated by David Lippman & Melonie Rasmussen (The OpenTextBookStore) via source content that was edited to the style and standards of the LibreTexts platform; a detailed edit history is available upon request.