MatheramaMatherama
← Differentiation
Differentiation·Section 6·2 min read

Logarithmic Differentiation

Logarithmic differentiation is useful when the function to be differentiated is a product or quotient of multiple factors, or when it contains exponents that complicate direct differentiation.

Consider the function

f(x)=x2+1(x+2)(x+1)1/3x2.f(x) = \frac{\sqrt{x^2+1} (x+2)}{(x+1)^{1/3} x^2}.

Differentiating this directly would be cumbersome due to the presence of products, quotients, and exponents. To simplify the process, we take the natural logarithm on both sides:

ln⁡f(x)=ln⁡(x2+1(x+2)(x+1)1/3x2).\ln f(x) = \ln \left( \frac{\sqrt{x^2+1} (x+2)}{(x+1)^{1/3} x^2} \right).

Using logarithmic properties,

ln⁡f(x)=12ln⁡(x2+1)+ln⁡(x+2)−13ln⁡(x+1)−2ln⁡x.\ln f(x) = \frac{1}{2} \ln (x^2+1) + \ln (x+2) - \frac{1}{3} \ln (x+1) - 2 \ln x.

Now, differentiating both sides,

1f(x)ddxf(x)=12⋅2xx2+1+1x+2−13⋅1x+1−2x.\frac{1}{f(x)} \frac{d}{dx} f(x) = \frac{1}{2} \cdot \frac{2x}{x^2+1} + \frac{1}{x+2} - \frac{1}{3} \cdot \frac{1}{x+1} - \frac{2}{x}.

Simplifying,

1f(x)ddxf(x)=xx2+1+1x+2−13(x+1)−2x.\frac{1}{f(x)} \frac{d}{dx} f(x) = \frac{x}{x^2+1} + \frac{1}{x+2} - \frac{1}{3(x+1)} - \frac{2}{x}.

Multiplying both sides by f(x)f(x),

ddxf(x)=f(x)(xx2+1+1x+2−13(x+1)−2x).\frac{d}{dx} f(x) = f(x) \left( \frac{x}{x^2+1} + \frac{1}{x+2} - \frac{1}{3(x+1)} - \frac{2}{x} \right).

Substituting back f(x)f(x),

ddxf(x)=x2+1(x+2)(x+1)1/3x2(xx2+1+1x+2−13(x+1)−2x).\frac{d}{dx} f(x) = \frac{\sqrt{x^2+1} (x+2)}{(x+1)^{1/3} x^2} \left( \frac{x}{x^2+1} + \frac{1}{x+2} - \frac{1}{3(x+1)} - \frac{2}{x} \right).

Thus, logarithmic differentiation simplifies the problem by breaking the function into additive logarithmic terms before applying differentiation.

Section 6 of 10 · Differentiation

Mark this section complete when you have worked through its proofs.