The discrete metric induces the discrete topology.
7.3 Convergence in Metric Spaces
Definition. A sequence (xn) in (M,d)converges to x∈M (written xn→x) if for every ε>0 there exists N such that d(xn,x)<ε for all n≥N.
Proposition 7.1. In a metric space, xn→x if and only if for every open neighbourhood U of x, there exists N with xn∈U for all n≥N.
Limits in metric spaces are unique (this follows from the Hausdorff property).
7.4 Completeness
Definition. A sequence (xn) is Cauchy if for every ε>0 there exists N such that d(xm,xn)<ε for all m,n≥N.
Every convergent sequence is Cauchy. The converse need not hold.
Definition. A metric space (M,d) is complete if every Cauchy sequence converges.
Example 7.4.Rn with the Euclidean metric is complete.
Example 7.5.Q with d(x,y)=∣x−y∣ is not complete: the Cauchy sequence 3,3.1,3.14,3.141,3.1415,… does not converge in Q.
Proposition 7.2. A closed subset of a complete metric space is complete.
Definition. A Banach space is a complete normed vector space.
Example 7.6.(C([a,b]),∥⋅∥∞) — the space of continuous functions on [a,b] with the sup norm — is a Banach space.
7.5 Contraction Mapping Theorem
Definition. A map f:M→M is a contraction if there exists 0≤c<1 such that d(f(x),f(y))≤c⋅d(x,y) for all x,y∈M.
Theorem 5.6 (Banach Fixed Point Theorem). If (M,d) is a complete metric space and f:M→M is a contraction, then f has a unique fixed point x∗, and for any x0∈M, the iteration xn+1=f(xn) converges to x∗.
Proof. For any x0, the sequence xn=fn(x0) is Cauchy (by repeated application of the contraction condition), hence converges to some x∗. By continuity of f, x∗=f(x∗). Uniqueness follows from the contraction condition: if x∗=f(x∗) and y∗=f(y∗), then d(x∗,y∗)=d(f(x∗),f(y∗))≤c⋅d(x∗,y∗), so d(x∗,y∗)=0. □