Topology
Topological spaces, compactness and connectedness
A topology is the minimal structure needed to talk about continuity, open sets, compactness and connectedness without any notion of distance; continuous maps send compact sets to compact sets and connected sets to connected sets, the two facts behind the general Intermediate Value Theorem, robot motion planning, and existence proofs in economics.
IntuitionWhat survives without a ruler
Stretch or bend a rubber sheet and distances change completely, but some facts never change: a loop around a hole stays a loop around a hole, a single piece stays a single piece, and a solid disk never tears into two. A topology captures exactly this "rubber-sheet" structure by remembering only which sets count as open, throwing away distance altogether.
UndergraduateThe axioms of a topology
Definition: Topological space
A topology on a set is a collection of subsets of (called open sets) satisfying: (T1) and ; (T2) the union of any collection of sets in (even infinitely many) is in ; (T3) the intersection of any finite collection of sets in is in . The pair is a topological space. Every metric space is a topological space: declare open exactly when every point of has an open ball around it that stays inside .
With open sets as the only primitive, continuity is redefined without any -: a function between topological spaces is continuous exactly when the preimage of every open set is open, open in for every open in . On metric spaces this matches the familiar - definition exactly, but it now also makes sense on spaces with no distance at all.
A topological space is Hausdorff if any two distinct points can be separated by disjoint open sets: for all there exist with , , and . Every metric space is automatically Hausdorff (take balls of radius ), but strange topologies exist without this property, where limits of sequences are not even unique.
| Setting | Compactness test | Example |
|---|---|---|
| (Heine–Borel) | closed and bounded | is compact, is not |
| general metric space | sequential compactness open-cover compactness | every sequence has a convergent subsequence |
| general topological space | only open-cover compactness applies | every open cover has a finite subcover |
UndergraduateTheorems
If is continuous and is compact (every open cover of has a finite subcover), then is compact. Consequently, if is Hausdorff, every compact subset is closed.
Why is it true?
It explains why continuous functions on closed bounded intervals always attain a maximum, and it is the abstract engine behind "compact + Hausdorff = as good as a closed bounded set" throughout analysis.
Proof
Step 1 — Pull back an arbitrary open cover of . Let be any collection of open sets in covering , i.e. . Since is continuous, each is open in . For every , lies in some , so ; thus is an open cover of .
Step 2 — Use compactness of to extract a finite subcover. Since is compact, finitely many of these sets already cover : there exist with .
Step 3 — Push the finite subcover forward. Applying to both sides, (using always). So is a finite subcover of drawn from the original cover. Since was arbitrary, is compact.
Step 4 — The corollary: compact subsets of Hausdorff spaces are closed. Let be compact, Hausdorff, and fix any . For each , Hausdorff separation gives disjoint open sets and . The sets cover , so finitely many already cover by compactness. Then is a finite intersection of open sets (hence open), contains , and is disjoint from every , hence disjoint from . So every point outside has an open neighborhood missing : the complement of is open, i.e. is closed.
If is continuous and is connected (it cannot be written as a union of two disjoint nonempty open sets), then is connected. In particular, if is connected and is continuous, then is an interval: for any , attains every value between and .
Why is it true?
This is the true source of the Intermediate Value Theorem from calculus — connectedness, not the specific formula of , is what forces every intermediate value to be hit, and the same argument works for any connected domain, not just intervals of .
Proof
Step 1 — Suppose for contradiction that is disconnected. Then for some disjoint, nonempty sets that are each open in the subspace topology of : there exist open sets in with and .
Step 2 — Pull the separation back to . Let and . Since is continuous, and are open in . Every has , so or , meaning or : thus . Also and are both nonempty (since are nonempty and are hit by ), and (if then , impossible).
Step 3 — Contradiction. and are disjoint nonempty open sets with , exactly the definition of being disconnected. This contradicts the hypothesis that is connected. So cannot be disconnected: it is connected.
Step 4 — The interval corollary. The connected subsets of are exactly the intervals (a standard fact: any subset that skips a real number between two of its points fails connectedness via the same open-set separation). Since is connected by Steps 1–3, is an interval of , so it contains every real number between any two of its elements and — the classical Intermediate Value Theorem, now seen as a special case of a purely topological fact.
UndergraduateReal-World Applications and Worked Examples
A robot arm's configuration space (all joint-angle combinations) is a topological space; whether the robot can move from pose to pose without collision is exactly whether and lie in the same connected component of the obstacle-free region, and boundedness/compactness of joint limits guarantees the reachable set behaves well (is closed, attains extremes). In economics, Arrow–Debreu equilibrium existence proofs rely on continuity of excess-demand functions on a compact price simplex, combined with connectedness arguments (a 1-D special case being: if excess demand is positive at one price and negative at another, continuity and connectedness of the price interval force an equilibrium price where it is exactly zero).
Example: Is the free configuration space connected?
A 2-link robot arm has configuration space (angles each range over a circle). An obstacle forbids the single point . Is the free configuration space still connected, i.e. can the arm reach any pose from any other without hitting the obstacle?
Solution
Step 1 — Recall that removing a single point from a connected space of dimension typically preserves connectedness (unlike dimension 1, where removing a point from an interval disconnects it). The torus is a connected 2-dimensional surface.
Step 2 — Construct an explicit path avoiding the obstacle. Given any two poses , pick a path from to along the torus that happens to pass exactly through (such a path always exists since is path-connected). If it does pass through the obstacle, perturb the path slightly near that instant, routing it around through a small detour on the surface (possible since minus a point still has "room" in the second dimension to go around).
Step 3 — Conclude connectedness. Since any two points can always be joined by a path avoiding the single removed point, is path-connected, hence connected: the robot can indeed reach any pose from any other despite the single-point obstacle. (This is genuinely different from a 1-link arm, where the configuration space is just , and removing a single point would disconnect the reachable region into a single arc — no detour is possible in one dimension.)
Example: Finding a 1-good market equilibrium price by connectedness
A market's excess demand function (demand minus supply at price ) is continuous on the price interval , with (shortage at low price) and (surplus at high price). Explain, using the connectedness-based theorem, why an equilibrium price with must exist, without assuming any specific formula for .
Solution
Step 1 — Identify the topological ingredients. is a connected subset of (an interval), and is continuous by assumption.
Step 2 — Apply the connectedness theorem. By the theorem, is a connected subset of , hence an interval. Since and both lie in , the interval must contain every real number between and — in particular it must contain .
Step 3 — Conclude existence (not uniqueness) of equilibrium. Therefore there exists at least one with : an equilibrium price exists. Crucially, this argument used only continuity and connectedness — no formula for , no calculus, no convexity assumption — showing why the topological approach generalizes so well to economic models where demand curves are not given by closed-form formulas.
Which of these is NOT one of the topology axioms?
A robot's free configuration space is disconnected into two separate pieces around obstacle. What does this mean physically?
An excess-demand function is continuous on the compact, connected price interval , positive at and negative at . What can you conclude?
is compact and is continuous. What must be true of ?
References
- James Munkres (2000). Topology
- John L. Kelley (1955). General Topology
- Michael Farber (2008). Topology and Robot Motion Planning (survey chapter)