Skip to content

Mathematics · Ch 5 — Continuity and Differentiability

Derivatives of Exponential and Logarithmic Functions

7

Derivatives of Exponential and Logarithmic Functions

Derivative of exe^x. By the first-principles definition, and using the standard limit

lim⁡h→0(eh−1)/h=1\lim_{h\to0}(e^h-1)/h=1 (established in the limits chapter),

ddx(ex)=lim⁡h→0ex+h−exh=lim⁡h→0ex(eh−1)h=exlim⁡h→0eh−1h=ex⋅1=ex.\frac{d}{dx}\big(e^x\big) = \lim_{h\to0}\frac{e^{x+h}-e^x}{h} = \lim_{h\to0}\frac{e^x(e^h-1)}{h} = e^x\lim_{h\to0}\frac{e^h-1}{h} = e^x\cdot1 = e^x.

So exe^x is its own derivative -- the defining property of the natural exponential, and the

reason ee is singled out as the natural base among all possible exponential bases.

Derivative of ln⁡x\ln x. Let y=ln⁡xy=\ln x (x>0x>0), so ey=xe^y=x by definition (Section 6).

Differentiating both sides implicitly with respect to xx (Section 5), and using

d(ey)/dx=ey dy/dxd(e^y)/dx=e^y\,dy/dx by the chain rule,

eydydx=1⟹dydx=1ey=1x,e^y\frac{dy}{dx} = 1 \quad\Longrightarrow\quad \frac{dy}{dx} = \frac{1}{e^y} = \frac{1}{x},

since ey=xe^y=x. Hence

ddx(ln⁡x)=1x,x>0.\frac{d}{dx}\big(\ln x\big) = \frac{1}{x}, \qquad x>0.

General exponential base axa^x. Writing ax=exln⁡aa^x=e^{x\ln a} (the defining relation between a

general base and the natural exponential; take ln⁡\ln of both sides to see ln⁡(ax)=xln⁡a\ln(a^x)=x\ln a,

which is exactly ln⁡\ln of exln⁡ae^{x\ln a}), and applying the chain rule with outer function e(⋅)e^{(\cdot)}

and inner function xln⁡ax\ln a (whose derivative with respect to xx is the constant ln⁡a\ln a):

ddx(ax)=exln⁡a⋅ln⁡a=axln⁡a.\frac{d}{dx}\big(a^x\big) = e^{x\ln a}\cdot\ln a = a^x\ln a.

General base logarithm log⁡ax\log_a x. Using log⁡ax=ln⁡x/ln⁡a\log_a x=\ln x/\ln a (Section 6) and that

1/ln⁡a1/\ln a is a constant,

ddx(log⁡ax)=1ln⁡a⋅1x=1xln⁡a.\frac{d}{dx}\big(\log_a x\big) = \frac{1}{\ln a}\cdot\frac{1}{x} = \frac{1}{x\ln a}.

Combined with the chain rule -- the two most-used composite forms. For a differentiable

function f(x)f(x),

ddx[ef(x)]=ef(x)⋅f′(x),ddx[ln⁡f(x)]=f′(x)f(x)(f(x)>0).\frac{d}{dx}\Big[e^{f(x)}\Big] = e^{f(x)}\cdot f'(x), \qquad\qquad \frac{d}{dx}\Big[\ln f(x)\Big] = \frac{f'(x)}{f(x)} \quad (f(x)>0).

These two composite forms -- exponential-of-a-function and log-of-a-function -- appear far more

often in practice than the bare exe^x or ln⁡x\ln x, and both are direct chain-rule applications of

the two base results above. …