ArticleslgStudy

mathematics

Space-filling curve

Space-filling curve is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Space-filling curve rather than just read about it. In short: In mathematical analysis, a space-filling curve is a curve whose range reaches every point in a higher dimensional region, typically the unit square (or more generally an n-dimensional unit hypercube). Because Giuseppe Peano (1858–1932) was the first to discover one, space-filling curves in the 2-dimensional plane are sometimes called Peano curves, but that phrase also refers to the Peano curve, the specific example…

Space-filling curve — main illustration
Space-filling curve — illustration

Key takeaways

  • Space-filling curve belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Space-filling curve to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Space-filling curve from memory before moving on to harder problems.

Reference excerpt

In mathematical analysis, a space-filling curve is a curve whose range reaches every point in a higher dimensional region, typically the unit square (or more generally an n-dimensional unit hypercube). Because Giuseppe Peano (1858–1932) was the first to discover one, space-filling curves in the 2-dimensional plane are sometimes called Peano curves, but that phrase also refers to the Peano curve, the specific example of a space-filling curve found by Peano. The closely related FASS curves (FASS is an acronym for "approximately space-Filling, self-Avoiding, Simple, and Self-similar" curves) can be thought of as finite approximations of a certain type of space-filling curves.

Definition Intuitively, a curve in two or three (or higher) dimensions can be thought of as the path of a continuously moving point. To eliminate the inherent vagueness of this notion, Jordan in 1887 introduced the following rigorous definition, which has since been adopted as the precise description of the notion of a curve:

In the most general form, the range of such a function may lie in an arbitrary topological space, but in the most commonly studied cases, the range will lie in a Euclidean space such as the 2-dimensional plane (a planar curve) or the 3-dimensional space (space curve). Sometimes, the curve is identified with the image of the function (the set of all possible values of the function), instead of the function itself. It is also possible to define curves without endpoints to be a continuous function on the real line (or on the open unit interval (0, 1)).

History In 1890, Giuseppe Peano discovered a continuous curve, now called the Peano curve, that passes through every point of the unit square. His purpose was to construct a continuous mapping from the unit interval onto the unit square. Peano was motivated by Georg Cantor's earlier counterintuitive result that the infinite number of points in a unit interval is the same cardinality as the infinite number of points in any finite-dimensional manifold, such as the unit square. The problem Peano solved was whether such a mapping could be continuous; i.e., a curve that fills a space. Peano's solution does not set up a continuous one-to-one correspondence between the unit interval and the unit square, and indeed such a correspondence does not exist (see § Properties below). It was common to associate the vague notions of thinness and 1-dimensionality to curves; all normally encountered curves were piecewise differentiable (that is, have piecewise continuous derivatives), and such curves cannot fill up the entire unit square. Therefore, Peano's space-filling curve was found to be highly counterintuitive. From Peano's example, it was easy to deduce continuous curves whose ranges contained the n-dimensional hypercube (for any positive integer n). It was also easy to extend Peano's example to continuous curves without endpoints, which filled the entire n-dimensional Euclidean space (where n is 2, 3, or any other positive integer). Most well-known space-filling curves are constructed iteratively as the limit of a sequence of piecewise linear continuous curves, each one more closely approximating the space-filling limit. Peano's ground-breaking article contained no illustrations of his construction, which is defined in terms of ternary expansions and a mirroring operator. But the graphical construction was perfectly clear to him—he made an ornamental tiling showing a picture of the curve in his home in Turin. Peano's article also ends by observing that the technique can be obviously extended to other odd bases besides base 3. His choice to avoid any appeal to graphical visualization was motivated by a desire for a completely rigorous proof owing nothing to pictures. At that time (the beginning of the foundation of general topology), graphical arguments were still included in proofs, yet were becoming a hindrance to understanding often counterintuitive results. A year later, David Hilbert published in the same journal a variation of Peano's construction. Hilbert's article was the first to include a picture helping to visualize the construction technique, essentially the same as illustrated here. The analytic form of the Hilbert curve, however, is more complicated than Peano's.

Outline of the construction of a space-filling curve Let C {\displaystyle {\mathcal {C}}} denote the Cantor space 2 N {\displaystyle \mathbf {2} ^{\mathbb {N} }} . We start with a continuous function h {\displaystyle h} from the Cantor space C {\displaystyle {\mathcal {C}}} onto the entire unit interval [ 0 , 1 ] {\displaystyle [0,\,1]} . (The restriction of the Cantor function to the Cantor set is an example of such a function.) From it, we get a continuous function H {\displaystyle H} from the topological product C × C {\displaystyle {\mathcal {C}}\;\times \;{\mathcal {C}}} onto the entire unit square [ 0 , 1 ] × [ 0 , 1 ] {\displaystyle [0,\,1]\;\times \;[0,\,1]} by setting

H ( x , y ) = ( h ( x ) , h ( y ) ) . {\displaystyle H(x,y)=(h(x),h(y)).\,}

… excerpt ends here. Continue reading the full article.

Illustrations

Space-filling curve: Six iterations of the Hilbert curve construction, whose limiting space-filling curve was devised by mathematician David Hilbert.
Six iterations of the Hilbert curve construction, whose limiting space-filling curve was devised by mathematician David Hilbert.
Space-filling curve: Morton and Hilbert curves of level 6 (45=1024 cells in the recursive square partition) plotting each address as different color in the RGB standard, and using Geohash labels. The neighborhoods have similar colors, but each curve offers different pattern of grouping similars in smaller scales.
Morton and Hilbert curves of level 6 (45=1024 cells in the recursive square partition) plotting each address as different color in the RGB standard, and using Geohash labels. The neighborhoods have similar colors, but each curve offers different pattern of grouping similars in smaller scales.

Worked examples

Example 1 — a first encounter with Space-filling curve

Start with the simplest possible case. Write down what Space-filling curve claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Space-filling curve before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Space-filling curve ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Space-filling curve

In research
Space-filling curve appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Space-filling curve in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Space-filling curve is common in secondary-school and first-year university syllabi. It links to neighbouring topics Fractal curves, Iterated function system fractals, Theory of continuous functions, so understanding it makes those chapters shorter.
In everyday life
Look for Space-filling curve outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Space-filling curve” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Space-filling curve in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Space-filling curve means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Space-filling curve out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Space-filling curve in simple terms?

In mathematical analysis, a space-filling curve is a curve whose range reaches every point in a higher dimensional region, typically the unit square (or more generally an n-dimensional unit hypercube). Because Giuseppe Peano (1858–1932) was the first to discover one, space-filling curves in the 2-d…

Why does Space-filling curve matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Space-filling curve?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Space-filling curve.

Tags

  • Fractal curves
  • Iterated function system fractals
  • Theory of continuous functions

Keep exploring