The Inverse Function Theorem

If f′(a)≠0f'(a) \ne 0, ff can be flipped near aa, and the flipped function's slope is the reciprocal — the two tangent slopes multiply to exactly 11.

(f−1)′(f(a))=1f′(a)(f^{-1})'(f(a)) = \frac{1}{f'(a)}
f(x)=x3+x, f′(1)=4, (f−1)′(2)=14f(x) = x^3+x,\ f'(1) = 4,\ (f^{-1})'(2) = \frac{1}{4}

Examples & Exercises

Prove the 1D C1C^1 inverse function theorem completely: if ff is C1C^1 near x0x_0 and f′(x0)≠0f'(x_0) \ne 0, then ff is strictly monotone on some neighborhood of x0x_0, hence has a continuous local inverse gg, and g′(f(x0))=1f′(x0)g'(f(x_0)) = \frac{1}{f'(x_0)}.

f∈C1, f′(x0)≠0 ⇒ g′(y0)=1f′(x0),y0=f(x0)f \in C^1,\ f'(x_0) \ne 0 \ \Rightarrow\ g'(y_0) = \frac{1}{f'(x_0)}, \quad y_0 = f(x_0)
f(x)=x3+xf(x) = x^3+x, a=1a = 1: f′(1)=4f'(1) = 4, g′(2)=14g'(2) = \frac{1}{4}, product exactly 1 — as the theorem promises.
Show proof
  1. Prove the case f′(x0)>0f'(x_0) > 0 (apply to −f-f for the negative case). Since f′f' is continuous and f′(x0)>0f'(x_0) > 0, some neighborhood II of x0x_0 has f′(x)>0f'(x) > 0 throughout (sign preservation). By the MVT, x1<x2x_1 < x_2 in II gives f(x2)−f(x1)=f′(ξ)(x2−x1)>0f(x_2) - f(x_1) = f'(\xi)(x_2 - x_1) > 0, so ff is strictly increasing on II — hence injective, and by continuity it has a continuous inverse g:J→Ig: J \to I on J=f(I)J = f(I).
  2. Write y0=f(x0)y_0 = f(x_0), y∈Jy \in J, x=g(y)x = g(y), x0=g(y0)x_0 = g(y_0). The difference quotient is g(y)−g(y0)y−y0=x−x0f(x)−f(x0)\frac{g(y) - g(y_0)}{y - y_0} = \frac{x - x_0}{f(x) - f(x_0)} (for x≠x0x \ne x_0; injectivity of gg gives x≠x0x \ne x_0 when y≠y0y \ne y_0). Applying the MVT to the denominator gives ξ\xi between xx and x0x_0 with f(x)−f(x0)=f′(ξ)(x−x0)f(x) - f(x_0) = f'(\xi)(x - x_0), so the quotient equals 1f′(ξ)\frac{1}{f'(\xi)}.
  3. As y→y0y \to y_0, continuity of gg gives x=g(y)→x0x = g(y) \to x_0, so the squeezed ξ→x0\xi \to x_0. By continuity of f′f', 1f′(ξ)→1f′(x0)\frac{1}{f'(\xi)} \to \frac{1}{f'(x_0)} (denominator nonzero) — i.e. g′(y0)=1f′(x0)g'(y_0) = \frac{1}{f'(x_0)}. Complete. (Note: the general Rn\mathbb{R}^n version is only sketched at idea level here, not proved: one views the derivative as a linear map, and the inverse matrix becomes the derivative of the local inverse.)

Verify the theorem's formula numerically for f(x)=x3+xf(x) = x^3+x at a=1a = 1: compute f′(1)=4f'(1) = 4, compute g′(2)g'(2) numerically via the bisection inverse, and check ∣4 g′(2)−1∣<10−9|4\,g'(2) - 1| < 10^{-9}.

f(1)=2,f′(1)=4,g′(2)=1f′(g(2))=14,∣4 g′(2)−1∣=0<10−9f(1) = 2, \quad f'(1) = 4, \quad g'(2) = \frac{1}{f'(g(2))} = \frac{1}{4}, \quad \lvert 4\,g'(2) - 1\rvert = 0 < 10^{-9}
a=1a = 1: b=f(1)=2b = f(1) = 2; bisection gives g(2)=1g(2) = 1, and g′(2)=1f′(1)=14g'(2) = \frac{1}{f'(1)} = \frac{1}{4} — check the product 4⋅14=14 \cdot \frac{1}{4} = 1.
Show proof
  1. f′(x)=3x2+1f'(x) = 3x^2+1, so f′(1)=4f'(1) = 4. With b=f(1)=2b = f(1) = 2, bisection on [−2,4][-2, 4] converges to g(2)=1g(2) = 1 since ff is strictly increasing (f′≥1f' \ge 1); after 200 iterations the error is below 6/22006/2^{200}, i.e. exactly 1 in double precision.
  2. The formula g′(y)=1f′(g(y))g'(y) = \frac{1}{f'(g(y))} at y=2y = 2 gives g′(2)=1f′(g(2))=1f′(1)=13⋅12+1=14g'(2) = \frac{1}{f'(g(2))} = \frac{1}{f'(1)} = \frac{1}{3\cdot 1^2+1} = \frac{1}{4}. Hence ∣4 g′(2)−1∣=∣4⋅14−1∣=0<10−9|4\,g'(2) - 1| = |4\cdot\frac{1}{4} - 1| = 0 < 10^{-9} — the theorem holds with no numerical error at all.

Show why the theorem breaks for f(x)=x3f(x) = x^3 at 00: f′(0)=0f'(0) = 0, and the inverse y3\sqrt[3]{y} is not differentiable at 00 — prove this via the difference quotient blowing up to ∞\infty.

f′(0)=0,h3−0h−0=h−2/3→h→0∞f'(0) = 0, \qquad \frac{\sqrt[3]{h} - 0}{h - 0} = h^{-2/3} \xrightarrow[h \to 0]{} \infty
The scene's f(x)=x3+xf(x) = x^3+x satisfies the theorem even at a=0a = 0 since f′(0)=1≠0f'(0) = 1 \ne 0 — the problem below studies x3x^3, where the derivative vanishes, showing why the hypothesis f′(x0)≠0f'(x_0) \ne 0 is needed.
Show proof
  1. f(x)=x3f(x) = x^3 is strictly increasing on all of R\mathbb{R}, so it has the global inverse g(y)=y3g(y) = \sqrt[3]{y}. But f′(x)=3x2f'(x) = 3x^2 gives f′(0)=0f'(0) = 0 — the theorem's hypothesis fails.
  2. The difference quotient at 00: g(h)−g(0)h=h3h=h−2/3=1(h3)2\frac{g(h) - g(0)}{h} = \frac{\sqrt[3]{h}}{h} = h^{-2/3} = \frac{1}{(\sqrt[3]{h})^2}. As h→0h \to 0 the denominator →0+\to 0^+, so the quotient blows up to +∞+\infty — no limit exists, hence gg is not differentiable at 00. The theorem's formula 1f′(0)\frac{1}{f'(0)} is likewise meaningless as 10\frac{1}{0}.
  3. Geometric meaning: when the graph of ff has a horizontal tangent at (0,0)(0,0), the reflected graph of gg has a vertical tangent at (0,0)(0,0) — the failure of differentiability is visible in the picture too.

9. Differentiation