Metric Spaces, Sequences, Completeness, and Compactness
The topology of convergence: distance, Cauchy sequences, why the reals are complete, and the two faces of compactness.
Leads to: Completeness underlies \(L^p\) spaces (6.5) and the existence of stochastic limits (Phase 8).
Learning Objectives
Click a status chip to cycle: Not started → In progress → Studied → Practiced → Needs review → Mastered.
- Define a metric space and prove basic properties of open and closed sets.
- Characterize convergence and Cauchy sequences and distinguish them.
- Prove that a space is complete and explain why \(\mathbb{Q}\) is not.
- State and use the equivalence of compactness notions in \(\mathbb{R}^n\) (Heine–Borel).
- Explain why completeness and compactness guarantee limits and extrema exist.
Key Vocabulary
- Metric
- A function \(d(x,y)\) that is nonnegative, symmetric, zero iff \(x=y\), and obeys the triangle inequality.
- Open set
- A set in which every point has a ball entirely inside it; the basis of topology.
- Cauchy sequence
- A sequence whose terms get arbitrarily close to each other: \(d(x_m,x_n)\to0\).
- Complete space
- A metric space in which every Cauchy sequence converges to a point of the space.
- Compact
- A set for which every open cover has a finite subcover; in \(\mathbb{R}^n\), closed and bounded.
- Continuity
- A map with \(x_n\to x\Rightarrow f(x_n)\to f(x)\); equivalently preimages of open sets are open.
Intuition & Motivation
Metrics and open sets
The open ball \(B(x,r)=\{y:d(x,y)\lt r\}\) generates the topology: a set is open if it contains a ball around each of its points, and closed if its complement is open.
Convergence, Cauchy, completeness
A sequence converges, \(x_n\to x\), if \(d(x_n,x)\to0\). It is Cauchy if for every \(\varepsilon\gt 0\) there is \(N\) with \(d(x_m,x_n)\lt \varepsilon\) for all \(m,n\ge N\). Every convergent sequence is Cauchy; the converse defines completeness.
Compactness
Compactness is what makes optimization well-posed: a continuous \(f\) on a compact \(K\) attains its supremum and infimum - the extreme value theorem - because a maximizing sequence has a convergent subsequence landing in \(K\).
Interactive: a Cauchy sequence filling a hole in \(\mathbb{Q}\)
Iterate the rational recursion toward \(\sqrt2\) and watch consecutive terms bunch together - Cauchy in \(\mathbb{Q}\), but the limit escapes \(\mathbb{Q}\).
- Assuming every Cauchy sequence converges - only true in a complete space.
- Thinking ‘bounded’ alone gives compactness; you also need closedness (in \(\mathbb{R}^n\)).
- Confusing an open cover having a finite subcover (compactness) with the set merely being finite.
- Using continuity to conclude a maximum exists on a non-compact domain.
- To prove a limit exists without knowing its value, show the sequence is Cauchy in a complete space.
- Heine–Borel is a \(\mathbb{R}^n\) luxury; in infinite dimensions closed+bounded need NOT be compact.
- Compactness turns ‘for all \(\varepsilon\)’ arguments into finite ones - the finite subcover is the workhorse.
- Continuity + compact domain \(\Rightarrow\) uniform continuity and attained extrema; lean on this in analysis proofs.
Knowledge Check
Practical Exercise
Prove that every convergent sequence in a metric space is Cauchy, and explain with one example why the converse can fail.
Suppose \(x_n\to x\). Given \(\varepsilon\gt 0\), pick \(N\) with \(d(x_n,x)\lt \varepsilon/2\) for \(n\ge N\). Then for \(m,n\ge N\), the triangle inequality gives \(d(x_m,x_n)\le d(x_m,x)+d(x,x_n)\lt \varepsilon\), so the sequence is Cauchy.
The converse fails in an incomplete space: in \(\mathbb{Q}\) the sequence \(1,1.4,1.41,1.414,\dots\) is Cauchy but has no rational limit. Completeness is exactly the extra hypothesis that repairs the converse.
Lesson Summary
Retrieval Practice
Close the lesson and answer from memory before checking. This is deliberate, effortful recall - the single highest-yield study action.
A: Completeness: every Cauchy sequence converges in the space. \(\mathbb{R}\) is built to fill the gaps that leave rational Cauchy sequences (e.g. toward \(\sqrt2\)) without a limit.
A: In \(\mathbb{R}^n\), compact \(\iff\) closed and bounded; compactness guarantees continuous functions attain extrema and turns infinite covers into finite ones.
Completion Checklist
- I can explain the core ideas in my own words
- I worked the derivations/examples by hand
- I completed the interactive workbench(es)
- I passed the knowledge check
Source References
This lesson synthesizes and paraphrases concepts from the sources below. No copyrighted text, problem sets, or solutions are reproduced. Return to the originals for full depth.
- Measure, Integration & Real Analysis (Sheldon Axler, GTM 282) current - Prelim. - Ch. 0/appendix and metric-space background for measure theory.
- Calculus, Vol. I (Tom Apostol, 2nd ed., 1967) foundational - Ch. 3–4 - Ch. 3–4: metric spaces, completeness, compactness, continuity.