### Learning Objectives

- 3.9.1Find the derivative of exponential functions.
- 3.9.2Find the derivative of logarithmic functions.
- 3.9.3Use 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 Introduction to Functions and Graphs, 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\left(x\right)={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}^{\text{\u2212}n}=\frac{1}{{b}^{n}},$ for a positive integer $n,$ and ${b}^{s\text{/}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\left(x\right)={b}^{x},b>0,$ we may interpret ${b}^{r}$ as $\underset{x\to r}{\text{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}\text{,}\text{\u2026}.\end{array}$$

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

$x$ | ${4}^{x}$ | $x$ | ${4}^{x}$ |
---|---|---|---|

$3$ | 64 | $3.141593$ | 77.8802710486 |

$3.1$ | 73.5166947198 | $3.1416$ | 77.8810268071 |

$3.14$ | 77.7084726013 | $3.142$ | 77.9242251944 |

$3.141$ | 77.8162741237 | $3.15$ | 78.7932424541 |

$3.1415$ | 77.8702309526 | $3.2$ | 84.4485062895 |

$3.14159$ | 77.8799471543 | $4$ | 256 |

Table 3.6 Approximating a Value of ${4}^{\pi}$

We also assume that for $B\left(x\right)={b}^{x},b>0,$ the value ${B}^{\prime}\left(0\right)$ 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\left(x\right)$ is differentiable everywhere.

We make one final assumption: that there is a unique value of $b>0$ for which ${B}^{\prime}\left(0\right)=1.$ We define $e$ to be this unique value, as we did in Introduction to Functions and Graphs. Figure 3.33 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\left(x\right)={e}^{x}$ is called the natural exponential function. Its inverse, $L\left(x\right)={\text{log}}_{e}x=\text{ln}\phantom{\rule{0ex}{0ex}}x$ is called the natural logarithmic function.

Figure 3.33 The graph of $E\left(x\right)={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}\left(0\right)$ for functions of the form $B\left(x\right)={b}^{x}.$ Before doing this, recall that

$${B}^{\prime}\left(0\right)=\underset{x\to 0}{\text{lim}}\frac{{b}^{x}-{b}^{0}}{x-0}=\underset{x\to 0}{\text{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=\mathrm{-0.00001}$ to obtain the estimate

$$\frac{{b}^{\mathrm{-0.00001}}-1}{\mathrm{-0.00001}}<{B}^{\prime}\left(0\right)<\frac{{b}^{0.00001}-1}{0.00001}.$$

See the following table.

$b$ | $\frac{{b}^{\mathrm{-0.00001}}-1}{\mathrm{-0.00001}}<{B}^{\prime}\left(0\right)<\frac{{b}^{0.00001}-1}{0.00001}$ | $b$ | $\frac{{b}^{\mathrm{-0.00001}}-1}{\mathrm{-0.00001}}<{B}^{\prime}\left(0\right)<\frac{{b}^{0.00001}-1}{0.00001}$ |
---|---|---|---|

$2$ | $0.693145<{B}^{\prime}\left(0\right)<0.69315$ | $2.7183$ | $1.000002<{B}^{\prime}\left(0\right)<1.000012$ |

$2.7$ | $0.993247<{B}^{\prime}\left(0\right)<0.993257$ | $2.719$ | $1.000259<{B}^{\prime}\left(0\right)<1.000269$ |

$2.71$ | $0.996944<{B}^{\prime}\left(0\right)<0.996954$ | $2.72$ | $1.000627<{B}^{\prime}\left(0\right)<1.000637$ |

$2.718$ | $0.999891<{B}^{\prime}\left(0\right)<0.999901$ | $2.8$ | $1.029614<{B}^{\prime}\left(0\right)<1.029625$ |

$2.7182$ | $0.999965<{B}^{\prime}\left(0\right)<0.999975$ | $3$ | $1.098606<{B}^{\prime}\left(0\right)<1.098618$ |

Table 3.7 Estimating a Value of $e$

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

The graph of $E\left(x\right)={e}^{x}$ together with the line $y=x+1$ are shown in Figure 3.34. This line is tangent to the graph of $E\left(x\right)={e}^{x}$ at $x=0.$

Figure 3.34 The tangent line to $E\left(x\right)={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\left(x\right)={b}^{x},b>0.$ Recall that we have assumed that ${B}^{\prime}\left(0\right)$ exists. By applying the limit definition to the derivative we conclude that

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

(3.28)

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

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

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

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

(3.29)

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

### Theorem 3.14

#### Derivative of the Natural Exponential Function

Let $E\left(x\right)={e}^{x}$ be the natural exponential function. Then

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

In general,

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

### Example 3.74

#### Derivative of an Exponential Function

Find the derivative of $f\left(x\right)={e}^{\text{tan}(2x)}.$

#### Solution

Using the derivative formula and the chain rule,

$$\begin{array}{cc}\hfill {f}^{\prime}\left(x\right)& ={e}^{\text{tan}\phantom{\rule{0ex}{0ex}}\left(2x\right)}\frac{d}{dx}\left(\text{tan}\phantom{\rule{0ex}{0ex}}\left(2x\right)\right)\hfill \\ & ={e}^{\text{tan}(2x)}{\text{sec}}^{2}\left(2x\right)\xb72.\hfill \end{array}$$

### Example 3.75

#### Combining Differentiation Rules

Find the derivative of $y=\frac{{e}^{{x}^{2}}}{x}.$

#### Solution

Use the derivative of the natural exponential function, the quotient rule, and the chain rule.

$$\begin{array}{ccccc}\hfill {y}^{\prime}& =\frac{\left({e}^{{x}^{2}}\xb72\right)x\xb7x-1\xb7{e}^{{x}^{2}}}{{x}^{2}}\hfill & & & \text{Apply the quotient rule.}\hfill \\ & =\frac{{e}^{{x}^{2}}\left(2{x}^{2}-1\right)}{{x}^{2}}\hfill & & & \text{Simplify.}\hfill \end{array}$$

### Checkpoint 3.50

Find the derivative of $h\left(x\right)=x{e}^{2x}.$

### Example 3.76

#### Applying the Natural Exponential Function

A colony of mosquitoes has an initial population of 1000. After $t$ days, the population is given by $A\left(t\right)=1000{e}^{0.3t}.$ Show that the ratio of the rate of change of the population, ${A}^{\prime}\left(t\right),$ to the population, $A\left(t\right)$ is constant.

#### Solution

First find ${A}^{\prime}\left(t\right).$ By using the chain rule, we have ${A}^{\prime}\left(t\right)=300{e}^{0.3t}.$ Thus, the ratio of the rate of change of the population to the population is given by

$$\frac{{A}^{\text{'}}\left(t\right)}{A\left(t\right)}=\frac{300{e}^{0.3t}}{1000{e}^{0.3t}}=0.3.$$

The ratio of the rate of change of the population to the population is the constant 0.3.

### Checkpoint 3.51

If $A\left(t\right)=1000{e}^{0.3t}$ describes the mosquito population after $t$ days, as in the preceding example, what is the rate of change of $A\left(t\right)$ after 4 days?

### Derivative of the Logarithmic Function

Now that we have the derivative of the natural exponential function, we can use implicit differentiation to find the derivative of its inverse, the natural logarithmic function.

### Theorem 3.15

#### The Derivative of the Natural Logarithmic Function

If $x>0$ and $y=\text{ln}\phantom{\rule{0ex}{0ex}}x,$ then

$$\frac{dy}{dx}=\frac{1}{x}.$$

(3.30)

More generally, let $g\left(x\right)$ be a differentiable function. For all values of $x$ for which ${g}^{\prime}\left(x\right)>0,$ the derivative of $h\left(x\right)=\text{ln}\phantom{\rule{0ex}{0ex}}\left(g\left(x\right)\right)$ is given by

$${h}^{\prime}\left(x\right)=\frac{1}{g\left(x\right)}{g}^{\prime}\left(x\right).$$

(3.31)

#### Proof

If $x>0$ and $y=\text{ln}\phantom{\rule{0ex}{0ex}}x,$ then ${e}^{y}=x.$ Differentiating both sides of this equation results in the equation

$${e}^{y}\frac{dy}{dx}=1.$$

Solving for $\frac{dy}{dx}$ yields

$$\frac{dy}{dx}=\frac{1}{{e}^{y}}.$$

Finally, we substitute $x={e}^{y}$ to obtain

$$\frac{dy}{dx}=\frac{1}{x}.$$

We may also derive this result by applying the inverse function theorem, as follows. Since $y=g(x)=\text{ln}\phantom{\rule{0ex}{0ex}}x$ is the inverse of $f\left(x\right)={e}^{x},$ by applying the inverse function theorem we have

$$\frac{dy}{dx}=\frac{1}{{f}^{\prime}\left(g\left(x\right)\right)}=\frac{1}{{e}^{\text{ln}\phantom{\rule{0ex}{0ex}}x}}=\frac{1}{x}.$$

Using this result and applying the chain rule to $h\left(x\right)=\text{ln}\phantom{\rule{0ex}{0ex}}\left(g\left(x\right)\right)$ yields

$${h}^{\prime}\left(x\right)=\frac{1}{g\left(x\right)}{g}^{\prime}\left(x\right).$$

□

The graph of $y=\text{ln}\phantom{\rule{0ex}{0ex}}x$ and its derivative $\frac{dy}{dx}=\frac{1}{x}$ are shown in Figure 3.35.

Figure 3.35 $\text{The function}\phantom{\rule{0ex}{0ex}}y=\text{ln}\phantom{\rule{0ex}{0ex}}x$ is increasing on $(0,\text{+}\infty ).$ Its derivative $y\prime =\frac{1}{x}$ is greater than zero on $(0,\text{+}\infty ).$

### Example 3.77

#### Taking a Derivative of a Natural Logarithm

Find the derivative of $f\left(x\right)=\text{ln}\phantom{\rule{0ex}{0ex}}\left({x}^{3}+3x-4\right).$

#### Solution

Use Equation 3.31 directly.

$$\begin{array}{ccccc}\hfill {f}^{\prime}\left(x\right)& =\frac{1}{{x}^{3}+3x-4}\xb7\left(3{x}^{2}+3\right)\hfill & & & \text{Use}\phantom{\rule{0ex}{0ex}}g\left(x\right)={x}^{3}+3x-4\phantom{\rule{0ex}{0ex}}\text{in}\phantom{\rule{0ex}{0ex}}{h}^{\prime}\left(x\right)=\frac{1}{g\left(x\right)}{g}^{\prime}\left(x\right).\hfill \\ & =\frac{3{x}^{2}+3}{{x}^{3}+3x-4}\hfill & & & \text{Rewrite.}\hfill \end{array}$$

### Example 3.78

#### Using Properties of Logarithms in a Derivative

Find the derivative of $f\left(x\right)=\text{ln}\phantom{\rule{0ex}{0ex}}\left(\frac{{x}^{2}\text{sin}\phantom{\rule{0ex}{0ex}}x}{2x+1}\right).$

#### Solution

At first glance, taking this derivative appears rather complicated. However, by using the properties of logarithms prior to finding the derivative, we can make the problem much simpler.

$$\begin{array}{cccccc}\hfill f\left(x\right)& =\hfill & \text{ln}\phantom{\rule{0ex}{0ex}}\left(\frac{{x}^{2}\text{sin}\phantom{\rule{0ex}{0ex}}x}{2x+1}\right)=2\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}x+\text{ln}\phantom{\rule{0ex}{0ex}}\left(\text{sin}\phantom{\rule{0ex}{0ex}}x\right)-\text{ln}\phantom{\rule{0ex}{0ex}}\left(2x+1\right)\hfill & & & \text{Apply properties of logarithms.}\hfill \\ \hfill {f}^{\prime}\left(x\right)& =\hfill & \frac{2}{x}+\text{cot}\phantom{\rule{0ex}{0ex}}x-\frac{2}{2x+1}\hfill & & & \text{Apply sum rule and}\phantom{\rule{0ex}{0ex}}{h}^{\prime}\left(x\right)=\frac{1}{g\left(x\right)}{g}^{\prime}\left(x\right).\hfill \end{array}$$

### Checkpoint 3.52

Differentiate: $f\left(x\right)=\text{ln}{\left(3x+2\right)}^{5}.$

Now that we can differentiate the natural logarithmic function, we can use this result to find the derivatives of $y=lo{g}_{b}x$ and $y={b}^{x}$ for $b>0,b\ne 1.$

### Theorem 3.16

#### Derivatives of General Exponential and Logarithmic Functions

Let $b>0,b\ne 1,$ and let $g\left(x\right)$ be a differentiable function.

- If, $y={\text{log}}_{b}x,$ then
$$\frac{dy}{dx}=\frac{1}{x\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}b}.$$

(3.32)

More generally, if $h\left(x\right)={\text{log}}_{b}\left(g\left(x\right)\right),$ then for all values of*x*for which $g\left(x\right)>0,$$${h}^{\prime}\left(x\right)=\frac{{g}^{\prime}\left(x\right)}{g\left(x\right)\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}b}.$$

(3.33)

- If $y={b}^{x},$ then
$$\frac{dy}{dx}={b}^{x}\text{ln}\phantom{\rule{0ex}{0ex}}b.$$

(3.34)

More generally, if $h\left(x\right)={b}^{g(x)},$ then$${h}^{\prime}\left(x\right)={b}^{g(x)}g\text{\u2032}\left(x\right)\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}b.$$

(3.35)

#### Proof

If $y={\text{log}}_{b}x,$ then ${b}^{y}=x.$ It follows that $\text{ln}\phantom{\rule{0ex}{0ex}}\left({b}^{y}\right)=\text{ln}\phantom{\rule{0ex}{0ex}}x.$ Thus $y\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}b=\text{ln}\phantom{\rule{0ex}{0ex}}x.$ Solving for $y,$ we have $y=\frac{\text{ln}\phantom{\rule{0ex}{0ex}}x}{\text{ln}\phantom{\rule{0ex}{0ex}}b}.$ Differentiating and keeping in mind that $\text{ln}\phantom{\rule{0ex}{0ex}}b$ is a constant, we see that

$$\frac{dy}{dx}=\frac{1}{x\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}b}.$$

The derivative in Equation 3.33 now follows from the chain rule.

If $y={b}^{x},$ then $\text{ln}\phantom{\rule{0ex}{0ex}}y=x\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}b.$ Using implicit differentiation, again keeping in mind that $\text{ln}\phantom{\rule{0ex}{0ex}}b$ is constant, it follows that $\frac{1}{y}\phantom{\rule{0ex}{0ex}}\frac{dy}{dx}=\text{ln}\phantom{\rule{0ex}{0ex}}b.$ Solving for $\frac{dy}{dx}$ and substituting $y={b}^{x},$ we see that

$$\frac{dy}{dx}=y\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}b={b}^{x}\text{ln}\phantom{\rule{0ex}{0ex}}b.$$

The more general derivative (Equation 3.35) follows from the chain rule.

□

### Example 3.79

#### Applying Derivative Formulas

Find the derivative of $h\left(x\right)=\frac{{3}^{x}}{{3}^{x}+2}.$

#### Solution

Use the quotient rule and Derivatives of General Exponential and Logarithmic Functions.

$$\begin{array}{ccccc}\hfill {h}^{\prime}\left(x\right)& =\frac{{3}^{x}\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}3\left({3}^{x}+2\right)-{3}^{x}\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}3\left({3}^{x}\right)}{{\left({3}^{x}+2\right)}^{2}}\hfill & & & \text{Apply the quotient rule.}\hfill \\ & =\frac{2\xb7{3}^{x}\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}3}{{\left({3}^{x}+2\right)}^{2}}\hfill & & & \text{Simplify.}\hfill \end{array}$$

### Example 3.80

#### Finding the Slope of a Tangent Line

Find the slope of the line tangent to the graph of $y={\text{log}}_{2}\left(3x+1\right)$ at $x=1.$

#### Solution

To find the slope, we must evaluate $\frac{dy}{dx}$ at $x=1.$ Using Equation 3.33, we see that

$$\frac{dy}{dx}=\frac{3}{\left(3x+1\right)\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}2}.$$

By evaluating the derivative at $x=1,$ we see that the tangent line has slope

$$\frac{dy}{dx}|\begin{array}{l}\\ {}_{x=1}\end{array}=\frac{3}{4\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}2}=\frac{3}{\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}16}.$$

### Checkpoint 3.53

Find the slope for the line tangent to $y={3}^{x}$ at $x=2.$

### Logarithmic Differentiation

At this point, we can take derivatives of functions of the form $y={\left(g\left(x\right)\right)}^{n}$ for certain values of $n,$ as well as functions of the form $y={b}^{g(x)},$ where $b>0$ and $b\ne 1.$ Unfortunately, we still do not know the derivatives of functions such as $y={x}^{x}$ or $y={x}^{\pi}.$ These functions require a technique called logarithmic differentiation, which allows us to differentiate any function of the form $h\left(x\right)=g{\left(x\right)}^{f(x)}.$ It can also be used to convert a very complex differentiation problem into a simpler one, such as finding the derivative of $y=\frac{x\sqrt{2x+1}}{{e}^{x}{\text{sin}}^{3}x}.$ We outline this technique in the following problem-solving strategy.

### Problem-Solving Strategy

#### Problem-Solving Strategy: Using Logarithmic Differentiation

- To differentiate $y=h\left(x\right)$ using logarithmic differentiation, take the natural logarithm of both sides of the equation to obtain $\text{ln}\phantom{\rule{0ex}{0ex}}y=\text{ln}\phantom{\rule{0ex}{0ex}}\left(h\left(x\right)\right).$
- Use properties of logarithms to expand $\text{ln}\phantom{\rule{0ex}{0ex}}\left(h\left(x\right)\right)$ as much as possible.
- Differentiate both sides of the equation. On the left we will have $\frac{1}{y}\phantom{\rule{0ex}{0ex}}\frac{dy}{dx}.$
- Multiply both sides of the equation by $y$ to solve for $\frac{dy}{dx}.$
- Replace $y$ by $h\left(x\right).$

### Example 3.81

#### Using Logarithmic Differentiation

Find the derivative of $y={\left(2{x}^{4}+1\right)}^{\text{tan}\phantom{\rule{0ex}{0ex}}x}.$

#### Solution

Use logarithmic differentiation to find this derivative.

$$\begin{array}{cccccc}\hfill \text{ln}\phantom{\rule{0ex}{0ex}}y& =\hfill & \text{ln}{\left(2{x}^{4}+1\right)}^{\text{tan}\phantom{\rule{0ex}{0ex}}x}\hfill & & & \text{Step 1. Take the natural logarithm of both sides.}\hfill \\ \hfill \text{ln}\phantom{\rule{0ex}{0ex}}y& =\hfill & \text{tan}\phantom{\rule{0ex}{0ex}}x\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}\left(2{x}^{4}+1\right)\hfill & & & \text{Step 2. Expand using properties of logarithms.}\hfill \\ \hfill \frac{1}{y}\phantom{\rule{0ex}{0ex}}\frac{dy}{dx}& =\hfill & {\text{sec}}^{2}x\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}\left(2{x}^{4}+1\right)+\frac{8{x}^{3}}{2{x}^{4}+1}\xb7\text{tan}\phantom{\rule{0ex}{0ex}}x\hfill & & & \begin{array}{c}\text{Step 3. Differentiate both sides. Use the}\hfill \\ \text{product rule on the right.}\hfill \end{array}\hfill \\ \hfill \frac{dy}{dx}& =\hfill & y\xb7\left({\text{sec}}^{2}x\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}\left(2{x}^{4}+1\right)+\frac{8{x}^{3}}{2{x}^{4}+1}\xb7\text{tan}\phantom{\rule{0ex}{0ex}}x\right)\hfill & & & \text{Step 4. Multiply by}\phantom{\rule{0ex}{0ex}}y\phantom{\rule{0ex}{0ex}}\text{on both sides.}\hfill \\ \hfill \frac{dy}{dx}& =\hfill & {\left(2{x}^{4}+1\right)}^{\text{tan}\phantom{\rule{0ex}{0ex}}x}\left({\text{sec}}^{2}x\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}\left(2{x}^{4}+1\right)+\frac{8{x}^{3}}{2{x}^{4}+1}\xb7\text{tan}\phantom{\rule{0ex}{0ex}}x\right)\hfill & & & \text{Step 5. Substitute}\phantom{\rule{0ex}{0ex}}y={\left(2{x}^{4}+1\right)}^{\text{tan}\phantom{\rule{0ex}{0ex}}x}.\hfill \end{array}$$

### Example 3.82

#### Using Logarithmic Differentiation

Find the derivative of $y=\frac{x\sqrt{2x+1}}{{e}^{x}{\text{sin}}^{3}x}.$

#### Solution

This problem really makes use of the properties of logarithms and the differentiation rules given in this chapter.

$$\begin{array}{cccccc}\hfill \text{ln}\phantom{\rule{0ex}{0ex}}y& =\hfill & \text{ln}\phantom{\rule{0ex}{0ex}}\frac{x\sqrt{2x+1}}{{e}^{x}{\text{sin}}^{3}x}\hfill & & & \text{Step 1. Take the natural logarithm of both sides.}\hfill \\ \hfill \text{ln}\phantom{\rule{0ex}{0ex}}y& =\hfill & \text{ln}\phantom{\rule{0ex}{0ex}}x+\frac{1}{2}\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}\left(2x+1\right)-x\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}e-3\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}\text{sin}\phantom{\rule{0ex}{0ex}}x\hfill & & & \text{Step 2. Expand using properties of logarithms.}\hfill \\ \hfill \frac{1}{y}\phantom{\rule{0ex}{0ex}}\frac{dy}{dx}& =\hfill & \frac{1}{x}+\frac{1}{2x+1}-1-3\frac{\text{cos}\phantom{\rule{0ex}{0ex}}x}{\text{sin}\phantom{\rule{0ex}{0ex}}x}\hfill & & & \text{Step 3. Differentiate both sides.}\hfill \\ \hfill \frac{dy}{dx}& =\hfill & y\left(\frac{1}{x}+\frac{1}{2x+1}-1-3\phantom{\rule{0ex}{0ex}}\text{cot}\phantom{\rule{0ex}{0ex}}x\right)\hfill & & & \text{Step 4. Multiply by}\phantom{\rule{0ex}{0ex}}y\phantom{\rule{0ex}{0ex}}\text{on both sides.}\hfill \\ \hfill \frac{dy}{dx}& =\hfill & \frac{x\sqrt{2x+1}}{{e}^{x}{\text{sin}}^{3}x}\left(\frac{1}{x}+\frac{1}{2x+1}-1-3\phantom{\rule{0ex}{0ex}}\text{cot}\phantom{\rule{0ex}{0ex}}x\right)\hfill & & & \text{Step 5. Substitute}\phantom{\rule{0ex}{0ex}}y=\frac{x\sqrt{2x+1}}{{e}^{x}{\text{sin}}^{3}x}.\hfill \end{array}$$

### Example 3.83

#### Extending the Power Rule

Find the derivative of $y={x}^{r}$ where $r$ is an arbitrary real number.

#### Solution

The process is the same as in Example 3.82, though with fewer complications.

$$\begin{array}{cccccc}\hfill \text{ln}\phantom{\rule{0ex}{0ex}}y& =\hfill & \text{ln}{x}^{r}\hfill & & & \text{Step 1. Take the natural logarithm of both sides.}\hfill \\ \hfill \text{ln}\phantom{\rule{0ex}{0ex}}y& =\hfill & r\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}x\hfill & & & \text{Step 2. Expand using properties of logarithms.}\hfill \\ \hfill \frac{1}{y}\phantom{\rule{0ex}{0ex}}\frac{dy}{dx}& =\hfill & r\frac{1}{x}\hfill & & & \text{Step 3. Differentiate both sides.}\hfill \\ \hfill \frac{dy}{dx}& =\hfill & y\frac{r}{x}\hfill & & & \text{Step 4. Multiply by}\phantom{\rule{0ex}{0ex}}y\phantom{\rule{0ex}{0ex}}\text{on both sides.}\hfill \\ \hfill \frac{dy}{dx}& =\hfill & {x}^{r}\frac{r}{x}\hfill & & & \text{Step 5. Substitute}\phantom{\rule{0ex}{0ex}}y={x}^{r}.\hfill \\ \hfill \frac{dy}{dx}& =\hfill & r{x}^{r-1}\hfill & & & \text{Simplify.}\hfill \end{array}$$

### Checkpoint 3.54

Use logarithmic differentiation to find the derivative of $y={x}^{x}.$

### Checkpoint 3.55

Find the derivative of $y={\left(\text{tan}\phantom{\rule{0ex}{0ex}}x\right)}^{\pi}.$

### Section 3.9 Exercises

For the following exercises, find ${f}^{\prime}\left(x\right)$ for each function.

331.

$f\left(x\right)={x}^{2}{e}^{x}$

332.

$f\left(x\right)=\frac{{e}^{\text{\u2212}x}}{x}$

333.

$f\left(x\right)={e}^{{x}^{3}\text{ln}\phantom{\rule{0ex}{0ex}}x}$

334.

$f\left(x\right)=\sqrt{{e}^{2x}+2x}$

335.

$f\left(x\right)=\frac{{e}^{x}-{e}^{\text{\u2212}x}}{{e}^{x}+{e}^{\text{\u2212}x}}$

336.

$f\left(x\right)=\frac{{10}^{x}}{\text{ln}\phantom{\rule{0ex}{0ex}}10}$

337.

$f\left(x\right)={2}^{4x}+4{x}^{2}$

338.

$f\left(x\right)={3}^{\text{sin}\phantom{\rule{0ex}{0ex}}3\text{x}}$

339.

$f\left(x\right)={x}^{\pi}\xb7{\pi}^{x}$

340.

$f\left(x\right)=\text{ln}\phantom{\rule{0ex}{0ex}}\left(4{x}^{3}+x\right)$

341.

$f\left(x\right)=\text{ln}\sqrt{5x-7}$

342.

$f\left(x\right)={x}^{2}\text{ln}\phantom{\rule{0ex}{0ex}}9x$

343.

$f\left(x\right)=\text{log}\phantom{\rule{0ex}{0ex}}\left(\text{sec}\phantom{\rule{0ex}{0ex}}x\right)$

344.

$f\left(x\right)={\text{log}}_{7}{\left(6{x}^{4}+3\right)}^{5}$

345.

$f\left(x\right)={2}^{x}\xb7{\text{log}}_{3}{7}^{{x}^{2}-4}$

For the following exercises, use logarithmic differentiation to find $\frac{dy}{dx}.$

346.

$y={x}^{\sqrt{x}}$

347.

$y={\left(\text{sin}\phantom{\rule{0ex}{0ex}}2x\right)}^{4x}$

348.

$y={\left(\text{ln}\phantom{\rule{0ex}{0ex}}x\right)}^{\text{ln}\phantom{\rule{0ex}{0ex}}x}$

349.

$y={x}^{{\text{log}}_{2}x}$

350.

$y={\left({x}^{2}-1\right)}^{\text{ln}\phantom{\rule{0ex}{0ex}}x}$

351.

$y={x}^{\text{cot}\phantom{\rule{0ex}{0ex}}x}$

352.

$y=\frac{x+11}{\sqrt[3]{{x}^{2}-4}}$

353.

$y={x}^{\mathrm{-1}\text{/}2}{\left({x}^{2}+3\right)}^{2\text{/}3}{\left(3x-4\right)}^{4}$

354.

**[T]** Find an equation of the tangent line to the graph of $f\left(x\right)=4x{e}^{\left({x}^{2}-1\right)}$ at the point where

$x=\mathrm{-1}.$ Graph both the function and the tangent line.

355.

**[T]** Find the equation of the line that is normal to the graph of $f\left(x\right)=x\xb7{5}^{x}$ at the point where $x=1.$ Graph both the function and the normal line.

356.

**[T]** Find the equation of the tangent line to the graph of ${x}^{3}-x\phantom{\rule{0ex}{0ex}}\text{ln}\phantom{\rule{0ex}{0ex}}y+{y}^{3}=2x+5$ at the point (2, 1). (*Hint*: Use implicit differentiation to find $\frac{dy}{dx}.)$ Graph both the curve and the tangent line.

357.

Consider the function $y={x}^{1\text{/}x}$ for $x>0.$

- Determine the points on the graph where the tangent line is horizontal.
- Determine the points on the graph where ${y}^{\prime}>0$ and those where ${y}^{\prime}<0.$

358.

The formula $I\left(t\right)=\frac{\text{sin}\phantom{\rule{0ex}{0ex}}t}{{e}^{t}}$ is the formula for a decaying alternating current.

- Complete the following table with the appropriate values.
$t$ $\frac{\text{sin}\phantom{\rule{0ex}{0ex}}t}{{e}^{t}}$ 0 (i) $\frac{\pi}{2}$ (ii) $\pi $ (iii) $\frac{3\pi}{2}$ (iv) $2\pi $ (v) $\frac{5\pi}{2}$ (vi) $3\pi $ (vii) $\frac{7\pi}{2}$ (viii) $4\pi $ (ix) - Using only the values in the table, determine where the tangent line to the graph of $I\left(t\right)$ is horizontal.

359.

**[T]** The population of Toledo, Ohio, in 2000 was approximately 500,000. Assume the population is increasing at a rate of 5% per year.

- Write the exponential function that relates the total population as a function of $t.$
- Use a. to determine the rate at which the population is increasing in $t$ years.
- Use b. to determine the rate at which the population is increasing in 10 years.

360.

**[T]** An isotope of the element erbium has a half-life of approximately 12 hours. Initially there are 9 grams of the isotope present.

- Write the exponential function that relates the amount of substance remaining as a function of $t,$ measured in hours.
- Use a. to determine the rate at which the substance is decaying in $t$ hours.
- Use b. to determine the rate of decay at $t=4$ hours.

361.

**[T]** The number of cases of influenza in New York City from the beginning of 1960 to the beginning of 1964 is modeled by the function

$N\left(t\right)=5.3{e}^{0.093{t}^{2}-0.87t},(0\le t\le 4),$where $N\left(t\right)$ gives the number of cases (in thousands) and *t* is measured in years, with $t=0$ corresponding to the beginning of 1960.

- Show work that evaluates $N\left(0\right)$ and $N\left(4\right).$ Briefly describe what these values indicate about the disease in New York City.
- Show work that evaluates ${N}^{\prime}\left(0\right)$ and ${N}^{\prime}\left(3\right).$ Briefly describe what these values indicate about the disease in New York City.

362.

**[T]** The *relative rate of change* of a differentiable function $y=f\left(x\right)$ is given by $\frac{100\xb7{f}^{\prime}\left(x\right)}{f\left(x\right)}\text{\%}.$ One model for population growth is a Gompertz growth function, given by $P\left(x\right)=a{e}^{\text{\u2212}b\xb7{e}^{\text{\u2212}cx}}$ where $a,b,$ and $c$ are constants.

- Find the relative rate of change formula for the generic Gompertz function.
- Use a. to find the relative rate of change of a population in $x=20$ months when $a=204,b=0.0198,$ and $c=0.15.$
- Briefly interpret what the result of b. means.

For the following exercises, use the population of New York City from 1790 to 1860, given in the following table.

Years since 1790 | Population |
---|---|

0 | 33,131 |

10 | 60,515 |

20 | 96,373 |

30 | 123,706 |

40 | 202,300 |

50 | 312,710 |

60 | 515,547 |

70 | 813,669 |

Table 3.8 New York City Population Over Time Source: http://en.wikipedia.org/wiki/Largest_cities_in_the_United_States

_by_population_by_decade.

363.

**[T]** Using a computer program or a calculator, fit a growth curve to the data of the form $p=a{b}^{t}.$

364.

**[T]** Using the exponential best fit for the data, write a table containing the derivatives evaluated at each year.

365.

**[T]** Using the exponential best fit for the data, write a table containing the second derivatives evaluated at each year.

366.

**[T]** Using the tables of first and second derivatives and the best fit, answer the following questions:

- Will the model be accurate in predicting the future population of New York City? Why or why not?
- Estimate the population in 2010. Was the prediction correct from a.?

I'm an enthusiast with a deep understanding of calculus, particularly in the context of derivatives of exponential and logarithmic functions. Let's delve into the content of the article you provided.

The article discusses the derivatives of exponential and logarithmic functions, starting with the assumption that the function (B(x) = b^x, b > 0) is defined and continuous for every real number (x). The continuity of (B(x)) allows the interpretation of (b^r) for an arbitrary real number (r) as a limit.

The natural exponential function (E(x) = e^x) is introduced, and its derivative (E'(x) = e^x) is derived. The value of (e) is defined as the unique value for which (E'(0) = 1). The article provides evidence and estimates for the value of (e), concluding that (2.7182 < e < 2.7183).

The derivative of the natural logarithmic function (L(x) = \ln(x)) is derived as (L'(x) = 1/x). The general formulas for derivatives of logarithmic functions and exponential functions are also presented.

Examples are provided to illustrate the application of these derivative rules, including finding the derivative of functions like (f(x) = e^{\tan(2x)}) and (y = \ln(x^2\sin(x)/(2x + 1))).

The article then explores the derivative of the general exponential function (y = b^x) and the general logarithmic function (y = \log_b(x)). Formulas for their derivatives are derived.

The concept of logarithmic differentiation is introduced as a technique to differentiate functions of the form (h(x) = g(x) \cdot f(x)). Examples, such as finding the derivative of (y = (2x^4 + 1)\tan(x)), illustrate the application of logarithmic differentiation.

The article concludes with extending the power rule to find the derivative of (y = x^r), where (r) is an arbitrary real number.

If you have specific questions or if there's anything else you'd like to explore within this topic, feel free to ask!