Skip to content

Applied Mathematics · Ch 3 — Differentiation and Its Applications

Logarithmic Differentiation

3.5

Logarithmic Differentiation

The power rule ddx(xn)=nxn−1\dfrac{d}{dx}(x^n) = nx^{n-1} applies when the exponent is a fixed number, and the exponential rule ddx(ax)=axlog⁡a\dfrac{d}{dx}(a^x) = a^x \log a applies when the base is a fixed positive number other than 1. Neither rule covers a function where both the base and the exponent vary with xx — something of the form [f(x)]g(x)[f(x)]^{g(x)}, such as xxx^x or (x+1x)x−1\left(x + \dfrac{1}{x}\right)^{x-1}.

For functions of this type, the trick is to take the logarithm of both sides first, which turns the troublesome variable exponent into a product via log⁡(ab)=blog⁡a\log(a^b) = b\log a, and only then differentiate implicitly. For instance, writing y=xxy = x^x as log⁡y=xlog⁡x\log y = x \log x and differentiating both sides with respect to xx gives 1ydydx=log⁡x+1\dfrac{1}{y}\dfrac{dy}{dx} = \log x + 1, so dydx=xx(log⁡x+1)\dfrac{dy}{dx} = x^x(\log x + 1). …