advanced25 min studyLesson 61 in Mathematics

Topological spaces and continuity

Describe nearness through open sets, and distinguish continuous maps from reversible changes of description.

On this page

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 (−1/n,1/n)(-1/n,1/n) 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.

∅,X∈τ,⋃i∈IUi∈τ,U1∩⋯∩Un∈τ\varnothing,X\in\tau,\qquad \bigcup_{i\in I}U_i\in\tau,\qquad U_1\cap\cdots\cap U_n\in\tau
Here each Uᵢ belongs to τ, the union has an arbitrary index set, and the intersection uses finitely many sets. These are the topology axioms.↔ Scroll wide equations horizontally.

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.

f:(X,τX)→(Y,τY) continuous⟺f−1(V)∈τX for every V∈τYf:(X,\tau_X)\to(Y,\tau_Y)\text{ continuous}\quad\Longleftrightarrow\quad f^{-1}(V)\in\tau_X\ \text{for every }V\in\tau_Y
The inverse-image notation denotes a set operation. The map f need not be injective or surjective.↔ Scroll wide equations horizontally.

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.

A bijection that loses neighborhood information

Put the discrete topology D on X={0,1}, and put S={∅,{1},X}S=\{\varnothing,\{1\},X\} on the same set. Test the identity map from (X,D) to (X,S).

  1. S is a topology: unions and finite intersections among its three sets remain in S. D has four open sets, including both singletons.

  2. 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.

  3. 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 result

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.

Explore the model

Interactive lab

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.

Track an open condition back to inputsThis 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. Current readings: y at chosen x: 0.608; Tangent slope · 2ax: 1.35; Signed area · ax³/3: 0.182. All parameters are adjustable with the labeled controls below.−2.4−1.201.22.4−9−4.504.59xy(x, ax²)
y = ax²TangentSigned integral
y at chosen x
0.608
Tangent slope · 2ax
1.35
Signed area · ax³/3
0.182
t = 0 s

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.

Check your understanding

Which fact would prove that a bijection f is a homeomorphism?

Try it yourself

For f(x)=x2f(x)=x^2 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 (−2,−1)∪(1,2)(-2,-1)\cup(1,2), 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.

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.