Math101learn.math101.caDerivatives 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.
Conceptual meaning
The derivative $1/x$ shows that logarithmic growth continually slows. The absolute value in $\ln|u|$ allows the derivative formula on intervals where $u$ is negative as well as positive, but never where $u=0$.
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
Graphical or geometric meaning
The graph of $\ln x$ is increasing and concave down on $x>0$. Its tangent slope $1/x$ is large near zero and approaches zero as $x$ grows. The vertical asymptote records the domain boundary.
Common mistakes and why they fail
Verification and reasonableness checks
- Differentiate an expanded logarithmic expression and compare with the quotient $u'/u$.
- Confirm the derivative is defined only on intervals allowed by the original function.
- Use a sign check: $\ln x$ must have positive slope for $x>0$.
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.
Practice
- Differentiate $\ln(3x-1)$.
- Differentiate $\log_2x$.
- Differentiate $\ln|x^2-4|$ where defined.
Answers and brief solutions
- $3/(3x-1)$.
- $1/(x\ln2)$.
- $2x/(x^2-4)$.
Connections and next steps
Try it yourself
Hints are part of learning. Open one whenever it makes the next step feel possible.
What is d/dx [ln(x²+4)]?
- Let u=x²+4, so u′=2x.
- d(ln u)/dx=u′/u.
- Therefore the derivative is 2x/(x²+4).
End of lesson
Nice work making it this far.
Understanding grows through return visits. Save this lesson, try the practice, or continue when you are ready.
