Natural logarithmic functions involve \(\ln x\). Their derivatives are very important in calculus and are often used together with the chain rule, product rule, and quotient rule.
The derivative of \(\ln x\) is:
The function \(\ln x\) is only defined for \(x>0\).
So when differentiating logarithmic functions, always check the domain.
If the logarithm contains a function of \(x\), we use the chain rule.
This is one of the most useful logarithmic differentiation rules.
Differentiate
\[ y=\ln x \]
Differentiate
\[ y=\ln(3x+1) \]
Here \(f(x)=3x+1\), so \(f'(x)=3\).
Differentiate
\[ y=\ln(x^2+4) \]
Here \(f(x)=x^2+4\), so \(f'(x)=2x\).
Differentiate
\[ y=\ln(\sin x) \]
Here \(f(x)=\sin x\), so \(f'(x)=\cos x\).
Therefore:
Before differentiating, it is often useful to simplify using logarithm laws:
\[ \ln(ab)=\ln a+\ln b \] \[ \ln\left(\frac{a}{b}\right)=\ln a-\ln b \] \[ \ln(a^n)=n\ln a \]
This can make differentiation much easier.
Differentiate
\[ y=\ln(x^3) \]
First simplify:
\[ y=3\ln x \]
Then differentiate:
Differentiate
\[ y=\ln\left(\frac{x+1}{x}\right) \]
First use the quotient law:
\[ y=\ln(x+1)-\ln x \]
Differentiate:
Sometimes logarithmic functions appear together with other functions.
Example: Differentiate
\[ y=x\ln x \]
Use the product rule:
\[ \frac{dy}{dx}=x\left(\frac{1}{x}\right)+\ln x(1) \]