Topological Spaces
2.1 Definition
Section titled “2.1 Definition”Definition. A topological space is a pair where is a set and is a collection of subsets of called open sets, satisfying:
- and .
- The union of any sub-collection of is in (arbitrary unions of open sets are open).
- The intersection of any finite sub-collection of is in (finite intersections of open sets are open).
The collection is called a topology on .
2.2 Examples of Topologies
Section titled “2.2 Examples of Topologies”Example 2.1. Let . The collection
is a topology on .
Example 2.2 (Discrete topology). For any set , let (all subsets of ). This is the discrete topology, every subset is open.
Example 2.3 (Indiscrete topology). For any set , let . This is the indiscrete topology (or trivial topology).
Example 2.4 (Cofinite topology). For any infinite set , let consist of and all subsets such that is finite. This is the cofinite topology.
Example 2.5 (Standard topology on ). A subset is open if for every there exists such that . The collection of all such open sets is the standard topology on .
2.3 Basis for a Topology
Section titled “2.3 Basis for a Topology”Definition. A basis for a topology on is a collection such that every open set is a union of elements of .
Equivalently, is a basis if and only if:
- For each , there exists with .
- If and , then there exists with .
Example 2.6. The collection of all open intervals in forms a basis for the standard topology.
Example 2.7. The collection of all open balls forms a basis for the standard topology on .
2.4 Subspace Topology
Section titled “2.4 Subspace Topology”Definition. Let be a topological space and . The subspace topology on is
Proposition 2.1. If is a basis for , then is a basis for the subspace topology on .
Example 2.8. The subspace topology on (with the standard topology) has as an open set (since ).
2.5 Comparison of Topologies
Section titled “2.5 Comparison of Topologies”Definition. Let and be topologies on . We say is coarser (weaker) than (or is finer (stronger) than ) if .
For any set : indiscrete cofinite standard (if ) discrete.
Proofs
Section titled “Proofs”The axioms are asymmetric; arbitrary unions, only finite intersections; and that asymmetry is where the subject’s surprising behaviour comes from. The proofs here verify the axioms on the standard and cofinite topologies, exhibit the counterexample that shows the finiteness cannot be relaxed, and prove the basis criterion used everywhere afterwards.
Proposition (the standard topology on is a topology).
Proof. Let be any collection of open sets and . Then for some , so some has ; the union is open. Arbitrariness of the collection was used nowhere: any sub-collection, however large, contributes its -ball at each of its points.
For intersections, let be open and . Openness of gives ; openness of gives . Take : the smaller ball lies in both, hence in ; and finitely many more extend the same argument by induction, since a finite set of positive epsilons has a positive minimum.
The counterexample that shows finiteness cannot be relaxed. The infinite intersection
is not open: no -ball about fits inside the singleton. The mechanism of the finite proof fails at exactly this point; an infinite set of positive numbers can have infimum zero, so the “minimum” step has nothing to take. Every equivalent definition of openness inherits the restriction, and the failure is not pathological: singletons being open would make every set open (any set is a union of singletons), collapsing the standard topology to the discrete one and destroying convergence as a topological notion. The axiom is doing the work that makes interesting.
Proposition (the cofinite topology is a topology, on any set ).
Proof. Let .
Arbitrary unions. Let be cofinite-or-empty and form . If every then . Otherwise some is cofinite, so is finite (a subset of a finite set), and . Note the union’s complement only shrinks.
Finite intersections. Let be cofinite. By De Morgan,
a finite union of finite sets, hence finite; so the intersection is cofinite.
The proof shows precisely where infinitude breaks: an arbitrary union of complements would be an arbitrary union of finite sets, which can be infinite: , and itself is not cofinite-complement. The finite-intersections axiom is what the cofinite topology can satisfy; the arbitrary-union complement behaviour is what it cannot exceed.
Proposition 2.1 (basis of the subspace topology). If is a basis for on and , then is a basis for the subspace topology on .
Proof. Two things to show: the restricted family is a basis for some topology (the covering and intersection conditions), and the topology it generates equals .
Covering. For each , , and the basis covering condition gives with ; then .
Intersection condition. If then , and the basis condition gives with ; then .
Equality with the subspace topology. First, every is subspace- open by definition, so the topology generated by the restricted family is contained in . Conversely, let , so for some ; write over basis elements, and then
a union of restricted basis elements; so is in the generated topology. Both containments give equality.
The second containment is where subspace intuition comes from: a set open in need not be open in ( in ), but it is always the intersection with of something open in ; and the worked example 2.8 exhibits exactly that intersection.
Proposition (basis criterion). A collection satisfies the two basis conditions iff the collection of all unions of elements of is a topology on for which is a basis.
Proof. () Suppose satisfies the two conditions and let be all unions of elements. is the empty union; is covered by condition 1. Arbitrary unions of unions are unions. For finite intersections, reduce to two: , and each contains each of its points in some by condition 2; so the intersection is a union of basis elements and lies in . And is a basis for by construction.
() If is a topology with a basis, condition 1 holds since must be a union of basis elements covering each point; condition 2 holds because for , the intersection is open; being a finite intersection of basis elements, each open; and is therefore a union of basis elements, one of which contains and lies inside the intersection.
The two conditions are exactly what makes “every open set is a union of basis elements” consistent: condition 1 keeps the union covering , condition 2 keeps the basis closed enough under overlap that unions of unions stay unions. Open balls in (Example 2.7) satisfy condition 2 with -style radius-halving; the same triangle-inequality geometry the metric-space chapter uses.
2.6 Key Relationships
Section titled “2.6 Key Relationships”| Topology | Basis | Separation | Properties |
|---|---|---|---|
| Discrete | Completely normal | Every function from is continuous | |
| Indiscrete | Not | Every function to is continuous | |
| Cofinite | but not | Compact (any ) | |
| Standard () | (normal) | Connected, separable, Lindelöf | |
| Subspace | Inherits | Open sets = intersections with |
These examples span the spectrum from finest (discrete, many open sets) to coarsest (indiscrete, few open sets).
2.7 Common Pitfalls
Section titled “2.7 Common Pitfalls”- Assuming all topologies are metric. The cofinite topology on an infinite set is not Hausdorff () and cannot arise from a metric. Fix: Metric spaces are a proper subclass of topological spaces; many useful topologies are non-metrisable.
- Thinking arbitrary intersections of open sets are open. Only finite intersections are guaranteed. Fix: Counterexample: in , , which is not open.
- Confusing open and closed sets. A set can be both (clopen: and ), neither, or one without the other. Fix: Topology defines open sets; closed sets are complements. Check the definition, not intuition from .
- Assuming the subspace topology is intuitive. A set can be open in without being open in . Fix: is open in with subspace topology because .
2.8 Applications
Section titled “2.8 Applications”- Data analysis (persistent homology): Topological data analysis uses simplicial complexes and persistent homology to study shape in high-dimensional data, with the Vietoris-Rips complex topology.
- Network theory: Graphs are 1-dimensional CW complexes; topological invariants like the fundamental group detect holes and cycles in communication and social networks.
- Robot motion planning: The configuration space of a robotic arm is a topological space; its connected components determine reachable configurations and its fundamental group encodes obstacles.
- Quantum computing: The topology of quantum error-correcting codes (surface codes, toric codes) determines their error thresholds; logical qubits correspond to non-contractible loops on the code manifold.
- General relativity: Spacetime is a 4-dimensional Lorentzian manifold (a topological space locally modelled on ); global topology determines possible causal structures and singularities.
2.9 Worked Example: Comparing Topologies on a Finite Set
Section titled “2.9 Worked Example: Comparing Topologies on a Finite Set”Problem. Let . List all possible topologies on that are strictly finer than and strictly coarser than . How many are there?
Solution. is the indiscrete topology (2 open sets). is the discrete topology (8 open sets). Any topology strictly between them must have at least 3 and at most 7 open sets.
We need such that . By checking all collections that satisfy the three axioms, we find three such topologies:
- (coarsest refinement)
- (contains two singletons)
Each is strictly finer than the indiscrete topology (adds at least one non-trivial open set) and strictly coarser than the discrete topology (omits at least one singleton). There are three distinct intermediate topologies up to relabelling of points.
2.10 Summary Table
Section titled “2.10 Summary Table”| Axiom | Requirement | Why finite matters |
|---|---|---|
| The empty set and whole space are open | Provides base and top elements | |
| Arbitrary unions | Any union of open sets is open | Ensures topology is closed under “or” |
| Finite intersections | Finite intersections of open sets are open | Prevents pathological singleton limits |
Cross-References
Section titled “Cross-References”Introduction to Topology: Foundational concepts including open sets, continuity, and the motivation for topology.
Continuity and Homeomorphisms: Continuous functions between topological spaces preserve structure without requiring metrics.
Compactness: Compactness is a key property of topological spaces related to finite subcovers and sequential convergence.
Intuition
Section titled “Intuition”A topological space is what you get when you strip away all the structure you’re used to, distances, angles, coordinates, and keep only the idea of “closeness.” The only thing you’re allowed to know is which points are near which other points, encoded by the collection of open sets. Think of it like a city where you can’t measure distances but you can ask “is this neighbourhood near that neighbourhood?” The three axioms (empty set and whole space are open, arbitrary unions are open, finite intersections are open) are the minimum rules that make the concept of “nearness” behave consistently. Without them, you can’t even define what it means for a function to be continuous.
The beauty of topology is that it captures the properties of space that survive continuous deformation, stretching, bending, twisting, but not tearing or gluing. A coffee mug and a donut are “the same” topologically because you can smoothly deform one into the other; both have one hole. The discrete topology (every subset is open) is the finest possible, it distinguishes every point from every other point. The indiscrete topology (only the whole space and empty set are open) is the coarsest, it can’t distinguish any points at all. Most interesting topologies live somewhere between these extremes, and the standard topology on the real line is what makes calculus work: a function is continuous exactly when it preserves the open-set structure.
The real power of topological spaces is that they let you define continuity without mentioning numbers or distances. A function is continuous if the preimage of every open set is open, that’s it. This simple definition works in settings far beyond Euclidean space: function spaces, quantum state spaces, the space of shapes in computer vision, the space of probability distributions in machine learning. Whenever you need to talk about convergence, continuity, or “sameness” in an abstract setting, topology provides the language. It’s the most general framework for understanding the structure of mathematical spaces.