Continuity and constructions · Definition
Continuous function between topological spaces
Before you start you need to know
It generalizes calculus continuity to spaces without distances: it uses only which sets are open, and it is the notion of admissible map in topology.
Definition
A function \(f:X\to Y\) between topological spaces \((X,\mathcal{T}_X)\) and \((Y,\mathcal{T}_Y)\) is continuous if the preimage of every open set \(V\) of \(Y\) is an open set of \(X\).
For \(f:\mathbb{R}\to\mathbb{R}\) with the usual topology, the definition agrees with the \(\varepsilon\)–\(\delta\) one: the preimage of every open interval contains an interval around each of its points. The advantage is that it applies to any pair of spaces, even without metrics, and is handled with a single idea: preimages.
Preimages respect unions and intersections, \(f^{-1}(\bigcup V_i)=\bigcup f^{-1}(V_i)\) and \(f^{-1}(V\cap W)=f^{-1}(V)\cap f^{-1}(W)\). Hence it suffices to check the condition on the open sets of a base of \(Y\). Also, the composition of continuous maps is continuous, since \((g\circ f)^{-1}(W)=f^{-1}(g^{-1}(W))\).
Continuity depends on both topologies. If the domain is discrete, every function is continuous; if the target is trivial, every function is continuous; constants always are. By contrast, the identity of a set, from one topology to another, is continuous exactly when the domain’s topology contains all the open sets of the target’s (is finer).
Typical mistake: confusing continuity with sending open sets to open sets. A continuous function may send an open set to a non-open set (the constant \(x\mapsto0\) sends \(\mathbb{R}\) to \(\{0\}\)), and a function sending open sets to open sets need not be continuous. If it is also bijective and its inverse is continuous too, we have a homeomorphism.
Think about it
If \(X\) has the discrete topology, what can be said about every \(f:X\to Y\)?
It is continuous: every preimage \(f^{-1}(V)\) is a subset of \(X\), and every subset is open in the discrete topology.
Is \(f:\mathbb{R}\to\mathbb{R}\) with \(f(x)=0\) for \(x<0\) and \(f(x)=1\) for \(x\ge0\) continuous?
No: \(f^{-1}\big((\tfrac12,\tfrac32)\big)=[0,\infty)\) is not open in \(\mathbb{R}\).
Exercises 10
- Let \(X=\{1,2,3\}\) with \(\mathcal{T}=\{\varnothing,\{1\},\{1,2\},\{1,2,3\}\}\) and \(Y=\{a,b\}\) with \(\mathcal{T}=\{\varnothing,\{a\},\{a,b\}\}\). Which function \(f:X\to Y\) is continuous?
- Let \(X=\{1,2,3\}\) with \(\mathcal{T}=\{\varnothing,\{2\},\{1,2\},\{2,3\},\{1,2,3\}\}\) and \(Y=\{a,b,c\}\) with \(\mathcal{T}=\{\varnothing,\{b\},\{a,b\},\{b,c\},\{a,b,c\}\}\). Which function \(f:X\to Y\) is continuous?
- What must a function \(f:X\to Y\) between topological spaces satisfy to be continuous?
- Let \(X\) be a set with at least two points. Which statement is true?
- In usual \(\mathbb{R}\), which of these functions \(f:\mathbb{R}\to\mathbb{R}\) is continuous?
- Let \(f:\mathbb{R}\to\mathbb{R}\), \(f(x)=x^2\), with the usual topology. What is \(f^{-1}\big((1,4)\big)\)?
- If \(f:X\to Y\) and \(g:Y\to Z\) are continuous, what can be said about \(g\circ f\)?
- Let \(X=\{1,2,3\}\) have the trivial topology and \(Y=\{a,b\}\) have \(\mathcal{T}=\{\varnothing,\{a\},Y\}\). How many continuous functions \(X\to Y\) are there?
- With \(X=\{1,2,3\}\), \(\mathcal{T}_X=\{\varnothing,\{1\},\{1,2\},X\}\) and \(Y=\{a,b\}\), \(\mathcal{T}_Y=\{\varnothing,\{a\},Y\}\), how many functions \(X\to Y\) are continuous?
- Is the identity \(\mathrm{id}:\mathbb{R}\to\mathbb{R}\), from the usual topology to the discrete one, continuous?
References
- James R. Munkres, Topology, 2nd edition, Pearson, 2000. §18
- Bert Mendelson, Introduction to Topology, 3rd edition, Dover Publications, 1990. cap. 3