Suppose we have an exponential rate function,
\(r(t) = e^t \text{.}\) This means that the
rate of accumulation of some quantity is itself growing exponentially, similar to the
rate doubles every year pattern in
Example 12.1.1. We would like to know the associated accumulation function based at
\(t = 0 \text{,}\)
\begin{equation*}
A_0(t) = \ccmint{0}{t}{e^u}{u} \text{.}
\end{equation*}
For power functions we have found that the pattern of integrate-then-differentiate returns us back to the original function. Here we remind ourselves of that pattern, in general for power functions with positive exponent \(m \gt 0 \text{,}\) and also specifically for the power function with exponent \(m = -1 \) whose integral defines the natural logarithm function.
\begin{align*}
\opddt \, \ccmint{0}{t}{ u^m }{u} \amp = t^m
\amp
\opddt \, \ccmint{0}{t}{ \frac{1}{u} }{u} \amp = \frac{1}{t}
\end{align*}
If we expect this pattern to also hold for exponential functions, then we should have
\begin{equation*}
\opddt \ccmint{0}{t}{ e^u }{u} = e^t \text{,}
\end{equation*}
or
\begin{equation*}
A_0(t) = \ccmint{0}{t}{ e^u }{u} \qquad \implies \qquad \ddt{A_0} = e^t \text{.}
\end{equation*}
What kind of function has an exponential derivative? Well, the natural exponential function does! (
Pattern 12.6.2) But we have to be careful: just as recording only speedometer data will not tell you where the vehicle ended up at the end of the trip, knowing only a derivative calculation result does not tell you the original function exactly. You also need to take into account the initial condition. So while we have both
\begin{align*}
\ddt{A_0} \amp = e^t \text{,} \amp \ddt{(\exp)} \amp = e^t \text{,}
\end{align*}
we find a mismatch in their initial values:
\begin{align*}
A_0(0) \amp = \ccmint{0}{0}{ e^ u }{u} = 0 \text{,} \amp
\exp(0) \amp = e^0 = 1 \text{.}
\end{align*}
So it seems that, similar to
Formula 2 in
Pattern 10.4.10, we need a “correction term” in our formula for
\(A_0(t) \text{,}\) where the correction amount is precisely the amount of mismatch in initial value that we found above:
\begin{equation*}
\ccmint{0}{t}{ e^u }{u} = e^t - 1 \text{.}
\end{equation*}
In the case that the exponential rate function has a different base, we also need a
vertical scale correction factor. (Compare with the vertical scale factor in the derivative formula of a general exponential function in
Pattern 12.6.10.)
Pattern 12.7.1. Integral of an exponential function.
For rate function \(r(t) = a^t \) (with positive base \(a \)), we have
\begin{equation*}
\ccmint{0}{t}{a^u}{u} = \frac{a^t - 1}{\ln(a)} \text{.}
\end{equation*}
A quantity experiencing an exponential rate of variation can itself be modelled by an exponential function
\begin{equation*}
q(t) = q_0 + \frac{a^t - 1}{\ln(a)} \text{,}
\end{equation*}
where \(q_0 = q(0) \) is the initial amount.
In the case of the natural exponential function as the rate function (that is, where \(a = e \)), then since \(\ln(e) = 1 \) we have
\begin{equation*}
\ccmint{0}{t}{e^u}{u} = e^t - 1 \text{.}
\end{equation*}
Example 12.7.3. Using Pattern 12.7.1.
\begin{equation*}
\ccmint{3}{4}{ t + \frac{1}{t} + e^t }{t} \text{.}
\end{equation*}
We’ll use the same strategy as in
Example 11.1.4 and
Example 10.4.14, but here since we only have a formula for the exponential integral based at initial time
\(t_0 = 0 \text{,}\) we’ll first split into two integrals.
\begin{align*}
\amp \ccmint{3}{4}{t + \frac{1}{t}}{t}
\amp
\amp \ccmint{3}{4}{ e^t }{t}\\
\amp = \ccmint{1}{4}{t + \frac{1}{t}}{t} - \ccmint{1}{3}{t + \frac{1}{t}}{t}
\amp
\amp = \ccmint{0}{4}{e^t}{t} - \ccmint{0}{3}{e^t}{t}\\
\amp = \left( \frac{4^2 - 1}{2} + \ln(4) \right) - \left( \frac{3^2 - 1}{2} + \ln(3) \right)
\amp
\amp = (e^4 - 1) - (e^3 - 1)\\
\amp = \frac{7}{2} + \ln\left(\frac{4}{3}\right)
\amp
\amp = e^4 - e^3
\end{align*}
Our original integral is now just the sum of these two integrals.
\begin{align*}
\ccmint{3}{4}{ t + \frac{1}{t} + e^t }{t}
\amp = \ccmint{3}{4}{t + \frac{1}{t}}{t} + \ccmint{3}{4}{ e^t }{t}\\
\amp = \frac{7}{2} + \ln\left(\frac{4}{3}\right) + e^4 - e^3
\end{align*}