Mathematics · Book 4 · Bachelor Year 2

University Mathematics — Year 2

University Mathematics — Year 2 · Bachelor Year 2

4Topology of Metric Spaces

The topology of the real line (Year 1 volume) generalizes, almost without changing a word, to any set equipped with a distance. The gain is enormous: sequences of functions, matrices, curves — all become points of metric spaces, and the three pillars proved here — completeness with the Banach fixed point theorem, compactness, connectedness — apply to them uniformly. This chapter is the backbone of the whole analysis half of the book.

4.1 Metric spaces

Definition 4.1

A metric space is a set XX with a map d ⁣:X×XR+d \colon X \times X \to \R_+ such that, for all x,y,zx, y, z:

d(x,y)=0    x=y,d(x,y)=d(y,x),d(x,z)d(x,y)+d(y,z).d(x,y) = 0 \iff x = y, \qquad d(x,y) = d(y,x), \qquad d(x,z) \leq d(x,y) + d(y,z).

Balls: B(a,r)={x:d(a,x)<r}B(a, r) = \{x : d(a,x) < r\} (open), B(a,r)={x:d(a,x)r}\overline B(a,r) = \{x : d(a,x) \leq r\} (closed). A subset AXA \subseteq X becomes a metric space with the induced distance.

Example 4.2

R\R with xy\abs{x - y}; Rn\R^n with any of

d1(x,y)=ixiyi,d2(x,y)=(i(xiyi)2)1/2,d(x,y)=maxixiyi;d_1(x,y) = \sum_i \abs{x_i - y_i}, \quad d_2(x,y) = \Bigl(\sum_i (x_i - y_i)^2\Bigr)^{1/2}, \quad d_\infty(x,y) = \max_i \abs{x_i - y_i};

the set C([a,b])C(\intcc{a}{b}) of continuous functions with the sup distance d(f,g)=sup[a,b]fgd_\infty(f, g) = \sup_{\intcc{a}{b}} \abs{f - g} (finite: fgf - g is bounded); any set with the discrete distance (d(x,y)=1d(x,y) = 1 for xyx \neq y). Distances coming from norms are the subject of Chapter 5.

Definition 4.3 (Topology of a metric space)

UXU \subseteq X is open when every point of UU is the center of a ball contained in UU; FF is closed when its complement is open. Neighborhoods, interior, closure, density, boundary are defined exactly as on the real line (Year 1 volume), with balls replacing intervals, and the statements proved there — unions/intersections of open sets, characterizations of interior and closure, closure as smallest closed superset — carry over with the same proofs. Open balls are open, closed balls are closed (triangle inequality).

Example 4.4 (Interior, closure, boundary on one set)

In R\R, let A=(0,1]{2}A = \intoc{0}{1} \cup \{2\}. Interior: (0,1)\intoo{0}{1} — around any x(0,1)x \in \intoo01 a small ball stays in AA; around 11, every ball (1r,1+r)\intoo{1-r}{1+r} leaks out of AA on the right, so 11 is not interior; and the isolated 22 is not interior either. Closure: [0,1]{2}\intcc{0}{1} \cup \{2\} (the point 00 is a limit of AA, nothing else is added). Boundary (closure minus interior): {0,1,2}\{0, 1, 2\}. Note the asymmetries worth remembering: an endpoint can belong to a set without being interior (11), can be adherent without belonging (00), and an isolated point is its own boundary (22). The same bookkeeping runs verbatim in any metric space, with balls in place of intervals.

Definition 4.5 (Limits, continuity)

xnxx_n \to x in XX when d(xn,x)0d(x_n, x) \to 0. A map f ⁣:XYf \colon X \to Y between metric spaces is continuous at aa when

ε>0, δ>0,dX(x,a)δ    dY(f(x),f(a))ε;\forall \varepsilon > 0,\ \exists\delta > 0,\quad d_X(x, a) \leq \delta \implies d_Y\bigl(f(x), f(a)\bigr) \leq \varepsilon ;

equivalently (same proof as on R\R), f(xn)f(a)f(x_n) \to f(a) for every sequence xnax_n \to a. ff is Lipschitz with constant kk when dY(f(x),f(y))kdX(x,y)d_Y(f(x), f(y)) \leq k\, d_X(x, y) always — then uniformly continuous, hence continuous.

Theorem 4.6 (Global characterization of continuity)

f ⁣:XYf \colon X \to Y is continuous (at every point) if and only if the preimage of every open set is open — iff the preimage of every closed set is closed.

Proof. (\Rightarrow) Let VYV \subseteq Y be open and af1(V)a \in f^{-1}(V): some ball B(f(a),ε)VB(f(a), \varepsilon) \subseteq V; continuity at aa provides δ\delta with f(B(a,δ))B(f(a),ε)f(B(a, \delta)) \subseteq B(f(a), \varepsilon), so B(a,δ)f1(V)B(a, \delta) \subseteq f^{-1}(V).

(\Leftarrow) Given aa and ε\varepsilon: f1(B(f(a),ε))f^{-1}\bigl(B(f(a), \varepsilon)\bigr) is open and contains aa, hence contains a ball B(a,δ)B(a, \delta): that is the definition of continuity at aa. Closed sets: complements (Proposition 1.1).

4.2 Complete spaces

Definition 4.7

A sequence (xn)(x_n) is Cauchy when supp,qNd(xp,xq)0\sup_{p, q \geq N} d(x_p, x_q) \to 0 as NN \to \infty. A metric space is complete when every Cauchy sequence converges. Convergent \Rightarrow Cauchy always; closed subsets of complete spaces are complete, and complete subsets of any space are closed (same proofs as on R\R: Year 1 volume).

Example 4.8 (Cauchy without a limit)

In X=QX = \Q with the usual distance, the decimal truncations of 2\sqrt2,

x0=1,x1=1.4,x2=1.41,x3=1.414,x_0 = 1,\quad x_1 = 1.4,\quad x_2 = 1.41,\quad x_3 = 1.414, \quad\dots

satisfy xpxq10min(p,q)\abs{x_p - x_q} \leq 10^{-\min(p,q)}: Cauchy in Q\Q. A limit in Q\Q would also be the limit in R\R, namely 2Q\sqrt2 \notin \Q: no limit exists in XX. Incompleteness is the presence of such “phantom limits”; completeness of R\R was engineered in the Year 1 volume precisely to give every Cauchy sequence a home.

Theorem 4.9

Rn\R^n (any of the three distances of Example 4.2) and (C([a,b]),d)\bigl(C(\intcc{a}{b}), d_\infty\bigr) are complete.

Proof. Rn\R^n: a Cauchy sequence is Cauchy in each coordinate (each xiyid(x,y)\abs{x_i - y_i} \leq d(x,y) for all three distances), so each coordinate converges (completeness of R\R, Year 1 volume), and coordinatewise convergence implies convergence for dd_\infty (finitely many coordinates), hence for all three (the three distances dominate each other within constant factors: dd2d1ndd_\infty \leq d_2 \leq d_1 \leq n\,d_\infty).

C([a,b])C(\intcc{a}{b}): let (fn)(f_n) be dd_\infty-Cauchy. For each xx, (fn(x))(f_n(x)) is Cauchy in R\R (fp(x)fq(x)d(fp,fq)\abs{f_p(x) - f_q(x)} \leq d_\infty(f_p, f_q)): converges to some f(x)f(x). Passing to the limit in fp(x)fq(x)ε\abs{f_p(x) - f_q(x)} \leq \varepsilon (valid for p,qNεp, q \geq N_\varepsilon, all xx) as qq \to \infty: fp(x)f(x)ε\abs{f_p(x) - f(x)} \leq \varepsilon for all xx, i.e. d(fp,f)εd_\infty(f_p, f) \leq \varepsilon: uniform convergence. The limit is continuous: given ε\varepsilon, pick pp with supfpfε\sup\abs{f_p - f} \leq \varepsilon, then use continuity of fpf_p at aa and the three-term split

f(x)f(a)f(x)fp(x)+fp(x)fp(a)+fp(a)f(a)3ε\abs{f(x) - f(a)} \leq \abs{f(x) - f_p(x)} + \abs{f_p(x) - f_p(a)} + \abs{f_p(a) - f(a)} \leq 3\varepsilon

for xx close to aa. (This “3ε3\varepsilon argument” returns as the uniform-limit theorem of Chapter 10.)

Example 4.10 (Open and closed sets recognized by continuity)

The global characterization (Theorem 4.6) is the everyday tool for topological bookkeeping. In R2\R^2: the set {(x,y):x2+y2<1, y>x3}\{(x, y) : x^2 + y^2 < 1,\ y > x^3\} is open — it is g1((,1))h1((0,+))g^{-1}(\intoo{-\infty}{1}) \cap h^{-1}(\intoo{0}{+\infty}) for the continuous g(x,y)=x2+y2g(x,y) = x^2 + y^2 and h(x,y)=yx3h(x, y) = y - x^3, an intersection of two open preimages. In (C([0,1]),d)\bigl(C(\intcc01), d_\infty\bigr): the set of functions with f(0)=f(1)f(0) = f(1) and 01f=0\int_0^1 f = 0 is closed — the preimage of {(0,0)}\{(0,0)\} under the continuous map f(f(0)f(1), 01f)f \mapsto \bigl(f(0) - f(1),\ \int_0^1 f\bigr) into R2\R^2 (each coordinate is 11-Lipschitz, as in Exercise 4.3). The method never draws a picture: exhibit a continuous map, read the set as a preimage, quote the theorem.

Example 4.11 (A closed set defined by infinitely many conditions)

In (C([0,1]),d)\bigl(C(\intcc01), d_\infty\bigr), the set

L={f:f(x)f(y)xy for all x,y}L = \{f : \abs{f(x) - f(y)} \leq \abs{x - y} \ \text{for all } x, y\}

of 11-Lipschitz functions is closed, although it is cut out by uncountably many conditions: for each fixed pair (x,y)(x, y), the map ff(x)f(y)xyf \mapsto \abs{f(x) - f(y)} - \abs{x - y} is continuous (evaluations are 11-Lipschitz), so each single condition defines a closed set, and LL is the intersection of this family — an arbitrary intersection of closed sets is closed. The same template certifies closedness for monotone functions, convex functions, functions bounded by a fixed gg: uniform limits inherit every property expressible as a family of closed pointwise constraints. What uniform limits do not automatically inherit — differentiability, for one — is exactly what Chapter 10 must labour for.

Theorem 4.12 (Banach fixed point theorem)

Let XX be a nonempty complete metric space and f ⁣:XXf \colon X \to X a contraction: Lipschitz with constant k<1k < 1. Then ff has a unique fixed point \ell, and every orbit xn+1=f(xn)x_{n+1} = f(x_n) converges to \ell, with

d(xn,)kn1kd(x1,x0).d(x_n, \ell) \leq \frac{k^n}{1 - k}\, d(x_1, x_0) .

Proof. Uniqueness: two fixed points are at distance k\leq k times itself. Existence: d(xn+1,xn)knd(x1,x0)d(x_{n+1}, x_n) \leq k^n d(x_1, x_0) by induction, so for q>pq > p,

d(xq,xp)j=pq1d(xj+1,xj)d(x1,x0)jpkj=kp1kd(x1,x0)p0:d(x_q, x_p) \leq \sum_{j=p}^{q-1} d(x_{j+1}, x_j) \leq d(x_1, x_0) \sum_{j \geq p} k^j = \frac{k^p}{1-k}\, d(x_1, x_0) \xrightarrow[p\to\infty]{} 0 :

Cauchy, hence convergent to some \ell; continuity of ff passes xn+1=f(xn)x_{n+1} = f(x_n) to the limit: =f()\ell = f(\ell). The error bound is the displayed estimate with qq \to \infty.

Example 4.13 (An integral equation)

On X=C([0,1])X = C(\intcc{0}{1}) (complete, Theorem 4.9), consider T(f)(x)=1+120xf(t) ⁣dtT(f)(x) = 1 + \frac12 \int_0^x f(t)\,\dd t. For f,gXf, g \in X:

T(f)(x)T(g)(x)120xfg12d(f,g),\abs{T(f)(x) - T(g)(x)} \leq \frac12 \int_0^x \abs{f - g} \leq \frac12\, d_\infty(f, g),

so TT is a 12\frac12-contraction: it has a unique continuous fixed point — the solution of f=f2f' = \frac f2, f(0)=1f(0) = 1, namely ex/2\eu^{x/2}. This scheme, industrialized, becomes the Cauchy–Lipschitz theorem of Chapter 16.

Example 4.14 (A numerical fixed point: x=cosxx = \cos x)

On the complete X=[0,1]X = \intcc{0}{1}, the map f=cosf = \cos sends XX into [cos1,1]X\intcc{\cos 1}{1} \subseteq X and is a contraction: by the mean value inequality,

cosxcosy(sup[0,1]sin)xy=(sin1)xy,sin10.841<1.\abs{\cos x - \cos y} \leq \bigl(\sup_{\intcc01}\abs{\sin}\bigr) \abs{x - y} = (\sin 1)\abs{x - y}, \qquad \sin 1 \approx 0.841 < 1 .

Banach: a unique solution of x=cosxx = \cos x in [0,1]\intcc01 (hence in R\R: any real fixed point lies in [1,1]\intcc{-1}{1}, then in [cos1,1]\intcc{\cos 1}{1} after one application), and the iteration xn+1=cosxnx_{n+1} = \cos x_n converges to it from any start: x0.739085x_\infty \approx 0.739085, the famous number obtained by hammering the cosine key of a calculator. The error bound predicts (sin1)n/(1sin1)(\sin1)^n/(1 - \sin1) decay — about one digit per 1313 presses; the a posteriori bound of this chapter’s weekend problem (question 14) certifies each step on the fly.

4.3 Compactness

Definition 4.15

A metric space XX is compact when every sequence in XX has a subsequence converging in XX (the Bolzano–Weierstrass property). A subset is compact when it is so with the induced distance.

Theorem 4.16 (First properties)

  1. A compact subset is closed and bounded; a closed subset of a compact space is compact.
  2. In Rn\R^n, the converse holds: compact     \iff closed and bounded.
  3. A continuous image of a compact space is compact; a continuous real function on a nonempty compact space is bounded and attains its bounds.
  4. (Heine) A continuous map on a compact space is uniformly continuous.
  5. Products: if X,YX, Y are compact, so is X×YX \times Y (with d((x,y),(x,y))=d(x,x)+d(y,y)d\bigl((x,y),(x',y')\bigr) = d(x,x') + d(y,y')).

Proof. (1) Same arguments as on the line (Year 1 volume): an escaping-to- infinity or converging-outside sequence has no subsequence converging inside; for the second claim, extract in the ambient compact and use closedness.

(2) Bounded sequences in Rn\R^n have componentwise convergent subsequences: extract on the first coordinate (Bolzano–Weierstrass on R\R), then, from that subsequence, on the second, and so on (nn successive extractions); closedness keeps the limit inside.

(3) Given (f(xn))(f(x_n)), extract xφ(n)xXx_{\varphi(n)} \to x \in X; continuity gives f(xφ(n))f(x)f(X)f(x_{\varphi(n)}) \to f(x) \in f(X). Real case: compactness of f(X)Rf(X) \subseteq \R makes it closed and bounded, and supf(X)f(X)\sup f(X) \in f(X) (the sup of a set is adherent to it, and f(X)f(X) is closed).

(4) The Year 1 proof transfers verbatim; here it is, in metric dress. Suppose f ⁣:XYf \colon X \to Y continuous on the compact XX but not uniformly continuous: some ε>0\varepsilon > 0 admits, for every nn, points with

dX(xn,yn)1n+1anddY(f(xn),f(yn))>ε.d_X(x_n, y_n) \leq \frac{1}{n+1} \qquad\text{and}\qquad d_Y\bigl(f(x_n), f(y_n)\bigr) > \varepsilon .

Extract xφ(n)aXx_{\varphi(n)} \to a \in X; then yφ(n)ay_{\varphi(n)} \to a too (the mutual distances tend to 00). Continuity at aa sends both image sequences to f(a)f(a), so dY(f(xφ(n)),f(yφ(n)))0d_Y\bigl(f(x_{\varphi(n)}), f(y_{\varphi(n)})\bigr) \to 0 — contradicting the uniform gap >ε> \varepsilon. Compactness supplied exactly one thing: the cluster point aa at which to apply plain continuity.

(5) Extract on the XX-coordinates, then again on the YY-coordinates.

Example 4.17 (Heine’s theorem, with and without compactness)

On [0,1]\intcc{0}{1}, the function xx2x \mapsto x^2 is uniformly continuous — Heine says so with no computation, but the direct estimate is instructive:

x2y2=x+yxy2xy,\abs{x^2 - y^2} = \abs{x + y}\,\abs{x - y} \leq 2\abs{x - y},

so δ=ε/2\delta = \varepsilon/2 works for every point at once. On R\R the same function is not uniformly continuous: with xn=nx_n = n and yn=n+1ny_n = n + \frac1n, the gap xnyn=1n0\abs{x_n - y_n} = \frac1n \to 0 while xn2yn2=2+1n22\abs{x_n^2 - y_n^2} = 2 + \frac1{n^2} \geq 2: no single δ\delta serves ε=1\varepsilon = 1. The mechanism is visible: the local Lipschitz constant x+y\abs{x + y} is bounded on a compact and unbounded on R\R — Heine’s theorem is exactly the statement that compactness caps such local constants uniformly.

Method 4.18 (Proving that a set is compact)

Three routes, in order of frequency. (1) Ambient recognition: in Rn\R^n (or any finite-dimensional normed space, Chapter 5), verify closed — typically as a preimage, Example 4.10 — and bounded. (2) Inheritance: a closed subset of a known compact space is compact; a finite union or a product of compacts is compact; a continuous image of a compact is compact. (3) Bare hands: extract a convergent subsequence from an arbitrary sequence — usually by successive extractions coordinate by coordinate. To prove non-compactness, one witness suffices: a sequence with no convergent subsequence, most often points at mutual distance ε\geq \varepsilon.

Example 4.19 (Distances between sets: compactness earns its keep)

Let KK be compact, FF closed, KF=K \cap F = \emptyset in a metric space. Then

d(K,F)=inf{d(x,y):xK, yF}>0:d(K, F) = \inf\,\{d(x, y) : x \in K,\ y \in F\} > 0 :

the function xd(x,F)x \mapsto d(x, F) is continuous (Exercise 4.11) and positive on KK (d(x,F)=0d(x, F) = 0 would put xF=Fx \in \overline F = F), so it attains a positive minimum on the compact KK (Theorem 4.16 (3)). Compactness is not decorative: for two closed sets the infimum can vanish without being attained — in R2\R^2, the hyperbola F1={xy=1}F_1 = \{xy = 1\} and the axis F2={y=0}F_2 = \{y = 0\} are disjoint closed sets with d(F1,F2)=0d(F_1, F_2) = 0 (the points (n,1n)(n, \frac1n) approach the axis). Escape to infinity is exactly what compactness forbids.

Theorem 4.20 (Borel–Lebesgue)

A metric space XX is compact if and only if every cover of XX by open sets has a finite subcover.

Proof. (\Leftarrow) Suppose (xn)(x_n) has no convergent subsequence. We claim every xXx \in X has a ball B(x,rx)B(x, r_x) containing xnx_n for only finitely many indices nn: otherwise, every ball B(x,1k+1)B(x, \frac1{k+1}) would contain infinitely many terms, and choosing indices

φ(0)<φ(1)<φ(2)<withxφ(k)B(x,1k+1)\varphi(0) < \varphi(1) < \varphi(2) < \cdots \quad\text{with}\quad x_{\varphi(k)} \in B\Bigl(x, \frac{1}{k+1}\Bigr)

(possible at each step precisely because infinitely many candidates remain) would build a subsequence converging to xx. The balls B(x,rx)B(x, r_x) cover XX; if finitely many of them covered XX, the index set N\N would be a finite union of finite sets: absurd.

(\Rightarrow) Two steps. Lebesgue number: for an open cover (Ui)(U_i) of a compact XX, there is ρ>0\rho > 0 such that every ball of radius ρ\rho lies in some UiU_i. Otherwise, for each nn pick xnx_n with B(xn,1n+1)B(x_n, \frac{1}{n+1}) in no UiU_i; extract xφ(n)xUi0B(x,r)x_{\varphi(n)} \to x \in U_{i_0} \supseteq B(x, r); for large nn, B(xφ(n),1φ(n)+1)B(x,r)Ui0B(x_{\varphi(n)}, \frac{1}{\varphi(n)+1}) \subseteq B(x, r) \subseteq U_{i_0}: contradiction. Total boundedness: for every ρ>0\rho > 0, finitely many balls of radius ρ\rho cover XX. Otherwise pick inductively xn+1x_{n+1} outside B(x0,ρ)B(xn,ρ)B(x_0, \rho) \cup \dots \cup B(x_n, \rho): the sequence has pairwise distances ρ\geq \rho, so no Cauchy — hence no convergent — subsequence: contradiction. Combining: cover XX by finitely many balls of radius ρ\rho (the Lebesgue number), each inside some UiU_i: a finite subcover.

Example 4.21 (An ε\varepsilon-net, counted)

Total boundedness (from the proof of Theorem 4.20) is very concrete on [0,1]\intcc{0}{1}: for ε>0\varepsilon > 0, the 12ε\lceil \frac{1}{2\varepsilon}\rceil balls centered at ε,3ε,5ε,\varepsilon, 3\varepsilon, 5\varepsilon, \dots of radius ε\varepsilon cover it — about 12ε\frac1{2\varepsilon} balls, and no cover can do with fewer than 12ε\frac{1}{2\varepsilon} of them (each ball covers length at most 2ε2\varepsilon). In [0,1]2\intcc01^2 the count squares to order ε2\varepsilon^{-2}: covering numbers grow like εd\varepsilon^{-d} in dimension dd — a quantitative face of compactness, and the reason the infinite-dimensional unit balls of Chapter 5 (where no finite 13\frac13-net exists at all) cannot be compact.

Example 4.22 (Reading compactness on covers)

The half-open interval (0,1]\intoc{0}{1} is covered by the open sets Un=(1n,2)U_n = \intoo{\frac1n}{2}, n1n \geq 1; any finite subfamily has a largest index NN and misses (0,1N]\intoc{0}{\frac1N}: no finite subcover, so (0,1]\intoc{0}{1} is not compact — which the sequential definition sees through xn=1nx_n = \frac1n, whose limit 00 escapes. On the other hand, adding the single point 00 repairs both diagnoses at once: on [0,1]\intcc{0}{1} every such cover must contain a set containing 00, which swallows a whole initial segment, and finitely many sets finish the rest. The two languages of Theorem 4.20 always fail or succeed together — covers detect escape exactly where sequences do.

Remark 4.23 (Perspectives within this volume)

This chapter is the volume’s load-bearing wall; watch where each pillar carries weight. Completeness: the Cauchy criterion becomes the convergence test for series in Banach spaces (Chapter 7), uniform convergence in Chapter 10 is exactly convergence in the complete (C,d)\bigl(C, d_\infty\bigr), and Cauchy–Lipschitz (Chapter 16) is the Banach fixed point theorem wearing an integral equation. Compactness: it proves the equivalence of norms (Chapter 5), the attainment of extrema for the optimization of Chapter 15, and the existence of best approximations (Chapter 5’s weekend problem). Connectedness: it globalizes local statements — uniqueness of solutions of differential equations, the intermediate value theorem on curves (Chapter 18), and the two components of GLn(R)GL_n(\R) that orientation theory (Chapter 20) will keep apart.

Remark 4.24 (Common pitfalls)

(i) “Closed and bounded implies compact” is a theorem about Rn\R^n, not about metric spaces: an infinite set with the discrete metric is closed and bounded in itself yet not compact (Exercise 4.4), and the closed unit ball of C([0,1])C(\intcc01) fails too (Chapter 5). (ii) Completeness is a property of the distance, not of the topology: R\R with d(x,y)=arctanxarctanyd(x,y) = \abs{\arctan x - \arctan y} has the usual convergent sequences but is incomplete (Exercise 4.1). (iii) A continuous bijection need not be a homeomorphism — the circle parametrization of Exercise 4.7; compactness of the source repairs it. (iv) Banach’s theorem needs k<1k < 1 uniformly: the condition d(f(x),f(y))<d(x,y)d(f(x), f(y)) < d(x,y) alone guarantees nothing on a non-compact space (Exercise 4.5). (v) Connected does not imply path-connected in general — but for the open subsets of normed spaces met in this book, the two agree (Chapter 5).

Remark 4.25 (Where this chapter is used)

Everywhere in the analysis half. Completeness of C([a,b])C(\intcc{a}{b}) powers the convergence theorems of Chapter 10 and the Cauchy–Lipschitz theory of Chapter 16 (this chapter’s weekend problem proves the local Picard–Lindelöf theorem already); compactness gives the equivalence of norms in finite dimension (Chapter 5) and the existence of extrema in Chapter 15; connectedness underlies the intermediate value arguments of Chapter 8 and the uniqueness globalization for differential equations. In the Year 3 volume, compactness in function spaces (the Arzelà–Ascoli theorem) and the Baire category theorem (Exercise 4.12 here) become tools of daily use.

The first stages of the Cantor set (): each level deletes the open middle third of every segment. The intersection C = _n C_n is compact, has empty interior and length zero, yet is equipotent to ℝ — and it returns as a fixed point of a contraction on sets in this chapter’s weekend problem (question 22).
The first stages of the Cantor set (Exercise 4.8): each level deletes the open middle third of every segment. The intersection C=nCnC = \bigcap_n C_n is compact, has empty interior and length zero, yet is equipotent to R\R — and it returns as a fixed point of a contraction on sets in this chapter’s weekend problem (question 22).

4.4 Connectedness

Definition 4.26

XX is connected when it admits no partition into two nonempty open subsets — equivalently, when its only subsets both open and closed are \emptyset and XX. XX is path-connected when any two points are joined by a continuous map γ ⁣:[0,1]X\gamma \colon \intcc{0}{1} \to X.

Theorem 4.27

  1. The connected subsets of R\R are exactly the intervals.
  2. A continuous image of a connected space is connected — whence the general intermediate value theorem: a continuous real function on a connected space takes every value between any two of its values.
  3. Path-connected \Rightarrow connected. (The converse fails in general; it holds for open subsets of normed spaces, Chapter 5.)

Proof. (1) A non-interval AA misses some zz between two of its points: A=(A(,z))(A(z,+))A = (A \cap \intoo{-\infty}{z}) \cup (A \cap \intoo{z}{+\infty}) splits it into two nonempty open (in AA) pieces. Conversely, let II be an interval and I=UVI = U \cup V a partition into nonempty relatively open sets; pick aUa \in U, bVb \in V, say a<ba < b, and set s=sup(U[a,b])s = \sup\,(U \cap \intcc{a}{b}), a point of [a,b]I\intcc{a}{b} \subseteq I. If sUs \in U: then sbs \neq b, and relative openness of UU puts a whole interval around ss (intersected with II) inside UU — so points of U[a,b]U \cap \intcc{a}{b} exceed ss, contradicting the supremum. If sVs \in V: relative openness of VV puts an interval (sr,s+r)I\intoo{s - r}{s + r} \cap I inside VV; but the supremum is adherent to U[a,b]U \cap \intcc{a}{b}, which must meet that interval — contradiction with UV=U \cap V = \emptyset. (This is the Year 1 clopen argument for R\R, run inside II.)

(2) If f(X)=UVf(X) = U' \cup V' splits into nonempty relatively open sets, then X=f1(U)f1(V)X = f^{-1}(U') \cup f^{-1}(V') splits XX (Theorem 4.6). IVT: f(X)Rf(X) \subseteq \R is connected, hence an interval by (1).

(3) Suppose X=UVX = U \cup V, both nonempty open, and join aUa \in U to bVb \in V by a path γ\gamma: then γ1(U),γ1(V)\gamma^{-1}(U), \gamma^{-1}(V) split [0,1]\intcc{0}{1}, contradicting (1).

Example 4.28

GLn(R)GL_n(\R) is not connected: det\det is continuous (a polynomial in the entries) onto R\R^*, which is not connected; the preimages of R+\R_+^* and R\R_-^* split GLn(R)GL_n(\R). (Each piece is in fact path-connected — a pleasant exercise beyond our needs.) By contrast GLn(C)GL_n(\C) is path-connected: Exercise 4.10.

Example 4.29 (A fixed point from connectedness alone)

Every continuous f ⁣:[0,1][0,1]f \colon \intcc01 \to \intcc01 has a fixed point — no contraction hypothesis, no iteration. Consider g(x)=f(x)xg(x) = f(x) - x, continuous on the connected [0,1]\intcc01:

g(0)=f(0)0,g(1)=f(1)10,g(0) = f(0) \geq 0, \qquad g(1) = f(1) - 1 \leq 0 ,

and the intermediate value theorem (Theorem 4.27 (2)) delivers a zero of gg, i.e. a fixed point of ff. Contrast with Banach (Theorem 4.12): here existence is topological and free, but uniqueness and the algorithm are lost — f=idf = \mathrm{id} has every point fixed, and iteration of a non-contracting ff may cycle forever. The two fixed point theorems of this chapter answer different questions with different currencies.

Example 4.30 (R\R and R2\R^2 are not homeomorphic)

Connectedness is a topological fingerprint. Suppose h ⁣:R2Rh \colon \R^2 \to \R were a homeomorphism (a continuous bijection with continuous inverse). Remove one point aR2a \in \R^2: the restriction h ⁣:R2{a}R{h(a)}h \colon \R^2\setminus\{a\} \to \R\setminus\{h(a)\} is still a homeomorphism. But R2\R^2 minus a point is path-connected — join any two points by a segment, detouring along a second segment through an auxiliary point if aa blocks the direct one — hence connected (Theorem 4.27 (3)); while R\R minus a point splits into two nonempty open half-lines: not connected. Connectedness is preserved by continuous maps: contradiction. The plane and the line are genuinely different as topological spaces — a fact that cardinality alone (Exercise 1.3-style bijections do exist!) is too coarse to see.

4.5 Exercises

Exercise 4.1

On R\R, check that δ(x,y)=min(1,xy)\delta(x, y) = \min(1, \abs{x - y}) and d(x,y)=arctanxarctanyd(x,y) = \abs{\arctan x - \arctan y} are distances. Which sequences converge for each? Is (R,d)(\R, d) complete?

Solution

Solution of Exercise 4.1.

δ\delta: symmetry and separation are clear; triangle inequality: min(1,u+v)min(1,u)+min(1,v)\min(1, u + v) \leq \min(1,u) + \min(1,v) for u,v0u, v \geq 0 (if either min is 11, the right side is 1\geq 1; else it is u+vu + v). dd: it is the pullback of \abs{\cdot} by the injective arctan\arctan: the three axioms transfer.

Convergence: for δ\delta, δ(xn,x)0    xnx0\delta(x_n, x) \to 0 \iff \abs{x_n - x} \to 0 (for small values the two distances agree): same convergent sequences as usual. For dd: d(xn,x)0    arctanxnarctanx    xnxd(x_n, x) \to 0 \iff \arctan x_n \to \arctan x \iff x_n \to x (continuity and strict monotonicity of arctan\arctan and of its inverse on the relevant ranges): again the usual convergence.

(R,d)(\R, d) is not complete: xn=nx_n = n satisfies d(xp,xq)=arctanparctanq0d(x_p, x_q) = \abs{\arctan p - \arctan q} \to 0 (both tend to π2\frac\pi2): Cauchy; but (xn)(x_n) does not converge for dd (its dd-limit would be an ordinary limit). Completeness is a property of the distance, not just of the convergent sequences.

Exercise 4.2

In a metric space, prove that a convergent sequence is Cauchy and bounded, and that a Cauchy sequence with a convergent subsequence converges. Deduce again that compact metric spaces are complete.

Solution

Solution of Exercise 4.2.

Convergent \Rightarrow Cauchy: d(xp,xq)d(xp,)+d(,xq)d(x_p, x_q) \leq d(x_p, \ell) + d(\ell, x_q). Bounded: beyond NN, d(xn,)1d(x_n, \ell) \leq 1; the finitely many first terms are within some radius too.

Cauchy ++ convergent subsequence xφ(n)x_{\varphi(n)} \to \ell: given ε\varepsilon, for large nn, d(xn,)d(xn,xφ(n))+d(xφ(n),)2εd(x_n, \ell) \leq d(x_n, x_{\varphi(n)}) + d(x_{\varphi(n)}, \ell) \leq 2\varepsilon (the first term by Cauchy, since φ(n)n\varphi(n) \geq n).

Compact \Rightarrow complete: a Cauchy sequence has a convergent subsequence (compactness), hence converges.

Exercise 4.3

In (C([0,1]),d)\bigl(C(\intcc{0}{1}), d_\infty\bigr), compute the distance between f(x)=xf(x) = x and g(x)=x2g(x) = x^2; describe the closed ball B(0,1)\overline B(0, 1); and prove that the set {f:f(0)=0}\{f : f(0) = 0\} is closed while {f:f(0)>0}\{f : f(0) > 0\} is open.

Solution

Solution of Exercise 4.3.

d(f,g)=sup[0,1]xx2=14d_\infty(f, g) = \sup_{\intcc{0}{1}} \abs{x - x^2} = \frac14 (maximum of xx2x - x^2 at x=12x = \frac12).

B(0,1)={f:supf1}\overline B(0, 1) = \{f : \sup\abs f \leq 1\}: the continuous functions with values in [1,1]\intcc{-1}{1}.

{f:f(0)=0}\{f : f(0) = 0\} is the preimage of {0}\{0\} under the evaluation ff(0)f \mapsto f(0), which is 11-Lipschitz (f(0)g(0)d(f,g)\abs{f(0) - g(0)} \leq d_\infty(f,g)), hence continuous: the set is closed (Theorem 4.6). Likewise {f:f(0)>0}\{f : f(0) > 0\} is the preimage of the open (0,+)\intoo{0}{+\infty}: open.

Exercise 4.4 ★★

Prove that the discrete metric space XX (any set) is complete, and that it is compact if and only if XX is finite. Which subsets are connected?

Solution

Solution of Exercise 4.4.

Complete: a Cauchy sequence with ε=12\varepsilon = \frac12 is eventually constant, hence convergent.

Compact iff finite: if XX is finite, any sequence takes some value infinitely often (constant subsequence). If XX is infinite, a sequence of pairwise distinct points has all mutual distances 11: no Cauchy subsequence, so no convergent one.

Connected subsets: the singletons (and \emptyset). Any AA with two points xyx \neq y splits as {x}(A{x})\{x\} \cup (A \setminus\{x\}), both open in AA (every subset of a discrete space is open — balls of radius 12\frac12 are singletons).

Exercise 4.5 ★★

Let XX be compact and f ⁣:XXf \colon X \to X with

d(f(x),f(y))<d(x,y)for all xy.d\bigl(f(x), f(y)\bigr) < d(x, y) \quad \text{for all } x \neq y .

Prove that ff has a unique fixed point (minimize xd(x,f(x))x \mapsto d(x, f(x))), and give an example on X=[1,+)X = \intco{1}{+\infty} (not compact) with no fixed point.

Solution

Solution of Exercise 4.5.

The function g(x)=d(x,f(x))g(x) = d(x, f(x)) is continuous on the compact XX (g(x)g(y)2d(x,y)\abs{g(x) - g(y)} \leq 2d(x,y) by two triangle inequalities), so it attains its minimum at some aa (Theorem 4.16). If f(a)af(a) \neq a:

g(f(a))=d(f(a),f(f(a)))<d(a,f(a))=g(a),g\bigl(f(a)\bigr) = d\bigl(f(a), f(f(a))\bigr) < d(a, f(a)) = g(a),

contradicting minimality. So f(a)=af(a) = a; uniqueness as usual (two fixed points aba \neq b give d(a,b)=d(f(a),f(b))<d(a,b)d(a,b) = d(f(a), f(b)) < d(a,b)).

Non-compact example: f(x)=x+1xf(x) = x + \frac1x on [1,+)\intco{1}{+\infty}: f(x)f(y)=xy11xy<xy\abs{f(x) - f(y)} = \abs{x - y}\,\abs{1 - \frac{1}{xy}} < \abs{x - y} for xyx \neq y (as xy>1xy > 1), yet f(x)>xf(x) > x everywhere.

Exercise 4.6 ★★

(Nested compacts) Let (Kn)(K_n) be a decreasing sequence of nonempty compact subsets of a metric space. Prove that nKn\bigcap_n K_n \neq \emptyset (pick xnKnx_n \in K_n and extract). Show by example that nonempty nested closed sets in R\R can have empty intersection.

Solution

Solution of Exercise 4.6.

Pick xnKnx_n \in K_n. All terms from rank nn on lie in KnK_n; in particular the whole sequence lies in the compact K0K_0: extract xφ(k)x_{\varphi(k)} \to \ell. For each fixed nn, the terms xφ(k)x_{\varphi(k)} with φ(k)n\varphi(k) \geq n lie in the closed KnK_n, so the limit Kn\ell \in K_n. Hence Kn\ell \in \bigcap K_n.

Closed counterexample: Fn=[n,+)F_n = \intco{n}{+\infty} in R\R: nested, closed, nonempty, empty intersection.

Exercise 4.7 ★★

Let KK be compact and f ⁣:KYf \colon K \to Y continuous and bijective. Prove that f1f^{-1} is continuous (use closed sets: Theorem 4.6 and Theorem 4.16). Give a counterexample without compactness (γ(t)=(cost,sint)\gamma(t) = (\cos t, \sin t) on [0,2π)\intco{0}{2\pi}).

Solution

Solution of Exercise 4.7.

Continuity of f1f^{-1} means: images f(F)f(F) of closed sets FKF \subseteq K are closed (preimages under f1f^{-1} are images under ff). A closed FF in the compact KK is compact (Theorem 4.16 (1)); its continuous image f(F)f(F) is compact, hence closed. So f1f^{-1} is continuous: ff is a homeomorphism.

Counterexample: γ(t)=(cost,sint)\gamma(t) = (\cos t, \sin t) from [0,2π)\intco{0}{2\pi} (not compact) onto the unit circle is a continuous bijection, but γ1\gamma^{-1} is discontinuous at (1,0)(1,0): points on the circle just below the axis have parameters near 2π2\pi, not near 00.

Exercise 4.8 ★★

The Cantor set CC is obtained from [0,1]\intcc{0}{1} by repeatedly deleting open middle thirds. Prove that CC is compact, has empty interior, and is infinite — indeed equipotent to {0,1}N\{0,1\}^{\N} (ternary expansions with digits 0,20,2; Exercise 1.3).

Solution

Solution of Exercise 4.8.

C=nCnC = \bigcap_n C_n where each CnC_n (union of 2n2^n closed intervals of length 3n3^{-n}) is closed: CC is closed and bounded in R\R, hence compact (Theorem 4.16 (2)).

Empty interior: CC contains no interval of length >3n> 3^{-n} (it sits inside CnC_n, whose components have that length), for every nn.

Cardinality: the points of CC are exactly the reals n1an3n\sum_{n\geq1} a_n 3^{-n} with digits an{0,2}a_n \in \{0, 2\} (at each stage, the deleted middle third removes the digit 11); the map (an)an3n(a_n) \mapsto \sum a_n 3^{-n} is a bijection from {0,2}N\{0,2\}^{\N^*} onto CC (injectivity as in Exercise 1.3). So CC is equipotent to {0,1}N\{0,1\}^{\N}: uncountable, though of “length zero”.

Exercise 4.9 ★★★

Let XX be a compact metric space and f ⁣:XXf \colon X \to X an isometry: d(f(x),f(y))=d(x,y)d(f(x), f(y)) = d(x, y). Prove that ff is surjective. Hint: if af(X)a \notin f(X), then ε=d(a,f(X))>0\varepsilon = d(a, f(X)) > 0 (why?); study the orbit a,f(a),f2(a),a, f(a), f^2(a), \dots and show its points are pairwise ε\geq \varepsilon apart — contradiction with compactness.

Solution

Solution of Exercise 4.9.

Suppose af(X)a \notin f(X). The image f(X)f(X) is compact (continuous image), hence closed; so

ε=d(a,f(X))=infyf(X)d(a,y)>0\varepsilon = d\bigl(a, f(X)\bigr) = \inf_{y \in f(X)} d(a, y) > 0

(the infimum of a continuous function on a compact set is attained; if it were 00, aa would be adherent to the closed f(X)f(X), hence in it).

Consider the orbit xn=fn(a)x_n = f^n(a) (x0=ax_0 = a). For p<qp < q:

d(xp,xq)=d(fp(a),fp(fqp(a)))=d(a,fqp(a))ε,d(x_p, x_q) = d\bigl(f^p(a), f^p(f^{q-p}(a))\bigr) = d\bigl(a, f^{q-p}(a)\bigr) \geq \varepsilon,

(isometry iterated pp times; and fqp(a)f(X)f^{q-p}(a) \in f(X) since qp1q - p \geq 1). A sequence with mutual distances ε\geq \varepsilon has no convergent subsequence — contradicting compactness. Hence f(X)=Xf(X) = X.

Exercise 4.10 ★★★

Prove that GLn(C)GL_n(\C) is path-connected. Hint: given A,BA, B invertible, consider p(z)=det((1z)A+zB)p(z) = \det\bigl((1 - z)A + zB\bigr) for zCz \in \C: a polynomial in zz, not identically zero, so it has finitely many roots; join 00 to 11 in C\C by a path avoiding them.

Solution

Solution of Exercise 4.10.

Let A,BGLn(C)A, B \in GL_n(\C) and p(z)=det((1z)A+zB)p(z) = \det\bigl((1-z)A + zB\bigr): a polynomial in zz (each entry is affine in zz; the determinant is a polynomial in the entries). p(0)=detA0p(0) = \det A \neq 0: pp is not identically zero, so it has finitely many roots z1,,zmz_1, \dots, z_m (none equal to 00 or 11: p(1)=detB0p(1) = \det B \neq 0). The plane C\C minus finitely many points is path-connected: a path from 00 to 11 avoiding the ziz_i exists (take a broken line through a point far from all roots, or a circular arc; only finitely many obstacles). Along such a path γ\gamma, t(1γ(t))A+γ(t)Bt \mapsto (1 - \gamma(t))A + \gamma(t)B is a continuous path inside GLn(C)GL_n(\C) from AA to BB (the determinant never vanishes on it). Hence GLn(C)GL_n(\C) is path-connected — unlike its real cousin (Example 4.28): the complex plane has room to walk around obstacles.

Exercise 4.11 ★★

For AX\emptyset \neq A \subseteq X, set d(x,A)=infaAd(x,a)d(x, A) = \inf_{a \in A} d(x, a). Prove that xd(x,A)x \mapsto d(x, A) is 11-Lipschitz, that d(x,A)=0d(x, A) = 0 iff xAx \in \overline A, and that for disjoint nonempty closed sets A,BA, B the function

φ(x)=d(x,A)d(x,A)+d(x,B)\varphi(x) = \frac{d(x, A)}{d(x, A) + d(x, B)}

is well defined, continuous, equal to 00 exactly on AA and to 11 exactly on BB — a continuous “switch” separating any two disjoint closed sets.

Solution

Solution of Exercise 4.11.

Lipschitz: for aAa \in A, d(x,a)d(x,y)+d(y,a)d(x, a) \leq d(x, y) + d(y, a); take the infimum over aa: d(x,A)d(x,y)+d(y,A)d(x, A) \leq d(x, y) + d(y, A), and swap x,yx, y: d(x,A)d(y,A)d(x,y)\abs{d(x,A) - d(y,A)} \leq d(x,y).

Vanishing: d(x,A)=0d(x, A) = 0 iff there are anAa_n \in A with d(x,an)0d(x, a_n) \to 0 iff xx is a limit of points of AA iff xAx \in \overline A.

The switch: for disjoint closed A,BA, B: the denominator d(x,A)+d(x,B)d(x,A) + d(x,B) never vanishes (it would force xAB=AB=x \in \overline A \cap \overline B = A \cap B = \emptyset), so φ\varphi is well defined, and continuous as a quotient of continuous functions with nonvanishing denominator. φ(x)=0\varphi(x) = 0 iff d(x,A)=0d(x, A) = 0 iff xAx \in A; φ(x)=1\varphi(x) = 1 iff d(x,B)=0d(x, B) = 0 iff xBx \in B; and 0φ10 \leq \varphi \leq 1 everywhere.

Exercise 4.12 ★★★

(Baire) Let XX be a complete metric space and (Un)n1(U_n)_{n\geq1} a sequence of dense open subsets. Prove that nUn\bigcap_n U_n is dense in XX (inside any ball, build nested closed balls B(xn,rn)Un\overline B(x_n, r_n) \subseteq U_n with rn0r_n \to 0 and use completeness). Deduce that R\R is not a countable union of closed sets with empty interior, and recover — again — that R\R is uncountable.

Solution

Solution of Exercise 4.12.

Let B(x0,r0)B(x_0, r_0) be any ball; we find a point of Un\bigcap U_n in it. Since U1U_1 is dense and open, U1B(x0,r0)U_1 \cap B(x_0, r_0) is nonempty and open: it contains a closed ball B(x1,r1)\overline B(x_1, r_1) with 0<r1r020 < r_1 \leq \frac{r_0}2 (shrink the radius). Inductively, Un+1B(xn,rn)U_{n+1} \cap B(x_n, r_n) is nonempty open: pick B(xn+1,rn+1)Un+1B(xn,rn)\overline B(x_{n+1}, r_{n+1}) \subseteq U_{n+1} \cap B(x_n, r_n) with rn+1rn2r_{n+1} \leq \frac{r_n}2. For p,qnp, q \geq n, both xp,xqx_p, x_q lie in B(xn,rn)B(x_n, r_n) with rn2nr0r_n \leq 2^{-n}r_0: the sequence is Cauchy, and converges to some \ell by completeness. For each nn, the tail of the sequence lies in the closed ball B(xn+1,rn+1)Un+1B(x0,r0)\overline B(x_{n+1}, r_{n+1}) \subseteq U_{n+1} \cap B(x_0, r_0), so Un+1\ell \in U_{n+1} for every nn and B(x1,r1)B(x0,r0)\ell \in \overline B(x_1, r_1) \subseteq B(x_0, r_0). Hence nUn\bigcap_n U_n meets every ball: dense.

Application: if R=nFn\R = \bigcup_n F_n with FnF_n closed with empty interior, then Un=RFnU_n = \R \setminus F_n are dense (Un=R\overline{U_n} = \R iff FnF_n has empty interior) and open, and Baire gives a point in Un=RFn\bigcap U_n = \R \setminus \bigcup F_n: contradiction. In particular RxD{x}\R \neq \bigcup_{x \in D} \{x\} for a countable DD (singletons are closed with empty interior): R\R is uncountable — Theorem 1.9 by another route.

4.6 Problem: Picard Iteration

Completeness plus contraction is a solving machine: feed it an equation written as a fixed point problem, and it returns existence, uniqueness, an algorithm, and error bars. This weekend problem runs the machine at full power on the equation y=f(t,y)y' = f(t, y): we prove the local Picard–Lindelöf theorem (the nonlinear heart of Chapter 16’s Cauchy–Lipschitz theory), watch every hypothesis earn its keep through counterexamples, and collect purely metric dividends — continuous dependence on the data, Kepler’s equation, and the self-similarity of the Cantor set.

Picard iterates for y' = y, y(0) = 1: each pass through T(y)(t) = 1 + ∈t_0t y adds one Taylor term, and the contraction squeezes the whole sequence uniformly onto \,t.
Picard iterates for y=yy' = y, y(0)=1y(0) = 1: each pass through T(y)(t)=1+0tyT(y)(t) = 1 + \int_0^t y adds one Taylor term, and the contraction squeezes the whole sequence uniformly onto et\eu^{\,t}.

Problem 4.1

Weekend problem — the Picard–Lindelöf theorem

Throughout, t0Rt_0 \in \R, y0Ry_0 \in \R, a,b>0a, b > 0, and ff is a continuous function on the rectangle R=[t0a,t0+a]×[y0b,y0+b]R = \intcc{t_0 - a}{t_0 + a} \times \intcc{y_0 - b}{y_0 + b}, bounded by M=supRfM = \sup_R\,\abs f, and LL-Lipschitz in its second variable: f(t,y)f(t,z)Lyz\abs{f(t, y) - f(t, z)} \leq L\abs{y - z} whenever both points lie in RR. Set

h=min(a,bM)(with h=a if M=0),I=[t0h,t0+h].h = \min\Bigl(a, \frac bM\Bigr) \quad (\text{with } h = a \text{ if } M = 0), \qquad I = \intcc{t_0 - h}{t_0 + h}.

Part I — The complete stage.

  1. Prove the two statements quoted in Definition 4.7: a closed subset of a complete metric space is complete, and a complete subset of any metric space is closed. Deduce that every closed subset of (C(I),d)\bigl(C(I), d_\infty\bigr) is a complete metric space.
  2. Show that the map C(I)C(I)C(I) \to C(I), y(tt0ty(s) ⁣ds)y \mapsto \bigl(t \mapsto \int_{t_0}^{t}y(s)\,\dd s\bigr), is hh-Lipschitz for dd_\infty.
  3. (Fixed points move less than the maps) Let g ⁣:XXg \colon X \to X be a kk-contraction of a metric space with fixed point g\ell_g, and g~ ⁣:XX\widetilde g \colon X \to X any map with a fixed point g~\ell_{\widetilde g}. Prove

    d(g,g~)d(g(g~),g~(g~))1ksupxXd(g(x),g~(x))1k.d(\ell_g, \ell_{\widetilde g}) \leq \frac{d\bigl(g(\ell_{\widetilde g}), \widetilde g(\ell_{\widetilde g})\bigr)}{1 - k} \leq \frac{\sup_{x \in X} d\bigl(g(x), \widetilde g(x)\bigr)}{1 - k}.
  4. (The iterate trick) Let XX be complete nonempty and g ⁣:XXg \colon X \to X a map — not assumed continuous — such that some iterate gmg^m is a kk-contraction. Prove that gg has a unique fixed point \ell and that every orbit xn+1=g(xn)x_{n+1} = g(x_n) converges to \ell. (Fixed points of gg are fixed points of gmg^m; conversely g()g(\ell) is a fixed point of gmg^m; split the orbit along residues mod mm.)

Part II — The Picard–Lindelöf theorem.

  1. Show that a function y ⁣:I[y0b,y0+b]y \colon I \to \intcc{y_0 - b}{y_0 + b} is C1C^1 with y(t0)=y0y(t_0) = y_0 and y=f(t,y)y' = f(t, y) on II if and only if it is continuous and satisfies the integral equation

    y(t)=y0+t0tf(s,y(s)) ⁣ds(tI).y(t) = y_0 + \int_{t_0}^{t} f\bigl(s, y(s)\bigr)\dd s \qquad (t \in I).
  2. Let Xh={yC(I):y(t)y0b on I}X_h = \{y \in C(I) : \abs{y(t) - y_0} \leq b \text{ on } I\} and let TT be defined by T(y)(t)=y0+t0tf(s,y(s)) ⁣dsT(y)(t) = y_0 + \int_{t_0}^{t}f(s, y(s))\dd s. Show that XhX_h is a nonempty closed subset of C(I)C(I), hence complete, and that TT maps XhX_h into XhX_h — this is where hb/Mh \leq b/M works.
  3. Show that d(T(y),T(z))Lhd(y,z)d_\infty\bigl(T(y), T(z)\bigr) \leq Lh\,d_\infty(y, z) on XhX_h: if Lh<1Lh < 1, Banach’s theorem already concludes. We remove this smallness condition next.
  4. Prove by induction on nn:

    Tn(y)(t)Tn(z)(t)(Ltt0)nn!d(y,z)(y,zXh, tI),\abs{T^n(y)(t) - T^n(z)(t)} \leq \frac{\bigl(L\abs{t - t_0}\bigr)^n}{n!}\, d_\infty(y, z) \qquad (y, z \in X_h,\ t \in I),

    so some iterate of TT is a contraction. Conclude with question 4 (the Picard–Lindelöf theorem): the Cauchy problem y=f(t,y)y' = f(t,y), y(t0)=y0y(t_0) = y_0 has exactly one solution on I=[t0h,t0+h]I = \intcc{t_0 - h}{t_0 + h} with values in [y0b,y0+b]\intcc{y_0 - b}{y_0 + b}.

  5. Show that the restriction “with values in [y0b,y0+b]\intcc{y_0 - b}{y_0 + b}” is automatic: any solution of the Cauchy problem defined on II whose graph starts in RR stays in [y0b,y0+b]\intcc{y_0 - b}{y_0 + b} (consider the first exit time and bound y(t)y0\abs{y(t) - y_0} by Mtt0M\abs{t - t_0}). Hence uniqueness holds among all solutions on II.
  6. Run the machine on y=yy' = y, y(0)=1y(0) = 1, starting from the constant y(0)1y^{(0)} \equiv 1: compute the Picard iterates y(n)y^{(n)}, identify them, and describe the convergence.

Part III — Every hypothesis earns its keep.

  1. (Lipschitz fails, uniqueness fails) For y=2yy' = 2\sqrt{\abs y}, y(0)=0y(0) = 0: check that y0y \equiv 0 and, for every c0c \geq 0, the function yc(t)=0y_c(t) = 0 for tct \leq c, yc(t)=(tc)2y_c(t) = (t - c)^2 for t>ct > c, are all C1C^1 solutions on R\R. Where exactly does y2yy \mapsto 2\sqrt{\abs y} fail to be Lipschitz?
  2. (Locality is real) For y=y2y' = y^2, y(0)=1y(0) = 1: solve explicitly, give the maximal interval of existence, and compute the best hh the theorem can certify over all choices of the rectangle (aa large, bb free): show hmax=supb>0b(1+b)2=14h_{\max} = \sup_{b>0} \frac{b}{(1+b)^2} = \frac14, while the true solution lives on (,1)\intoo{-\infty}{1}.
  3. (Completeness is not decor) On X=Q[1,2]X = \Q \cap \intcc{1}{2} with the usual distance, let g(x)=x2+1xg(x) = \frac x2 + \frac1x. Show g(X)Xg(X) \subseteq X, that gg is a 12\frac12-contraction (mean value inequality), and that gg has no fixed point in XX. Which hypothesis of Banach’s theorem fails, and what is the fixed point in the completion?
  4. (Error bars) For a kk-contraction gg on a complete space, prove the a posteriori estimate d(xn,)k1kd(xn,xn1)d(x_n, \ell) \leq \frac{k}{1-k}\,d(x_n, x_{n-1}). For Heron’s map g(x)=x2+1xg(x) = \frac x2 + \frac 1x on [1,2]\intcc{1}{2} (fixed point 2\sqrt2), starting at x0=32x_0 = \frac32: how many steps does the a priori bound kn1kd(x1,x0)\frac{k^n}{1-k}d(x_1, x_0) demand for accuracy 10610^{-6}, and how many steps suffice in reality? (Compute x1,x2,x3x_1, x_2, x_3 and their errors; the contraction bound is honest but pessimistic — Heron converges quadratically.)

Part IV — Continuous dependence. In this part Lh<1Lh < 1, so TT itself is a contraction on XhX_h (question 7); write y[y0]y[\,y_0\,] for the solution with initial value y0y_0.

  1. (Dependence on the initial value) Let z0z_0 be another initial value with z0y0\abs{z_0 - y_0} small enough that both problems fit in the rectangle. Using question 3, prove

    d(y[y0],y[z0])y0z01Lh.d_\infty\bigl(y[y_0], y[z_0]\bigr) \leq \frac{\abs{y_0 - z_0}}{1 - Lh}.
  2. (Long intervals by chaining) Suppose the solutions exist on a long segment cut into mm consecutive pieces on each of which the previous bound applies with Lh12Lh \leq \frac12. Show the deviation grows by a factor at most 22 per piece, hence d2my0z0d_\infty \leq 2^m\abs{y_0 - z_0} overall — an exponential-in-length bound, the discrete shadow of the eLtt0\eu^{L\abs{t - t_0}} of Gronwall’s lemma (Chapter 16).
  3. (Dependence on the field) Let gg be another field on RR, also LL-Lipschitz in yy, with supRfgε\sup_R \abs{f - g} \leq \varepsilon. Prove that the corresponding solutions satisfy dεh1Lhd_\infty \leq \frac{\varepsilon h}{1 - Lh}: modelling error propagates linearly.
  4. (Parameters) If a family fλf_\lambda of fields is LL-Lipschitz in yy uniformly and supRfλfμCλμ\sup_R\abs{f_\lambda - f_\mu} \leq C\abs{\lambda - \mu}, deduce that λyλ\lambda \mapsto y_\lambda is Lipschitz from the parameter space into (C(I),d)\bigl(C(I), d_\infty\bigr).
  5. (Systems cost nothing) Explain why Parts I, II and IV hold verbatim for yy with values in Rn\R^n (sup distances built on any of the distances of Example 4.2), then compute all Picard iterates for the system y=Ayy' = Ay, y(0)=(c1,c2)y(0) = (c_1, c_2), A=(0100)A = \left(\begin{smallmatrix} 0 & 1\\ 0 & 0\end{smallmatrix}\right): show the iteration becomes stationary at the exact solution after one step.

Part V — Metric dividends and synthesis.

  1. (Perturbation of the identity) Let XX be a complete normed-space-like stage: take X=C(I)X = C(I) or Rn\R^n. If η ⁣:XX\eta \colon X \to X is kk-Lipschitz with k<1k < 1, prove that xx+η(x)x \mapsto x + \eta(x) is a bijection of XX whose inverse is 11k\frac1{1-k}-Lipschitz (for each yy, apply Banach to xyη(x)x \mapsto y - \eta(x)). This is the metric heart of the inverse function theorem (Chapter 15).
  2. (Kepler’s equation) For 0e<10 \leq e < 1 and mRm \in \R, prove that x=m+esinxx = m + e\sin x has exactly one solution, that the iteration xn+1=m+esinxnx_{n+1} = m + e\sin x_n converges to it from any start, and estimate: for e=12e = \frac12, m=1m = 1, how many iterations guarantee an error 103\leq 10^{-3} by the a priori bound? (The solution is x1.4987x \approx 1.4987.)
  3. (The Cantor set is a fixed point) Let S1(x)=x3S_1(x) = \frac x3 and S2(x)=x3+23S_2(x) = \frac x3 + \frac23 on R\R, and let CC be the Cantor set of Exercise 4.8. Prove C=S1(C)S2(C)C = S_1(C) \cup S_2(C), and explain in one sentence why no other nonempty compact set satisfies this equation (the map AS1(A)S2(A)A \mapsto S_1(A) \cup S_2(A) is a contraction for a distance between compact sets — the Hausdorff distance, made honest in the Year 3 volume).
  4. (Connectedness globalizes uniqueness) Let ff be locally Lipschitz in yy on an open set, and let y,zy, z be two solutions of y=f(t,y)y' = f(t, y) on a common interval JJ with y(t0)=z(t0)y(t_0) = z(t_0). Prove y=zy = z on JJ: show that {tJ:y(t)=z(t)}\{t \in J : y(t) = z(t)\} is nonempty, closed in JJ, and open in JJ (by local uniqueness), and use the connectedness of intervals (Theorem 4.27).
  5. (No smallness for linear equations) For y=α(t)y+β(t)y' = \alpha(t)y + \beta(t) with α,β\alpha, \beta continuous on a segment [A,B]\intcc{A}{B}, adapt question 8 to show the factorial bound holds on the whole segment, so existence and uniqueness are global there — the scalar case of Chapter 16’s Cauchy–Lipschitz theorem, with no restriction on the length BAB - A.
  6. (Synthesis) One sentence each: what completeness contributed; what the contraction contributed; what the iterate trick bought compared with plain Banach; where connectedness entered; and which counterexample of Part III guards which hypothesis. Name the summit theorem, and say what replaces contraction when ff is merely continuous (Peano’s theorem, via compactness in function spaces — the Year 3 volume’s Arzelà–Ascoli).
Solution

Solution of Problem 4.1.

1. Let FF be closed in the complete XX and (xn)F(x_n) \subseteq F Cauchy: it converges in XX to some \ell, and F\ell \in F because FF is closed (limits of sequences of FF stay in F=F\overline F = F): FF is complete. Conversely let AXA \subseteq X be complete and xAx \in \overline A: some sequence of AA converges to xx; it is Cauchy, so it converges in AA; limits are unique, so xAx \in A: AA closed. Since (C(I),d)\bigl(C(I), d_\infty\bigr) is complete (Theorem 4.9), its closed subsets are complete.

2. For y,zC(I)y, z \in C(I) and tIt \in I:

t0tyt0tztt0supIyzhd(y,z),\Bigl|\int_{t_0}^{t}y - \int_{t_0}^{t}z\Bigr| \leq \abs{t - t_0}\,\sup_I\abs{y - z} \leq h\,d_\infty(y, z),

and take the sup over tt.

3. Using the two fixed point equations and the triangle inequality:

d(g,g~)=d(g(g),g~(g~))d(g(g),g(g~))+d(g(g~),g~(g~))kd(g,g~)+d(g(g~),g~(g~)),d(\ell_g, \ell_{\widetilde g}) = d\bigl(g(\ell_g), \widetilde g(\ell_{\widetilde g})\bigr) \leq d\bigl(g(\ell_g), g(\ell_{\widetilde g})\bigr) + d\bigl(g(\ell_{\widetilde g}), \widetilde g(\ell_{\widetilde g})\bigr) \leq k\,d(\ell_g, \ell_{\widetilde g}) + d\bigl(g(\ell_{\widetilde g}), \widetilde g(\ell_{\widetilde g})\bigr),

and solve for d(g,g~)d(\ell_g, \ell_{\widetilde g}) (the coefficient 1k1 - k is positive). The second inequality bounds the evaluated gap by the uniform one.

4. gmg^m is a contraction on a nonempty complete space: it has a unique fixed point \ell (Theorem 4.12). Then gm(g())=g(gm())=g()g^m(g(\ell)) = g(g^m(\ell)) = g(\ell): g()g(\ell) is a fixed point of gmg^m, so g()=g(\ell) = \ell by uniqueness. Any fixed point of gg is one of gmg^m: uniqueness for gg. Orbits: fix r{0,,m1}r \in \{0, \dots, m-1\}; the subsequence (xqm+r)q(x_{qm + r})_q is the gmg^m-orbit started at xrx_r, so it converges to \ell as qq \to \infty (Banach again). All mm subsequences converge to the same \ell, hence xnx_n \to \ell: given ε\varepsilon, each residue class is eventually within ε\varepsilon, and there are finitely many classes.

5. If yy is continuous with values in [y0b,y0+b]\intcc{y_0 - b}{y_0 + b}, the integrand sf(s,y(s))s \mapsto f(s, y(s)) is continuous on II (composition), so the right-hand side is C1C^1 with derivative f(t,y(t))f(t, y(t)) (fundamental theorem of calculus, Year 1 volume). If yy satisfies the integral equation, it is that C1C^1 function, y(t0)=y0y(t_0) = y_0, and y=f(t,y)y' = f(t, y). Conversely, integrating y=f(s,y(s))y' = f(s, y(s)) from t0t_0 to tt gives the integral equation.

6. XhX_h contains the constant y0y_0; it is closed as the preimage of [0,b]\intcc{0}{b} under the continuous map yd(y,y0)y \mapsto d_\infty(y, y_0) (distances are 11-Lipschitz), hence complete by question 1. Stability: for yXhy \in X_h and tIt \in I,

T(y)(t)y0=t0tf(s,y(s)) ⁣dsMtt0Mhb,\abs{T(y)(t) - y_0} = \Bigl|\int_{t_0}^{t}f(s, y(s))\dd s\Bigr| \leq M\abs{t - t_0} \leq Mh \leq b ,

the last step by hb/Mh \leq b/M (or M=0M = 0, trivial). And T(y)T(y) is continuous (C1C^1 even, question 5): T(y)XhT(y) \in X_h.

7. For tIt \in I:

T(y)(t)T(z)(t)t0tf(s,y(s))f(s,z(s)) ⁣dsLtt0d(y,z)Lhd(y,z).\abs{T(y)(t) - T(z)(t)} \leq \int_{t_0}^{t}\abs{f(s, y(s)) - f(s, z(s))}\,\abs{\dd s} \leq L\abs{t - t_0}\,d_\infty(y,z) \leq Lh\,d_\infty(y,z).

If Lh<1Lh < 1: TT is a contraction of the nonempty complete XhX_h, and Banach gives a unique fixed point — by question 5, the unique solution.

8. Induction; the case n=1n = 1 is question 7’s middle inequality. Assuming the bound for nn, for tt0t \geq t_0 (the case tt0t \leq t_0 is symmetric):

Tn+1(y)(t)Tn+1(z)(t)Lt0tTn(y)(s)Tn(z)(s) ⁣dsLt0tLn(st0)nn! ⁣ds  d(y,z),\abs{T^{n+1}(y)(t) - T^{n+1}(z)(t)} \leq L\int_{t_0}^{t}\abs{T^n(y)(s) - T^n(z)(s)}\dd s \leq L\int_{t_0}^{t}\frac{L^n(s - t_0)^n}{n!}\dd s\; d_\infty(y,z),

and the integral evaluates to Ln(tt0)n+1(n+1)!\frac{L^n(t - t_0)^{n+1}}{(n+1)!}: the bound with n+1n + 1. Hence d(Tny,Tnz)(Lh)nn!d(y,z)d_\infty(T^n y, T^n z) \leq \frac{(Lh)^n}{n!}d_\infty(y, z), and (Lh)nn!0\frac{(Lh)^n}{n!} \to 0 (the exponential series converges): some TmT^m is a contraction. Question 4 applies on the complete XhX_h: TT has a unique fixed point, i.e. the Cauchy problem has exactly one solution on II with values in [y0b,y0+b]\intcc{y_0 - b}{y_0 + b}.

9. Let yy solve the problem on II and suppose the set E={tI,t>t0:y(t)y0>b}E = \{t \in I, t > t_0 : \abs{y(t) - y_0} > b\} is nonempty (the side t<t0t < t_0 is symmetric); let τ=infE\tau = \inf E. By continuity, y(s)y0b\abs{y(s) - y_0} \leq b for s[t0,τ]s \in \intcc{t_0}{\tau}, so the graph lies in RR there, the integral equation holds up to τ\tau, and

y(τ)y0=t0τf(s,y(s)) ⁣dsM(τt0)Mhb.\abs{y(\tau) - y_0} = \Bigl|\int_{t_0}^{\tau}f\bigl(s, y(s)\bigr)\dd s\Bigr| \leq M(\tau - t_0) \leq Mh \leq b .

If τ<t0+h\tau < t_0 + h, points of EE arbitrarily close to τ\tau from the right give, by continuity, y(τ)y0b\abs{y(\tau) - y_0} \geq b, hence =b= b; but then the display forces M(τt0)=MhM(\tau - t_0) = Mh, i.e. τ=t0+h\tau = t_0 + h: contradiction. So τ=t0+h\tau = t_0 + h, E{t0+h}E \subseteq \{t_0 + h\}, and the display (at τ=t0+h\tau = t_0 + h) gives y(t0+h)y0b\abs{y(t_0 + h) - y_0} \leq b, contradicting membership in EE. Hence E=E = \emptyset: every solution on II stays in the band, is a fixed point of TT in XhX_h, and uniqueness is unconditional.

10. T(y)(t)=1+0tyT(y)(t) = 1 + \int_0^t y. From y(0)1y^{(0)} \equiv 1:

y(1)(t)=1+t,y(2)(t)=1+t+t22,y(n)(t)=k=0ntkk!y^{(1)}(t) = 1 + t,\quad y^{(2)}(t) = 1 + t + \frac{t^2}2,\quad\dots\quad y^{(n)}(t) = \sum_{k=0}^{n}\frac{t^k}{k!}

(induction: integrating the partial sum adds the next term). These are the Taylor partial sums of et\eu^{\,t}; on any bounded II they converge uniformly to et\eu^{\,t} (the tail is dominated by the convergent numerical series hk/k!\sum h^k/k!), which is indeed the unique solution.

11. y0y \equiv 0 is a solution. For ycy_c: it is C1C^1 (both pieces are, and at t=ct = c the derivatives match: 00 and 2(tc)02(t - c) \to 0), and for t>ct > c: yc=2(tc)=2(tc)2=2ycy_c' = 2(t - c) = 2\sqrt{(t-c)^2} = 2\sqrt{\abs{y_c}}; for tct \leq c both sides vanish. So the Cauchy problem y(0)=0y(0) = 0 has infinitely many solutions (c0c \geq 0 arbitrary, and y0y \equiv 0). The field φ(y)=2y\varphi(y) = 2\sqrt{\abs y} is not Lipschitz near 00: φ(y)φ(0)y0=2y+\frac{\varphi(y) - \varphi(0)}{y - 0} = \frac{2}{\sqrt y} \to +\infty as y0+y \to 0^+: no constant LL works on any neighbourhood of 00 — exactly where all the solutions branch.

12. Separating variables (or checking directly), the unique local solution is y(t)=11ty(t) = \frac1{1 - t}, defined on (,1)\intoo{-\infty}{1} and blowing up at t=1t = 1. For the rectangle [a,a]×[1b,1+b]\intcc{-a}{a} \times \intcc{1 - b}{1 + b}: M=supy2=(1+b)2M = \sup y^2 = (1 + b)^2, so the certified half-width is h=min(a,b(1+b)2)h = \min\bigl(a, \frac{b}{(1+b)^2}\bigr). Maximizing b(1+b)2\frac{b}{(1+b)^2}: derivative zero at b=1b = 1, value 14\frac14. So the theorem guarantees life only on [14,14]\intcc{-\frac14}{\frac14} — correctly less than the true lifespan 11 forward, and infinitely less backward: the theorem is local by nature, and blow-up shows it cannot be otherwise.

13. gg maps [1,2]\intcc12 into itself: gg decreases on [1,2]\intcc{1}{\sqrt2} and increases after (study g(x)=121x2g'(x) = \frac12 - \frac1{x^2}), with g(1)=g(2)=32g(1) = g(2) = \frac32 and minimum g(2)=2>1g(\sqrt2) = \sqrt2 > 1: g([1,2])[2,32][1,2]g(\intcc12) \subseteq \intcc{\sqrt2}{\frac32} \subseteq \intcc12; and gg maps rationals to rationals. Contraction: g(x)=121x212\abs{g'(x)} = \abs{\frac12 - \frac1{x^2}} \leq \frac12 on [1,2]\intcc12 (1x2[14,1]\frac1{x^2} \in \intcc{\frac14}{1}), so the mean value inequality gives g(x)g(y)12xy\abs{g(x) - g(y)} \leq \frac12\abs{x - y}. A fixed point satisfies x2=1x\frac x2 = \frac1x, i.e. x2=2x^2 = 2: impossible in Q\Q. The failing hypothesis is completeness of XX (Q[1,2]\Q \cap \intcc12 is not complete); in the completion [1,2]\intcc12 the fixed point is 2\sqrt2 — Banach’s theorem run on the rationals creates the irrational.

14. A posteriori: d(xn,)d(xn,xn+1)+d(xn+1,)kd(xn1,xn)+kd(xn,)d(x_n, \ell) \leq d(x_n, x_{n+1}) + d(x_{n+1}, \ell) \leq k\,d(x_{n-1}, x_n) + k\,d(x_n, \ell), whence d(xn,)k1kd(xn,xn1)d(x_n, \ell) \leq \frac{k}{1-k}d(x_n, x_{n-1}). Heron from x0=32x_0 = \frac32: x1=1712x_1 = \frac{17}{12}, d(x1,x0)=112d(x_1, x_0) = \frac1{12}, k=12k = \frac12: the a priori bound kn1kd(x1,x0)=2n+112\frac{k^n}{1-k}d(x_1,x_0) = \frac{2^{-n+1}}{12} drops below 10610^{-6} first at n=18n = 18. In reality x1=17121.41667x_1 = \frac{17}{12} \approx 1.41667 (error 2.51032.5\cdot10^{-3}), x2=5774081.4142157x_2 = \frac{577}{408} \approx 1.4142157 (error 2.11062.1\cdot10^{-6}), x31.41421356237469x_3 \approx 1.41421356237469 (error 1.610121.6\cdot10^{-12}): three steps suffice. Each Heron step roughly squares the error (quadratic convergence, a Newton phenomenon: Chapter 8); the contraction estimate, which only halves it, is honest for the worst case but pessimistic here.

15. Apply question 3 with g=Ty0g = T_{y_0} (an LhLh-contraction, Lh<1Lh < 1) and g~=Tz0\widetilde g = T_{z_0}, whose fixed point is y[z0]y[z_0]. For any yy,

Ty0(y)(t)Tz0(y)(t)=y0z0,\abs{T_{y_0}(y)(t) - T_{z_0}(y)(t)} = \abs{y_0 - z_0},

(the integrals are identical), so supyd(Ty0(y),Tz0(y))=y0z0\sup_y d_\infty(T_{y_0}(y), T_{z_0}(y)) = \abs{y_0 - z_0}, and question 3 gives

d(y[y0],y[z0])y0z01Lh.d_\infty(y[y_0], y[z_0]) \leq \frac{\abs{y_0 - z_0}}{1 - Lh} .

16. On each piece, question 15 applied with the left-endpoint values as initial data bounds the deviation at the right endpoint:

d111/2(left deviation)=2(left deviation).d_\infty \leq \frac{1}{1 - 1/2}\,(\text{left deviation}) = 2\,(\text{left deviation}) .

By induction over the mm pieces, the final deviation is at most 2my0z02^m\abs{y_0 - z_0}, and the uniform deviation over the whole segment obeys the same bound (each piece’s sup is controlled at its stage). With pieces of length h12Lh \asymp \frac1{2L}, the factor is 2m=2length2L2^m = 2^{\,\text{length}\cdot 2L}: exponential in the length of the interval, exactly as Gronwall’s bound eLtt0\eu^{L\abs{t-t_0}} predicts, with better constants.

17. Same scheme: for yXhy \in X_h,

Tf(y)(t)Tg(y)(t)t0tf(s,y(s))g(s,y(s)) ⁣dsεh,\abs{T_f(y)(t) - T_g(y)(t)} \leq \int_{t_0}^t \abs{f(s,y(s)) - g(s,y(s))}\,\abs{\dd s} \leq \varepsilon h ,

so question 3 (with TfT_f the contraction, TgT_g the perturbed map) yields dεh1Lhd_\infty \leq \frac{\varepsilon h}{1 - Lh}.

18. By question 17 applied to f=fλf = f_\lambda, g=fμg = f_\mu: d(yλ,yμ)Ch1Lhλμd_\infty(y_\lambda, y_\mu) \leq \frac{Ch}{1 - Lh}\abs{\lambda - \mu}: the solution map is Lipschitz with constant Ch1Lh\frac{Ch}{1-Lh}.

19. Every argument used only: the metric axioms, the completeness of the stage, the bound \abs{\int} \leq \int\abs{\cdot}, and the Lipschitz property of ff — all available for Rn\R^n-valued functions with dd_\infty built on any of the equivalent distances of Example 4.2 (complete by Theorem 4.9). For y=Ayy' = Ay with the nilpotent AA: y(0)(c1,c2)y^{(0)} \equiv (c_1, c_2),

y(1)(t)=(c1,c2)+0t(c2,0) ⁣ds=(c1+tc2,  c2),y^{(1)}(t) = (c_1, c_2) + \int_0^t (c_2, 0)\,\dd s = (c_1 + tc_2,\; c_2),

and Ay(1)(s)=(c2,0)Ay^{(1)}(s) = (c_2, 0) again: y(2)=y(1)y^{(2)} = y^{(1)}. The iteration is stationary from n=1n = 1 on, at the exact solution y(t)=(c1+tc2,c2)=etAy(0)y(t) = (c_1 + tc_2, c_2) = \eu^{tA}y(0) — nilpotency truncates the exponential series, and Picard notices.

20. Fix yXy \in X and let gy(x)=yη(x)g_y(x) = y - \eta(x): a kk-contraction of the complete XX, so there is exactly one xx with x+η(x)=yx + \eta(x) = y: the map Φ=id+η\Phi = \mathrm{id} + \eta is bijective. Lipschitz inverse: if Φ(x)=y\Phi(x) = y and Φ(x)=y\Phi(x') = y',

d(x,x)d(y,y)+d(η(x),η(x))d(y,y)+kd(x,x),d(x, x') \leq d(y, y') + d\bigl(\eta(x), \eta(x')\bigr) \leq d(y, y') + k\,d(x, x'),

so d(x,x)11kd(y,y)d(x, x') \leq \frac{1}{1-k}d(y, y'). (Distances here come from the norm structure, so d(ac,bc)=d(a,b)d(a - c, b - c) = d(a, b), which the first inequality used.)

21. g(x)=m+esinxg(x) = m + e\sin x is ee-Lipschitz on the complete R\R (mean value inequality, g=ecosxe<1\abs{g'} = \abs{e\cos x} \leq e < 1): Banach gives a unique solution and global convergence of the iteration. For e=12e = \frac12, m=1m = 1, x0=1x_0 = 1: x1=1+12sin11.42074x_1 = 1 + \frac12\sin 1 \approx 1.42074, d(x1,x0)0.4207d(x_1, x_0) \approx 0.4207, and the a priori bound (1/2)n1/20.4207103\frac{(1/2)^n}{1/2}\cdot 0.4207 \leq 10^{-3} first holds at n=10n = 10: ten iterations certified (the true value x1.4987x \approx 1.4987 is in fact reached to 10310^{-3} already around n=5n = 5).

22. Use the digit description (Exercise 4.8): CC is the set of sums n1an3n\sum_{n\geq1}a_n3^{-n}, an{0,2}a_n \in \{0, 2\}. Then S1(C)={x/3:xC}S_1(C) = \{x/3 : x \in C\} is the subset with a1=0a_1 = 0, and S2(C)={x/3+2/3}S_2(C) = \{x/3 + 2/3\} the subset with a1=2a_1 = 2: their union, over the free choice of a1a_1, is exactly CC. Uniqueness in one sentence: on the space of nonempty compact subsets of [0,1]\intcc01 metrized by the Hausdorff distance, AS1(A)S2(A)A \mapsto S_1(A) \cup S_2(A) is a 13\frac13-contraction of a complete space, so Banach allows only one fixed set — the Year 3 volume makes the Hausdorff metric and this argument rigorous.

23. Let Z={tJ:y(t)=z(t)}Z = \{t \in J : y(t) = z(t)\}: nonempty (t0Zt_0 \in Z), closed in JJ (equalizer of two continuous maps: preimage of {0}\{0\} under yzy - z). Open: if t1Zt_1 \in Z, apply the local theorem (question 8) at the point (t1,y(t1))(t_1, y(t_1)), in a rectangle where ff is Lipschitz: on a small interval around t1t_1 both yy and zz solve the same Cauchy problem, so they coincide there (question 9’s unconditional uniqueness): a neighbourhood of t1t_1 lies in ZZ. A nonempty subset of the interval JJ that is both open and closed in JJ is all of JJ (intervals are connected, Theorem 4.27): y=zy = z on JJ.

24. Here f(t,y)=α(t)y+β(t)f(t, y) = \alpha(t)y + \beta(t) is LL-Lipschitz in yy on all of [A,B]×R\intcc AB \times \R with L=supαL = \sup\abs\alpha (finite: α\alpha continuous on a segment), and no band [y0b,y0+b]\intcc{y_0 - b}{y_0 + b} is needed: take X=C([A,B])X = C(\intcc AB) entire, on which TT is well defined. The induction of question 8 runs verbatim and gives d(Tny,Tnz)(L(BA))nn!d(y,z)d_\infty(T^ny, T^nz) \leq \frac{(L(B - A))^n}{n!}d_\infty(y, z): an iterate is a contraction whatever the length BAB - A, and question 4 concludes: one and only one solution on the whole segment. Linearity enters exactly once: it makes the Lipschitz bound global in yy, removing the rectangle and its hb/Mh \leq b/M.

25. Completeness turned the Cauchy sequence of iterates into an actual solution (questions 1, 6, 8), and its absence let 2\sqrt2 escape from Q\Q (question 13). Contraction gave uniqueness, the algorithm, and the error bars (questions 7, 14). The iterate trick removed the smallness condition Lh<1Lh < 1, so the certified interval depends only on MM, not on LL — and made linear equations global (questions 8, 24). Connectedness promoted local uniqueness to global uniqueness (question 23). The counterexamples: 2y2\sqrt{\abs y} guards Lipschitz (question 11), y2y^2 guards locality (question 12), Q\Q guards completeness (question 13). The summit is the Picard–Lindelöf theorem (question 8); when ff is merely continuous, existence survives but uniqueness dies, and the proof trades the contraction for compactness of function sets — Peano’s theorem via Arzelà–Ascoli, in the Year 3 volume.