3. Derivatives

# 3.9 Derivatives of Exponential and Logarithmic 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 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 , 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 , where is a positive integer—as the product of multiplied by itself times. Later, we defined for a positive integer , and for positive integers and . These definitions leave open the question of the value of where is an arbitrary real number. By assuming the *continuity* of , we may interpret as where the values of as we take the limit are rational. For example, we may view as the number satisfying

As we see in the following table, .

64 | 77.8802710486 | ||

73.5166947198 | 77.8810268071 | ||

77.7084726013 | 77.9242251944 | ||

77.8162741237 | 78.7932424541 | ||

77.8702309526 | 84.4485062895 | ||

77.8799471543 | 256 |

We also assume that for , the value of the derivative exists. In this section, we show that by making this one additional assumption, it is possible to prove that the function is differentiable everywhere.

We make one final assumption: that there is a unique value of for which . We define to be this unique value, as we did in Introduction to Functions and Graphs. (Figure) provides graphs of the functions , and . A visual estimate of the slopes of the tangent lines to these functions at 0 provides evidence that the value of lies somewhere between 2.7 and 2.8. The function is called the **natural exponential function**. Its inverse, is called the **natural logarithmic function**.

For a better estimate of , we may construct a table of estimates of for functions of the form . Before doing this, recall that

for values of very close to zero. For our estimates, we choose and to obtain the estimate

See the following table.

2 | 2.7183 | ||

2.7 | 2.719 | ||

2.71 | 2.72 | ||

2.718 | 2.8 | ||

2.7182 | 3 |

The evidence from the table suggests that .

The graph of together with the line are shown in (Figure). This line is tangent to the graph of at .

Now that we have laid out our basic assumptions, we begin our investigation by exploring the derivative of . Recall that we have assumed that exists. By applying the limit definition to the derivative we conclude that

Turning to , we obtain the following.

We see that on the basis of the assumption that is differentiable at is not only differentiable everywhere, but its derivative is

For . Thus, we have . (The value of for an arbitrary function of the form , will be derived later.)

### Derivative of the Natural Exponential Function

Let be the natural exponential function. Then

In general,

### Derivative of an Exponential Function

Find the derivative of .

#### Solution

Using the derivative formula and the chain rule,

### Combining Differentiation Rules

Find the derivative of .

#### Solution

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

Find the derivative of .

#### Solution

### Applying the Natural Exponential Function

A colony of mosquitoes has an initial population of 1000. After days, the population is given by . Show that the ratio of the rate of change of the population, , to the population size, is constant.

#### Solution

First find . By using the chain rule, we have . Thus, the ratio of the rate of change of the population to the population size is given by

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

If describes the mosquito population after days, as in the preceding example, what is the rate of change of after 4 days?

#### Solution

996

#### Hint

Find .

# 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.

### The Derivative of the Natural Logarithmic Function

If and , then

More generally, let be a differentiable function. For all values of for which , the derivative of is given by

## Proof

If and , then . Differentiating both sides of this equation results in the equation

Solving for yields

Finally, we substitute to obtain

We may also derive this result by applying the inverse function theorem, as follows. Since is the inverse of , by applying the inverse function theorem we have

Using this result and applying the chain rule to yields

The graph of and its derivative are shown in (Figure).

### Taking a Derivative of a Natural Logarithm

Find the derivative of .

#### Solution

Use (Figure) directly.

### Using Properties of Logarithms in a Derivative

Find the derivative of .

#### 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.

Differentiate: .

#### Solution

#### Hint

Use a property of logarithms to simplify before taking the derivative.

Now that we can differentiate the natural logarithmic function, we can use this result to find the derivatives of and for .

### Derivatives of General Exponential and Logarithmic Functions

Let , and let be a differentiable function.

- If , then
.
More generally, if , then for all values of for which ,

. - If , then
.
More generally, if , then

.

## Proof

If , then . It follows that . Thus . Solving for , we have . Differentiating and keeping in mind that is a constant, we see that

The derivative in (Figure) now follows from the chain rule.

If , then . Using implicit differentiation, again keeping in mind that is constant, it follows that Solving for and substituting , we see that

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

### Applying Derivative Formulas

Find the derivative of .

#### Solution

Use the quotient rule and (Figure).

### Finding the Slope of a Tangent Line

Find the slope of the line tangent to the graph of at .

#### Solution

To find the slope, we must evaluate at . Using (Figure), we see that

By evaluating the derivative at , we see that the tangent line has slope

Find the slope for the line tangent to at .

#### Solution

#### Hint

Evaluate the derivative at .

# Logarithmic Differentiation

At this point, we can take derivatives of functions of the form for certain values of , as well as functions of the form , where and . Unfortunately, we still do not know the derivatives of functions such as or . These functions require a technique called** logarithmic differentiation**, which allows us to differentiate any function of the form . It can also be used to convert a very complex differentiation problem into a simpler one, such as finding the derivative of . We outline this technique in the following problem-solving strategy.

### Problem-Solving Strategy: Using Logarithmic Differentiation

- To differentiate using logarithmic differentiation, take the natural logarithm of both sides of the equation to obtain .
- Use properties of logarithms to expand as much as possible.
- Differentiate both sides of the equation. On the left we will have .
- Multiply both sides of the equation by to solve for .
- Replace by .

### Using Logarithmic Differentiation

Find the derivative of .

#### Solution

Use logarithmic differentiation to find this derivative.

### Using Logarithmic Differentiation

Find the derivative of .

#### Solution

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

### Extending the Power Rule

Find the derivative of where is an arbitrary real number.

#### Solution

The process is the same as in (Figure), though with fewer complications.

Use logarithmic differentiation to find the derivative of .

#### Solution

#### Hint

Follow the problem solving strategy.

### Key Concepts

- On the basis of the assumption that the exponential function is continuous everywhere and differentiable at 0, this function is differentiable everywhere and there is a formula for its derivative.
- We can use a formula to find the derivative of , and the relationship allows us to extend our differentiation formulas to include logarithms with arbitrary bases.
- Logarithmic differentiation allows us to differentiate functions of the form or very complex functions by taking the natural logarithm of both sides and exploiting the properties of logarithms before differentiating.

# Key Equations

**Derivative of the natural exponential function**

**Derivative of the natural logarithmic function**

**Derivative of the general exponential function**

**Derivative of the general logarithmic function**

For the following exercises, find for each function.

**1. **

#### Solution

**2. **

**3. **

#### Solution

**4. **

**5. **

#### Solution

**6. **

**7. **

#### Solution

**8. **

**9. **

#### Solution

**10. **

**11. **

#### Solution

**12. **

**13. **

#### Solution

**14. **

**15. **

#### Solution

For the following exercises, use logarithmic differentiation to find .

**16. **

**17. **

#### Solution

**18. **

**19. **

#### Solution

**20. **

**21. **

#### Solution

**22. **

**23. **

#### Solution

**24. [T]** Find an equation of the tangent line to the graph of at the point where

. Graph both the function and the tangent line.

**25. [T]** Find the equation of the line that is normal to the graph of at the point where . Graph both the function and the normal line.

#### Solution

**26. [T]** Find the equation of the tangent line to the graph of at the point where . (*Hint*: Use implicit differentiation to find .) Graph both the curve and the tangent line.

**27. **Consider the function for .

- Determine the points on the graph where the tangent line is horizontal.
- Determine the intervals where and those where .

#### Solution

a.

b. on , and on

**28. **The formula is the formula for a decaying alternating current.

- Complete the following table with the appropriate values.

0 (i) (ii) (iii) (iv) (v) (vi) (vii) (viii) (ix) - Using only the values in the table, determine where the tangent line to the graph of is horizontal.

**29. [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 .
- Use a. to determine the rate at which the population is increasing in years.
- Use b. to determine the rate at which the population is increasing in 10 years.

#### Solution

a. individuals

b. individuals per year

c. 39,737 individuals per year

**30. [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 , measured in hours.
- Use a. to determine the rate at which the substance is decaying in hours.
- Use b. to determine the rate of decay at hours.

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

,

where gives the number of cases (in thousands) and is measured in years, with corresponding to the beginning of 1960.

- Show work that evaluates and . Briefly describe what these values indicate about the disease in New York City.
- Show work that evaluates and . Briefly describe what these values indicate about the disease in New York City.

#### Solution

a. At the beginning of 1960 there were 5.3 thousand cases of the disease in New York City. At the beginning of 1963 there were approximately 723 cases of the disease in New York City.

b. At the beginning of 1960 the number of cases of the disease was decreasing at rate of -4.611 thousand per year; at the beginning of 1963, the number of cases of the disease was decreasing at a rate of -0.2808 thousand per year.

**32. [T]** The *relative rate of change* of a differentiable function is given by . One model for population growth is a Gompertz growth function, given by where , and 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 months when and
- 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 |

**33. [T]** Using a computer program or a calculator, fit a growth curve to the data of the form .

#### Solution

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

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

#### Solution

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

0 | 69.25 |

10 | 107.5 |

20 | 167.0 |

30 | 259.4 |

40 | 402.8 |

50 | 625.5 |

60 | 971.4 |

70 | 1508.5 |

**36. [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.?

## Glossary

- logarithmic differentiation
- is a technique that allows us to differentiate a function by first taking the natural logarithm of both sides of an equation, applying properties of logarithms to simplify the equation, and differentiating implicitly

## Hint

Don’t forget to use the product rule.