Learning Objectives
- 3.9.1 Find the derivative of exponential functions.
- 3.9.2 Find the derivative of logarithmic functions.
- 3.9.3 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 3.33 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 e 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.
The evidence from the table suggests that
The graph of together with the line are shown in Figure 3.34. 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.)
Theorem 3.14
Derivative of the Natural Exponential Function
Let be the natural exponential function. Then
In general,
Example 3.74
Derivative of an Exponential Function
Find the derivative of
Solution
Using the derivative formula and the chain rule,
Example 3.75
Combining Differentiation Rules
Find the derivative of
Solution
Use the derivative of the natural exponential function, the quotient rule, and the chain rule.
Checkpoint 3.50
Find the derivative of
Example 3.76
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, 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 is given by
The ratio of the rate of change of the population to the population is the constant 0.3.
Checkpoint 3.51
If describes the mosquito population after days, as in the preceding example, what is the rate of change of 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 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 3.35.
Example 3.77
Taking a Derivative of a Natural Logarithm
Find the derivative of
Solution
Use Equation 3.31 directly.
Example 3.78
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.
Checkpoint 3.52
Differentiate:
Now that we can differentiate the natural logarithmic function, we can use this result to find the derivatives of and for
Theorem 3.16
Derivatives of General Exponential and Logarithmic Functions
Let and let be a differentiable function.
- If, then
(3.32)
More generally, if then for all values of x for which
(3.33) - If then
(3.34)
More generally, if then
(3.35)
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 Equation 3.32 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 (Equation 3.35) follows from the chain rule.
□
Example 3.79
Applying Derivative Formulas
Find the derivative of
Solution
Use the quotient rule and Derivatives of General Exponential and Logarithmic Functions.
Example 3.80
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 Equation 3.33, we see that
By evaluating the derivative at we see that the tangent line has slope
Checkpoint 3.53
Find the slope for the line tangent to 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
Example 3.81
Using Logarithmic Differentiation
Find the derivative of
Solution
Use logarithmic differentiation to find this derivative.
Example 3.82
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.
Example 3.83
Extending the Power Rule
Find the derivative of where is an arbitrary real number.
Solution
The process is the same as in Example 3.82, though with fewer complications.
Checkpoint 3.54
Use logarithmic differentiation to find the derivative of
Checkpoint 3.55
Find the derivative of
Section 3.9 Exercises
For the following exercises, find for each function.
For the following exercises, use logarithmic differentiation to find
[T] Find an equation of the tangent line to the graph of at the point where
Graph both the function and the tangent line.
[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.
[T] Find the equation of the tangent line to the graph of at the point (2, 1). (Hint: Use implicit differentiation to find Graph both the curve and the tangent line.
Consider the function for
- Determine the points on the graph where the tangent line is horizontal.
- Determine the points on the graph where and those where
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.
[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.
[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.
[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
where gives the number of cases (in thousands) and t 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.
[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 |
[T] Using the exponential best fit for the data, write a table containing the derivatives evaluated at each year.
[T] Using the exponential best fit for the data, write a table containing the second derivatives evaluated at each year.
[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.?