Logarithms were originally developed as a computational tool. The key fact that made this possible is that:
Before the days of calculators and computers, this was critical knowledge for anyone in a computational discipline.
Using the table again, we see that \(\log _{10}(\answer [given]{3.23})\approx 0.5091\). Since we were working in scientific notation, we need to multiply this by \(10^3\). Our final answer is
The moral is:
Logarithms allow us to use addition in place of multiplication.
1 Logarithmic differentiation
When taking derivatives, both the product rule and the quotient rule can be cumbersome to use. Logarithms will save the day. A key point is the following
which follows from the chain rule. Let’s look at an illustrative example to see how this is actually used.
- \(\log _b(xy) = \log _b(x) + \log _b(y)\)
- \(\log _b(x/y) = \log _b(x) - \log _b(y)\)
- \(\log _b(x^y) = y\log _b(x)\)
While we could use the product and quotient rule to solve this problem, it would be tedious. Start by taking the logarithm of the function to be differentiated. \begin{align*} \ln \left (\frac {x^9e^{4x}}{\sqrt {x-4}} \right ) &= \ln \left (\answer [given]{x^9e^{4x}}\right ) - \ln \left (\answer [given]{\sqrt {x-4}}\right )\\ &= \ln \left (x^9\right )+\ln \left (e^{4x}\right ) - \ln \left ((x-4)^{1/2}\right )\\ &= \answer [given]{9}\ln (x)+4x - \answer [given]{\frac {1}{2}}\ln (x-4). \end{align*}
Setting \(f(x) = \frac {x^9e^{4x}}{\sqrt {x-4}}\), we can write
The process above is called logarithmic differentiation. Logarithmic differentiation allows us to compute new derivatives too.
Differentiating both sides, we find
The function \(\ln {(|x|)}\) is not defined at \(x=0\). If \(x<0\) \begin{align*} \frac {d}{dx}\ln {(|x|)} &= \frac {d}{dx}\ln {(\answer [given]{-x})}\\ &=\frac {-1}{\answer [given]{-x}}\\ &=\answer [given]{\frac {1}{x}}. \end{align*}
The next example will be useful when we want to use logarithmic differentiations for functions that assume negative values.
2 Proof of the power rule
Finally, recall that previously we only proved the power rule for positive integer exponents. Now we’ll use logarithmic differentiation to give a proof for all real-valued exponents. We restate the power rule for convenience sake:
We will use logarithmic differentiation. Set \(f(x) = x^n\). Write \begin{align*} \ln (|f(x)|) &= \ln \left (|x|^n\right ) , x\ne 0\\ &= n\ln (|x|). \end{align*}
Now differentiate both sides, and solve for \(f'(x)\) \begin{align*} \frac {f'(x)}{f(x)} &= \frac {n}{x}\\ f'(x) &=\frac {n f(x)}{x}\\ &= \answer [given]{n x^{n-1}}. \end{align*}
Whenever \(x=0\) is in the domain of \(f\), the definition of the derivative at \(x=0\) implies that \(f'(0)=0\), if \(n\ne 1\)
and \(f'(0)=1\), if \(n=1\) , so the power rule applies to \(x=0\), too.
Thus we see that the power rule holds for all real-valued (nonzero) exponents.
While logarithmic differentiation might seem strange and new at first, with a little practice it will seem much more natural to you.
2025-01-06 19:48:39