Topological spaces and continuity
Describe nearness through open sets, and distinguish continuous maps from reversible changes of description.
On this page
The question for today
What you’ll understand
- Check the open-set axioms on a finite example.
- Test continuity using preimages rather than pictures.
- Explain why a continuous bijection need not be a homeomorphism.
A distance function tells us how far apart two points are. Many questions ask for less information: whether a point can be approached, whether a map tears neighboring regions apart, or whether two descriptions have the same continuous structure. Topology keeps the open neighborhoods needed for these questions while discarding numerical distances. The distinction matters when coordinates change, when a boundary is identified with itself, and when an apparent geometric difference is only a difference in scale.
Open sets specify a structure on a set
A topology on a set X is a collection of subsets, declared open, containing both the empty set and X. Arbitrary unions of open sets must be open, as must finite intersections. Arbitrary intersections are not required: the intersection of the intervals over positive integers is the singleton {0}, which is not open in the usual real line. These axioms abstract the neighborhood behavior of ordinary open intervals without assuming coordinates or a metric.
The same underlying set can carry different topologies. The discrete topology declares every subset open; the indiscrete topology declares only the empty set and the whole space open. A metric generates open sets by unions of open balls, but not every topology comes from a metric. Even when two metrics generate the same topology, their numerical distances can disagree. Topological equivalence preserves continuity, not the length of a route, the size of an angle, or a particular error tolerance.
Continuity looks backward through a map
For a map from X to Y, continuity means that every open subset of Y has an open preimage in X. A preimage exists for any function; it does not require an inverse function. It gathers all inputs whose outputs satisfy the chosen open condition. In metric spaces this criterion is equivalent to the familiar epsilon-delta definition. On the real line, the preimage of an open output interval can have several components and still be open.
Images of open sets need not be open under a continuous map. The constant map from the real line to itself is continuous, but sends every nonempty open interval to a singleton. This is why replacing preimage by image changes the definition. Continuity also depends on both topologies, not just the formula. A map out of a discrete domain is automatically continuous, whereas a map into a discrete codomain must have open fibers over its individual values.
Reversible structure requires two continuity checks
A homeomorphism is a bijection whose forward map and inverse map are both continuous. Bijection alone matches points; homeomorphism also matches the neighborhood structure. Stretching an interval by a positive constant is a homeomorphism onto the stretched interval, although it changes distances. For a useful sufficient condition, a continuous bijection from a compact space to a Hausdorff space is a homeomorphism. Removing these hypotheses requires checking the inverse separately.
Manifolds will add local Euclidean coordinates to topology, and differentiable manifolds will demand smooth transition maps. Those are additional layers rather than consequences of the open-set axioms. A topological argument should therefore state its ambient spaces and avoid silently importing differentiability or metric measurements. When a computer displays only finitely many sample points, it can suggest a continuous shape but cannot verify the behavior of every neighborhood required by the definition.
Work it through
A bijection that loses neighborhood information
Put the discrete topology D on X={0,1}, and put on the same set. Test the identity map from (X,D) to (X,S).
S is a topology: unions and finite intersections among its three sets remain in S. D has four open sets, including both singletons.
The identity is bijective. Its preimages of the three S-open sets are those same three sets, all open in D, so the forward map is continuous.
For the reverse identity, the D-open set {0} has preimage {0}. This is not in S, so the inverse is not continuous. One explicit failed preimage is enough to reject homeomorphism.
The identity is a continuous bijection in one direction. The spaces are not homeomorphic under any bijection: a homeomorphism would match their open sets bijectively, but D has four and S has three.
The living notebook
Explore the model
Interactive lab · function
Track an open condition back to inputs
For the displayed family y=a x², choose a positive coefficient and predict which inputs satisfy −1<y<1. The answer is the open interval |x|<1/√a. Move the position control across its boundary and compare the output. This is a single continuous quadratic family, not a topology classifier or a display of the finite-space example.
- y at chosen x
- 0.608
- Tangent slope · 2ax
- 1.35
- Signed area · ax³/3
- 0.182
This lab uses only y = ax². Playback traces the curve within the fixed integration interval from 0 to x; it does not estimate numerical error or change the chosen point. Parameter changes pause playback and recompute the model at the current elapsed time. Reset restores both parameters and returns time to zero. Playback starts paused. Adjust either parameter, then choose Play or Step.
Look forContinuity concerns preimages of open output conditions, rather than whether a sampled graph appears unbroken.
Pause & reason
Check your understanding
Your turn
Try it yourself
For on the usual real line, find the preimage of (1,4). Does this calculation support continuity?
Take a moment to make a prediction or work it out on paper. Open a hint when you need one.
Give me a hint
Solve the strict inequality 1<x²<4 and keep both signs of x.
Compare with the solution
The preimage is , a union of two open intervals. This is consistent with continuity, even though the preimage is disconnected. Checking this one interval is not a complete continuity proof; the polynomial's known continuity, or a proof for every open set using a basis, supplies the general argument.
Keep the idea
Take it with you
- A topology specifies open neighborhoods without assigning distances.
- Continuity is a condition on every open-set preimage.
- A homeomorphism preserves topology in both directions.
Read further
Original sources and deeper explanations to follow at your own pace.
Optional progress, saved in this browser when available. Revisit any lesson at any time.
Lesson not marked complete.