Differentiating natural logarithms
The derivative of a natural logarithm depends on both the logarithm argument and how that argument changes. Write the inner derivative in the numerator and the original argument in the denominator
- Use the basic log rule The derivative of the natural logarithm of x is the reciprocal of x. \(\displaystyle \frac{d}{dx}\log_e(x)=\frac{1}{x}\)
- Keep the inner derivative For a logarithm of h(x), divide the derivative of h by h itself \(\displaystyle \frac{d}{dx}\log_e\left(h(x)\right)=\frac{h'(x)}{h(x)}\)
- Carry constant multiples A constant multiplying a logarithm remains as a factor in the derivative \(\displaystyle \frac{d}{dx}\left[a\log_e\left(h(x)\right)\right]=a\frac{h'(x)}{h(x)}\)
- Preserve the original domain The original logarithm argument must be positive, even when a log law gives a simpler derivative \(\displaystyle \log_e\left((x-2)^{2}\right)=2\log_e\left|x-2\right|,\quad x\ne2\)
Worked example
Differentiate the function and find the value of its derivative at x = 0.
- \(\displaystyle h(x)=3x+2,\quad h'(x)=3\)Name the logarithm argument and differentiate it
- \(\displaystyle 3x+2>0\quad\Rightarrow\quad x>-\frac{2}{3}\)The logarithm is defined only when its original argument is positive
- \(\displaystyle G'(x)=-2\frac{h'(x)}{h(x)}=-2\frac{3}{3x+2}=-\frac{6}{3x+2}\)Substitute the inner function and its derivative into the logarithmic rule
- \(\displaystyle G'(0)=-\frac{6}{3\times0+2}=-\frac{6}{2}=-3\)Substitute x = 0 into the derivative, not into the original logarithm
Common mistakes
Difficulty levels
Questions about this topic
Why does h'(x) appear in the numerator?+
The logarithm is applied to h(x), so the rate at which h changes is multiplied into the derivative. This gives h'(x) divided by h(x)
Why must the logarithm argument be positive?+
The real natural logarithm is defined only for positive arguments. A zero or negative argument is outside the real domain
Why can a log-law rewrite change the written domain?+
A rewrite such as log_e((x - 2)^2) = 2 log_e|x - 2| must still exclude x = 2 and must retain both positive and negative sides of the original domain
Can I use a calculator?+
No. This topic is practised without a calculator
Which year level and chapter is this?+
Year 12, VCE Units 3 & 4, Mathematical Methods, chapter 9: Logarithmic calculus