A continuous map [0,1]→[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
No continuous bijection [0,1]→[0,1]2 exists
Examples & Exercises
Show that the order-k approximants pk:[0,1]→[0,1]2 (the recursive subdivision of the snake polyline through the 9 subsquares) are uniformly Cauchy, and prove completely that the uniform limit p is continuous.
∥pk+1−pk∥∞≤3k2→0
Order k=1: 9 segments snake through the 9 subsquare centers — this pattern repeats recursively inside each subsquare.Show proof
Each pk is a polyline, hence continuous. The parametrization is: pk traverses each interval [(j−1)/9k,j/9k] inside the j-th level-k subsquare Qj(k) (side 3−k), in snake order.
pk+1 refines pk: on [(j−1)/9k,j/9k] it traverses the 9 level-(k+1) subsquares inside the same Qj(k) (the recursion applies the same pattern within each Qj). Hence for every t, pk(t) and pk+1(t) both lie in Qj(k), so ∣pk+1(t)−pk(t)∣≤diamQj(k)=23−k. Thus (pk) is uniformly Cauchy and converges uniformly — call the limit p.
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)∣, make the first and third terms small by uniform convergence, then the middle term small by continuity of the fixed pk (the ε/3 argument). Hence p:[0,1]→[0,1]2 is a continuous limit curve.
Prove completely that the limit curve p:[0,1]→[0,1]2 from the problem above is surjective.
p([0,1])=[0,1]2
Order k=2: 81 segments visit every cell of the 9×9 grid — the square fills up as the order grows.Show proof
Take any y∈[0,1]2. At each level k, y lies in some level-k subsquare Q(k) (side 3−k). Since pk visits every level-k subsquare, there is tk with pk(tk)∈Q(k).
Since (tk) lies in [0,1], compactness gives a convergent subsequence tkj→t. By continuity, p(tkj)→p(t). But ∣p(tkj)−y∣≤∣p(tkj)−pkj(tkj)∣+∣pkj(tkj)−y∣: the first term tends to 0 by uniform convergence, and the second because both points lie in the same Q(kj) — each is at most 23−kj→0. Hence p(t)=y.
Since y was arbitrary, p passes through every point of [0,1]2 — a continuous surjection p:[0,1]→[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 exists (Netto's theorem). Hence the Peano curve above cannot be injective.
no continuous bijection [0,1]→[0,1]2
Order k=3: 729 segments — the curve crosses itself countless times, visibly ruling out injectivity.Show proof
Two lemmas first. (A) The continuous image of a compact set is compact: if K is compact and f continuous, an open cover {Ui} of f(K) pulls back to an open cover {f−1(Ui)} of K, which has a finite subcover whose images cover f(K). (B) A compact subset of a Hausdorff space is closed: if K⊆Y is compact and y∈/K, each x∈K has disjoint neighborhoods Ux∋x, Vx∋y (Hausdorff); finitely many Uxi cover K, so ⋂Vxi is a neighborhood of y missing K.
Netto's theorem: a continuous bijection from a compact space to a Hausdorff space is a homeomorphism. Indeed, if F⊆K is closed then F is compact, so f(F) is compact by (A) and closed in Y by (B) — i.e. f is a closed map. A closed bijection is a homeomorphism ((f−1)−1(F)=f(F) is closed, so f−1 is continuous).
If f:[0,1]→[0,1]2 were a continuous bijection, it would be a homeomorphism. Removing an interior point c∈(0,1) disconnects the interval: [0,1]∖{c}=[0,c)∪(c,1] is a separation into disjoint nonempty opens. But [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.