21 The Contraction Mapping Principle
The Neumann series inverts \(I - T\) when \(\|T\| < 1\): the iteration \(x_{n+1} = Tx_n + b\) converges to the unique solution of \(x = Tx + b\) regardless of the starting point. The contraction mapping principle is the nonlinear version of this observation. If \(\Phi\) is any map — not necessarily linear — that shrinks distances by a uniform factor less than one, then iteration of \(\Phi\) converges, and the limit is the unique fixed point of \(\Phi\). The proof is the same as for the Neumann series. The applications are everywhere.
21.1 Contractions and fixed points
Definition 21.1 (Contraction) Let \((X, d)\) be a metric space. A map \(\Phi: X \to X\) is a contraction with constant \(c \in [0, 1)\) if \[ d(\Phi(x), \Phi(y)) \leq c\, d(x, y) \quad \text{for all } x, y \in X. \] A point \(x^* \in X\) is a fixed point of \(\Phi\) if \(\Phi(x^*) = x^*\).
Every contraction is uniformly continuous — indeed Lipschitz with constant \(c < 1\). The strict inequality \(c < 1\) is essential: the map \(\Phi(x) = x + 1\) on \(\mathbb{R}\) is an isometry (\(c = 1\)) with no fixed point. The map \(\Phi(x) = x/(1 + x)\) on \((0, \infty)\) satisfies \(|\Phi(x) - \Phi(y)| < |x - y|\) for all \(x \neq y\) but has no fixed point — the contraction ratio is not bounded away from \(1\).
Theorem 21.1 (Banach fixed point theorem) Let \((X, d)\) be a complete metric space and \(\Phi: X \to X\) a contraction with constant \(c \in [0, 1)\). Then:
- \(\Phi\) has a unique fixed point \(x^* \in X\).
- For any starting point \(x_0 \in X\), the iteration \(x_{n+1} = \Phi(x_n)\) converges to \(x^*\).
- The error estimates hold: \[ d(x_n, x^*) \leq \frac{c^n}{1 - c}\, d(x_1, x_0) \qquad \text{(a priori)} \] \[ d(x_n, x^*) \leq \frac{c}{1 - c}\, d(x_n, x_{n-1}) \qquad \text{(a posteriori)}. \]
Proof. Uniqueness. If \(x^*\) and \(y^*\) are both fixed points then \(d(x^*, y^*) = d(\Phi(x^*), \Phi(y^*)) \leq c\, d(x^*, y^*)\). Since \(c < 1\), this forces \(d(x^*, y^*) = 0\), so \(x^* = y^*\).
Existence and convergence. For any \(n \geq 1\), the contraction property gives \[ d(x_{n+1}, x_n) = d(\Phi(x_n), \Phi(x_{n-1})) \leq c\, d(x_n, x_{n-1}) \leq \cdots \leq c^n d(x_1, x_0). \] For \(m > n\), the triangle inequality and geometric series give: \[ d(x_m, x_n) \leq \sum_{k=n}^{m-1} d(x_{k+1}, x_k) \leq \sum_{k=n}^{m-1} c^k d(x_1, x_0) \leq \frac{c^n}{1-c}\, d(x_1, x_0). \] Since \(c^n \to 0\), the sequence \((x_n)\) is Cauchy. By completeness, \(x_n \to x^*\) for some \(x^* \in X\).
That \(x^*\) is a fixed point: \(\Phi\) is continuous (being Lipschitz), so \(\Phi(x^*) = \Phi(\lim x_n) = \lim \Phi(x_n) = \lim x_{n+1} = x^*\).
Error estimates. The a priori bound is the estimate above with \(m \to \infty\). For the a posteriori bound, apply the a priori estimate starting from \(x_n\): \[ d(x_{n+k}, x_n) \leq \frac{c^k}{1-c}\, d(x_n, x_{n-1}) \cdot \frac{1}{c^{k-1}} \] wait — more directly, starting from step \(n\): \(d(x_{n+k}, x_n) \leq c^k/(1-c) \cdot d(x_{n+1}, x_n) / c^{k-1}\). Cleanly: apply the a priori bound to the sequence starting at \(x_n\), giving \(d(x^*, x_n) \leq c/(1-c) \cdot d(x_n, x_{n-1})\). \(\square\)
The two error estimates serve different purposes. The a priori bound \(c^n/(1-c) \cdot d(x_1, x_0)\) says how many iterations are needed before the error is below a given tolerance — useful for planning computation. The a posteriori bound \(c/(1-c) \cdot d(x_n, x_{n-1})\) uses the most recent step size to estimate the remaining error — useful for stopping a running iteration. When \(c\) is small, the a posteriori bound is sharp; when \(c\) is close to \(1\), both bounds are pessimistic and the actual convergence is often faster.
Exercise. Show that the hypothesis of completeness is necessary by giving an example of a contraction on a non-complete metric space with no fixed point.
Let \(X = (0, 1)\) with the standard metric and \(\Phi(x) = x/2\). Then \(|\Phi(x) - \Phi(y)| = |x - y|/2\), so \(\Phi\) is a contraction with \(c = 1/2\). The iteration from any \(x_0 \in (0,1)\) gives \(x_n = x_0/2^n \to 0\), but \(0 \notin X\). The fixed point would be \(0\), which is not in the space.
The space \((0, 1)\) is not complete: the sequence \(x_n = 1/n\) is Cauchy but does not converge in \((0, 1)\). Completing it gives \([0, 1)\), and \(0\) is a fixed point of the extended contraction. \(\square\)
This is the typical failure mode. The iteration converges, but to a boundary point that has been excluded. Completeness is not a convenience — it is what ensures the limit actually belongs to the space.
21.2 Contractions on closed subsets
In practice one often needs a contraction defined only on a subset of a complete space, not the whole space.
Corollary 21.1 (Contraction on a closed ball) Let \((X, d)\) be a complete metric space, \(B = \{x : d(x, x_0) \leq r\}\) a closed ball, and \(\Phi: B \to X\) a contraction with constant \(c\) satisfying \[ d(\Phi(x_0), x_0) \leq (1 - c)r. \] Then \(\Phi(B) \subset B\) and \(\Phi\) has a unique fixed point in \(B\).
Proof. For any \(x \in B\): \[ d(\Phi(x), x_0) \leq d(\Phi(x), \Phi(x_0)) + d(\Phi(x_0), x_0) \leq c\, d(x, x_0) + (1-c)r \leq cr + (1-c)r = r. \] So \(\Phi(B) \subset B\). Since \(B\) is a closed subset of the complete space \(X\), it is itself complete. Apply the Banach fixed point theorem to \(\Phi: B \to B\). \(\square\)
The condition \(d(\Phi(x_0), x_0) \leq (1-c)r\) says: the centre \(x_0\) is not moved too far by \(\Phi\). The contraction then keeps the entire ball in place. This is how the theorem is used in the inverse function theorem: one picks a ball around the point where the derivative is invertible, verifies the contraction condition, and concludes existence of a fixed point inside the ball.
21.3 Applications
21.3.1 Existence and uniqueness of solutions to equations
The most direct application: rewrite the equation \(F(x) = 0\) as a fixed point problem \(x = \Phi(x)\) and apply the theorem.
Example 21.1 (A nonlinear equation) Consider \(x = e^{-x}\) on \(\mathbb{R}\). Define \(\Phi(x) = e^{-x}\). On the closed interval \([1/3, 1]\): \(\Phi(1/3) = e^{-1/3} \approx 0.72 \in [1/3, 1]\) and \(\Phi(1) = e^{-1} \approx 0.37 \in [1/3, 1]\), so \(\Phi\) maps \([1/3, 1]\) to itself. The derivative \(\Phi'(x) = -e^{-x}\) satisfies \(|\Phi'(x)| \leq e^{-1/3} < 1\) on \([1/3, 1]\), so \(\Phi\) is a contraction. By the theorem, there is a unique solution to \(x = e^{-x}\) in \([1/3, 1]\) — the fixed point, which equals approximately \(0.5671\).
The error after \(n\) iterations from \(x_0 = 1/2\): since \(c \leq e^{-1/3} \approx 0.72\), the a priori bound gives \(d(x_n, x^*) \leq (0.72)^n/(1 - 0.72) \cdot d(x_1, x_0)\). Ten iterations suffice for six decimal places.
21.3.2 Picard–Lindelöf theorem
The contraction mapping principle gives the fundamental existence and uniqueness theorem for ordinary differential equations.
Theorem 21.2 (Picard–Lindelöf theorem) Let \(f: [t_0 - T, t_0 + T] \times \mathbb{R}^n \to \mathbb{R}^n\) be continuous and Lipschitz in \(x\) uniformly in \(t\): \[ \|f(t, x) - f(t, y)\| \leq L\|x - y\| \quad \text{for all } t, x, y. \] Then for \(\delta < \min(T, 1/L)\), the initial value problem \[ \dot{x}(t) = f(t, x(t)), \quad x(t_0) = x_0 \] has a unique solution on \([t_0 - \delta, t_0 + \delta]\).
Proof. The IVP is equivalent to the integral equation \[ x(t) = x_0 + \int_{t_0}^t f(s, x(s))\, ds. \] Define the Picard operator \(\Phi: C([t_0 - \delta, t_0 + \delta], \mathbb{R}^n) \to C([t_0 - \delta, t_0 + \delta], \mathbb{R}^n)\) by \[ (\Phi x)(t) = x_0 + \int_{t_0}^t f(s, x(s))\, ds. \] The space \(C([t_0 - \delta, t_0 + \delta], \mathbb{R}^n)\) with the sup-norm is complete (proved in the metric spaces chapter). We show \(\Phi\) is a contraction.
For any two curves \(x, y\) in this space and any \(t\) with \(|t - t_0| \leq \delta\): \[ \|(\Phi x)(t) - (\Phi y)(t)\| \leq \int_{t_0}^t \|f(s, x(s)) - f(s, y(s))\|\, ds \leq L\delta \|x - y\|_\infty. \] Taking the supremum over \(t\): \(\|\Phi x - \Phi y\|_\infty \leq L\delta \|x - y\|_\infty\). Since \(\delta < 1/L\), we have \(L\delta < 1\), so \(\Phi\) is a contraction. The Banach fixed point theorem gives a unique fixed point, which is the unique solution. \(\square\)
The proof is the archetype of how the contraction mapping principle works in analysis: reformulate an existence question as a fixed point problem, identify a complete function space, verify the contraction condition, and conclude. The solution is the limit of the Picard iterates \(x_0, \Phi x_0, \Phi^2 x_0, \ldots\), which are the successive approximations one writes down in an ODE course.
Exercise. Show that the Picard iterates for \(\dot{x} = x\), \(x(0) = 1\) converge to \(e^t\), and identify the rate of convergence.
Here \(f(t, x) = x\) and \(x_0 = 1\). Starting from the constant curve \(x^{(0)} \equiv 1\): \[ x^{(1)}(t) = 1 + \int_0^t x^{(0)}(s)\, ds = 1 + t, \] \[ x^{(2)}(t) = 1 + \int_0^t (1 + s)\, ds = 1 + t + \frac{t^2}{2}, \] and by induction \(x^{(n)}(t) = \sum_{k=0}^n t^k/k!\), the \(n\)-th partial sum of the Taylor series for \(e^t\). This converges uniformly to \(e^t\) on any bounded interval.
The contraction constant is \(L\delta\) where \(L = 1\) (since \(|f(t,x) - f(t,y)| = |x - y|\)) and \(\delta\) is the interval half-length. On \([-\delta, \delta]\) the error after \(n\) iterations satisfies \(\|x^{(n)} - e^{\cdot}\|_\infty \leq \delta^n/(1 - \delta) \cdot \|x^{(1)} - x^{(0)}\|_\infty\). For \(\delta = 1\) this gives \(\|x^{(n)} - e^{\cdot}\|_\infty \leq e\delta^{n+1}/(n+1)!\) by a direct estimate, which converges to \(0\) faster than geometrically. \(\square\)
The Picard iterates for \(\dot{x} = x\) recover the exponential function as a limit of polynomials — which is itself a proof that the exponential series converges uniformly on compact sets and solves the IVP. This is the ODE characterisation of \(e^t\), and it holds for matrix exponentials \(e^{At}\) by the same argument with the operator norm replacing the absolute value.
21.3.3 Newton’s method
The contraction mapping principle underlies the quadratic convergence of Newton’s method.
Theorem 21.3 (Newton–Kantorovich theorem) Let \(F: U \subset V \to W\) be \(C^1\) on an open set in a Banach space, with \(DF(x_0)\) invertible. Suppose: \[ \|DF(x_0)^{-1} F(x_0)\| \leq \alpha, \quad \|DF(x_0)^{-1}(DF(x) - DF(y))\| \leq \beta \|x - y\|, \] and \(2\alpha\beta < 1\). Then Newton’s iteration \[ x_{n+1} = x_n - DF(x_n)^{-1} F(x_n) \] converges to the unique zero \(x^*\) of \(F\) in the ball \(B(x_0, 2\alpha)\), with quadratic error bound \(\|x_{n+1} - x^*\| \leq \beta \|x_n - x^*\|^2\).
The proof applies the contraction mapping principle to the Newton step map \(\Phi(x) = x - DF(x_0)^{-1}F(x)\) on a suitable ball, using the Lipschitz condition on \(DF\) to verify the contraction condition. The quadratic convergence comes from the fact that the Newton step eliminates both the value \(F(x)\) and its linear part simultaneously — the remaining error is second-order.
The hypothesis \(2\alpha\beta < 1\) is the Kantorovich condition. It involves only quantities computable from the starting point \(x_0\): the size of the initial residual \(\|DF(x_0)^{-1}F(x_0)\|\) and the Lipschitz constant \(\beta\) of the derivative. This makes the theorem practical: one can verify convergence before running the iteration.
Exercise. Let \(\Phi: X \to X\) be a contraction with constant \(c\). Show that the map \(x \mapsto d(x, \Phi(x))\) is continuous and achieves its minimum uniquely at the fixed point \(x^*\).
Continuity: \(|d(x, \Phi(x)) - d(y, \Phi(y))| \leq d(x, y) + d(\Phi(x), \Phi(y)) \leq (1 + c)d(x, y)\), so the map is Lipschitz with constant \(1 + c\).
Minimum at \(x^*\): \(d(x^*, \Phi(x^*)) = d(x^*, x^*) = 0\), so the minimum value is \(0\). For any \(x \neq x^*\): \[ d(x, \Phi(x)) \geq d(x, x^*) - d(x^*, \Phi(x)) = d(x, x^*) - d(\Phi(x^*), \Phi(x)) \geq d(x, x^*) - c\, d(x^*, x) = (1-c)d(x, x^*) > 0. \] So the minimum is \(0\), achieved uniquely at \(x^*\). \(\square\)
This gives a practical stopping criterion: \(d(x_n, \Phi(x_n))\) measures how far \(x_n\) is from being a fixed point, and the bound \((1-c)d(x_n, x^*) \leq d(x_n, \Phi(x_n))\) shows it controls the distance to \(x^*\). The a posteriori error estimate of the Banach theorem is the sharper version of the same idea.
21.4 Parametric dependence
Fixed points depend continuously on parameters, and differentiably when the contraction is smooth.
Theorem 21.4 (Continuous dependence on parameters) Let \((X, d)\) be a complete metric space, \(\Lambda\) a metric space, and \(\Phi: X \times \Lambda \to X\) a map such that: - For each \(\lambda \in \Lambda\), the map \(x \mapsto \Phi(x, \lambda)\) is a contraction with constant \(c\) independent of \(\lambda\). - The map \(\lambda \mapsto \Phi(x_0, \lambda)\) is continuous at \(\lambda_0\) for some (hence any) \(x_0\).
Then the fixed point \(x^*(\lambda)\) — the unique solution to \(x = \Phi(x, \lambda)\) — depends continuously on \(\lambda\).
Proof. Let \(\lambda_n \to \lambda_0\) and let \(x_n^* = x^*(\lambda_n)\). Then: \[ d(x_n^*, x_0^*) = d(\Phi(x_n^*, \lambda_n), \Phi(x_0^*, \lambda_0)) \leq d(\Phi(x_n^*, \lambda_n), \Phi(x_n^*, \lambda_0)) + d(\Phi(x_n^*, \lambda_0), \Phi(x_0^*, \lambda_0)). \] The second term is at most \(c\, d(x_n^*, x_0^*)\). So: \[ (1-c)\, d(x_n^*, x_0^*) \leq d(\Phi(x_n^*, \lambda_n), \Phi(x_n^*, \lambda_0)). \] For fixed \(x_n^*\), the right side tends to \(0\) as \(\lambda_n \to \lambda_0\) by the continuity hypothesis. Hence \(d(x_n^*, x_0^*) \to 0\), i.e. \(x^*(\lambda_n) \to x^*(\lambda_0)\). \(\square\)
The proof is instructive: the factor \(1 - c\) on the left, which comes from the contraction being strict, is what absorbs the dependence of \(x_n^*\) on \(\lambda_n\) and closes the argument. Without \(c < 1\) the inequality gives nothing.
Corollary 21.2 (Differentiable dependence) If in addition \(V\) and \(W\) are Banach spaces, \(X \subset V\) is open, \(\Phi: X \times \Lambda \to X\) is \(C^1\) jointly in \((x, \lambda)\) for \(\Lambda\) an open subset of a Banach space, and each \(x \mapsto \Phi(x, \lambda)\) is a contraction, then \(\lambda \mapsto x^*(\lambda)\) is \(C^1\) and \[ Dx^*(\lambda) = (I - D_x\Phi(x^*(\lambda), \lambda))^{-1} D_\lambda \Phi(x^*(\lambda), \lambda). \]
Proof. Differentiate the identity \(x^*(\lambda) = \Phi(x^*(\lambda), \lambda)\) with respect to \(\lambda\) using the chain rule: \[ Dx^*(\lambda) = D_x\Phi(x^*(\lambda), \lambda) \cdot Dx^*(\lambda) + D_\lambda\Phi(x^*(\lambda), \lambda). \] Since \(\|D_x\Phi\| \leq c < 1\), the operator \(I - D_x\Phi(x^*(\lambda), \lambda)\) is invertible by the Neumann series. Solving for \(Dx^*(\lambda)\) gives the formula. \(\square\)
The formula \((I - D_x\Phi)^{-1} D_\lambda \Phi\) is the implicit function theorem in the contraction mapping setting. The Neumann series provides the invertibility of \(I - D_x\Phi\) for free, because the contraction condition is exactly the hypothesis \(\|D_x\Phi\| \leq c < 1\). The full implicit function theorem — which requires only that \(D_xF\) is invertible, not that its norm is less than one — reduces to this case after a change of variables, as the next chapter shows.
Exercise. Let \(F: \mathbb{R} \times \mathbb{R} \to \mathbb{R}\) be defined by \(F(x, \lambda) = x^3 - x - \lambda\). Use the parametric fixed point theorem to show that near \(\lambda = 0\), the equation \(F(x, \lambda) = 0\) has a branch of solutions \(x^*(\lambda)\) passing through \(x^*(0) = -1\), and compute \(Dx^*(0)\).
Rewrite as \(x = \Phi(x, \lambda) := x^3 - \lambda\). Check that \(x^*(0) = -1\) satisfies \((-1)^3 - (-1) - 0 = 0\). For the parametric theorem, we need \(|D_x\Phi(x, \lambda)| = |3x^2| < 1\) near \(x = -1\). At \(x = -1\): \(|3(-1)^2| = 3 > 1\). So this particular rewriting does not give a contraction near \(-1\).
The correct rewriting: solve for \(x\) from the linear part. Since \(\partial F/\partial x(-1, 0) = 3(-1)^2 - 1 = 2 \neq 0\), set \(\Phi(x, \lambda) = x - \frac{1}{2}F(x, \lambda) = x - \frac{1}{2}(x^3 - x - \lambda) = \frac{x}{2} + \frac{x}{2} - \frac{x^3}{2} + \frac{\lambda}{2}\).
Then \(D_x\Phi(x, \lambda) = 1 - \frac{1}{2}(3x^2 - 1) = 1 - \frac{3x^2 - 1}{2}\). At \(x = -1\): \(D_x\Phi(-1, 0) = 1 - 1 = 0\). So near \((-1, 0)\), \(|D_x\Phi| < 1/2\) for \(|x + 1|\) small, and \(\Phi\) is a contraction on a small ball around \(-1\).
By the differentiable dependence corollary: \[ Dx^*(0) = (1 - D_x\Phi(x^*(0), 0))^{-1} D_\lambda\Phi(x^*(0), 0). \] \(D_\lambda \Phi = 1/2\), \(D_x\Phi(-1, 0) = 0\), so \(Dx^*(0) = 1 \cdot \frac{1}{2} = \frac{1}{2}\).
Alternatively, by implicit differentiation of \(x^3 - x - \lambda = 0\): \(3x^2 \dot{x} - \dot{x} = 1\), so \(\dot{x} = 1/(3x^2 - 1)\). At \(x = -1\): \(\dot{x}(0) = 1/(3 - 1) = 1/2\). \(\square\)
The exercise illustrates the standard technique for applying the parametric theorem: do not rewrite naively, but divide by \(\partial F/\partial x\) to reduce to a contraction. This is precisely what the Newton–Kantorovich iteration does algorithmically, and what the implicit function theorem does abstractly.
21.5 The Banach–Caccioppoli theorem and completeness
The contraction mapping principle is not just a sufficient condition for fixed points — it characterises complete metric spaces.
Theorem 21.5 (Characterisation of completeness) A metric space \(X\) is complete if and only if every contraction \(\Phi: X \to X\) has a fixed point.
Proof. The Banach fixed point theorem gives the forward direction. For the converse: suppose \(X\) is not complete. Let \((x_n)\) be a Cauchy sequence in \(X\) with no limit in \(X\). Define \(\Phi(x_n) = x_{n+1}\) and extend to all of \(X\) using the Cauchy structure (this requires care and is left as an exercise). The resulting contraction has no fixed point, since any fixed point would be a limit of \((x_n)\), which does not exist. \(\square\)
This is philosophically satisfying: completeness is exactly what you need for iterative processes to converge, and the contraction mapping principle is the canonical iterative process. The two concepts are equivalent.
The contraction mapping principle will appear once more in this text, as the engine inside the proof of the inverse function theorem. The structure is: given \(f: V \to W\) with \(Df(a)\) invertible, write \(f = Df(a) \circ (I + Df(a)^{-1}\circ (f - Df(a)))\), reduce to inverting a small perturbation of the identity, and find the inverse as the fixed point of a contraction built from \(f\) and \(Df(a)^{-1}\). Every piece needed is now in place.