Questions: Continuous Functions in Topological Spaces
5 questions to test your understanding
Score: 0 / 5
Question 1 Multiple Choice
A student claims that if f: X → Y is continuous, then the image of every open set in X must be open in Y. Which example directly refutes this claim?
AThe identity function f(x) = x on ℝ, since it maps closed sets to closed sets
BThe constant function f(x) = 0 on ℝ, since it maps every open set to the single point {0}, which is not open
CThe squaring function f(x) = x² on ℝ, since it maps (−1, 1) to [0, 1), which is neither open nor closed
DAny discontinuous function, since discontinuous functions violate all open-set conditions
The constant function f(x) = 0 is continuous (preimage of any open set V containing 0 is all of ℝ; preimage of any open set not containing 0 is ∅ — both open), yet it maps every open set in ℝ to the single-point set {0}, which is closed, not open. This shows that continuous functions need not send open sets to open sets. The topological definition of continuity is one-directional on purpose. Functions that do map open sets to open sets are called 'open maps' and satisfy a strictly stronger condition than continuity.
Question 2 Multiple Choice
Why does the topological definition of continuity use preimages of open sets rather than images?
ABecause preimages are easier to compute than images in abstract spaces
BBecause continuous functions preserve open-set structure when pulling back from codomain to domain, but need not do so in the forward direction
CBecause the definition was chosen arbitrarily and either direction would work equally well
DBecause images only work for bijective functions, while preimages work for all functions
The choice is not arbitrary — it reflects the actual structure of continuous functions. Continuous functions preserve open-set structure when you pull back along f (preimage direction), but not when you push forward (image direction). The constant function counterexample makes this vivid: it is continuous by the preimage definition yet maps open sets to non-open sets. The preimage definition correctly captures what it means for f to 'respect' the topology on the codomain: if V is declared open in Y, then f must present an open region in X that maps into V.
Question 3 True / False
A continuous function f: X → Y usually maps open sets in X to open sets in Y.
TTrue
FFalse
Answer: False
False. This is the most common confusion about topological continuity. The correct statement is the reverse: f is continuous if and only if the *preimage* of every open set in Y is open in X. The constant function f(x) = 0 from ℝ to ℝ is continuous but maps every open interval to the single point {0}, which is not open. Functions that map open sets to open sets are called 'open maps' — a strictly stronger and entirely separate condition from continuity.
Question 4 True / False
When X = Y = ℝ with the standard metric topology, the topological definition of continuity (preimages of open sets are open) is equivalent to the ε-δ definition of continuity.
TTrue
FFalse
Answer: True
True. The ε-δ condition says: for every ε > 0 and every x, there exists δ > 0 such that B(x, δ) maps into B(f(x), ε). In other words, every open ball around f(x) has an open ball around x that maps into it — meaning the preimage of any open interval around f(x) contains an open neighborhood of x, which means the preimage of any open set contains an open neighborhood of each of its points, which means the preimage is open. The two definitions coincide exactly on metric spaces with their standard topology.
Question 5 Short Answer
Explain why the topological definition of continuity uses preimages rather than images of open sets, and give a concrete example illustrating the necessity.
Think about your answer, then reveal below.
Model answer: Continuity means the function respects open-set structure when pulling back from the codomain to the domain: if V is open in Y, then f⁻¹(V) must be open in X. The reverse direction fails in general: continuous functions can collapse open sets to single points. The constant function f(x) = 0 maps every open set to {0}, which is not open, yet f is continuous by the preimage definition. Functions that do preserve open sets in the forward direction are called open maps — a strictly stronger property.
The asymmetry is a genuine feature of continuous functions. Continuity is about the function not 'tearing' open structure when approached from the output side: for any open neighborhood of a target point, there must be an open neighborhood of every source point mapping into it. This is precisely what preimages capture. The preimage definition also unlocks structural tools — the initial topology and quotient topology are both defined via this same condition — making it not just a generalization of ε-δ continuity but the right structural concept for all of topology.