# 5.4 Differentiation of Exponential Functions

## Learning Objectives

• Find the derivative of exponential functions.
• Find the derivative of logarithmic functions.
• Use logarithmic differentiation to determine the derivative of a function.

So far, we have learned how to differentiate a variety of functions, including trigonometric, inverse, and implicit functions. In this section, we explore derivatives of exponential and logarithmic functions. As we discussed in Functions, exponential functions play an important role in modeling population growth and the decay of radioactive materials. Logarithmic functions can help rescale large quantities and are particularly helpful for rewriting complicated expressions.

# Derivative of the Exponential Function

Just as when we found the derivatives of other functions, we can find the derivatives of exponential and logarithmic functions using formulas. As we develop these formulas, we need to make certain basic assumptions. The proofs that these assumptions hold are beyond the scope of this course.

First of all, we begin with the assumption that the function $B(x)=b^x, \, b>0$, is defined for every real number and is continuous. In previous courses, the values of exponential functions for all rational numbers were defined—beginning with the definition of $b^n$, where $n$ is a positive integer—as the product of $b$ multiplied by itself $n$ times. Later, we defined $b^0=1, \, b^{−n}=\frac{1}{b^n}$ for a positive integer $n$, and $b^{s/t}=(\sqrt[t]{b})^s$ for positive integers $s$ and $t$. These definitions leave open the question of the value of $b^r$ where $r$ is an arbitrary real number. By assuming the continuity of $B(x)=b^x, \, b>0$, we may interpret $b^r$ as $\underset{x\to r}{\lim}b^x$ where the values of $x$ as we take the limit are rational. For example, we may view ${4}^{\pi}$ as the number satisfying

$$\begin{array}{l}4^3 < 4^{\pi} < 4^4, \, 4^{3.1} < 4^{\pi} < 4^{3.2}, \, 4^{3.14} < 4^{\pi} < 4^{3.15},\\ 4^{3.141} < 4^{\pi} < 4^{3.142}, \, 4^{3.1415} < 4^{\pi} < 4^{3.1416}, \, \cdots \end{array}$$

As we see in the following table, $4^{\pi}\approx 77.88$.

Table 5.5 Approximating a Value of $4^{\pi}$
$x$ $4^x$ $x$ $4^x$
$4^3$ 64 $4^{3.141593}$ 77.8802710486
$4^{3.1}$ 73.5166947198 $4^{3.1416}$ 77.8810268071
$4^{3.14}$ 77.7084726013 $4^{3.142}$ 77.9242251944
$4^{3.141}$ 77.8162741237 $4^{3.15}$ 78.7932424541
$4^{3.1415}$ 77.8702309526 $$4^{3.2}$$ 84.4485062895
$4^{3.14159}$ 77.8799471543 $4^4$ 256

We also assume that for $B(x)=b^x, \, b>0$, the value $B^{\prime}(0)$ of the derivative exists. In this section, we show that by making this one additional assumption, it is possible to prove that the function $B(x)$ is differentiable everywhere.

We make one final assumption: that there is a unique value of $b>0$ for which $B^{\prime}(0)=1$. We define $e$ to be this unique value, as we did in Functions. (Figure 5.8) provides graphs of the functions $y=2^x, \, y=3^x, \, y=2.7^x$, and $y=2.8^x$. A visual estimate of the slopes of the tangent lines to these functions at 0 provides evidence that the value of $e$ lies somewhere between 2.7 and 2.8. The function $E(x)=e^x$ is called the natural exponential function. Its inverse, $L(x)=\log_e x=\ln x$ is called the natural logarithmic function. Figure 5.8 The graph of $E(x)=e^x$ is between $y=2^x$ and $y=3^x$.

For a better estimate of $e$, we may construct a table of estimates of $B^{\prime}(0)$ for functions of the form $B(x)=b^x$. Before doing this, recall that

$$B^{\prime}(0)=\underset{x\to 0}{\lim}\frac{b^x-b^0}{x-0}=\underset{x\to 0}{\lim}\frac{b^x-1}{x} \approx \frac{b^x-1}{x}$$

for values of $x$ very close to zero. For our estimates, we choose $x=0.00001$ and $x=-0.00001$ to obtain the estimate

1
$$\frac{b^{-0.00001}-1}{0.1} < B'(0) < \frac{b^{0.00001}-1}{0.00001}$$

See the following table.

Figure 5.6 Estimating a Value of $e$
$b$ $\small\frac{b^{-0.00001}-1}{-0.00001} < B^{\prime}(0) < \frac{b^{0.00001}-1}{0.00001}$ $b$ $\small\frac{b^{-0.00001}-1}{-0.00001} < B^{\prime}(0) < \frac{b^{0.00001}-1}{0.00001}$
2 $\small0.693145 < B^{\prime}(0) < 0.69315$ 2.7183 $\small1.000002 < B^{\prime}(0) < 1.000012$
2.7 $\small0.993247 < B^{\prime}(0) < 0.993257$ 2.719 $\small1.000259 < B^{\prime}(0) < 1.000269$
2.71 $\small0.996944 < B^{\prime}(0) < 0.996954$ 2.72 $\small1.000627 < B^{\prime}(0) < 1.000637$
2.718 $\small0.999891 < B^{\prime}(0) < 0.999901$ 2.8 $\small1.029614 < B^{\prime}(0) < 1.029625$
2.7182 $\small0.999965 < B^{\prime}(0) < 0.999975$ 3 $\small1.098606 < B^{\prime}(0) < 1.098618$

The evidence from the table suggests that $2.7182 < e < 2.7183$.

The graph of $E(x)=e^x$ together with the line $y=x+1$ are shown in (Figure 5.9). This line is tangent to the graph of $E(x)=e^x$ at $x=0$. Figure 5.9 The tangent line to $E(x)=e^x$ at $x=0$ has slope 1.

Now that we have laid out our basic assumptions, we begin our investigation by exploring the derivative of $B(x)=b^x, \, b>0$. Recall that we have assumed that $B^{\prime}(0)$ exists. By applying the limit definition to the derivative we conclude that

$$B^{\prime}(0)=\underset{h\to 0}{\lim}\frac{b^{0+h}-b^0}{h}=\underset{h\to 0}{\lim}\frac{b^h-1}{h}$$

Turning to $B^{\prime}(x)$, we obtain the following.

$\begin{array}{lllll} B^{\prime}(x) & =\underset{h\to 0}{\lim}\frac{b^{x+h}-b^x}{h} & & & \text{Apply the limit definition of the derivative.} \\ & =\underset{h\to 0}{\lim}\frac{b^xb^h-b^x}{h} & & & \text{Note that} \, b^{x+h}=b^x b^h. \\ & =\underset{h\to 0}{\lim}\frac{b^x(b^h-1)}{h} & & & \text{Factor out} \, b^x. \\ & =b^x\underset{h\to 0}{\lim}\frac{b^h-1}{h} & & & \text{Apply a property of limits.} \\ & =b^x B^{\prime}(0) & & & \text{Use} \, B^{\prime}(0)=\underset{h\to 0}{\lim}\frac{b^{0+h}-b^0}{h}=\underset{h\to 0}{\lim}\frac{b^h-1}{h}. \end{array}$

We see that on the basis of the assumption that $B(x)=b^x$ is differentiable at $0, \, B(x)$ is not only differentiable everywhere, but its derivative is

$$B^{\prime}(x)=b^x B^{\prime}(0)$$

For $E(x)=e^x, \, E^{\prime}(0)=1$. Thus, we have $E^{\prime}(x)=e^x$. (The value of $B^{\prime}(0)$ for an arbitrary function of the form $B(x)=b^x, \, b>0$, will be derived later.)

## Derivative of the Natural Exponential Function

Let $E(x)=e^x$ be the natural exponential function. Then

$$E^{\prime}(x)=e^x$$

In general,

$$\frac{d}{dx}(e^{g(x)})=e^{g(x)} g^{\prime}(x)$$ 