Study the rules and methods for differentiating logarithmic functions and understand their role in calculus problems.
The derivative of the logarithm is one of the simplest and most useful: it transforms a logarithm into a fraction. Together with the logarithmic derivative $\frac{f'}{f}$ it allows differentiating products, quotients, and powers with variable exponents like $x^x$, which other rules do not cover [1].
For $x > 0$ the following hold
$$(\ln x)' = \frac{1}{x}, \qquad (\log_a x)' = \frac{1}{x\ln a}.$$
The second case follows from the first, because $\log_a x = \frac{\ln x}{\ln a}$. For a composite function, the chain rule gives $(\ln f(x))' = \frac{f'(x)}{f(x)}$, valid where $f(x) > 0$. For $x < 0$ we have $(\ln|x|)' = \frac{1}{x}$ [1][2].
In $x = 2$ we have $(\ln x)' = 0.5$ (calculation). For the decimal logarithm, $(\log_{10} x)'$ in $x = 10$ equals $\frac{1}{10\ln 10} \approx 0.0434$ (calculation). For $y = \ln(x^2 + 1)$ we have $y' = \frac{2x}{x^2 + 1}$, which in $x = 1$ equals $1$ (calculation). The logarithm grows increasingly slowly: its slope $\frac{1}{x}$ decreases as $x$ increases.
The ratio $\frac{f'}{f}$ is the relative change of $f$. It transforms products into sums: for $f = uv$ we have $\frac{f'}{f} = \frac{u'}{u} + \frac{v'}{v}$. Logarithmic differentiation exploits this property: one takes the logarithm of $y = f(x)$, differentiates it, and multiplies by $y$.
For $y = x^x$ we have $\ln y = x\ln x$, therefore $\frac{y'}{y} = \ln x + 1$ and $y' = x^x(\ln x + 1)$. In $x = 2$ it holds $4 \cdot (0.6931 + 1) \approx 6.7726$ (calculation, value assumed for $x$).
The logarithmic derivative is used in economics for growth rates (percentage change), in statistics in maximum likelihood, where the logarithm of the likelihood is differentiated, and in physics for relative changes (general observation).
The logarithm is defined only for positive arguments, and $\frac{f'}{f}$ does not exist where $f = 0$. A common mistake is differentiating $\ln f(x)$ as $\frac{1}{x}$ without the factor $f'(x)$: for a composite function the chain rule is needed (general observation). For the logarithm, see the lines on logarithms and the natural logarithm; for the chain rule, the dedicated line.
[1] Wikipedia (it): Derivata logaritmica
[2] Wikipedia (en): Logarithmic derivative
Generating summary…