# All Science Fair Projects

## Science Fair Project Encyclopedia for Schools!

 Search    Browse    Forum  Coach    Links    Editor    Help    Tell-a-Friend    Encyclopedia    Dictionary

# Science Fair Project Encyclopedia

For information on any area of science that interests you,
enter a keyword (eg. scientific method, molecule, cloud, carbohydrate etc.).
Or else, you can start by choosing any of the categories below.

# Space-filling curve

(Redirected from Peano curve)

Intuitively, a "continuous curve" in the 2-dimensional plane or in the 3-dimensional space 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 "continuous curve":

A curve (with endpoints) is a continuous function whose domain is the unit interval [0,1]. In the most general form, the range of such a function may lie in an arbitrary topological space, but in the most common cases, the range will lie in a Euclidean space such as the 2-dimensional plane (a "plane curve") or the 3-dimensional space ("space curve").

Sometimes, the curve is identified with the range or 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)).

Space-filling curves are curves whose ranges contain the entire 2-dimensional unit square (or the 3-dimensional unit cube). In 1890, Peano discovered a densely self-intersecting curve which passed through every point of the unit square. This was the first example of a space-filling curve.

It was common to associate the vague notions of "thinness" and "1-dimensionality" to curves; all normally encountered curves were piecewise smooth (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 counter-intuitive.

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).

### Outline of the construction of a space-filling curve

Let $\mathcal{C}$ denote the Cantor space $\mathbf{2}^\mathbb{N}$.

We start with a continuous function h from the Cantor space $\mathcal{C}$ onto the entire unit interval [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 from the topological product $\mathcal{C} \times \mathcal{C}$ onto the entire unit square $[0,1] \times [0,1]$ by setting

H(x,y) = (h(x),h(y))

Since the Cantor set is homeomorphic to the product $\mathcal{C} \times \mathcal{C}$, there is a continuous bijection g from the Cantor set onto $\mathcal{C} \times \mathcal{C}$. The composition f of H and g is a continuous function mapping the Cantor set onto the entire unit square. (Alternatively, we could use the theorem that every compact metric space is a continuous image of the Cantor set to get the function f.)

Finally, one can extend f to a continuous function F whose domain is the entire unit interval [0,1]. This can be done either by using the Tietze extension theorem on each of the components of f, or by simply extending f "linearly" (that is, on each of the deleted open interval (a,b) in the construction of the Cantor set, we define the extension part of F on (a,b) to be the line segment within the unit square joining the values f(a) and f(b)).

### The Hahn-Mazurkiewicz theorem

The Hahn-Mazurkiewicz theorem is the following characterization of general continuous curves:

A Hausdorff topological space is a continuous image of the unit interval if and only if it is a compact, connected, locally connected second-countable space.

Note: In many formulations of the Hahn-Mazurkiewicz theorem, "second-countable" is replaced by "metrizable". These two formulations are equivalent. In one direction a compact Hausdorff space is a normal space and, by the Urysohn metrization theorem, second-countable then implies metrizable. Conversely a compact metric space is second-countable.