22  The Inverse and Implicit Function Theorems

The derivative is the best linear approximation to a map at a point. The central question of this chapter is whether local behaviour of the derivative controls local behaviour of the map itself: if the derivative at a point is invertible, does the map have a local inverse near that point?

The answer is yes, and the proof is the contraction mapping principle in disguise. Solving \(f(x) = y\) near a known solution is reduced to finding a fixed point of a contraction, with the invertibility of \(Df(a)\) supplying the contractive estimate. The implicit function theorem follows as a corollary by a change of variables.

These are the theorems that make the earlier machinery — operator norms, Fréchet derivatives, the Banach fixed point theorem — pay off analytically.

22.1 Local invertibility

Definition 22.1 (Local \(C^1\)-diffeomorphism) Let \(U \subset \mathbb{R}^n\) be open and \(f : U \to \mathbb{R}^n\). We say \(f\) is locally invertible at \(a \in U\) if there exist open sets \(a \in U_0 \subset U\) and \(f(a) \in V_0 \subset \mathbb{R}^n\) such that \(f : U_0 \to V_0\) is bijective and \(f^{-1} : V_0 \to U_0\) is continuous. If both \(f\) and \(f^{-1}\) are \(C^1\), this is a local \(C^1\)-diffeomorphism at \(a\).

If \(f\) were linear, invertibility would be equivalent to \(\det Df(a) \neq 0\). The inverse function theorem says that for a \(C^1\) map, this linear condition at one point already forces local nonlinear invertibility near that point.

Theorem 22.1 (Inverse function theorem) Let \(U \subset \mathbb{R}^n\) be open and \(f : U \to \mathbb{R}^n\) be \(C^1\). Suppose \(a \in U\) and \(Df(a)\) is invertible. Then there exist open sets \(a \in U_0 \subset U\) and \(f(a) \in V_0 \subset \mathbb{R}^n\) such that \(f : U_0 \to V_0\) is a \(C^1\)-diffeomorphism, and for every \(y \in V_0\), \[ D(f^{-1})(y) = \bigl(Df(f^{-1}(y))\bigr)^{-1}. \]

Proof. Set \(A = Df(a)\) and define, for \(x\) near \(a\), \[ \Phi_y(x) := x - A^{-1}(f(x) - y). \] Then \(x\) solves \(f(x) = y\) if and only if \(x\) is a fixed point of \(\Phi_y\).

Since \(f\) is \(C^1\), \(Df(x)\) is close to \(A\) near \(a\). The derivative of \(\Phi_y\) with respect to \(x\) is \(I - A^{-1}Df(x)\), which has small operator norm for \(x\) near \(a\). Choose a closed ball \(\overline{B}(a, \rho)\) on which \[ \sup_{x \in \overline{B}(a,\rho)} \|I - A^{-1}Df(x)\| \leq c < 1. \] The mean value inequality then gives \[ \|\Phi_y(x) - \Phi_y(z)\| \leq c\|x - z\| \] for all \(x, z \in \overline{B}(a, \rho)\), so \(\Phi_y\) is a contraction. For \(y\) sufficiently close to \(f(a)\), one also has \(\Phi_y(\overline{B}(a,\rho)) \subset \overline{B}(a,\rho)\), since \(\|\Phi_y(a) - a\| = \|A^{-1}(f(a) - y)\|\) is small. By the Banach fixed point theorem, there is a unique \(x(y) \in \overline{B}(a,\rho)\) with \(f(x(y)) = y\).

Uniqueness gives local injectivity; existence for all nearby \(y\) gives local surjectivity onto an open set \(V_0\). Define \(f^{-1}(y) := x(y)\).

For differentiability: fix \(y \in V_0\) and set \(x = f^{-1}(y)\). For small \(k\), let \(h\) be defined by \(f(x + h) = y + k\), i.e. \(h = f^{-1}(y+k) - f^{-1}(y)\). Since \(f\) is \(C^1\), \[ k = Df(x)h + o(\|h\|). \] Since \(Df(x)\) is invertible near \(a\), solving for \(h\): \[ h = Df(x)^{-1}k + o(\|k\|), \] which is exactly Fréchet differentiability of \(f^{-1}\) at \(y\) with derivative \(Df(x)^{-1}\). Continuity of \(D(f^{-1})\) follows from continuity of \(Df\) and of matrix inversion on \(GL_n(\mathbb{R})\). \(\square\)

The proof is constructive: for each target \(y\), the iteration \(x_{n+1} = \Phi_y(x_n)\) converges to the unique preimage. This is the analytic core of Newton’s method.

Corollary 22.1 (Nonzero Jacobian determinant implies local invertibility) If \(f\) is \(C^1\) near \(a\) and \(\det J_f(a) \neq 0\), then \(f\) is a local \(C^1\)-diffeomorphism near \(a\).

Proof. In \(\mathbb{R}^n\), \(Df(a)\) is invertible iff \(\det J_f(a) \neq 0\). Apply Theorem 22.1. \(\square\)

Corollary 22.2 (Local openness) Under the hypotheses of Theorem 22.1, \(f\) maps open neighbourhoods of \(a\) to open neighbourhoods of \(f(a)\). In particular \(f\) is an open map near \(a\).

Proof. \(f : U_0 \to V_0\) is a homeomorphism with \(V_0\) open, so it maps open subsets of \(U_0\) to open subsets of \(V_0\). \(\square\)

Exercise. Let \(f : \mathbb{R}^2 \to \mathbb{R}^2\) be defined by \(f(x,y) = (e^x \cos y,\, e^x \sin y)\).

  1. Compute \(\det J_f(x,y)\) and show it is nonzero everywhere.
  2. Conclude \(f\) is locally invertible at every point.
  3. Show \(f\) is not globally injective.

\[ J_f(x,y) = \begin{pmatrix} e^x \cos y & -e^x \sin y \\ e^x \sin y & e^x \cos y \end{pmatrix}, \qquad \det J_f(x,y) = e^{2x} > 0. \] So Corollary 22.1 applies at every point. Global injectivity fails because \(f(x,y) = f(x, y + 2\pi)\) for all \((x,y)\). \(\square\)

22.2 Examples

Example 22.1 (Polar coordinates) Define \(\Psi(r, \theta) = (r\cos\theta,\, r\sin\theta)\) for \(r > 0\). Its Jacobian determinant is \[ \det D\Psi(r,\theta) = r. \] So \(\Psi\) is locally invertible at every point with \(r \neq 0\): polar coordinates are valid away from the origin. Global injectivity fails because \(\theta\) is periodic, but local invertibility is all that differential calculus requires.

Example 22.2 (A nonlinear example) Let \(f(x,y) = (x + y + x^2,\, y + xy)\). Then \[ \det Df(x,y) = (1+2x)(1+x) - y. \] At \((0,0)\) this equals \(1 \neq 0\), so \(f\) has a local \(C^1\)-inverse near the origin.

Exercise. For \(f\) in Example 22.2, compute \(D(f^{-1})(f(0,0))\).

By Theorem 22.1, \(D(f^{-1})(f(0,0)) = (Df(0,0))^{-1}\). Since \[ Df(0,0) = \begin{pmatrix}1&1\\0&1\end{pmatrix}, \qquad (Df(0,0))^{-1} = \begin{pmatrix}1&-1\\0&1\end{pmatrix}. \] \(\square\)

22.3 The implicit function theorem

The inverse function theorem solves \(f(x) = y\) for \(x\) given \(y\). The implicit function theorem solves \(F(x, y) = 0\) for one block of variables as a function of the other. The hypothesis is that the Jacobian block corresponding to the variable being solved for is invertible.

Theorem 22.2 (Implicit function theorem) Let \(F : U \subset \mathbb{R}^n \times \mathbb{R}^m \to \mathbb{R}^m\) be \(C^1\), and write points as \((x, y)\) with \(x \in \mathbb{R}^n\) and \(y \in \mathbb{R}^m\). Suppose \[ F(a, b) = 0, \qquad D_y F(a, b) \in GL_m(\mathbb{R}). \] Then there exist open sets \(a \in U_x \subset \mathbb{R}^n\) and \(b \in U_y \subset \mathbb{R}^m\) and a unique \(C^1\) map \(g : U_x \to U_y\) such that \[ F(x, g(x)) = 0 \quad \text{for all } x \in U_x, \] and every \((x,y) \in U_x \times U_y\) with \(F(x,y) = 0\) satisfies \(y = g(x)\). Moreover, \[ Dg(x) = -\bigl(D_y F(x, g(x))\bigr)^{-1} D_x F(x, g(x)). \]

Proof. Define \(\Phi : U \to \mathbb{R}^n \times \mathbb{R}^m\) by \(\Phi(x,y) = (x, F(x,y))\). Its derivative at \((a,b)\) is \[ D\Phi(a,b) = \begin{pmatrix} I_n & 0 \\ D_x F(a,b) & D_y F(a,b) \end{pmatrix}, \] which is invertible precisely because \(D_y F(a,b)\) is invertible. By Theorem 22.1, \(\Phi\) is a local \(C^1\)-diffeomorphism near \((a,b)\). For each \(x\) near \(a\) there is a unique \(y\) near \(b\) with \(\Phi(x,y) = (x, 0)\), i.e. \(F(x,y) = 0\). Define \(g(x)\) to be this unique \(y\).

Differentiating \(F(x, g(x)) = 0\) and applying the chain rule: \[ D_x F + D_y F \cdot Dg = 0, \] and the formula follows on multiplying through by \((D_y F)^{-1}\). \(\square\)

Geometrically, the level set \(F^{-1}(0)\) is locally the graph of \(g\) over \(x\)-space — a codimension-\(m\) submanifold near \((a,b)\). Which variable is solvable is controlled entirely by which Jacobian block is invertible; there is no preferred choice.

Example 22.3 (The unit circle) Let \(F(x,y) = x^2 + y^2 - 1\). At \((0,1)\): \(F = 0\) and \(D_y F = 2 \neq 0\). So near \(x = 0\), the equation \(x^2 + y^2 = 1\) defines a unique \(C^1\) function \(y = g(x)\) with \(g(0) = 1\). The derivative formula gives \[ g'(x) = -\frac{F_x(x,g(x))}{F_y(x,g(x))} = -\frac{x}{g(x)}, \] so \(g'(0) = 0\), matching the horizontal tangent at \((0,1)\). At \((\pm 1, 0)\), \(D_y F = 0\), so one cannot solve for \(y\) there — but \(D_x F \neq 0\), and one can solve for \(x\) as a function of \(y\) instead.

Exercise. Let \(F(x,y,z) = x^2 + y^2 + z^2 - 1\). Show that near \((0,0,1)\) the equation \(F = 0\) defines \(z\) as a \(C^1\) function of \((x,y)\), and compute its gradient at \((0,0)\).

At \((0,0,1)\): \(F = 0\) and \(D_z F = 2 \neq 0\). By Theorem 22.2 there is a \(C^1\) map \(z = g(x,y)\) near \((0,0)\) with \(g(0,0) = 1\) and \(x^2 + y^2 + g(x,y)^2 = 1\). The derivative formula gives \[ \nabla g(x,y) = -\frac{1}{2g(x,y)}(2x, 2y). \] At \((0,0)\): \(\nabla g(0,0) = (0,0)\), so the tangent plane to the upper hemisphere at \((0,0,1)\) is horizontal. \(\square\)

Exercise. Consider the system \[ F(x, y_1, y_2) = \begin{pmatrix} y_1 + x^2 + y_2 - 1 \\ y_2 + x y_1 - x \end{pmatrix}. \] Show that near \(x = 0\) and \((y_1, y_2) = (1, 0)\), there is a unique \(C^1\) solution \((y_1, y_2) = (g_1(x), g_2(x))\), and compute \((g_1'(0), g_2'(0))\).

At \((0, (1,0))\): \(F = 0\) and \[ D_y F = \begin{pmatrix}1&1\\0&1\end{pmatrix}, \quad \det D_y F = 1 \neq 0. \] So Theorem 22.2 applies. For the derivatives: \(D_x F(0,(1,0)) = (0,\, 0)^T\), so \(g'(0) = 0\). \(\square\)

22.4 Higher regularity

Proposition 22.1 (Regularity transfer) If \(f\) is \(C^k\) for \(k \geq 1\), the local inverse from Theorem 22.1 is also \(C^k\). If \(F\) is \(C^k\), the implicitly defined function \(g\) from Theorem 22.2 is also \(C^k\).

Proof. For the inverse: \(D(f^{-1})(y) = (Df(f^{-1}(y)))^{-1}\). If \(f^{-1}\) is \(C^j\) and \(Df\) is \(C^j\), then the right side is \(C^j\), so \(f^{-1}\) is \(C^{j+1}\). Induction on \(j\) from \(j = 0\) gives \(C^k\). The implicit case follows by applying this to \(\Phi(x,y) = (x, F(x,y))\). \(\square\)

22.5 Local vs global

The inverse function theorem is local, not global. An everywhere-invertible derivative does not imply global bijectivity.

Note

The map \(f(x,y) = (e^x \cos y, e^x \sin y)\) has \(\det J_f > 0\) everywhere but is not injective. Local invertibility and global invertibility are genuinely different conditions; the gap is topological, not analytic. Global injectivity requires additional hypotheses — convexity of the domain, or monotonicity arguments — and is a separate problem.