Kevin Gonzales, Eric Hopkins, Catherine Zimmitti, Cheryl Kane, Modified to fit Applied Calculus from Coordinated Calculus by Nathan Wakefield et. al., Based upon Active Calculus by Matthew Boelkins
What is the derivative of the natural logarithm function?
This section corresponds to 2.9 Derivatives of Logs in the workbook.
One of the most important functions in all of mathematics is the natural exponential function \(f(x) = e^x\text{.}\) Its inverse, the natural logarithm \(g(x) =
\ln(x)\text{,}\) is similarly important. One of our goals in this section is to learn how to differentiate the logarithm function.
Subsection3.3.1The Derivative of the Natural Logarithm Function
Notice that for the first time in our work, differentiating a basic function of a particular type has led to a function of a very different nature: the derivative of the natural logarithm is not another logarithm, nor even an exponential function, but rather a rational one.
This rule for the natural logarithm function now joins our list of basic derivative rules. Note that this rule applies only to positive values of \(x\text{,}\) as these are the only values for which \(\ln(x)\) is defined. Derivatives of logarithms may now be computed in concert with all of the rules known to date.
In words: the derivative of the natural log evaluated at a function \(g(x)\) is the derivative of the inside function \(g'(x)\) divided by the inside function.
Example3.3.3.
For each function given below, find its derivative.
In some case, although we could apply the chain rule directly, it is best to rewrite a natural log function using the properties of logs before we take a derivative.
In this case we could apply the chain rule to take the derivative directly, however we would have to apply the chain rule twice along with the quotient rule. In this case it is much more efficient to rewrite the function first using the properties of logs:
We will consider tangent lines for natural log functions. Recall that the domain of the natural log function is \((0,\infty)\text{,}\) thus any tangent line must be only for positive values of x.
Since the \(\ln(1)=0\) the y-value is 0, thus the tangent line can be given by the equation:
\begin{equation*}
y=3(x-1)
\end{equation*}
Although the natural log has a domain \(x\gt0\) if we consider \(\ln(g(x))\) we may be able to evaluate this for values of \(x\leq0\) as long as \(g(x)\gt0\text{.}\)
Example3.3.7.
Find the equation of the line tangent to \(h(x) = \ln(x^2+1)\) at \(x=-1\text{.}\)
In Figure 3.3.9 on the right, we are reminded that since the natural exponential function has the property that its derivative is itself, the slope of the tangent to \(y = e^x\) is equal to the height of the curve at that point. For instance, at the point \(A = (\ln(0.5), 0.5)\text{,}\) the slope of the tangent line is \(m_A = 0.5\text{,}\) and at \(B = (\ln(5), 5)\text{,}\) the tangent line’s slope is \(m_B = 5\text{.}\)
At the corresponding points \(A'\) and \(B'\) on the graph of the natural logarithm function (which come from reflecting \(A\) and \(B\) across the line \(y = x\)), we know that the slope of the tangent line is the reciprocal of the \(x\)-coordinate of the point (since \(\frac{d}{dx}[\ln(x)] = \frac{1}{x}\)). Thus, at \(A' = (0.5, \ln(0.5))\text{,}\) we have \(m_{A'} = \frac{1}{0.5} = 2\text{,}\) and at \(B'
= (5, \ln(5))\text{,}\)\(m_{B'} = \frac{1}{5}\text{.}\)
In particular, we observe that \(m_{A'} = \frac{1}{m_A}\) and \(m_{B'}
= \frac{1}{m_B}\text{.}\) This is not a coincidence, but in fact holds for any curve \(y
=
f(x)\) and its inverse, provided the inverse exists. This is due to the reflection of the graphs across the line \(y = x\text{:}\) the reflection changes the roles of \(x\) and \(y\text{,}\) thus reversing the rise and run, so the slope of the inverse function at the reflected point is the reciprocal of the slope of the original function.
Subsection3.3.2Summary
The derivative of \(f(x) = \ln(x)\) is \(f'(x) =
\frac{1}{x}\text{.}\) When combined with chain rule, we see that the derivative of \(f(x) = \ln\left(g(x)\right)\) is \(f'(x) =
\frac{g'(x)}{g(x)}\text{.}\)
Exercises3.3.3Exercises
1.Composite function involving logarithms and polynomials.
Find the derivative of the function \(f(t)\text{,}\) below.
\(f(t)=\ln(t^{9}+7)\)
\(f'(t) =\)
2.Composite function from a graph.
Let \((x_0, y_0) = (1, 4)\) and \((x_1, y_1) = (1.3, 4.4)\text{.}\) Use the following graph of the function \(f\) to find the indicated derivatives.
First simplify \(f(x)\) using properties of logs. Use the property that \(\ln(A^n)=n\ln(A)\) and the property that \(\displaystyle \ln\left(\frac{A}{B}\right)=\ln(A)-\ln(B)\)
5.Tangent lines using logs.
Find an equation of the line tangent to the graph of \(y=3 \ln(x)\) at \(x=4\text{.}\)
Tangent Line: \(y =\)
(Keep your answer in terms of \(\ln(x)\) or round to four decimal places.)
Hint.
Recall to find the tangent line:
First find the derivative.
Second, find the slope by plugging the point \(x=4\) into the derivative.
Find the y-value by plugging the point \(x=4\) into the original function.
Put together using the formula, the tangent line of \(f(x)\) at \(x=a\) is