Derivative of ex. By the first-principles definition, and using the standard limit
limh→0(eh−1)/h=1 (established in the limits chapter),
dxd(ex)=limh→0hex+h−ex=limh→0hex(eh−1)=exlimh→0heh−1=ex⋅1=ex.
So ex is its own derivative -- the defining property of the natural exponential, and the
reason e is singled out as the natural base among all possible exponential bases.
Derivative of lnx. Let y=lnx (x>0), so ey=x by definition (Section 6).
Differentiating both sides implicitly with respect to x (Section 5), and using
d(ey)/dx=eydy/dx by the chain rule,
eydxdy=1⟹dxdy=ey1=x1,
since ey=x. Hence
dxd(lnx)=x1,x>0.
General exponential base ax. Writing ax=exlna (the defining relation between a
general base and the natural exponential; take ln of both sides to see ln(ax)=xlna,
which is exactly ln of exlna), and applying the chain rule with outer function e(⋅)
and inner function xlna (whose derivative with respect to x is the constant lna):
dxd(ax)=exlna⋅lna=axlna.
General base logarithm logax. Using logax=lnx/lna (Section 6) and that
1/lna is a constant,
dxd(logax)=lna1⋅x1=xlna1.
Combined with the chain rule -- the two most-used composite forms. For a differentiable
function f(x),
dxd[ef(x)]=ef(x)⋅f′(x),dxd[lnf(x)]=f(x)f′(x)(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 ex or lnx, and both are direct chain-rule applications of
the two base results above. …