Some functions are awkward to differentiate directly — long products, quotients or powers of several factors — or are of the genuinely new form y=[f(x)]g(x), where both the base and the exponent contain x; here neither the ordinary power rule (which needs a constant exponent) nor the ordinary exponential rule (which needs a constant base) applies on its own. Logarithmic differentiation solves both problems by taking the natural logarithm of both sides first: logy=g(x)log[f(x)], which the laws of logarithms turn into a sum instead of a product, and a multiple instead of a power — far easier to differentiate term by term. Differentiating implicitly with respect to x gives y1dxdy= (derivative of the right side), so dxdy=y×(that derivative), with y finally substituted back as the original expression [f(x)]g(x).
Worked Example 1 — differentiate w.r.t. x:
- y=(2x2+1)3/2(x2+3)2(x3+5)2/3: taking logs, logy=2log(x2+3)+32log(x3+5)−23log(2x2+1). Differentiating implicitly and multiplying back by y: dxdy=y[x2+34x+x3+52x2−2x2+16x].
- y=(1+x2)3/2(cosx)3ex2(tanx)x/2: taking logs, logy=x2+2xlog(tanx)−23log(1+x2)−3log(cosx). Differentiating and multiplying back: dxdy=y[2x+2sinxcosxx+21log(tanx)−1+x23x+3tanx].
- y=(x+1)3/2(2x+3)5/2(3x+4)2/3: taking logs and differentiating similarly, dxdy=y[2(x+1)3+2(2x+3)15+3x+42].
- y=xa+xx+ax: split into u=xa+ax (ordinary power/exponential rules apply directly) and v=xx (needs log-differentiation, since both base and exponent are x): dxdu=axa−1+axloga; for v=xx, logv=xlogx, so v1dxdv=logx+1, giving dxdv=xx(1+logx). Adding: dxdy=axa−1+axloga+xx(1+logx). …