Metric Spaces & Topology
1. Metrics, open and closed sets
A metric on satisfies with equality iff , symmetry, and the triangle inequality .
- Examples: Euclidean, , on ; the discrete metric; on ; on finite sets; the sup metric on ; on .
- Not metrics: functions failing (), symmetry (), or the triangle inequality (largest side greater than the sum of the other two).
- Ultrametric (): every triangle is isosceles with the two longest sides equal; two balls of the same radius are equal or disjoint.
- Open ball . is open if it contains a ball around each of its points; is closed if its complement is open, equivalently it contains all its limit points.
- Arbitrary unions and finite intersections of open sets are open. In a finite metric space every set is open (the topology is discrete), so there are open sets.
- Interior, closure, boundary: ; . is dense if .
- Distance to a set: is -Lipschitz. Disjoint sets can be at distance (even disjoint closed sets).
- Open sets in are countable disjoint unions of open intervals. Proper subspaces of are closed, never open.
- Small intervals around every rational, , form a dense open set that is not all of (total length ).
2. Continuity
- is continuous iff preimages of open sets are open iff implies .
- If converges whenever converges, then is continuous (interleave the sequence with the constant ).
- Continuous maps preserve convergent sequences, convergent subsequences, compactness and connectedness, but not Cauchy sequences ( on ).
- Uniform continuity in metric spaces: one for all points. Lipschitz maps are uniformly continuous; is -Lipschitz.
- Extension: a uniformly continuous map from a dense subset into a complete space extends uniquely to the whole space; merely continuous maps need not extend ().
- Isometries are injective and continuous. Isometries between subsets of extend to rigid motions; an isometry of -subsets is .
- Embedding in : not every finite metric space embeds isometrically (a centre at distance from three points pairwise at distance ).
- Homeomorphism: a continuous bijection with continuous inverse. Invariants: compactness, connectedness, number of components, removing points.
- Functions into a discrete space like are continuous iff each level set is open; on there are uncountably many (cut at any irrational).
3. Compactness
- Definitions (equivalent in metric spaces): every open cover has a finite subcover; every sequence has a convergent subsequence (sequential compactness); complete and totally bounded.
- Heine–Borel: in , compact closed and bounded. A conic is compact iff it is an ellipse (positive definite quadratic part).
- Closed subsets of compact sets are compact; compact subsets of metric spaces are closed and bounded.
- Continuous images of compact sets are compact: a continuous real function on a compact set is bounded, attains its max and min, and is uniformly continuous.
- Compact to Hausdorff: a continuous bijection from a compact space onto a metric space is a homeomorphism; a continuous injection is a homeomorphism onto its image.
- Isometries of compact spaces into themselves are onto.
- Not compact: (a sequence converging to an irrational); the closed unit ball of ; the set of -Hölder functions (contains all constants).
- Arzelà–Ascoli: a subset of is relatively compact iff it is bounded and equicontinuous.
- Preimages: if on , then of a compact set is compact (closed and bounded).
- with is compact (it is ).
4. Completeness
- Complete: every Cauchy sequence converges. , closed subsets of complete spaces, with the sup metric: complete. , , : not complete.
- A complete subspace of a metric space is closed. If is complete, is isolated.
- Banach fixed point: a contraction with on a nonempty complete space has a unique fixed point, the limit of . It suffices that some iterate is a contraction.
- Baire category theorem: a complete metric space is not a countable union of nowhere dense closed sets. Hence a countable complete metric space has isolated points (in fact infinitely many if it is infinite), and is uncountable.
- Completion: every metric space sits densely in a complete one ().
5. Connectedness
- Connected: not a union of two disjoint nonempty open sets. In the connected sets are exactly the intervals.
- Path connected connected. The converse fails: the topologist's sine curve together with points of is connected but not path connected. Open connected subsets of are path connected.
- Continuous images of connected sets are connected (IVT is the case of ). A connected metric space with two points is uncountable ( hits an interval).
- Closure: if is connected and , then is connected.
- Components: maximal connected subsets; they are closed. Count them with continuous invariants: has two; in has two; for positive definite is a copy of , with two.
- Graphs: the graph of a continuous function on an interval is connected (a solution set like is such a graph).
- Removing sets: minus a countable union of lines (), or minus a complex hypersurface, stays path connected; minus a point does not.
- Showing non-homeomorphic: count components after removing a point (; a circle is not homeomorphic to an interval). There is no continuous bijection .