© 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.
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
- 2.1Cauchy sequences and complete spaces
- 2.1.1Which spaces are complete
- 2.2A map on the floor
- 2.3The contraction mapping theorem
- 2.3.1Every hypothesis is needed
- 2.3.2The Dottie number
- 2.3.3Newton's method for square roots, again
- 2.3.4PageRank
- 2.4Variants needed later
- 2.4.1Eventually contracting maps
- 2.4.2Fixed points that depend on a parameter
- 2.5History
- 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
A sequence in a metric space is Cauchy if for every there is an such that for all . The space is complete if every Cauchy sequence in converges to a point of .
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 , then );
- a Cauchy sequence with a convergent subsequence converges, to the same limit.
Which spaces are complete
- is complete (2A.6 Sequences). is not: the decimal truncations of are a Cauchy sequence of rationals with no rational limit.
- , with any of the three metrics of 2B.1 Metric Spaces, is complete. A sequence is Cauchy in exactly when each coordinate sequence is Cauchy in ; each coordinate converges, and so the points converge. (Uniformly equivalent metrics have the same Cauchy sequences, so the choice of metric doesn't matter.)
- with the usual metric is not complete: is Cauchy, and its only possible limit, , is missing.
- Any set with the discrete metric is complete: a Cauchy sequence must eventually have , so it is eventually constant.
- 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.
- with the area metric is not complete (Exercise 2.8). Steeper and steeper ramps form a -Cauchy sequence whose only candidate limit is a step function, which isn't continuous.
The missing point of suggests a general principle: inside a complete space, the complete subsets are exactly the ones that are not missing any limit points.
Let be a metric space and .
- If is complete (with the restricted metric), then is closed in .
- If is complete and is closed in , then is complete.
Proof. (1) Let converge to some . A convergent sequence is Cauchy, so is Cauchy in , and by completeness it converges to some . Limits are unique, so . By 2B.1 Metric Spaces's sequential characterisation, is closed.
(2) Let be Cauchy in . It is Cauchy in , so it converges to some . Since is closed and contains every , it contains .
Part 2 is how complete spaces are manufactured in practice. Every closed subset of is complete: closed balls, spheres, closed squares. So is every closed subset of , for example the set of continuous functions with , or with . Each of these appears below as the space on which a contraction acts.
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 gives . Completing in the area metric gives the Lebesgue space (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
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 be the region of the city, a closed and bounded subset of the plane, so complete by Proposition 2.2. Let send each place to the point of the map on the ground that represents . The map is drawn to scale, say , so shrinks every distance by a factor of : . A point with 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 (Figure 2.1).
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
A map on a metric space is Lipschitz with constant if for all . It is a contraction if it is Lipschitz with some constant . A fixed point of is a point with .
Lipschitz maps are continuous: take . For differentiable functions on an interval, the mean value theorem (2A.10 Derivatives) turns a derivative bound into a Lipschitz constant: if on an interval , then for . That is how most contractions in practice are recognised.
Let be a non-empty complete metric space and a contraction with constant . Then:
- has exactly one fixed point ;
- for any starting point , the iterates converge to ;
- the errors obey the a-priori bound and the a-posteriori bound
Proof. There is at most one fixed point. If and , then . Since , this forces .
The iterates are Cauchy. Each step shrinks the step size: , so by induction . For , the triangle inequality and the geometric series (2A.7 Series) give
The right side tends to as , so is Cauchy.
The limit is a fixed point. By completeness, for some . Since is continuous, .
The error bounds. Let in ; distance to a fixed point is continuous (2B.1 Metric Spaces), so . For the second bound, apply the first with as the starting point: one step later the error is at most .
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 times the accuracy wanted.
The error falls by a factor of at least per step. On a logarithmic scale that is a straight line of slope , which is what "linear convergence" means (Figure 2.3).
Every hypothesis is needed
- Completeness. maps into itself with , but its only candidate fixed point, , is missing. The iterates are Cauchy and have nowhere to converge.
- Mapping into the space. is a contraction of with fixed point , but as a map from it has no fixed point, because it doesn't map into itself. Checking is often the real work.
- A uniform constant . on is complete and satisfies for (Exercise 2.10), but it has no fixed point, since everywhere. A map that shrinks distances by a factor that creeps up towards is not enough.
The Dottie number
Set a calculator to radians, enter any number, and press the cos key repeatedly. The display settles on , whatever you started with. This number, the unique solution of , is sometimes called the Dottie number.
Here is why. After one press the display lies in , and after two it lies in . On , maps into , and . So is a contraction of the complete space with , and the theorem applies. Starting from , the iterates are , oscillating around the fixed point and closing in (Figure 2.2).
The a-priori bound with promises an error below after presses. In fact presses suffice. The bound is pessimistic because near the fixed point the rate is governed by , not by the worst case over the whole interval.
Newton's method for square roots, again
In 2A.4 The Real Numbers the Babylonian iteration produced rationals converging to . The contraction theorem explains why, and gives a rate. On , the map has , so is a contraction with . And maps into itself: its minimum on is and its maximum is . So iteration converges to the unique fixed point, where , that is, .
The real behaviour is much better than suggests. From : , , , , , with the number of correct digits roughly doubling each step. The reason is that : 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 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 gets bored and jumps to a random page. They wrote: "We usually set to ."
Write for the number of pages and for the matrix whose column spreads page '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 (entries , summing to ) satisfying
where is the vector of ones. The set of probability vectors is a closed subset of , hence complete in the metric, and maps into itself. Because each column of has non-negative entries summing to , for every vector . So
is a contraction with . The ranking exists, is unique, and is computed by iterating from any starting vector, the power method. After iterations the a-priori factor is about , and after it is below , independently of how many billions of pages there are.
Notice what the damping is for. With , the map is , 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 contract. (Real implementations must also handle pages with no outgoing links; that detail is left out here.)
Variants needed later
Eventually contracting maps
Sometimes itself is not a contraction, but an iterate 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 rather than a fixed .
Let be complete and a map such that is a contraction for some . Then has a unique fixed point, and the iterates converge to it from any .
Proof. By the theorem, has a unique fixed point . Then , so is also a fixed point of , and by uniqueness . Any fixed point of is a fixed point of , so it is . For convergence, split the iterates into the subsequences , : each is an iteration of from the starting point , so each converges to , and hence so does the whole sequence. (A function 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.
Let be complete, a metric space, and a map such that each is a contraction with the same constant , and each is continuous. Let be the fixed point of . Then for all ,
and is continuous.
Proof. Write and . Then
Move to the left and divide by . As , the right side tends to by continuity of .
The pattern of this proof, "the fixed point moves at most 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 .
Here is how the theorem will be used, in the order it comes up.
- ODEs (2B.10 Ordinary Differential Equations). The problem , , is rewritten as a fixed point problem on the complete space with the sup metric: , where . For , , the iterates of from are , , , …: the Taylor polynomials of (Exercise 2.13).
- The inverse function theorem (2B.9 The Inverse and Implicit Function Theorems). Solving near a point where is invertible is rewritten as finding a fixed point of , a contraction near .
- Nonlinear heat equations (6A.7 Nonlinear Parabolic Equations). Short-time existence for is a fixed point of "solve the linear heat equation with 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.
A metric space is complete when every Cauchy sequence converges. , closed subsets of complete spaces and with the sup metric are complete; , open intervals and 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
Prove that a Cauchy sequence in a metric space that has a convergent subsequence converges, to the limit of the subsequence.
For , let be on , on , and linear in between. (a) Show that , so is Cauchy for the area metric . (b) Show that no continuous satisfies . (c) Is Cauchy for the sup metric?
Hint
For (b), suppose . Show that and for every , and use continuity.
Solution
(a) For , and agree outside , where they differ by at most ; the region between the graphs is a triangle of area . (b) , so on by continuity (a continuous non-negative function with zero integral vanishes, 2B.1 Metric Spaces). Likewise, for each and , , so on . Then is not continuous at . (c) No: .
(a) Prove the a-posteriori bound directly from the triangle inequality: . (b) For the cos iteration from with , how many iterations does the a-priori bound require for an error below ?
Solution
(a) , so . (b) Need , i.e. , so iterations.
Show that satisfies for all in and maps 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 for all does have a unique fixed point. (Minimise .)
Solution
on , so by the mean value theorem . There is no that works, since . No fixed point, since . On a compact space, is continuous, so it has a minimum at some . If , then , contradicting minimality. Uniqueness is as in the theorem.
Show that is not a contraction of , but that is. Deduce from Corollary 2.5 that the cos iteration converges from every real starting point.
Solution
at , and by the mean value theorem no constant works near there. For : its derivative is , and because ; so on all of .
Let be twice continuously differentiable near , with and . Newton's method iterates . (a) Show that , so . (b) Deduce that is a contraction on some interval , mapping it into itself. (c) For , check that is the Babylonian map .
Solution
(a) Quotient rule. (b) is continuous with , so on some . There, , so the interval is mapped into itself, and is a contraction with . (c) .
On the complete space with the sup metric, define . (a) Show that , so is a contraction if . (b) Compute the iterates from , and show that the -th is the Taylor polynomial . (c) Show that , so is eventually contracting for every . Conclude that there is exactly one continuous on with , namely . This is the existence and uniqueness proof of 2B.10 Ordinary Differential Equations in miniature.
Solution
(a) . (b) By induction: if , then . (c) By induction, : integrating from to gives . Since , some is a contraction. The fixed point is the uniform limit of the Taylor polynomials, which is (2B.6 Power Series, Exponentials and Bump Functions).
For , let on . Show that each is a contraction with , and use Proposition 2.6 to show that its fixed point satisfies .
© 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.