Continuous functions and closed sets

Definition and basic properties of continuous functions

One of the reasons to introduce a topological space as a more general structure than a metric space is to be able to define continuous functions without a metric.

Let \(X\), π‘Œ be sets, initially considered without a topological space structure. We write 𝑓:π‘‹β†’π‘Œ to denote a function with domain 𝑋 and codomainΒ π‘Œ. The words function, map, mapping will mean the same thing. The following notation and terminology will be used.

Definition: image of an element, image of a set, preimage of a set

Let 𝑓:π‘‹β†’π‘Œ be a function. For π‘₯βˆˆπ‘‹, the element 𝑓(π‘₯) of π‘Œ is the image of π‘₯ under 𝑓. For a subset π΄βŠ†π‘‹, the subset of π‘Œ defined as

𝑓 ( 𝐴 ) = { 𝑓 ( π‘Ž ) : π‘Ž ∈ 𝐴 }

is the image of the set 𝐴 under 𝑓. For a subset π΅βŠ†π‘Œ, the subset of 𝑋 defined as

𝑓 βˆ’ 1 ( 𝐡 ) = { π‘₯ ∈ 𝑋 : 𝑓 ( π‘₯ ) ∈ 𝐡 }

is called the preimage of the set 𝐡 under 𝑓.

We are now going to define continuity, which does require a topology on both 𝑋 and π‘Œ. Attention: we say β€œπ‘‹ is a topological space” to mean that some topology 𝒯︁ on 𝑋 is chosen, and open sets are understood to be members of 𝒯︁.

Definition: continuous function

Let 𝑋 and π‘Œ be topological spaces. A function 𝑓:π‘‹β†’π‘Œ is continuous if for every subset 𝑉 of π‘Œ, open in π‘Œ, the preimage π‘“βˆ’1(𝑉) is open in 𝑋.

Remark: in MATH21111 Metric Spaces, this was shown to be an equivalent definition of continuity.

This means that when 𝑋 and π‘Œ are metric spaces, considered with their metric topologies, we can use two equivalent definitions of a continuous function:

When 𝑋 or π‘Œ is not a metric space, we do not have the πœ€ - 𝛿 definition, and can only use the topological definition.

Alert:

Remember, β€œπ‘“ is continuous” means π‘“βˆ’1( open )= open !

It is not true for a general continuous function that images of open subsets of 𝑋 are open in π‘Œ:

𝑓 ( open ) β‰  open !!!

A counterexample is given in the Tutorial.

Proposition: identity functions and constant functions are continuous

Let 𝑋,π‘Œ be topological spaces. The identity map on 𝑋, id𝑋:𝑋→𝑋 defined by π‘₯↦π‘₯ for all points π‘₯βˆˆπ‘‹, is continuous.

Let 𝑦0 be a point of π‘Œ. The constant function const𝑦0:π‘‹β†’π‘Œ, π‘₯↦𝑦0 for all π‘₯βˆˆπ‘‹ (i.e., the function that sends the whole of 𝑋 to one point), is continuous.

Proof. A proof is given in the Tutorial. β–‘

Proposition: composition of continuous functions is continuous

Suppose π‘‹β†’π‘“π‘Œβ†’π‘”π‘ where 𝑋,π‘Œ,𝑍 are topological spaces, and the functions 𝑓,𝑔 are continuous. Then the composition π‘‹βŸΆπ‘”βˆ˜π‘“π‘ is also continuous.

Proof. The key point of the proof is the formula for the preimage under composition, left as an exercise to the student:
\begin{equation*} \forall W \subseteq Z, \quad (g \circ f)^{-1}(W)= f^{- 1}(g^{- 1}(W)). \end{equation*}
Let π‘Š βŠ† 𝑍 be any open subset of 𝑍 . Since 𝑔 is continuous, 𝑔 βˆ’ 1 ( π‘Š ) is open inΒ  π‘Œ . Since 𝑓 is continuous, 𝑓 βˆ’ 1 ( 𝑔 βˆ’ 1 ( π‘Š ) ) is open inΒ  𝑋 . We have proved that ( 𝑔 ∘ 𝑓 ) βˆ’ 1 ( π‘Š ) is open in 𝑋 , and so we have verified the definition of β€œcontinuous” for 𝑔 ∘ 𝑓 . β–‘

Closed sets

It is often useful to characterise continuous functions in terms of closed sets, which we will now define.

Definition: closed set

Let 𝑋 be a topological space. A subset 𝐹 of 𝑋 is closed in 𝑋 if its complement 𝑋\𝐹 is open in 𝑋.

This definition means that every subset 𝐴 of a topological space 𝑋 falls into one of the four classes:

The last three examples are illustrated by FigureΒ 1.

open interval, closed interval and half-closed interval on the real line
FigureΒ 1: A subset of the Euclidean line ℝ can be open & closed, open, closed, or neither

Alert:

β€œNot open” does not mean β€œclosed”!

The collection of closed sets in 𝑋 has properties which mirror, but do not repeat, the properties of open sets – we need to exchange unions and intersections:

Proposition: properties of closed sets

If 𝑋 is a topological space, then

Proof. Since closed sets are complements of open sets, these follow by applying the De Morgan laws to the properties of open sets. β–‘

Proposition: closed set criterion of continuity

For a function 𝑓:π‘‹β†’π‘Œ between topological spaces 𝑋 and π‘Œ, the following are equivalent:

  1. 𝑓 is continuous;
  2. the preimage of every closed subset of π‘Œ is closed in 𝑋.

Proof. Implication 1.β‡’2.: assume that 𝑓:π‘‹β†’π‘Œ is continuous. Let πΉβŠ†π‘Œ be any closed set in π‘Œ. Then 𝑉=π‘Œ\𝐹 is open in π‘Œ. Since preimage respects complements (see Tutorial), π‘“βˆ’1(𝐹)=π‘“βˆ’1(π‘Œ\𝑉)=𝑋\π‘“βˆ’1(𝑉). By continuity of 𝑓, π‘“βˆ’1(𝑉) is open, so by definition of β€œclosed”, 𝑋\π‘“βˆ’1(𝑉) is closed. We proved that the preimage of every closed set is closed.

Reverse the logic to show 2.β‡’1. β–‘

Homeomorphisms and homeomorphic spaces

We have arrived at one of the most important definitions of the course.

Definition: homeomorphism, homeomorphic spaces

Let 𝑋 and π‘Œ be topological spaces. A function 𝑓:π‘‹β†’π‘Œ is a homeomorphism if

Two topological spaces 𝑋,π‘Œ are homeomorphic if there exists a homeomorphism 𝑓:π‘‹β†’π‘Œ.

We will write π‘‹βŸΆβˆΌπ‘Œ to indicate that there is a homeomorphism between 𝑋 and π‘Œ, or π‘‹βŸΆπ‘“βˆΌπ‘Œ to indicate that 𝑓:π‘‹β†’π‘Œ is a homeomorphism.

In mathematics, the symbol ∼ is typically used to denote an equivalence relation. This is also the case here:

Claim: β€˜is homeomorphic to’ is an equivalence relation

β€˜Is homeomorphic to’ is an equivalence relation between topological spaces.

Proof. We need to check the three axioms of equivalence relation.

Reflexive: we need to show that every space 𝑋 is homeomorphic to itself. Indeed, id𝑋:π‘‹βŸΆβˆΌπ‘‹ is a homeomorphism because the identity map is a bijection, the identity map is continuous as shown earlier, and idπ‘‹βˆ’1=id𝑋 hence the inverse is also continuous.

Symmetric: We need to show that if π‘‹βŸΆβˆΌπ‘Œ, then π‘ŒβŸΆβˆΌπ‘‹. Assume that 𝑓:π‘‹βŸΆβˆΌπ‘Œ. Since 𝑓 is a homeomorphism, the inverse bijection π‘“βˆ’1 is, by definition, continuous. Furthermore, the inverse of π‘“βˆ’1 is 𝑓 which is continuous. We conclude that π‘“βˆ’1:π‘ŒβŸΆβˆΌπ‘‹ is a homeomorphism.

Transitive: we need to show that if π‘‹βŸΆβˆΌπ‘Œ and π‘ŒβŸΆβˆΌπ‘, then π‘‹βŸΆβˆΌπ‘. Assume that π‘‹βŸΆπ‘“βˆΌπ‘Œ and π‘ŒβŸΆπ‘”βˆΌπ‘ are homeomorphisms. Then π‘‹βŸΆπ‘”βˆ˜π‘“βˆΌπ‘ is a homeomorphism: it is a bijection as it has inverse (π‘”βˆ˜π‘“)βˆ’1=π‘“βˆ’1βˆ˜π‘”βˆ’1, and both π‘”βˆ˜π‘“ and π‘“βˆ’1βˆ˜π‘”βˆ’1 are continuous as compositions of continuous maps. β–‘

Let us now consider examples of homeomorphic spaces. First, introduce a topological space which appears in many examples.

Definition: circle, 𝑆1

The circle is the set

𝑆 1 = { ( π‘₯ , 𝑦 ) ∈ ℝ 2 : π‘₯ 2 + 𝑦 2 = 1 }

viewed with the topology defined by the Euclidean metric in ℝ2.

Example: some spaces homeomorphic to ℝ

Show that the Euclidean line ℝ is homeomorphic to the following spaces, viewed with the Euclidean metric:

Solution. We construct pairs of continuous functions which are mutual inverses between some pairs of the given spaces, see FigureΒ 2

A diagram with functions which are homeomorphisms, such as the exp function between the real line and the set of positive reals
FigureΒ 2: Examples of homeomorphisms between spaces

We do not need to construct homeomorphisms between each pair of the given spaces: since β€œhomeomorphic” is an equivalence relation, we have constructed enough to show that all four spaces are homeomorphic to each other.

The homeomorphism between the right half-circle of the unit circle and ℝ can be described in purely geometric terms as in FigureΒ 3: take a point of the half-circle and project it onto the vertical tangent line to the half-circle at the point (1,0) in the plane.

A geometric construction of a homeomorphism between half-circle and straight line
FigureΒ 3: a homeomorphism between the half-circle 𝑆+1 and a straight line

The homeomorphisms shown above are not unique, and there are many other ways of showing that these four spaces are pairwise homeomorphic.

Remark. The four spaces shown above are quite different as metric spaces: for example,

Hence there is no way these metric spaces can be isometric (i.e., equivalent as metric spaces). We thus observe that being homeomorphic (i.e., equivalent as topological spaces) is a weaker requirement, for metric spaces, than being isometric.

Further examples and applications of homeomorphisms

The material in this section is not examinable

Knot theory is a branch of mathematics which arose from an attempt to classify knots rigorously by Peter Guthrie Tait (1831–1901). In 1920s, following the work of J.Β Alexander, knot theory became part of Topology. Since 1980s, knot theory has been applied to the study of DNA and other molecules, and to the study of fluid vortices and has found further applications in Physics.

A knot is a smooth injective function 𝑆1→ℝ3 where 𝑆1 is the unit circle. The image of the function is a smooth closed curve in ℝ3 which has no self-intersections; such curves are themselves called knots. Two knots 𝐾1, 𝐾2 are equivalent, or isotopic, if there is a continuous deformation of the space ℝ3 which transforms 𝐾1 into 𝐾2.

The main problem of knot theory is to classify all knots up to isotopy. For example, a basic result of knot theory is that a trefoil knot, the curve shown in FigureΒ 4, is not isotopic to the unknot (a straightforward copy of the circle in ℝ3).

a trefoil knot
FigureΒ 4: a trefoil knot [Link to interactive 3D diagram]

Is the problem of deciding whether two knots are isotopic related to the notion of homeomorphism? After all, every knot is homeomorphic to a circle, isn’t it? Yes, but complements of knots are not homeomorphic. A highly non-obvious result is

Theorem: Gordon-Luecke theorem (1989)

Two knots 𝐾1, 𝐾2 in ℝ3 are isotopic (up to taking a mirror image) if, and only if, there exists a homeomorphism ℝ3\𝐾1βŸΆβˆΌβ„3\𝐾2.

The theory of knots extends to links which are unions of disjoint knots in ℝ3. An example of a non-trivial link is the famous Borromean rings: three interlinked circles in ℝ3, such that if any one circle is removed, the remaining two circles become unlinked, see FigureΒ 5. Unlike knots, a link is not determined up to isotopy by a homeomorphism class of its complement.

three interlinked rings
FigureΒ 5: Borromean rings [AI-assisted] [Link to interactive 3D diagram]

A stylised representation of Borromean rings was chosen as the logo of the International Mathematical Union.

End of non-examinable material.