Countable connected spaces are strongly connected

If \(X\) is connected and countable, then it is strongly connected.

See it in Lean

Axioms
ZFC only

Statement

Every countable connected space is strongly connected: every continuous function from it to \(\mathbb{R}\) is constant.

Proof

Let \(X\) be countable and connected, let \(f : X \to \mathbb{R}\) be continuous, and suppose that \(f(x) < f(y)\) for some \(x, y \in X\). The image \(f(X)\) is countable and the interval \((f(x), f(y))\) is not, so there is a real number \(c\) with \(f(x) < c < f(y)\) and \(c \notin f(X)\). The sets \(f^{-1}((-\infty, c))\) and \(f^{-1}((c, \infty))\) are open and disjoint, the first contains \(x\) and the second \(y\), and their union is \(X\) since \(f\) does not take the value \(c\). This contradicts connectedness. So \(f(x) = f(y)\) for all \(x, y \in X\). \(\blacksquare\)

Where it is used

Examples it describes

Used to work out the properties of the example for 1 of the combinations that occur in Connectedness and disconnectedness:

The 1 example

Properties of spaces it gives

Cited on space pages

References