Peano Curve

A continuous map [0,1]→[0,1]2[0,1] \to [0,1]^2 can fill the whole square — recursively repeating the 9-subsquare snake yields uniformly convergent approximations with a surjective continuous limit. Injectivity is impossible (Netto's theorem, proved in full).

γn→γ uniformly,γ:[0,1]→[0,1]2 continuous and onto\gamma_n \to \gamma \text{ uniformly},\quad \gamma : [0,1] \to [0,1]^2 \text{ continuous and onto}
No continuous bijection [0,1]→[0,1]2 exists\text{No continuous bijection } [0,1] \to [0,1]^2 \text{ exists}

Examples & Exercises

Show that the order-kk approximants pk:[0,1]→[0,1]2p_k: [0,1] \to [0,1]^2 (the recursive subdivision of the snake polyline through the 9 subsquares) are uniformly Cauchy, and prove completely that the uniform limit pp is continuous.

∥pk+1−pk∥∞≤23k→0\|p_{k+1} - p_k\|_\infty \le \frac{\sqrt{2}}{3^k} \to 0
Order k=1k = 1: 9 segments snake through the 9 subsquare centers — this pattern repeats recursively inside each subsquare.
Show proof
  1. Each pkp_k is a polyline, hence continuous. The parametrization is: pkp_k traverses each interval [(j−1)/9k, j/9k][(j-1)/9^k,\, j/9^k] inside the jj-th level-kk subsquare Qj(k)Q_j^{(k)} (side 3−k3^{-k}), in snake order.
  2. pk+1p_{k+1} refines pkp_k: on [(j−1)/9k, j/9k][(j-1)/9^k,\, j/9^k] it traverses the 9 level-(k+1)(k+1) subsquares inside the same Qj(k)Q_j^{(k)} (the recursion applies the same pattern within each QjQ_j). Hence for every tt, pk(t)p_k(t) and pk+1(t)p_{k+1}(t) both lie in Qj(k)Q_j^{(k)}, so ∣pk+1(t)−pk(t)∣≤diam Qj(k)=2 3−k|p_{k+1}(t) - p_k(t)| \le \mathrm{diam}\, Q_j^{(k)} = \sqrt{2}\, 3^{-k}. Thus (pk)(p_k) is uniformly Cauchy and converges uniformly — call the limit pp.
  3. A uniform limit of continuous functions is continuous: from ∣p(s)−p(t)∣≤∣p(s)−pk(s)∣+∣pk(s)−pk(t)∣+∣pk(t)−p(t)∣|p(s) - p(t)| \le |p(s) - p_k(s)| + |p_k(s) - p_k(t)| + |p_k(t) - p(t)|, make the first and third terms small by uniform convergence, then the middle term small by continuity of the fixed pkp_k (the ε/3\varepsilon/3 argument). Hence p:[0,1]→[0,1]2p: [0,1] \to [0,1]^2 is a continuous limit curve.

Prove completely that the limit curve p:[0,1]→[0,1]2p: [0,1] \to [0,1]^2 from the problem above is surjective.

p([0,1])=[0,1]2p([0,1]) = [0,1]^2
Order k=2k = 2: 81 segments visit every cell of the 9×99 \times 9 grid — the square fills up as the order grows.
Show proof
  1. Take any y∈[0,1]2y \in [0,1]^2. At each level kk, yy lies in some level-kk subsquare Q(k)Q^{(k)} (side 3−k3^{-k}). Since pkp_k visits every level-kk subsquare, there is tkt_k with pk(tk)∈Q(k)p_k(t_k) \in Q^{(k)}.
  2. Since (tk)(t_k) lies in [0,1][0,1], compactness gives a convergent subsequence tkj→tt_{k_j} \to t. By continuity, p(tkj)→p(t)p(t_{k_j}) \to p(t). But ∣p(tkj)−y∣≤∣p(tkj)−pkj(tkj)∣+∣pkj(tkj)−y∣|p(t_{k_j}) - y| \le |p(t_{k_j}) - p_{k_j}(t_{k_j})| + |p_{k_j}(t_{k_j}) - y|: the first term tends to 0 by uniform convergence, and the second because both points lie in the same Q(kj)Q^{(k_j)} — each is at most 2 3−kj→0\sqrt{2}\, 3^{-k_j} \to 0. Hence p(t)=yp(t) = y.
  3. Since yy was arbitrary, pp passes through every point of [0,1]2[0,1]^2 — a continuous surjection p:[0,1]→[0,1]2p: [0,1] \to [0,1]^2. That a 1-dimensional interval can "fill" a 2-dimensional square was Peano's 1890 discovery.

Prove completely that no continuous bijection [0,1]→[0,1]2[0,1] \to [0,1]^2 exists (Netto's theorem). Hence the Peano curve above cannot be injective.

no continuous bijection [0,1]→[0,1]2\text{no continuous bijection } [0,1] \to [0,1]^2
Order k=3k = 3: 729 segments — the curve crosses itself countless times, visibly ruling out injectivity.
Show proof
  1. Two lemmas first. (A) The continuous image of a compact set is compact: if KK is compact and ff continuous, an open cover {Ui}\{U_i\} of f(K)f(K) pulls back to an open cover {f−1(Ui)}\{f^{-1}(U_i)\} of KK, which has a finite subcover whose images cover f(K)f(K). (B) A compact subset of a Hausdorff space is closed: if K⊆YK \subseteq Y is compact and y∉Ky \notin K, each x∈Kx \in K has disjoint neighborhoods Ux∋xU_x \ni x, Vx∋yV_x \ni y (Hausdorff); finitely many UxiU_{x_i} cover KK, so ⋂Vxi\bigcap V_{x_i} is a neighborhood of yy missing KK.
  2. Netto's theorem: a continuous bijection from a compact space to a Hausdorff space is a homeomorphism. Indeed, if F⊆KF \subseteq K is closed then FF is compact, so f(F)f(F) is compact by (A) and closed in YY by (B) — i.e. ff is a closed map. A closed bijection is a homeomorphism ((f−1)−1(F)=f(F)(f^{-1})^{-1}(F) = f(F) is closed, so f−1f^{-1} is continuous).
  3. If f:[0,1]→[0,1]2f: [0,1] \to [0,1]^2 were a continuous bijection, it would be a homeomorphism. Removing an interior point c∈(0,1)c \in (0,1) disconnects the interval: [0,1]∖{c}=[0,c)∪(c,1][0,1] \setminus \{c\} = [0,c) \cup (c,1] is a separation into disjoint nonempty opens. But [0,1]2[0,1]^2 minus a point is path-connected (route around the missing point), hence connected. A homeomorphism restricts to a homeomorphism of the punctured spaces — contradiction. So no continuous bijection exists, and the Peano surjection cannot be injective.

4. Topology