Math101Derivatives of Logarithmic Functions
A rigorous, example-driven guide to derivatives of logarithmic functions, including hypotheses, method choice, verification, and practice.
The central idea
For $x>0$, $d(\ln x)/dx=1/x$; more generally, where $u(x)\ne0$, $d(\ln|u|)/dx=u'/u$. For $a>0$, $a\ne1$, $d(\log_a x)/dx=1/(x\ln a)$. Logarithmic differentiation turns products, quotients, and variable powers into sums that are easier to differentiate.
Definitions, hypotheses, and notation
The formula $(\ln|u|)'=u'/u$ is local to intervals where $u$ never vanishes. It does not make $\ln|u|$ defined at a zero of $u$, and the derivative typically has a vertical blow-up there. For a logarithm without absolute value, one must also require $u>0$. Stating these domains prevents a formally correct derivative from being attached to nonexistent inputs.
Logarithmic differentiation is most efficient when a positive function contains many factors or a variable exponent. Log laws turn multiplication into addition and exponents into coefficients before differentiation. It is unnecessary for a simple $\ln(g(x))$, where direct use of $g'/g$ is shorter. Method choice depends on structure, not merely on seeing a logarithm.
A dependable method and decision rule
- Check the logarithm's domain before differentiating.
- Identify the full argument $u(x)$.
- Differentiate as $u'/u$, retaining any base factor $1/\ln a$.
- For a complicated positive expression $y$, take $\ln$ of both sides and expand log laws.
- After implicit differentiation, solve for $y'$ and substitute back for $y$.
Fully worked example
Common mistakes and why they fail
Domain and absolute value are part of the rule
For differentiable $u$ with $u\ne0$, $\frac d{dx}\ln|u|=u'/u$ on each interval where $u$ does not vanish. Writing $\ln u$ is valid only where $u>0$. Crossing a zero can split the formula into separate intervals even when the derivative expression looks simple. For base $a$, include $1/\ln a$. Logarithm laws may turn products into sums and powers into coefficients, but their domain conditions remain. Scaling gives a useful check: multiplying $u$ by a positive constant changes $\ln u$ by a constant, so it should not alter the derivative $u'/u$. Always report restrictions inherited from the original logarithm.
