MatheramaMatherama
← Differentiation
Differentiation·Section 5·2 min read

Exponential Differentiation

We are going to focus on differentiating functions of the form f(x)g(x)f(x)^{g(x)}, where both the base and the exponent are functions of xx.

When the power is constant, we already know how to differentiate such cases. For example,

ddx(1+x2)3/2=32(1+x2)1/2⋅2x=3x(1+x2)1/2.\frac{d}{dx} (1 + x^2)^{3/2} = \frac{3}{2} (1 + x^2)^{1/2} \cdot 2x = 3x (1 + x^2)^{1/2}.

When the base is constant but the exponent is variable, we differentiate using the standard exponential differentiation rule. For example,

ddx4sin⁡x=4sin⁡xln⁡4cos⁡x.\frac{d}{dx} 4^{\sin x} = 4^{\sin x} \ln 4 \cos x.

However, when both the base and the power are variable, we cannot directly apply the above rules. The differentiation of such functions requires a different approach.

To differentiate f(x)g(x)f(x)^{g(x)}, we begin by rewriting it using the fundamental identity

ab=ebln⁡a.a^b = e^{b \ln a}.

Applying this,

f(x)g(x)=eg(x)ln⁡f(x).f(x)^{g(x)} = e^{g(x) \ln f(x)}.

This transformation allows us to differentiate using the chain rule, rather than dealing with the exponent directly. Taking derivatives on both sides,

ddxf(x)g(x)=ddxeg(x)ln⁡f(x).\frac{d}{dx} f(x)^{g(x)} = \frac{d}{dx} e^{g(x) \ln f(x)}.

Since the derivative of eue^u is eu⋅dudxe^u \cdot \frac{du}{dx}, applying this to our expression gives

=eg(x)ln⁡f(x)⋅ddx(g(x)ln⁡f(x)).= e^{g(x) \ln f(x)} \cdot \frac{d}{dx} (g(x) \ln f(x)).

Since we earlier rewrote f(x)g(x)f(x)^{g(x)} as eg(x)ln⁡f(x)e^{g(x) \ln f(x)}, we substitute it back:

=f(x)g(x)⋅ddx(g(x)ln⁡f(x)).= f(x)^{g(x)} \cdot \frac{d}{dx} (g(x) \ln f(x)).

To differentiate g(x)ln⁡f(x)g(x) \ln f(x), we use the product rule. The first term, g(x)g(x), is multiplied by ln⁡f(x)\ln f(x), so differentiating each while treating the other as a constant,

ddx(g(x)ln⁡f(x))=g(x)ddxln⁡f(x)+ln⁡f(x)ddxg(x).\frac{d}{dx} (g(x) \ln f(x)) = g(x) \frac{d}{dx} \ln f(x) + \ln f(x) \frac{d}{dx} g(x).

Using the derivative ddxln⁡f(x)=f′(x)f(x)\frac{d}{dx} \ln f(x) = \frac{f'(x)}{f(x)}, we get

=g(x)f′(x)f(x)+ln⁡f(x)g′(x).= g(x) \frac{f'(x)}{f(x)} + \ln f(x) g'(x).

Substituting this back into our main equation,

ddxf(x)g(x)=f(x)g(x)(g(x)f′(x)f(x)+ln⁡f(x)g′(x)).\frac{d}{dx} f(x)^{g(x)} = f(x)^{g(x)} \left( g(x) \frac{f'(x)}{f(x)} + \ln f(x) g'(x) \right).

This expression gives the derivative of f(x)g(x)f(x)^{g(x)}, capturing both the dependence of f(x)f(x) and g(x)g(x) on xx.

We need not remember this as a formula. Try to understand the process only.

Let us apply this method to the function f(x)=xxf(x) = x^x. Rewriting it,

xx=exln⁡x.x^x = e^{x \ln x}.

Now differentiating both sides,

ddxxx=ddxexln⁡x=exln⁡x⋅ddx(xln⁡x).\frac{d}{dx} x^x = \frac{d}{dx} e^{x \ln x} = e^{x \ln x} \cdot \frac{d}{dx} (x \ln x).

Since exln⁡x=xxe^{x \ln x} = x^x, substituting back,

=xx⋅ddx(xln⁡x)=xx⋅(xddxln⁡x+ln⁡xddxx).= x^x \cdot \frac{d}{dx} (x \ln x) = x^x \cdot (x \frac{d}{dx} \ln x + \ln x \frac{d}{dx} x). =xx⋅(1+ln⁡x).= x^x \cdot (1 + \ln x).

Thus,

ddxxx=xx(1+ln⁡x).\frac{d}{dx} x^x = x^x (1 + \ln x).

This follows directly from our logarithmic transformation, making differentiation of variable exponents systematic.

Section 5 of 10 · Differentiation

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