Metric Spaces and the Topology of the Real Line
Chapter 1 built from its order and completeness. This chapter extracts a different piece of structure — distance — and studies what can be said using distance alone, in a setting general enough to include , function spaces and the discrete two-point space on equal footing. The resulting notions of open set, closed set, limit point and convergence are the vocabulary for everything from here on: continuity (defined via open sets, not just –), compactness (Chapter 3), and completeness in the general sense (Chapter 4).
Have to hand: the triangle inequality for on , and comfort with quantifiers. We work mostly in with its usual metric , but state every definition for a general metric space so that the pattern is visible from the start.
Why generalise at all? Once a theorem is proved using only the metric axioms (not the specific formula ), it is automatically true in , in spaces of continuous functions, and anywhere else a metric is defined — without re-proving it. This is the entire payoff of the abstraction.
1. Metric Spaces: Definition and Examples
Definition. A metric on a set is a function satisfying, for all :
- , with if and only if (positivity);
- (symmetry);
- (triangle inequality).
The pair is a metric space.
Examples.
- with : the triangle inequality here is the familiar .
- with the Euclidean metric .
- Any set with the discrete metric if and otherwise. All three axioms are checked directly from the definition; this example shows a metric need carry no "geometric" content at all.
2. Open Balls and Open Sets
Definition. For and , the open ball of radius about is . A set is open if for every there exists with .
In , , so "open" recovers the familiar picture: every point of has some room around it still inside .
Worked example. Every open interval is open in . Given , let . If then gives , and gives ; so . Since was arbitrary, is open.
Theorem. (i) and are open. (ii) The union of any collection of open sets is open. (iii) The intersection of finitely many open sets is open.
Proof. (i) is immediate ( vacuously; since always). (ii) Let be open and ; then for some , and openness of gives with . (iii) Let be open and . For each there is with ; take (a minimum of finitely many positive numbers is positive). Then for every , so .
Key distinction. Finiteness in (iii) is essential: , an intersection of open sets that is not open (no ball around fits inside ). Infinite intersections of open sets can fail to be open.
3. Closed Sets
Definition. is closed if its complement is open.
Theorem (De Morgan dual of the open-set theorem). (i) and are closed. (ii) The intersection of any collection of closed sets is closed. (iii) The union of finitely many closed sets is closed.
Proof. Apply De Morgan's laws to the open-set theorem: is a union of open sets, hence open, so is closed; similarly is a finite intersection of open sets, hence open.
Closed and open are not opposites in the everyday sense: a set can be both ( and always are), and a set can be neither, e.g. is neither open (no ball around fits inside) nor closed (its complement is not open, since no ball around fits inside the complement).
4. Limit Points and Closure
Definition. is a limit point (accumulation point) of if every open ball , , contains a point of other than itself. A point that is not a limit point of is an isolated point of .
Note a limit point of need not belong to . The closure .
Theorem. is the smallest closed set containing ; equivalently, .
Proof sketch. First, is closed: if , then and is not a limit point of , so some contains no point of other than — but , so . For , openness of balls gives a smaller ball around still inside , hence still missing , so either (no point of that smaller ball lies in , ruling out both membership and limit-point status). Thus , proving open. Second, any closed must contain every limit point of (if were a limit point of outside , the open set would be a ball-free neighbourhood of missing entirely near , contradicting being a limit point), so . Hence is the least closed superset.
Worked example. . Every is a limit point of : given , density of (Chapter 1) gives a rational in unless itself is rational, in which case density applied to still gives a rational distinct from inside . So every real is in or a limit point of it, giving — a set can have closure equal to the entire space while being "small" in other senses (countable, as here).
5. Interior and Boundary
Definition. The interior is the set of for which some . The boundary .
is open iff ; is closed iff . For in : (the point has no ball of any radius fitting inside , since points just above are excluded), , and .
6. Convergence of Sequences in a Metric Space
Definition. A sequence in converges to , written , if for every there exists such that for all . Equivalently, every open ball contains all but finitely many terms of the sequence.
Theorem (uniqueness of limits). If and , then .
Proof. Suppose ; let (positive by the positivity axiom, since ). Choose with for , and with for . For , the triangle inequality gives , a contradiction.
Theorem. is a limit point of if and only if there is a sequence in with .
Proof sketch. () If such a sequence exists, every eventually contains terms by convergence, so it contains a point of other than . () If is a limit point, for each apply the definition with to choose , ; then , so by the Archimedean property.
This reformulation is why many topology proofs in this course can be carried out with sequences, and will be used constantly from Chapter 3 onward.
7. Equivalent Metrics
Two metrics on are (topologically) equivalent if they generate the same open sets. This can happen even when as functions: on , the Euclidean metric and the "taxicab" metric generate the same open sets, because each metric ball contains and is contained in a ball of the other metric (with different radii) — a fact used freely in later multivariable chapters to pass between coordinate estimates and geometric ones without comment.
Common Exam Pitfalls
- Writing "closed" to mean "not open". These are independent properties: is neither, and are both. Always check the actual definitions, never infer one from the failure of the other.
- Forgetting finiteness in the intersection-of-opens theorem. is the standard counterexample when infinitely many open sets are intersected.
- Confusing limit point with element of the set. A limit point of need not lie in (e.g. every point of is a limit point of not in ); conversely an element of need not be a limit point (isolated points).
- Asserting whenever "looks closed". Always verify via the actual limit-point definition or by checking the complement is open; intuition about "edges" can mislead for unusual sets like .
- Treating metric equivalence as requiring . Equivalent metrics only need to produce the same open sets; the distance values themselves can differ substantially (even by unbounded ratios in general, though not in the taxicab/Euclidean example).
- Dropping symmetry or the strict "iff" in positivity when verifying a candidate is a metric. All three axioms must be checked; a function satisfying symmetry, the triangle inequality and (without ruling out for ) is a pseudometric, not a metric.
Summary
- A metric space satisfies positivity (), symmetry, and the triangle inequality.
- Open ball: ; open set: every point has a ball fitting inside it.
- Arbitrary unions and finite intersections of open sets are open; by complementation, arbitrary intersections and finite unions of closed sets are closed.
- Limit point of : every ball around it meets at a point other than itself; closure is the smallest closed set containing .
- Interior : points with a ball entirely inside ; boundary .
- Convergence: iff ; limits are unique, proved via the triangle inequality.
- is a limit point of iff some sequence in converges to — the bridge between topological and sequential language used throughout the rest of the course.
- Equivalent metrics generate the same open sets without needing to be numerically equal.