Book 2B

© 2026 NeckPinch · www.neckpinch.com · All rights reserved.

Course 2Book 2B: Spaces, Functions and ChangeChapter 2

Completeness and Contraction

Complete spaces and the contraction mapping principle, the engine behind every existence theorem to come.

34 min read · Updated Oct 2, 2026

Read with Tao, Analysis II, chapter "Metric spaces", section "Cauchy sequences and complete metric spaces"; then jump ahead to the section "The contraction mapping theorem" in the chapter "Several variable differential calculus". It uses nothing from the sections before it, and this guidebook needs it now.

In this chapter · 6 sections
  1. 2.1Cauchy sequences and complete spaces
  2. 2.1.1Which spaces are complete
  3. 2.2A map on the floor
  4. 2.3The contraction mapping theorem
  5. 2.3.1Every hypothesis is needed
  6. 2.3.2The Dottie number
  7. 2.3.3Newton's method for square roots, again
  8. 2.3.4PageRank
  9. 2.4Variants needed later
  10. 2.4.1Eventually contracting maps
  11. 2.4.2Fixed points that depend on a parameter
  12. 2.5History
  13. 2.6Exercises

The real numbers were built in 2A.4 The Real Numbers to be complete: every Cauchy sequence converges. In 2A.6 Sequences that property turned out to be equivalent to the least upper bound property, and it powered every existence theorem of Book 2A. This chapter defines completeness for any metric space, sorts the spaces of 2B.1 Metric Spaces into complete and incomplete ones, and then proves the theorem that makes completeness pay off.

That theorem is the contraction mapping principle, also called Banach's fixed point theorem. If a map pulls every pair of points closer together by at least a fixed factor, and the space is complete, then the map has exactly one fixed point, and you can find it by iterating the map from any starting point. The proof is a page long. The theorem is the engine behind the existence of solutions of ordinary differential equations (2B.10 Ordinary Differential Equations), the inverse function theorem (2B.9 The Inverse and Implicit Function Theorems), the short-time existence of nonlinear heat equations (6A.7 Nonlinear Parabolic Equations) and, through them, of Ricci flow itself (11A.3 Short-Time Existence and Uniqueness). Tao proves it in his chapter on several-variable calculus; this guidebook moves it here, directly after completeness, because it is the first and most-used way that completeness produces solutions.

By the end of this chapter you will be able to:

  • prove that a metric space is complete, or exhibit a Cauchy sequence that doesn't converge;
  • prove that closed subsets of complete spaces are complete, and use this to manufacture complete spaces;
  • state and prove the contraction mapping theorem, with its a-priori and a-posteriori error bounds;
  • show that a given map is a contraction, usually through a derivative bound and the mean value theorem;
  • handle the two variants needed later: eventually contracting maps, and fixed points that depend on a parameter.

Cauchy sequences and complete spaces

Definition 2.1 Cauchy sequence, complete space

A sequence (xn)(x_n) in a metric space (X,d)(X, d) is Cauchy if for every ε>0\varepsilon > 0 there is an NN such that d(xm,xn)≤εd(x_m, x_n) \leq \varepsilon for all m,n≥Nm, n \geq N. The space is complete if every Cauchy sequence in XX converges to a point of XX.

The Cauchy condition refers only to the terms of the sequence, never to a limit. That is its whole point. It lets us recognise that a sequence ought to converge before we know what it converges to, and completeness then guarantees that the limit exists.

Two facts hold in every metric space, with the proofs of 2A.6 Sequences unchanged:

  • every convergent sequence is Cauchy (if xn→xx_n \to x, then d(xm,xn)≤d(xm,x)+d(x,xn)d(x_m, x_n) \leq d(x_m, x) + d(x, x_n));
  • a Cauchy sequence with a convergent subsequence converges, to the same limit.

Which spaces are complete

  • R\mathbb{R} is complete (2A.6 Sequences). Q\mathbb{Q} is not: the decimal truncations of 2\sqrt2 are a Cauchy sequence of rationals with no rational limit.
  • Rn\mathbb{R}^n, with any of the three metrics of 2B.1 Metric Spaces, is complete. A sequence is Cauchy in dℓ∞d_{\ell^\infty} exactly when each coordinate sequence is Cauchy in R\mathbb{R}; each coordinate converges, and so the points converge. (Uniformly equivalent metrics have the same Cauchy sequences, so the choice of metric doesn't matter.)
  • (0,1](0, 1] with the usual metric is not complete: 1n\tfrac1n is Cauchy, and its only possible limit, 00, is missing.
  • Any set with the discrete metric is complete: a Cauchy sequence must eventually have d(xm,xn)<1d(x_m, x_n) < 1, so it is eventually constant.
  • C([a,b])C([a, b]) with the sup metric is complete. This is the theorem that a uniform limit of continuous functions is continuous, proved in 2B.5 Uniform Convergence and Arzelà–Ascoli. We will use it in this chapter's forward look and prove it there.
  • C([0,1])C([0, 1]) with the area metric d1d_1 is not complete (Exercise 2.8). Steeper and steeper ramps form a d1d_1-Cauchy sequence whose only candidate limit is a step function, which isn't continuous.

The missing point of (0,1](0, 1] suggests a general principle: inside a complete space, the complete subsets are exactly the ones that are not missing any limit points.

Proposition 2.2 Closed subsets of complete spaces

Let (X,d)(X, d) be a metric space and Y⊆XY \subseteq X.

  1. If YY is complete (with the restricted metric), then YY is closed in XX.
  2. If XX is complete and YY is closed in XX, then YY is complete.

Proof. (1) Let yn∈Yy_n \in Y converge to some x∈Xx \in X. A convergent sequence is Cauchy, so (yn)(y_n) is Cauchy in YY, and by completeness it converges to some y∈Yy \in Y. Limits are unique, so x=y∈Yx = y \in Y. By 2B.1 Metric Spaces's sequential characterisation, YY is closed.

(2) Let (yn)(y_n) be Cauchy in YY. It is Cauchy in XX, so it converges to some x∈Xx \in X. Since YY is closed and contains every yny_n, it contains xx.

Part 2 is how complete spaces are manufactured in practice. Every closed subset of Rn\mathbb{R}^n is complete: closed balls, spheres, closed squares. So is every closed subset of C([a,b])C([a, b]), for example the set of continuous functions with ∣f∣≤1|f| \leq 1, or with f(a)=0f(a) = 0. Each of these appears below as the space on which a contraction acts.

Note

Every metric space has a completion: a complete space containing it as a dense subset, unique up to an isometry. The construction is the one used for the reals in 2A.4 The Real Numbers, with formal limits of Cauchy sequences as the new points. Completing Q\mathbb{Q} gives R\mathbb{R}. Completing C([0,1])C([0, 1]) in the area metric gives the Lebesgue space L1L^1 (3A.3 The Lebesgue Integral). Completing smooth functions in a metric that also measures derivatives gives the Sobolev spaces (4A.9 Sobolev Spaces), which are where solutions of PDE are first found.

A map on the floor

In the world Model The map on the floor

Take a paper map of a city, and lay it flat on the ground somewhere inside the city it depicts, at any angle. Then exactly one point of the map lies directly above the place it represents.

To see why, let KK be the region of the city, a closed and bounded subset of the plane, so complete by Proposition 2.2. Let f:K→Kf : K \to K send each place xx to the point of the map on the ground that represents xx. The map is drawn to scale, say 1:10,0001 : 10{,}000, so ff shrinks every distance by a factor of 10,00010{,}000: ∣f(x)−f(y)∣=10−4∣x−y∣|f(x) - f(y)| = 10^{-4}|x - y|. A point xx with f(x)=xf(x) = x is precisely a place that lies under its own representation. The contraction mapping theorem below says that such a point exists and is unique, and also says how to find it: start anywhere, walk to the point on the map that represents where you are standing, and repeat. Each step shrinks your distance to the fixed point by a factor of 10,00010{,}000 (Figure 2.1).

Figure 2.1. A city KK (outer rectangle) and a map of it lying on the ground at an angle, at scale 1:2.51 : 2.5 to keep the picture visible. The map contains a picture of itself, which contains a picture of itself, and so on. The nested images shrink to one point, the only place that lies under its own representation.

The tabletop version is a good experiment: put a map of a room on the floor of that room. The fixed point exists whatever angle the map is laid at, and it moves when the map is moved.

The contraction mapping theorem

Definition 2.3 Lipschitz maps and contractions

A map f:X→Xf : X \to X on a metric space is Lipschitz with constant qq if d(f(x),f(y))≤q d(x,y)d(f(x), f(y)) \leq q\,d(x, y) for all x,yx, y. It is a contraction if it is Lipschitz with some constant q<1q < 1. A fixed point of ff is a point x∗x^* with f(x∗)=x∗f(x^*) = x^*.

Lipschitz maps are continuous: take δ=ε/q\delta = \varepsilon / q. For differentiable functions on an interval, the mean value theorem (2A.10 Derivatives) turns a derivative bound into a Lipschitz constant: if ∣f′∣≤q|f'| \leq q on an interval II, then ∣f(x)−f(y)∣=∣f′(c)∣ ∣x−y∣≤q∣x−y∣|f(x) - f(y)| = |f'(c)|\,|x - y| \leq q|x - y| for x,y∈Ix, y \in I. That is how most contractions in practice are recognised.

Theorem 2.4 Contraction mapping theorem

Let (X,d)(X, d) be a non-empty complete metric space and f:X→Xf : X \to X a contraction with constant q<1q < 1. Then:

  1. ff has exactly one fixed point x∗x^*;
  2. for any starting point x0x_0, the iterates xn+1=f(xn)x_{n+1} = f(x_n) converge to x∗x^*;
  3. the errors obey the a-priori bound and the a-posteriori bound
d(xn,x∗)≤qn1−q d(x1,x0),d(xn,x∗)≤q1−q d(xn,xn−1).d(x_n, x^*) \leq \frac{q^n}{1 - q}\,d(x_1, x_0), \qquad d(x_n, x^*) \leq \frac{q}{1 - q}\,d(x_n, x_{n-1}).

Proof. There is at most one fixed point. If f(x)=xf(x) = x and f(y)=yf(y) = y, then d(x,y)=d(f(x),f(y))≤q d(x,y)d(x, y) = d(f(x), f(y)) \leq q\,d(x, y). Since q<1q < 1, this forces d(x,y)=0d(x, y) = 0.

The iterates are Cauchy. Each step shrinks the step size: d(xk+1,xk)=d(f(xk),f(xk−1))≤q d(xk,xk−1)d(x_{k+1}, x_k) = d(f(x_k), f(x_{k-1})) \leq q\,d(x_k, x_{k-1}), so by induction d(xk+1,xk)≤qk d(x1,x0)d(x_{k+1}, x_k) \leq q^k\,d(x_1, x_0). For m>nm > n, the triangle inequality and the geometric series (2A.7 Series) give

d(xm,xn)≤∑k=nm−1d(xk+1,xk)≤d(x1,x0)∑k=n∞qk=qn1−q d(x1,x0).(∗)d(x_m, x_n) \leq \sum_{k=n}^{m-1} d(x_{k+1}, x_k) \leq d(x_1, x_0)\sum_{k=n}^{\infty} q^k = \frac{q^n}{1 - q}\,d(x_1, x_0). \tag{$*$}

The right side tends to 00 as n→∞n \to \infty, so (xn)(x_n) is Cauchy.

The limit is a fixed point. By completeness, xn→x∗x_n \to x^* for some x∗∈Xx^* \in X. Since ff is continuous, f(x∗)=lim⁡f(xn)=lim⁡xn+1=x∗f(x^*) = \lim f(x_n) = \lim x_{n+1} = x^*.

The error bounds. Let m→∞m \to \infty in (∗)(*); distance to a fixed point is continuous (2B.1 Metric Spaces), so d(x∗,xn)≤qn1−qd(x1,x0)d(x^*, x_n) \leq \frac{q^n}{1-q} d(x_1, x_0). For the second bound, apply the first with xn−1x_{n-1} as the starting point: one step later the error is at most q1−q d(xn,xn−1)\frac{q}{1-q}\,d(x_n, x_{n-1}).

The a-priori bound says, before computing anything, how many iterations guarantee a given accuracy. The a-posteriori bound uses the last step actually taken, which is usually much sharper, and it is the one used as a stopping rule: stop when the last step is less than 1−qq\frac{1-q}{q} times the accuracy wanted.

The error falls by a factor of at least qq per step. On a logarithmic scale that is a straight line of slope log⁡q\log q, which is what "linear convergence" means (Figure 2.3).

Every hypothesis is needed

  • Completeness. f(x)=x/2f(x) = x/2 maps (0,1](0, 1] into itself with q=12q = \tfrac12, but its only candidate fixed point, 00, is missing. The iterates 2−n2^{-n} are Cauchy and have nowhere to converge.
  • Mapping into the space. f(x)=x/2+1f(x) = x/2 + 1 is a contraction of R\mathbb{R} with fixed point 22, but as a map from [0,1][0, 1] it has no fixed point, because it doesn't map [0,1][0, 1] into itself. Checking f(X)⊆Xf(X) \subseteq X is often the real work.
  • A uniform constant q<1q < 1. f(x)=x+1xf(x) = x + \frac1x on [1,∞)[1, \infty) is complete and satisfies ∣f(x)−f(y)∣<∣x−y∣|f(x) - f(y)| < |x - y| for x≠yx \neq y (Exercise 2.10), but it has no fixed point, since f(x)>xf(x) > x everywhere. A map that shrinks distances by a factor that creeps up towards 11 is not enough.

The Dottie number

In the world Data Pressing cos on a calculator

Set a calculator to radians, enter any number, and press the cos key repeatedly. The display settles on 0.739085…0.739085\ldots, whatever you started with. This number, the unique solution of cos⁡x=x\cos x = x, is sometimes called the Dottie number.

Here is why. After one press the display lies in [−1,1][-1, 1], and after two it lies in [cos⁡1,1]⊂[0,1][\cos 1, 1] \subset [0, 1]. On [0,1][0, 1], cos⁡\cos maps into [cos⁡1,1]⊆[0,1][\cos 1, 1] \subseteq [0, 1], and ∣cos⁡′(x)∣=∣sin⁡x∣≤sin⁡1≈0.841|\cos'(x)| = |\sin x| \leq \sin 1 \approx 0.841. So cos⁡\cos is a contraction of the complete space [0,1][0, 1] with q=sin⁡1q = \sin 1, and the theorem applies. Starting from 11, the iterates are 0.5403,0.8576,0.6543,0.7935,0.7014,…0.5403, 0.8576, 0.6543, 0.7935, 0.7014, \dots, oscillating around the fixed point and closing in (Figure 2.2).

The a-priori bound with q=0.841q = 0.841 promises an error below 10−610^{-6} after 8787 presses. In fact 3030 presses suffice. The bound is pessimistic because near the fixed point the rate is governed by ∣sin⁡(0.739)∣≈0.674|\sin(0.739)| \approx 0.674, not by the worst case sin⁡1\sin 1 over the whole interval.

Figure 2.2. A cobweb diagram for xn+1=cos⁡xnx_{n+1} = \cos x_n from x0=1x_0 = 1. Go up (or down) to the curve to apply cos⁡\cos, then across to the diagonal to make the output the next input. Because the slope of cos⁡\cos at the fixed point is negative, the cobweb spirals in. A slope between 00 and 11 would give a staircase instead.
Figure 2.3. The error ∣xn−0.739085…∣|x_n - 0.739085\ldots| against nn, on a logarithmic scale. The points fall on a line of slope log⁡100.674\log_{10} 0.674, about −0.17-0.17 (a factor of ten every six steps). The a-priori bound (dashed), with the worst-case constant q=sin⁡1q = \sin 1, lies well above them.

Newton's method for square roots, again

In 2A.4 The Real Numbers the Babylonian iteration x↦x2+1xx \mapsto \frac x2 + \frac1x produced rationals converging to 2\sqrt2. The contraction theorem explains why, and gives a rate. On X=[1,2]X = [1, 2], the map g(x)=x2+1xg(x) = \frac x2 + \frac1x has g′(x)=12−1x2∈[−12,14]g'(x) = \frac12 - \frac1{x^2} \in [-\tfrac12, \tfrac14], so gg is a contraction with q=12q = \tfrac12. And gg maps [1,2][1, 2] into itself: its minimum on [1,2][1, 2] is g(2)=2g(\sqrt2) = \sqrt2 and its maximum is g(1)=g(2)=32g(1) = g(2) = \tfrac32. So iteration converges to the unique fixed point, where x2=1x\frac x2 = \frac1x, that is, x=2x = \sqrt2.

The real behaviour is much better than q=12q = \tfrac12 suggests. From 11: 1.51.5, 1.416671.41667, 1.41421571.4142157, 1.414213562374691.41421356237469, 1.4142135623730951.414213562373095, with the number of correct digits roughly doubling each step. The reason is that g′(2)=0g'(\sqrt2) = 0: near the fixed point, the effective contraction constant tends to zero. This is quadratic convergence, the hallmark of Newton's method, which is this iteration in disguise (Exercise 2.12).

PageRank

In the world In use The fixed point that ranked the web

In their 1998 paper describing the original Google search engine, Sergey Brin and Lawrence Page defined a page's PageRank through a random surfer who follows links, but with probability 1−d1 - d gets bored and jumps to a random page. They wrote: "We usually set dd to 0.850.85."

Write NN for the number of pages and PP for the N×NN \times N matrix whose column jj spreads page jj's weight equally over the pages it links to (assume for simplicity that every page has at least one link). The ranks form a probability vector rr (entries ≥0\geq 0, summing to 11) satisfying

r=G(r),G(r)=d Pr+1−dN 1,r = G(r), \qquad G(r) = d\,P r + \frac{1 - d}{N}\,\mathbf{1},

where 1\mathbf 1 is the vector of ones. The set Δ\Delta of probability vectors is a closed subset of RN\mathbb{R}^N, hence complete in the ℓ1\ell^1 metric, and GG maps Δ\Delta into itself. Because each column of PP has non-negative entries summing to 11, ∥Pv∥1≤∥v∥1\|Pv\|_1 \leq \|v\|_1 for every vector vv. So

∥G(r)−G(s)∥1=d ∥P(r−s)∥1≤0.85 ∥r−s∥1.\|G(r) - G(s)\|_1 = d\,\|P(r - s)\|_1 \leq 0.85\,\|r - s\|_1.

GG is a contraction with q=0.85q = 0.85. The ranking exists, is unique, and is computed by iterating GG from any starting vector, the power method. After 5050 iterations the a-priori factor 0.85500.85^{50} is about 3×10−43 \times 10^{-4}, and after 114114 it is below 10−810^{-8}, independently of how many billions of pages there are.

Notice what the damping is for. With d=1d = 1, the map is r↦Prr \mapsto Pr, which is not a contraction: two separate clusters of pages that link only among themselves give two different fixed points, and a pair of pages linking to each other makes the iteration oscillate for ever. The random jump is precisely what makes GG contract. (Real implementations must also handle pages with no outgoing links; that detail is left out here.)

Variants needed later

Eventually contracting maps

Sometimes ff itself is not a contraction, but an iterate fk=f∘⋯∘ff^k = f \circ \cdots \circ f is. This happens for the Picard iteration of ODEs on long time intervals (2B.10 Ordinary Differential Equations), where each application of the integral operator gains a factor (LT)kk!\frac{(LT)^k}{k!} rather than a fixed qq.

Corollary 2.5 Eventually contracting maps

Let XX be complete and f:X→Xf : X \to X a map such that fkf^k is a contraction for some k≥1k \geq 1. Then ff has a unique fixed point, and the iterates fn(x0)f^n(x_0) converge to it from any x0x_0.

Proof. By the theorem, fkf^k has a unique fixed point x∗x^*. Then fk(f(x∗))=f(fk(x∗))=f(x∗)f^k(f(x^*)) = f(f^k(x^*)) = f(x^*), so f(x∗)f(x^*) is also a fixed point of fkf^k, and by uniqueness f(x∗)=x∗f(x^*) = x^*. Any fixed point of ff is a fixed point of fkf^k, so it is x∗x^*. For convergence, split the iterates into the kk subsequences fjk+i(x0)f^{jk + i}(x_0), i=0,…,k−1i = 0, \dots, k - 1: each is an iteration of fkf^k from the starting point fi(x0)f^i(x_0), so each converges to x∗x^*, and hence so does the whole sequence. (A function ff for which this is needed need not even be continuous.)

Fixed points that depend on a parameter

In the inverse function theorem (2B.9 The Inverse and Implicit Function Theorems) and for ODEs with varying initial data (2B.10 Ordinary Differential Equations), the contraction depends on a parameter, and we need its fixed point to depend continuously on the parameter. The proof is a single estimate.

Proposition 2.6 Continuous dependence of the fixed point

Let XX be complete, Λ\Lambda a metric space, and f:X×Λ→Xf : X \times \Lambda \to X a map such that each f(⋅,λ)f(\cdot, \lambda) is a contraction with the same constant q<1q < 1, and each f(x,⋅)f(x, \cdot) is continuous. Let x∗(λ)x^*(\lambda) be the fixed point of f(⋅,λ)f(\cdot, \lambda). Then for all λ,μ∈Λ\lambda, \mu \in \Lambda,

d(x∗(λ),x∗(μ))≤11−q d(f(x∗(λ),λ), f(x∗(λ),μ)),d\big(x^*(\lambda), x^*(\mu)\big) \leq \frac{1}{1 - q}\,d\big(f(x^*(\lambda), \lambda),\ f(x^*(\lambda), \mu)\big),

and λ↦x∗(λ)\lambda \mapsto x^*(\lambda) is continuous.

Proof. Write x=x∗(λ)x = x^*(\lambda) and y=x∗(μ)y = x^*(\mu). Then

d(x,y)=d(f(x,λ),f(y,μ))≤d(f(x,λ),f(x,μ))+d(f(x,μ),f(y,μ))≤d(f(x,λ),f(x,μ))+q d(x,y).d(x, y) = d\big(f(x, \lambda), f(y, \mu)\big) \leq d\big(f(x, \lambda), f(x, \mu)\big) + d\big(f(x, \mu), f(y, \mu)\big) \leq d\big(f(x, \lambda), f(x, \mu)\big) + q\,d(x, y).

Move q d(x,y)q\,d(x, y) to the left and divide by 1−q1 - q. As μ→λ\mu \to \lambda, the right side tends to 00 by continuity of f(x,⋅)f(x, \cdot).

The pattern of this proof, "the fixed point moves at most 11−q\frac{1}{1-q} times as much as the map does", is used over and over. It is a stability statement: a contraction's fixed point is robust under perturbation of the map, with the perturbation amplified by at most 11−q\frac1{1-q}.

Where this goes The engine of existence

Here is how the theorem will be used, in the order it comes up.

  • ODEs (2B.10 Ordinary Differential Equations). The problem y′=F(y)y' = F(y), y(0)=y0y(0) = y_0, is rewritten as a fixed point problem on the complete space C([0,T])C([0, T]) with the sup metric: y=Φ(y)y = \Phi(y), where Φ(y)(t)=y0+∫0tF(y(s)) ds\Phi(y)(t) = y_0 + \int_0^t F(y(s))\,ds. For y′=yy' = y, y(0)=1y(0) = 1, the iterates of Φ\Phi from y≡1y \equiv 1 are 11, 1+t1 + t, 1+t+t221 + t + \tfrac{t^2}{2}, …: the Taylor polynomials of ete^t (Exercise 2.13).
  • The inverse function theorem (2B.9 The Inverse and Implicit Function Theorems). Solving F(x)=yF(x) = y near a point where DFDF is invertible is rewritten as finding a fixed point of x↦x−DF(x0)−1(F(x)−y)x \mapsto x - DF(x_0)^{-1}(F(x) - y), a contraction near x0x_0.
  • Nonlinear heat equations (6A.7 Nonlinear Parabolic Equations). Short-time existence for ∂tu=Δu+N(u)\partial_t u = \Delta u + N(u) is a fixed point of "solve the linear heat equation with N(u)N(u) as a source", a contraction for short times on a space of Hölder functions.
  • Ricci flow (11A.3 Short-Time Existence and Uniqueness). After DeTurck's trick turns Ricci flow into a strictly parabolic system, its short-time existence is an instance of the previous item.

In every case the hard part is not the fixed point argument, which is the page above. It is choosing a complete space and a metric in which the map is a contraction and maps the space into itself.

History

The method is older than the theorem. Solving equations by successive approximation goes back to antiquity (the Babylonian square root), and in the 19th century Joseph Liouville and then Émile Picard used successive approximations to prove that differential equations have solutions; Picard's 1890 work made the method systematic. Stefan Banach isolated the abstract principle in his 1920 doctoral thesis, published in Fundamenta Mathematicae in 1922, where he stated it for complete normed spaces. The metric-space form above is the one now standard. It is unusual among existence theorems in being constructive: it doesn't merely assert that a solution exists, it computes one, with an error bound. Brouwer's fixed point theorem (every continuous map of a closed ball to itself has a fixed point, 7A.7 Smooth Topology) is far more general and far less informative: it guarantees a fixed point but gives no way to find it and no uniqueness.

Recall Where we stand

A metric space is complete when every Cauchy sequence converges. Rn\mathbb{R}^n, closed subsets of complete spaces and C([a,b])C([a, b]) with the sup metric are complete; Q\mathbb{Q}, open intervals and C([0,1])C([0, 1]) with the area metric are not. On a complete space, a contraction has exactly one fixed point, found by iteration, with errors falling geometrically and an explicit bound. The variants for eventually contracting maps and for parameters will be needed in 2B.9 The Inverse and Implicit Function Theorems and 2B.10 Ordinary Differential Equations. Completeness is one of the two great sources of existence in analysis. The other, compactness, is the subject of 2B.3 Compactness.

Exercises

Exercise 2.7 Cauchy plus a convergent subsequence

Prove that a Cauchy sequence in a metric space that has a convergent subsequence converges, to the limit of the subsequence.

Exercise 2.8 An incomplete function space

For n≥2n \geq 2, let fn∈C([0,1])f_n \in C([0, 1]) be 00 on [0,12][0, \tfrac12], 11 on [12+1n,1][\tfrac12 + \tfrac1n, 1], and linear in between. (a) Show that d1(fm,fn)≤12min⁡(m,n)d_1(f_m, f_n) \leq \frac{1}{2\min(m, n)}, so (fn)(f_n) is Cauchy for the area metric d1d_1. (b) Show that no continuous ff satisfies d1(fn,f)→0d_1(f_n, f) \to 0. (c) Is (fn)(f_n) Cauchy for the sup metric?

Hint

For (b), suppose d1(fn,f)→0d_1(f_n, f) \to 0. Show that ∫01/2∣f∣=0\int_0^{1/2}|f| = 0 and ∫1/2+δ1∣f−1∣=0\int_{1/2 + \delta}^1 |f - 1| = 0 for every δ>0\delta > 0, and use continuity.

Solution

(a) For m<nm < n, fmf_m and fnf_n agree outside [12,12+1m][\tfrac12, \tfrac12 + \tfrac1m], where they differ by at most 11; the region between the graphs is a triangle of area 12(1m−1n)≤12m\tfrac12(\tfrac1m - \tfrac1n) \leq \frac1{2m}. (b) ∫01/2∣f∣=∫01/2∣f−fn∣≤d1(fn,f)→0\int_0^{1/2}|f| = \int_0^{1/2}|f - f_n| \leq d_1(f_n, f) \to 0, so f=0f = 0 on [0,12][0, \tfrac12] by continuity (a continuous non-negative function with zero integral vanishes, 2B.1 Metric Spaces). Likewise, for each δ>0\delta > 0 and n>1/δn > 1/\delta, ∫1/2+δ1∣f−1∣≤d1(fn,f)→0\int_{1/2+\delta}^1|f - 1| \leq d_1(f_n, f) \to 0, so f=1f = 1 on (12,1](\tfrac12, 1]. Then ff is not continuous at 12\tfrac12. (c) No: d∞(fn,f2n)=12d_\infty(f_n, f_{2n}) = \tfrac12.

Exercise 2.9 Using the bounds

(a) Prove the a-posteriori bound directly from the triangle inequality: d(xn,x∗)≤d(xn,xn+1)+d(xn+1,x∗)d(x_n, x^*) \leq d(x_n, x_{n+1}) + d(x_{n+1}, x^*). (b) For the cos iteration from x0=1x_0 = 1 with q=sin⁡1q = \sin 1, how many iterations does the a-priori bound require for an error below 10−1010^{-10}?

Solution

(a) d(xn,x∗)≤d(xn,xn+1)+q d(xn,x∗)d(x_n, x^*) \leq d(x_n, x_{n+1}) + q\,d(x_n, x^*), so d(xn,x∗)≤11−qd(xn+1,xn)≤q1−qd(xn,xn−1)d(x_n, x^*) \leq \frac{1}{1-q}d(x_{n+1}, x_n) \leq \frac{q}{1-q}d(x_n, x_{n-1}). (b) Need qn⋅0.4597/(1−q)<10−10q^n \cdot 0.4597/(1 - q) < 10^{-10}, i.e. n>log⁡(10−10(1−q)/0.4597)/log⁡q≈139n > \log(10^{-10}(1-q)/0.4597)/\log q \approx 139, so 140140 iterations.

Exercise 2.10 Shrinking is not enough

Show that f(x)=x+1xf(x) = x + \frac1x satisfies ∣f(x)−f(y)∣<∣x−y∣|f(x) - f(y)| < |x - y| for all x≠yx \neq y in [1,∞)[1, \infty) and maps [1,∞)[1, \infty) into itself, but has no fixed point. Which hypothesis of Theorem 2.4 fails? Then show that on a compact metric space (2B.3 Compactness), a map with d(f(x),f(y))<d(x,y)d(f(x), f(y)) < d(x, y) for all x≠yx \neq y does have a unique fixed point. (Minimise d(x,f(x))d(x, f(x)).)

Solution

f′(x)=1−1/x2∈[0,1)f'(x) = 1 - 1/x^2 \in [0, 1) on [1,∞)[1, \infty), so by the mean value theorem ∣f(x)−f(y)∣=f′(c)∣x−y∣<∣x−y∣|f(x) - f(y)| = f'(c)|x - y| < |x - y|. There is no q<1q < 1 that works, since f′(x)→1f'(x) \to 1. No fixed point, since f(x)−x=1/x>0f(x) - x = 1/x > 0. On a compact space, x↦d(x,f(x))x \mapsto d(x, f(x)) is continuous, so it has a minimum at some x0x_0. If f(x0)≠x0f(x_0) \neq x_0, then d(f(x0),f(f(x0)))<d(x0,f(x0))d(f(x_0), f(f(x_0))) < d(x_0, f(x_0)), contradicting minimality. Uniqueness is as in the theorem.

Exercise 2.11 Two presses of cos

Show that cos⁡\cos is not a contraction of R\mathbb{R}, but that cos⁡∘cos⁡\cos \circ \cos is. Deduce from Corollary 2.5 that the cos iteration converges from every real starting point.

Solution

∣cos⁡′(x)∣=∣sin⁡x∣=1|\cos'(x)| = |\sin x| = 1 at x=π/2x = \pi/2, and by the mean value theorem no constant q<1q < 1 works near there. For cos⁡∘cos⁡\cos\circ\cos: its derivative is sin⁡(cos⁡x)sin⁡x\sin(\cos x)\sin x, and ∣sin⁡(cos⁡x)∣≤sin⁡1|\sin(\cos x)| \leq \sin 1 because cos⁡x∈[−1,1]\cos x \in [-1, 1]; so ∣(cos⁡∘cos⁡)′∣≤sin⁡1<1|(\cos\circ\cos)'| \leq \sin 1 < 1 on all of R\mathbb{R}.

Exercise 2.12 Newton's method is a contraction near a simple root

Let FF be twice continuously differentiable near rr, with F(r)=0F(r) = 0 and F′(r)≠0F'(r) \neq 0. Newton's method iterates N(x)=x−F(x)/F′(x)N(x) = x - F(x)/F'(x). (a) Show that N′(x)=F(x)F′′(x)/F′(x)2N'(x) = F(x)F''(x)/F'(x)^2, so N′(r)=0N'(r) = 0. (b) Deduce that NN is a contraction on some interval [r−δ,r+δ][r - \delta, r + \delta], mapping it into itself. (c) For F(x)=x2−2F(x) = x^2 - 2, check that NN is the Babylonian map x↦x2+1xx \mapsto \frac x2 + \frac1x.

Solution

(a) Quotient rule. (b) N′N' is continuous with N′(r)=0N'(r) = 0, so ∣N′∣≤12|N'| \leq \tfrac12 on some [r−δ,r+δ][r - \delta, r + \delta]. There, ∣N(x)−r∣=∣N(x)−N(r)∣≤12∣x−r∣≤δ|N(x) - r| = |N(x) - N(r)| \leq \tfrac12|x - r| \leq \delta, so the interval is mapped into itself, and NN is a contraction with q=12q = \tfrac12. (c) x−x2−22x=x2+1xx - \frac{x^2 - 2}{2x} = \frac x2 + \frac1x.

Exercise 2.13 Rehearsal: Picard iteration for y′=yy' = y

On the complete space X=C([0,T])X = C([0, T]) with the sup metric, define Φ(y)(t)=1+∫0ty(s) ds\Phi(y)(t) = 1 + \int_0^t y(s)\,ds. (a) Show that d∞(Φ(y),Φ(z))≤T d∞(y,z)d_\infty(\Phi(y), \Phi(z)) \leq T\,d_\infty(y, z), so Φ\Phi is a contraction if T<1T < 1. (b) Compute the iterates from y0≡1y_0 \equiv 1, and show that the nn-th is the Taylor polynomial ∑k=0ntk/k!\sum_{k=0}^n t^k/k!. (c) Show that d∞(Φk(y),Φk(z))≤Tkk!d∞(y,z)d_\infty(\Phi^k(y), \Phi^k(z)) \leq \frac{T^k}{k!}d_\infty(y, z), so Φ\Phi is eventually contracting for every TT. Conclude that there is exactly one continuous yy on [0,T][0, T] with y(t)=1+∫0tyy(t) = 1 + \int_0^t y, namely ete^t. This is the existence and uniqueness proof of 2B.10 Ordinary Differential Equations in miniature.

Solution

(a) ∣Φ(y)(t)−Φ(z)(t)∣≤∫0t∣y−z∣≤T d∞(y,z)|\Phi(y)(t) - \Phi(z)(t)| \leq \int_0^t |y - z| \leq T\,d_\infty(y, z). (b) By induction: if yn=∑k≤ntk/k!y_n = \sum_{k \leq n} t^k/k!, then 1+∫0tyn=1+∑k≤ntk+1/(k+1)!=yn+11 + \int_0^t y_n = 1 + \sum_{k\leq n} t^{k+1}/(k+1)! = y_{n+1}. (c) By induction, ∣Φk(y)(t)−Φk(z)(t)∣≤tkk!d∞(y,z)|\Phi^k(y)(t) - \Phi^k(z)(t)| \leq \frac{t^k}{k!}d_\infty(y, z): integrating skk!\frac{s^{k}}{k!} from 00 to tt gives tk+1(k+1)!\frac{t^{k+1}}{(k+1)!}. Since Tkk!→0\frac{T^k}{k!} \to 0, some Φk\Phi^k is a contraction. The fixed point is the uniform limit of the Taylor polynomials, which is ete^t (2B.6 Power Series, Exponentials and Bump Functions).

Exercise 2.14 A fixed point that moves

For λ∈[0,1]\lambda \in [0, 1], let fλ(x)=12cos⁡x+λf_\lambda(x) = \tfrac12\cos x + \lambda on R\mathbb{R}. Show that each fλf_\lambda is a contraction with q=12q = \tfrac12, and use Proposition 2.6 to show that its fixed point x∗(λ)x^*(\lambda) satisfies ∣x∗(λ)−x∗(μ)∣≤2∣λ−μ∣|x^*(\lambda) - x^*(\mu)| \leq 2|\lambda - \mu|.

© 2026 NeckPinch (www.neckpinch.com). All content in the guidebook (text, mathematics, figures and exercises) is protected by copyright. All rights reserved. No part may be copied, republished or redistributed without written permission.