Exponential functions

Gloved hands hold a petri dish containing distinct bacterial colonies.
Photo by Edward Jenner on Pexels.

A larger population can produce more new members, while a smaller radioactive sample has fewer nuclei left to decay. These situations can follow the same mathematical rule: the rate of change is proportional to the amount present. Growth then speeds up as the quantity increases, while decay slows as the quantity decreases. What kind of function follows this rule?

We can begin with the rate rule and use slopes to see how a solution must behave, even before we have its formula. This leads to the exponential function, whose derivative is the function itself. Its connection to its own rate of change helps us explain growth and decay and gives us new functions to differentiate and integrate.

By the end of this lesson, you should be able to:

  • Interpret slope fields to predict the direction and changing rate of a solution.
  • Characterize the exponential function by its differential equation and initial value, and explain its multiplication law.
  • Differentiate, integrate, and interpret exponential growth and decay models.

Consider a culture of bacteria with plentiful nutrients and room to grow. Each bacterium has roughly the same opportunity to reproduce, so twice as many bacteria can produce twice as many new cells in the same short time. As the population grows, there are more bacteria reproducing, so the growth rate grows with it.

Let \( P(t) \) be the population, where \( t \) measures time in hours. If the net growth rate per individual stays constant, the total rate is proportional to the current population:

\[\frac{\mathrm{d}P}{\mathrm{d}t}=kP.\]

The constant \( k \) measures how quickly the population grows relative to its size. We treat the population as a smoothly changing amount rather than track individual births and deaths.

For example, if \( k=0.2 \) and the population is \( 50 \) thousand, its instantaneous growth rate is thousand per hour. If the population doubles, that rate becomes thousand per hour.

In other words, as the population grows, its growth rate increases along with it.

To see what kind of function would exhibit this behavior, we'll investigate the simplest positive case, \( k=1 \). The equation becomes

\[\frac{\mathrm{d}P}{\mathrm{d}t}=P.\]

To visualize possible solutions to this differential equation, we can draw a short segment with the required slope at each of many possible points \( (t,P) \). Together, these segments form a slope field: a map of the directions a solution curve must follow. In the graph below, the blue segments show these directions and the red curve follows them. Drag the red point to see a solution through a different point.

The blue segments show the required slopes; the red curve follows the field through the movable point.

Along a horizontal row, the slopes are . The equation uses the population coordinate to determine the slope, regardless of the time coordinate.

Along the row \( P=0 \), every segment is horizontal. The constant function \( P(t)=0 \) follows this row: its value and its rate of change are both zero. A constant solution like this is called an equilibrium solution.

The function whose graph follows this rate rule through \( (0,1) \) is called the exponential function, written \( \exp(t) \) or \( \ee^t \), where \( \ee \) is the exponential constant \[\ee\approx2.718281828459045235\cdots\text.\]

In other words, the exponential function is its own derivative: \(\displaystyle \dv{t}\ee^t= \)\(\displaystyle .\)

To see how we can use this new function, consider a culture that starts with \( 100 \) thousand cells and satisfies

\[\frac{\mathrm{d}P}{\mathrm{d}t}=0.3P,\qquad P(0)=100,\]

where \( P \) is measured in thousands of cells and \( t \) in hours. What will the population be in two hours?

Let’s try the function

\[P(t)=100\ee^{0.3t}.\]

At \( t=0 \), we know by properties of exponents that \( \ee^0= \) , so \( P(0)= \).

To check its rate of change, we can use the :

\(\displaystyle P'(t) \)\(\displaystyle = 100\ee^{0.3t}\cdot\dv{t}(0.3t)\)\(\displaystyle = \)\(\displaystyle \ee^{0.3t}\text.\)

Comparing the derivative with \( P(t)=100\ee^{0.3t} \), we find that \( P'(t)= \).

Hence multiplying the population by \( 0.3 \) gives exactly its derivative. Together with the starting value, this confirms that the function satisfies both requirements.

After two hours, the model predicts \( P(2)=100\ee^{0.6} \), or approximately thousand cells (rounded to the nearest thousand).

How has the growth rate changed over those two hours? Using \( P'(t)=30\ee^{0.3t} \), the initial rate is \( P'(0)= \) thousand cells per hour. After two hours, \( P'(2)=30\ee^{0.6} \), or approximately thousand cells per hour (rounded to two decimal places).

The population grew from \( 100 \) thousand to about \( 182 \) thousand cells, while its growth rate rose from \( 30 \) thousand to about \( 54.66 \) thousand cells per hour. Both were multiplied by the same factor, \( \ee^{0.6} \), or about \( 1.82 \). This is precisely what exponential growth means: the population grows faster as it gets larger because its growth rate is proportional to its current size.

Slope fields

A differential equation can tell us the slope a solution must have at a point, even before we know a formula for the solution. Consider

\[\frac{\mathrm{d}y}{\mathrm{d}x}=x-y+1.\]

At \( (0,0) \), substituting the coordinates gives slope \( 0-0+1=1 \). We can do the same at nearby points. Each cell in the table gives the slope at its column's \( x \) and its row's \( y \).

\( x=-1 \) \( x=0 \) \( x=1 \)
\( y=1 \) \( -1 \) \( 0 \) \( 1 \)
\( y=0 \) \( 0 \) \( 1 \) \( 2 \)
\( y=-1 \) \( 1 \) \( 2 \) \( 3 \)

The slopes increase as we move to the right in a row and decrease as we move upward in a column. We can make these numbers visible on a graph by drawing a short segment through each point with its calculated slope. Repeating this at many points produces a slope field: a map of the directions a solution curve must follow.

The blue segments below show these directions. With an initial condition, we know one point on a solution curve; the curve must pass through that point and stay aligned with the field. Drag the red point to see solutions through different points.

The required slope depends on both coordinates. Moving the red point changes the solution curve; the slope field stays fixed.

A solution rises where the segments have positive slopes and falls where they have negative slopes. A horizontal segment gives a horizontal tangent. In the field above, for instance, the solution through \( (0,1) \) has a horizontal tangent there and then rises as it moves to the right.

To sketch a solution, “go with the flow”: draw a smooth curve that follows the direction of the nearby segments. As you move to the right, increasing slopes make the curve bend upward, while decreasing slopes make it bend downward. The concavity emerges as you follow the field.

Defining the exponential function

In Explore, we investigated \( y'=y \) with \( y(0)=1 \). We used the exponential function to describe that solution. We'll now give this function a precise definition and establish its properties.

It turns out that there is exactly one function, defined for all real inputs, satisfying \( y'=y \) and \( y(0)=1 \). This is an existence and uniqueness result: a solution exists, and no other function satisfies both conditions. We won’t prove it here, but it lets us define the exponential function precisely. The same existence and uniqueness result holds for \( y'=ky \) with any real constant \( k \) and any initial value specified at any real input.

The next property connects our definition to familiar exponent laws: adding inputs multiplies the corresponding outputs.

This multiplication law gives \( \exp(x) \) the familiar behavior of an exponential function \( b^x \). To identify the base, notice that the value of \( \exp(1) \) is the famous number \[\ee\approx 2.718281828459045235\cdots\text.\]

This means that a more familiar way to write the exponential function is

\[\exp(x)=\ee^x.\]

We have thus arrived at the following derivative rule:

We can also write the rule using differentials. For an infinitesimal input change \( \dd{x} \), the corresponding infinitesimal change in the exponential is its derivative multiplied by \( \dd{x} \):

\[\dd{(\ee^x)}=\ee^x\dd{x}.\]

Thus, if \( y=\ee^x \), we have \( \dd{y}=\ee^x\dd{x} \). Dividing by \( \dd{x} \) gives the derivative rule above.

Growth and decay

In \( \displaystyle \dv{y}{t}=ky \), doubling a positive amount doubles its rate of growth or loss. The sign of \( k \) tells us which happens: a positive \( k \) gives growth, while a negative \( k \) gives decay. A larger positive \( k \) gives faster growth; a more negative \( k \) gives faster decay. We can use the exponential function to describe either case, starting from an amount \( y_0 \) at time \( 0 \).

In differential form, the Chain Rule gives the same input factor:

\[\dd{(\ee^{kx})}=k\ee^{kx}\dd{x}.\]

Integrating exponential functions

We can also integrate quantities that grow or decay exponentially. To find an antiderivative, we try an exponential function and differentiate it to check the result.

Since the derivative of \( \ee^x \) is \( \ee^x \), the function is an antiderivative of itself. Differentiating \( \ee^{kx} \) multiplies it by \( k \). For \( k\ne0 \), we therefore divide by \( k \) when integrating: differentiating \( \displaystyle \frac1k\ee^{kx} \) gives \( \ee^{kx} \) back.

When \( k=0 \), the integrand is \( 1 \), whose antiderivatives are \( x+C \). For a definite integral, we use an antiderivative with the Fundamental Theorem.

We can use an exponential integral to understand how much photosynthesis takes place in a layer of ocean water.

This calculation shows how knowing a derivative can help us find an antiderivative. Differentiating \( \ee^{kx} \) leaves the exponential in place and introduces a constant factor, so we try that same form and adjust its coefficient. Checking the derivative tells us whether the guess works.

  1. Match each slope field with its differential equation. Each equation is used exactly once.

    Field A

    Equation: .

    Field B

    Equation: .

    Field C

    Equation: .

    Field D

    Equation: .

    Solution

    A: \( y'=${equations[order[0]]} \). ${reasons[order[0]]}

    B: \( y'=${equations[order[1]]} \). ${reasons[order[1]]}

    C: \( y'=${equations[order[2]]} \). ${reasons[order[2]]}

    D: \( y'=${equations[order[3]]} \). ${reasons[order[3]]}

  2. For each equation, draw a short line segment through each of the nine dots with the slope required by the equation. You can copy the dots onto paper. Keep the segments approximately the same length.

    (a) \( y'=${equations[order[0]]} \)

    (b) \( y'=${equations[order[1]]} \)

    Solution

    At each dot, substitute its coordinates into the equation to find the required slope. The completed fields are:

    (a) \( y'=${equations[order[0]]} \)

    (b) \( y'=${equations[order[1]]} \)

    (a) ${explanations[order[0]]}

    (b) ${explanations[order[1]]}

  3. Find each derivative. Keep track of the signs, and use the Product Rule where both factors depend on \( \displaystyle x \).

    1. \( \displaystyle \frac{\mathrm{d}}{\mathrm{d}x}\bigl(${a}\ee^{-${b}x}\bigr)= \)

      Solution

      The exponent has derivative \( \displaystyle -${b} \), so the Chain Rule gives \( \displaystyle -${a*b}\ee^{-${b}x} \).

    2. \( \displaystyle \frac{\mathrm{d}}{\mathrm{d}x}\bigl(-${c}\ee^{${d}x}\bigr)= \)

      Solution

      The constant multiplier stays negative, giving \( \displaystyle -${c*d}\ee^{${d}x} \).

    3. \( \displaystyle \frac{\mathrm{d}}{\mathrm{d}x}\bigl(${p}x\ee^{-${q}x}\bigr)= \)

      Solution

      The Product Rule gives \( \displaystyle ${p}\ee^{-${q}x}-${p*q}x\ee^{-${q}x} \). Factoring gives \( \displaystyle ${p}\ee^{-${q}x}(1-${q}x) \).

    4. \( \displaystyle \frac{\mathrm{d}}{\mathrm{d}x}\bigl(-${r}x\ee^{${s}x}\bigr)= \)

      Solution

      The Product Rule gives \( \displaystyle -${r}\ee^{${s}x}-${r*s}x\ee^{${s}x} \), or \( \displaystyle -${r}\ee^{${s}x}(1+${s}x) \).

    5. \( \displaystyle \frac{\mathrm{d}}{\mathrm{d}x}\bigl(\ee^{${h}x^2}\bigr)= \)

      Solution

      The derivative of the exponent is \( \displaystyle ${2*h}x \), so the result is \( \displaystyle ${2*h}x\ee^{${h}x^2} \).

    6. \( \displaystyle \frac{\mathrm{d}}{\mathrm{d}x}\bigl(\ee^{-${h}x^2}\bigr)= \)

      Solution

      The derivative of the exponent is \( \displaystyle -${2*h}x \), so the result is \( \displaystyle -${2*h}x\ee^{-${h}x^2} \).

  4. A population satisfies \( \displaystyle P'=${rate}P \) and \( \displaystyle P(0)=${initial} \), with time in days.

    1. The initial rate is individuals per day. Write the population function.

      Solution

      The initial rate is \( \displaystyle ${rate}(${initial})=${initial_rate} \) individuals per day, and \( \displaystyle P(t)=${initial}\ee^{${rate}t} \).

    2. Find the population after one day, to the nearest individual: individuals. Explain why the increase exceeds the initial rate multiplied by one day.

      Solution

      \( \displaystyle P(1)=${initial}\ee^{${rate}}\approx${fixed(population,2)} \) individuals, so the population is about \( ${round(population)} \). The growth rate increases as the population grows, so the first-day increase exceeds \( ${initial_rate} \) individuals.

    3. Given \( \displaystyle y'=-${decay}y \) and \( \displaystyle y(0)=${starting} \), find the solution. Explain why \( \displaystyle \ee^{-${decay}t} \) doesn't fit the initial condition.

      Solution

      The solution is \( \displaystyle y(t)=${starting}\ee^{-${decay}t} \). At \( \displaystyle t=0 \), the exponential factor is \( \displaystyle 1 \), giving the required value \( \displaystyle ${starting} \). The proposed function \( \displaystyle \ee^{-${decay}t} \) satisfies the rate equation but starts at \( \displaystyle 1 \), so it does not fit the initial condition.

  5. After a dose of medicine, its concentration in the bloodstream may rise as the medicine is absorbed and then fall as it is removed. One model for this rise and fall is a surge function. Suppose the concentration is modeled by

    \[S(t)=${amplitude}t^2\ee^{${surge_exponent}},\qquad t\geq0,\]

    where \( t \) is the time in hours after the dose and \( S(t) \) is the concentration in micrograms per milliliter.

    1. Find \( S'(t) \) and write it in factored form.

      Solution

      The Product Rule differentiates the power and exponential factors separately. The Chain Rule introduces the factor \( -${rate} \) when we differentiate \( \displaystyle \ee^{${surge_exponent}} \):

      \[\begin{aligned}S'(t)&=${2*amplitude}t\ee^{${surge_exponent}}-${amplitude*rate}t^2\ee^{${surge_exponent}}\\ &=${amplitude}t\ee^{${surge_exponent}}(${surge_factor}).\end{aligned}\]

    2. When is the concentration increasing, and when is it decreasing? The maximum concentration occurs hours after the dose. Find that maximum concentration and explain why it is a maximum.

      Solution

      For \( \displaystyle t>0 \), both \( \displaystyle ${amplitude}t \) and \( \displaystyle \ee^{${surge_exponent}} \) are positive. The sign of \( \displaystyle S'(t) \) therefore comes from \( \displaystyle ${surge_factor} \). The concentration increases for \( \displaystyle 0<t<${peak_time} \) and decreases for \( \displaystyle t>${peak_time} \). It reaches its maximum at \( \displaystyle t=${peak_time} \) hours, where the derivative changes from positive to negative.

      Substituting this time gives

      \[\begin{aligned}S(${peak_time})&=${amplitude}(${peak_time})^2\ee^{-2}\\ &=${peak_coefficient}\ee^{-2}\\ &\approx${fixed(maximum,2)}.\end{aligned}\]

      The model predicts a maximum concentration of about \( ${fixed(maximum,2)} \) micrograms per milliliter. The marked point shows the peak separating the increasing and decreasing portions of the curve.

      The concentration peaks at \( ${peak_time} \) hours, at about \( ${fixed(maximum,2)} \) micrograms per milliliter.
    3. More generally, let \( S(t)=At^a\ee^{-bt} \), with \( A,a,b>0 \) and \( t\geq0 \). Find the time of maximum concentration in terms of \( a \) and \( b \). Explain why changing \( A \) does not change this time.

      Hint

      Differentiate for \( t>0 \), then factor out \( At^{a-1}\ee^{-bt} \). All of these factors are positive for \( t>0 \).

      Solution

      For \( \displaystyle t>0 \), the Product Rule and Chain Rule give

      \[\begin{aligned}S'(t)&=Aa t^{a-1}\ee^{-bt}-Abt^a\ee^{-bt}\\ &=At^{a-1}\ee^{-bt}(a-bt).\end{aligned}\]

      The factor \( \displaystyle At^{a-1}\ee^{-bt} \) is positive, so the derivative is positive when \( \displaystyle t<\frac ab \) and negative when \( \displaystyle t>\frac ab \). Since \( \displaystyle S(0)=0 \) and the concentration rises to this time and falls afterward, its maximum occurs at

      \[t=\frac ab.\]

      Multiplying by \( \displaystyle A>0 \) scales every concentration by the same positive factor. It changes the height of the peak but not when it occurs.

  6. For parts (a) and (b), give one antiderivative with constant term zero. For parts (c) and (d), evaluate the definite integral exactly. In each part, guess a constant multiple of the exponential and differentiate to check its coefficient.

    1. An antiderivative of \( \displaystyle ${a}\ee^{${b}x} \) is .

      Solution

      Try \( \displaystyle B\ee^{${b}x} \). Its derivative has coefficient \( \displaystyle ${b}B \), so we need \( \displaystyle B=${c} \). Thus one antiderivative is \( \displaystyle ${c}\ee^{${b}x} \); adding \( \displaystyle C \) gives the full family.

    2. An antiderivative of \( \displaystyle -${p}\ee^{-${q}x} \) is .

      Solution

      Try \( \displaystyle B\ee^{-${q}x} \). Its derivative is \( \displaystyle -${q}B\ee^{-${q}x} \), so \( \displaystyle B=${p/q} \). The positive coefficient produces the required negative derivative. The full family is \( \displaystyle ${p/q}\ee^{-${q}x}+C \).

    3. \( \displaystyle \int_0^1 ${r}\ee^{-${s}x}\dd{x}= \)

      Solution

      Differentiating the exponential multiplies it by \( \displaystyle -${s} \). Multiplying by \( \displaystyle -${r/s} \) then gives the coefficient \( \displaystyle ${r} \) we need. Therefore,

      \[\begin{aligned}\int_0^1 ${r}\ee^{-${s}x}\dd{x}&=\eval{-${r/s}\ee^{-${s}x}}_0^1\\ &=-${r/s}\ee^{-${s}}+${r/s}\\ &=${r/s}(1-\ee^{-${s}}).\end{aligned}\]

    4. \( \displaystyle \int_{-1}^0 -${v}\ee^{${u}x}\dd{x}= \)

      Solution

      Differentiating \( \displaystyle -${v/u}\ee^{${u}x} \) gives the integrand. Thus,

      \[\begin{aligned}\int_{-1}^0 -${v}\ee^{${u}x}\dd{x}&=\eval{-${v/u}\ee^{${u}x}}_{-1}^0\\ &=-${v/u}+${v/u}\ee^{-${u}}\\ &=-${v/u}(1-\ee^{-${u}}).\end{aligned}\]

      The result is negative because the integrand is negative throughout the interval.

  7. A radioactive sample's activity is the number of decays per second. Suppose its activity after \( t \) seconds is modeled by

    \[A(t)=${initial_activity}\ee^{-${decay_rate}t},\qquad t\geq0,\]

    measured in decays per second. Approximately how many decays does the model predict during the first \( ${duration} \) seconds? To the nearest whole number, the total is decays. Explain why this is less than \( ${initial_activity}(${duration}) \).

    Solution

    During a short interval of length \( \displaystyle \mathrm{d}t \) seconds, the model predicts \( \displaystyle A(t)\,\mathrm{d}t \) decays. Integrating the activity adds these contributions over the first \( \displaystyle ${duration} \) seconds.

    Try an antiderivative of the form \( \displaystyle B\ee^{-${decay_rate}t} \). Its derivative is \( \displaystyle -${decay_rate}B\ee^{-${decay_rate}t} \), so we need \( \displaystyle B=-${coefficient} \). Therefore,

    \[\begin{aligned}\text{number of decays}&=\int_0^{${duration}}${initial_activity}\ee^{-${decay_rate}t}\dd{t}\\ &=\eval{-${coefficient}\ee^{-${decay_rate}t}}_0^{${duration}}\\ &=${coefficient}(1-\ee^{-${exponent}})\\ &\approx${fixed(count,2)}.\end{aligned}\]

    The model predicts about \( \displaystyle ${round(count)} \) decays. If the activity stayed at its initial value, the total would be \( \displaystyle ${constant_count} \) decays. The activity decreases throughout the interval, so the actual model total is smaller.

  8. A proportional-growth or decay model has solution \( \displaystyle y(t)=y_0\ee^{kt} \), with \( \displaystyle y_0>0 \). For an interval of length \( \displaystyle h>0 \), use the multiplication law to show that

    \[y(t+h)=y(t)\ee^{kh}.\]

    What does this say about the factor by which the amount changes over equal time intervals? Does it also mean that the same amount is added or removed during each interval?

    Solution

    Substitute \( \displaystyle t+h \) for the input and use the multiplication law:

    \[\begin{aligned}y(t+h)&=y_0\ee^{k(t+h)}\\ &=y_0\ee^{kt}\ee^{kh}\\ &=y(t)\ee^{kh}.\end{aligned}\]

    The factor \( \displaystyle \ee^{kh} \) depends on the interval length and the coefficient \( \displaystyle k \), so equal time intervals give equal multiplicative factors. The change in amount is

    \[y(t+h)-y(t)=y(t)(\ee^{kh}-1).\]

    This change also depends on the amount present at the start of the interval. For growth, more is added as the amount grows; for decay, less is removed as the amount shrinks. If \( \displaystyle k=0 \), the factor is \( \displaystyle 1 \) and the amount stays constant.