General Topology: The Theory of Convergence and Continuity
General Topology (or Point-Set Topology) is the study of the structure of space. It provides the most general framework for discussing limits, continuity, and connectedness. While Analysis often relies on the notion of distance provided by a metric, Topology abstracts these concepts to collections of sets, allowing us to study spaces where “distance” may be undefined or irrelevant.
1. The Definition of a Topological Space
A Topological Space is an ordered pair , where is a set and is a collection of subsets of (called open sets) satisfying the following three axioms:
- Entirety: The empty set and the set itself are in .
- Arbitrary Unions: The union of any sub-collection of sets in is also in :
- Finite Intersections: The intersection of any finite sub-collection of sets in is also in :
The collection is called the topology on . A subset is called closed if its complement is open.
2. Basis of a Topology
Often, it is cumbersome to list every open set. Instead, we define a topology using a Basis. A collection of subsets of is a basis for a topology if:
- For every , there is at least one basis element such that .
- If for , there exists a such that .
The topology generated by consists of all sets that can be written as a union of elements of .
3. Continuity: The Topological Perspective
In calculus, we define continuity using limits. In topology, we generalize this: A function is continuous if and only if for every open set , the preimage is open in .
This definition is powerful because it requires no arithmetic—only the structure of open sets.
4. Homeomorphisms: Topological Equivalence
A Homeomorphism is a bijection such that both and are continuous. If such a mapping exists, and are said to be homeomorphic.
Technically, a homeomorphism is an isomorphism in the category of topological spaces. It preserves all “topological properties” (properties that depend only on the topology, like compactness or connectedness). This is why a coffee cup and a donut (a torus) are topologically equivalent: one can be continuously deformed into the other without tearing or gluing.
5. Separation Axioms
Separation axioms describe how well we can distinguish distinct points or sets using open sets.
- Space: For any two distinct points , there exist open sets such that and .
- (Hausdorff) Space: For any two distinct points , there exist disjoint open sets and such that and . Most “natural” spaces in analysis (like ) are Hausdorff. In Hausdorff spaces, limits of sequences are unique.
- (Regular): is and for any closed set and point , there exist disjoint open sets and such that and .
- (Normal): is and for any two disjoint closed sets , there exist disjoint open sets such that and .
6. Compactness
Compactness generalizes the notion of being “finite” or “bounded” to abstract spaces. A space is compact if every open cover of has a finite subcover.
Formally: if where are open, then there exists a finite subset such that .
Heine-Borel Theorem: A subset of is compact if and only if it is closed and bounded.
7. Connectedness
A space is disconnected if there exist two disjoint, non-empty open sets such that . If no such separation exists, is connected.
A stronger notion is path-connectedness: is path-connected if for any two points , there exists a continuous map such that and . Every path-connected space is connected, but the converse is not always true (e.g., the Topologist’s Sine Curve).
8. Metric Spaces and Metrizability
A metric induces a topology by defining a basis of open balls:
A topological space is metrizable if there exists a metric that induces its topology. Urysohn’s Metrizability Theorem states that every second-countable regular () space is metrizable.
9. Product and Quotient Topologies
- Product Topology: Given spaces and , the product topology on is generated by the basis .
- Quotient Topology: Given a space and an equivalence relation , the quotient map induces a topology on the set of equivalence classes where is open in iff is open in . This is used to construct objects like the Möbius strip or the Klein bottle.
Python Visualization: Overlapping Intervals as a Basis
The following script demonstrates how a collection of open intervals can “cover” a space and act as a basis for the standard topology on .
import matplotlib.pyplot as plt
import numpy as np
def visualize_basis(n_intervals=15):
fig, ax = plt.subplots(figsize=(10, 3))
# Generate random overlapping intervals (a, b) in [0, 1]
for i in range(n_intervals):
start = np.random.uniform(0, 0.7)
width = np.random.uniform(0.1, 0.3)
end = start + width
# Represent open intervals with transparency and open markers
ax.hlines(y=0.1 + i*0.1, xmin=start, xmax=end,
colors='C0', linewidth=3, alpha=0.6)
ax.plot(start, 0.1 + i*0.1, 'bo', markersize=6, fillstyle='none')
ax.plot(end, 0.1 + i*0.1, 'bo', markersize=6, fillstyle='none')
ax.set_ylim(0, n_intervals * 0.1 + 0.2)
ax.set_xlim(0, 1)
ax.set_yticks([])
ax.set_title("Generating a Topology: Set of Overlapping Open Intervals (Basis Elements)")
ax.set_xlabel("Real Line Segment [0, 1]")
plt.tight_layout()
plt.show()
# Run the visualization
visualize_basis(15)