1 Topological Space
A space stripped down to its bare essence: just a set of points and a rule about which subsets count as "open."
X together with a collection π of subsets of X (the open sets) satisfying:
- β
and X are both in
π. - Any union (even infinite) of sets in
πis inπ. - Any finite intersection of sets in
πis inπ.
(X, π) is the topological space. Topology is "geometry without distance" β bending and stretching are allowed; tearing and gluing are not.
On the right, the same 4-point set X = {a, b, c, d} carries different topologies. Cycle through them and watch which subsets are declared open. A valid topology must always contain β
and X, and be closed under unions & finite intersections.
2 Definition of Open Sets
In the familiar plane, "open" means every point has a little breathing room β wiggle room in all directions without leaving the set.
U β ββΏ is open if for every point p β U there exists a radius Ξ΅ > 0 such that the entire open ball B(p, Ξ΅) lies inside U. Intuitively: no point of an open set sits on its own edge.
Move your cursor (or drag) inside the disk. A point near the middle has room for a full Ξ΅-ball β it's an interior point. Drag toward the boundary and the largest fitting ball shrinks to nothing: that point is not interior, which is exactly why the closed disk's boundary keeps it from being open.
Green ball fully inside β interior point. Red β the ball pokes out past the edge.
3 Examples of Open Sets
Open, closed, or neither? Click each shape to test it against the "breathing room" rule.
Each example shows whether boundary points are included (solid edge = closed boundary) or excluded (dashed edge = open boundary).
4 Continuous Mapping
Forget epsilons and deltas β topology defines continuity purely through open sets.
V β Y is open in X. Equivalently in β: nearby inputs map to nearby outputs β the graph has no jumps.
The animation feeds a sliding open interval (top axis, domain) through a function and shows its image on the output axis. For a continuous map the image stays a single connected open blob. Toggle a jump discontinuity and watch an open input produce a "broken" preimage β the hallmark of a non-continuous map.
5 Homeomorphism
When two spaces are "the same" to a topologist: continuously deformable into one another, no cutting, no gluing.
X and Y are homeomorphic β topologically identical. The classic punchline: a coffee mug is a doughnut, because each has exactly one hole.
Watch a coffee mug morph continuously into a torus (doughnut). The single hole β the handle becomes the doughnut's hole β is preserved throughout. No point is ever torn from its neighbors, so the transformation is a genuine homeomorphism.
Genus (number of holes) = 1 the whole way β topologically invariant.
6 Compactness
A subtle finiteness: no matter how you cover the space with open sets, a finite handful already suffices.
The strip is covered by infinitely many overlapping open intervals. On a compact (closed, bounded) interval you can throw most of them away and keep only finitely many that still cover everything β press "Extract finite subcover." On the open-ended ray, the cover near the missing endpoint needs ever-smaller sets: no finite subcover exists.
Infinite open cover shown.
7 Connectivity
A space is connected if it's "all one piece" β it can't be split into two separate open chunks.
X is connected if it cannot be written as the union of two disjoint, non-empty open sets. Equivalently, you can travel between any two points without ever leaving the space (path-connected, in nice cases).
Click "Cut" to slice the blob into two disjoint open pieces β now it's disconnected. A travelling probe tries to walk from the left point to the right point along the space; when a gap appears it gets stuck, proving the two halves are genuinely separated.