Calculus I · A Toolkit for Slopes

The exponential, and the derivatives of inverse functions

The exponential cameo. One function deserves a special mention here and a full chapter (Chapter 5) of its own: exe^x, the function that is its own derivative,

Figure 4.5
Figure 4.5

ddxex=ex.\frac{d}{dx}e^x = e^x.

(From the definition, the difference quotient is ex⋅eh−1he^x\cdot\tfrac{e^h - 1}{h}, and the fact that eh−1h→1\tfrac{e^h-1}{h} \to 1 is precisely what singles out the number ee — the loan you flagged in Chapter 3’s Looking-ahead, repaid in Chapter 5.) Combined with the chain rule, this differentiates every exponential you’ll meet: ddxekx=kekx\tfrac{d}{dx}e^{kx} = k\,e^{kx}, ddxex2=2xex2\tfrac{d}{dx}e^{x^2} = 2x\,e^{x^2}.

Inverse functions. The last tool in the kit, and the one Chapter 5 needs to differentiate the logarithm. Suppose gg is the inverse of ff — meaning f(g(x))=xf(g(x)) = x for all xx. Differentiate both sides with the chain rule: the left side gives f′(g(x))⋅g′(x)f'(g(x))\cdot g'(x), the right side gives 11. Solve:

Inverse-Function Rule. If g=f−1g = f^{-1}, then g′(x)=1f′(g(x)).\displaystyle g'(x) = \frac{1}{f'\!\big(g(x)\big)}.

The picture is clean: an inverse reflects a graph across the line y=xy = x, which swaps “rise” and “run” — so the slope of the inverse at a point is the reciprocal of the slope of the original at the matching point. And it passes an honesty check against Chapter 3: x\sqrt{x} is the inverse of f(x)=x2f(x) = x^2 (for x≥0x \ge 0), and since f′(x)=2xf'(x) = 2x, the rule gives ddxx=1f′(x)=12x\tfrac{d}{dx}\sqrt{x} = \tfrac{1}{f'(\sqrt{x})} = \tfrac{1}{2\sqrt{x}} — the same answer you rationalized by hand, now obtained without a single difference quotient. This is exactly the machinery Chapter 5 will turn on ln⁡x\ln x (the inverse of exe^x) to discover that its derivative is 1x\tfrac1x.


Toolkit: The rules of differentiation

Rule Formula
Power ddxxn=nxn−1\dfrac{d}{dx}x^n = n\,x^{n-1}
Sum (f+g)′=f′+g′(f+g)' = f' + g'
Constant multiple (cf)′=cf′(cf)' = c\,f'
Product (fg)′=f′g+fg′(fg)' = f'g + fg'
Quotient (fg)′=f′g−fg′g2\left(\dfrac{f}{g}\right)' = \dfrac{f'g - fg'}{g^2}
Chain ddxf(g(x))=f′(g(x))g′(x)\dfrac{d}{dx}f(g(x)) = f'(g(x))\,g'(x)
Sine / Cosine (sin⁡x)′=cos⁡x,(cos⁡x)′=−sin⁡x(\sin x)' = \cos x,\quad (\cos x)' = -\sin x
Exponential (ex)′=ex(e^x)' = e^x
Inverse (f−1)′(x)=1f′(f−1(x))(f^{-1})'(x) = \dfrac{1}{f'(f^{-1}(x))}

With these, you can differentiate essentially every function in this book — no difference quotients required. The art is recognizing which rule (or combination) a given function calls for.


All 12 chapters of Calculus I · Foundations · All courses