Math 2.0

General topology Continua and dimension theory Example

Space-filling curve

Builds on Continuous functionSurjective functionCantor set

Example

A space-filling curve is a continuous surjection from [0,1][0, 1] onto the square [0,1]2[0, 1]^2. Here is one, due to Lebesgue. Each point xx of the Cantor set CC has a unique expansion x=∑n≥12an3−nx = \sum_{n \ge 1} 2 a_n 3^{-n} with digits an∈{0,1}a_n \in \set{0, 1}. Set f(x)=(∑n≥1a2n−12−n, ∑n≥1a2n2−n).f(x) = \left( \sum_{n \ge 1} a_{2n-1} 2^{-n}, \ \sum_{n \ge 1} a_{2n} 2^{-n} \right). On each open interval removed in the construction of CC, extend ff linearly between its values at the two ends.

The check has three steps. The map ff is onto. Take binary expansions of both coordinates of a point of [0,1]2[0, 1]^2; interleaving their digits gives a point of CC that ff sends to it. The map ff is continuous on CC. Two points of CC less than 3−2m3^{-2m} apart share their first 2m2m digits, so their images differ by at most 2−m2^{-m} in each coordinate. The two ends of a removed interval of length 3−k3^{-k} share their first k−1k - 1 digits. So short removed intervals carry small linear pieces, and the extended map is continuous.

Remarks

No space-filling curve is injective. A continuous bijection [0,1]→[0,1]2[0, 1] \to [0, 1]^2 would be a homeomorphism, since [0,1][0, 1] is compact and the square is Hausdorff. That is impossible: removing an inner point disconnects [0,1][0, 1], but removing a point does not disconnect the square. The first space-filling curve was found by Peano, and Hilbert gave another one.

Reading path

To understand this page from the ground up, read these 4 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Cantor set example
  2. Continuous function concept
  3. Surjective function concept
  4. Space-filling curve example

Further reading

  1. Web https://en.wikipedia.org/wiki/Space-filling_curve
About this page
TagQPRHC4DZ20
URIm2://QPRHC4DZ20
Kindexample
WritingW0 stub
MSC54C05, 54F15
IllustratesHahn–Mazurkiewicz theorem
UsesContinuous function, Surjective function, Cantor set
Same as
Changed2 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.