The Inverse Function Theorem

Near a point with nonzero slope, a function can be flipped. The flipped function's slope is the reciprocal of the original.

Flipping swaps horizontal and vertical. So the ratio of rise to run turns upside down. Multiply the two tangent slopes and you get exactly 1.

For example, imagine πŸ’° money and 🍬 candies traded at a πŸͺ shop: 4 money for 1 candy. Traded back, 1 money buys a quarter of a candy β€” the rate flips into its reciprocal.

(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 interval 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.

    Since ff is continuous, the intermediate value theorem (IVT) makes J=f(I)J = f(I) an interval and f:I→Jf: I \to J surjective. The inverse of a strictly monotone function is continuous: if yn→yy_n \to y but g(yn)↛g(y)g(y_n) \not\to g(y), the order is violated, contradicting monotonicity of ff (the standard Ρ\varepsilon-δ\delta/order argument).

    Hence ff 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.

10. Differentiation