Connectedness and Constant Maps

The usual definition of a connected space is something like:

A topological space XX is connected if it cannot be written as the disjoint union of open sets.

In more formal terms, if there do not exist U,VU, V open and nonempty, with UV=U \cap V = \empty, and UV=XU \cup V = X, then XX is connected.

We call such U,VU, V a separation of XX.

A slightly more useful definition is:

A topological space XX is connected if and only if every continuous map to {0,1}\{0, 1\} (with the discrete topology) is constant.

One way of thinking about this, is that you can only assign different colors to parts of a space (in a continuous way) if that space is disconnected.

/

If a space is connected, then it only has a single color:

/

The equivalence of these two definitions is pretty easy to show:

If there exists a non constant map f:X{0,1}f : X \to \{0, 1\}, then the preimages f1({0})f^{-1}(\{0\}) and f1({1})f^{-1}(\{1\}) provide us with a separation of XX. (These serve as the "blue" parts, and the "red" parts, going with our previous analogy).

If there is a separation U,VU, V of XX, then the map:

f(x)={0xU1xVf(x) = \begin{cases} 0 \quad x \in U \cr 1 \quad x \in V \end{cases}

is continuous, and nonconstant.

Simpler Proofs

Many proofs become simpler under this paradigm. For example:

Let {Aα}\{A_\alpha\} be a collection of subspaces of XX, each of which is connected. If αAα\bigcap_\alpha A_\alpha \neq \empty, then αAα\bigcup_\alpha A_\alpha is connected.

Proof:

Let f:αAα{0,1}f : \bigcup_\alpha A_\alpha \to \{0, 1\}. Let pαAαp \in \bigcup_\alpha A_\alpha be a point in the intersection.

Because AαA_\alpha is connected, ff is constant on AαA_\alpha, and equal to f(p)f(p) everywhere. ff is thus constant on αAα\bigcup_\alpha A_\alpha.

\square

Constant On Fibers

This way of looking at things is quite elegant if you adopt a more categorical point of view in other parts of Topology. For example, one characterization of a quotient map is as follows:

A continuous function π:XY\pi : X \to Y is a quotient map if and only if for every function f:XZf : X \to Z that is constant on the fibers π1({y})\pi^{-1}(\{y\}) of YY, there exists a unique g:YZg : Y \to Z making the following diagram commute:

/

The following theorem becomes very simple with these definitions:

If π:XY\pi : X \to Y is a quotient map, YY is connected, and furthermore, every fiber π1({y})\pi^{-1}(\{y\}) is also connected, then XX is connected.

Proof:

Take an arbitrary map f:X{0,1}f : X \to \{0, 1\}. Because each fiber is connected, this map is constant on fibers. By the universal property of quotients, we have f=gπf = g \circ \pi, for some unique g:Y{0,1}g : Y \to \{0, 1\}. Since YY is connected, gg is constant. This means that ff is constant, so XX is connected.

\square

(I first saw this proof, and other ideas, in "Topology: A Categorical Approach")