The derivative of the natural logarithm is the simplest rational function: . This leads to the technique of logarithmic differentiation, which simplifies derivatives of complicated products and quotients.
| Function | Derivative | Condition |
|---|---|---|
| (chain) |
Derivative of
Let . Using the four-step method:
Step 1:
Step 2:
Step 3:
Step 4: As , letting :
\boxed{\frac{d}{dx}\ln x=\frac{1}{x},\qquad(x>0)\tag{a}}Derivative of
Write :
\boxed{\frac{d}{dx}\log_a x=\frac{1}{x\ln a},\qquad(x>0)\tag{b}}Derivative of via the Chain Rule
If is differentiable:
When working with logarithms, first use the properties of logarithms to convert products to sums, quotients to differences, and powers to multiples, then differentiate.
Worked Examples
Find the equation of the tangent to when .
Solution
At : slope and . The tangent is the horizontal line .
Find .
Solution
First expand using logarithm properties:Find .
Solution
**Case :** , so . **Case :** , so . Both cases give the same result: \boxed{\frac{d}{dx}\ln|x|=\frac{1}{x},\qquad x\neq0\tag{c}} More generally, for differentiable : \boxed{\frac{d}{dx}\ln|u|=\frac{1}{u}\frac{du}{dx}\tag{d}}Find .
Solution
Let . By formula (d):Logarithmic Differentiation
To differentiate when is a product/quotient/power combination:
- Take the natural logarithm of both sides: .
- Expand the right side using , , .
- Differentiate both sides with respect to .
- Solve for and substitute back .
Find y' given .
Solution
Take of both sides: Differentiate: \frac{y'}{y}=\frac{1}{x}+\frac{\cos x}{\sin x}+\frac{1}{2-x}-\frac{2x^3}{1+x^4} Multiply by : y'=\frac{x\sin x}{(2-x)\sqrt{1+x^4}}\left[\frac{1}{x}+\cot x+\frac{1}{2-x}-\frac{2x^3}{1+x^4}\right]Derivatives of Real Powers of
Using logarithmic differentiation, we can prove the Power Rule for all real exponents:
Let ( any real number, ). Then . Differentiating:
\frac{y'}{y}=\frac{r}{x}\quad\Rightarrow\quad y'=r\frac{y}{x}=r\frac{x^r}{x}=rx^{r-1}This confirms for all real .