🧮 Brain Teaser

A Connected Metric Space Cannot Be Countable

Let (X,d)(X,d) be a connected metric space with at least two points.

(a) Prove that XX is uncountable.

(b) Prove the stronger statement ∣X∣≥∣R∣|X| \ge |\mathbb{R}|, i.e. XX has at least the cardinality of the continuum.

(c) (Discussion, no proof required.) Does the conclusion of (a) still hold if "metric" is weakened to "Hausdorff"?

Hint-free challenge: try to find a proof that is only a few lines long.

connectednessmetric spacescardinalitydistance functionGolomb topology

Answer: A Connected Metric Space Cannot Be Countable

Key Idea / Intuition

Pick a point x0x_0 and consider the "distance from x0x_0" function. It is continuous and real-valued. If XX were countable, this function would take only countably many values, so some radius rr would be missed. The sphere of radius rr is then empty, so the open ball of radius rr and the region outside it separate XX. Connectedness forbids that.

Put differently, a metric lets you measure distances, and continuous real-valued functions on a connected space must fill whole intervals. Connectedness of XX is pushed forward into connectedness of a subset of R\mathbb{R}, where it means "interval", and intervals are big.


Formal Proof / Solution

Setup. Fix x0∈Xx_0 \in X and some y∈Xy \in X with y≠x0y \neq x_0. Put δ=d(x0,y)>0\delta = d(x_0,y) > 0. Define f:X→R,f(x)=d(x0,x).f : X \to \mathbb{R}, \qquad f(x) = d(x_0, x). By the triangle inequality, ∣f(x)−f(x′)∣≤d(x,x′)|f(x) - f(x')| \le d(x,x'). So ff is 11-Lipschitz and in particular continuous.

(b) first, since it implies (a).

  1. A continuous image of a connected space is connected, so f(X)⊆Rf(X) \subseteq \mathbb{R} is connected.
  2. The connected subsets of R\mathbb{R} are exactly the intervals.
  3. f(X)f(X) contains f(x0)=0f(x_0) = 0 and f(y)=δf(y) = \delta. Hence [0,δ]⊆f(X).[0,\delta] \subseteq f(X).
  4. Each value r∈[0,δ]r \in [0,\delta] has at least one preimage. Choosing one preimage for each rr gives an injection [0,δ]↪X[0,\delta] \hookrightarrow X. Therefore ∣X∣ ≥ ∣[0,δ]∣ = ∣R∣.|X| \ \ge\ |[0,\delta]| \ =\ |\mathbb{R}|.

(a), directly and without quoting "connected subsets of R\mathbb{R} are intervals".

  1. Suppose XX is countable. Then f(X)f(X) is a countable subset of R\mathbb{R}.
  2. The interval (0,δ)(0,\delta) is uncountable, so there is some r∈(0,δ)r \in (0,\delta) with r∉f(X)r \notin f(X). That is, no point of XX lies at distance exactly rr from x0x_0.
  3. Set U={x:d(x0,x)<r},V={x:d(x0,x)>r}.U = \{x : d(x_0,x) < r\}, \qquad V = \{x : d(x_0,x) > r\}.
    • Both are open, being preimages of open sets under the continuous map ff.
    • They are disjoint.
    • U∪V=XU \cup V = X, because the "sphere" {d(x0,x)=r}\{d(x_0,x) = r\} is empty.
    • x0∈Ux_0 \in U and y∈Vy \in V, so both are nonempty.
  4. This is a separation of XX, contradicting connectedness. Hence XX is uncountable. ■\blacksquare

(c) Hausdorff is not enough.

There exist countably infinite connected Hausdorff spaces. A famous example is the Golomb topology on N>0\mathbb{N}_{>0}. Its basis consists of the arithmetic progressions {a+nb:n≥0}\{a + nb : n \ge 0\} with gcd⁡(a,b)=1\gcd(a,b)=1. This space is Hausdorff and connected, yet countable. (Bing also constructed a countable connected Hausdorff space.)

The proof above breaks down because in a general Hausdorff space there need not be enough continuous real-valued functions. Indeed, in such a countable connected space every continuous X→RX \to \mathbb{R} is constant. The metric hands us the non-constant function d(x0,⋅)d(x_0,\cdot) for free, and that is the whole trick.

What makes this function useful is a regularity property. Countable connected spaces exist that are even T2T_2, but none that are Urysohn-regular enough, in particular none that are completely regular. The same argument works verbatim for any connected Tychonoff space with two or more points.


Corollaries worth savoring

  • Q\mathbb{Q} is not connected. More strongly, R\mathbb{R} minus any countable set is still path-connected in R2\mathbb{R}^2-type arguments, but Q\mathbb{Q} itself falls apart.
  • Any nontrivial connected metric space, such as a curve, a manifold, or a Peano continuum, automatically has continuum many points.

Source: Folklore; cf. Munkres, Topology (2nd ed.), Ch. 3 exercises on connectedness

Type: topologySource: Folklore; cf. Munkres, Topology (2nd ed.), Ch. 3 exercises on connectednessEdit on GitHub ↗