# De Rham curve

In mathematics, a de Rham curve is a certain type of fractal curve named in honor of Georges de Rham.

The Cantor function, Cesàro curve, Minkowski's question mark function, the Lévy C curve, the blancmange curve and the Koch curve are all special cases of the general de Rham curve.

## Construction

Consider some metric space $(M,d)$ (generally $\mathbb{R}$2 with the usual euclidean distance), and a pair of contracting maps on M:

$d_0:\ M \to M$
$d_1:\ M \to M.$

By the Banach fixed point theorem, these have fixed points $p_0$ and $p_1$ respectively. Let x be a real number in the interval $[0,1]$, having binary expansion

$x = \sum_{k=1}^\infty \frac{b_k}{2^k},$

where each $b_k$ is 0 or 1. Consider the map

$c_x:\ M \to M$

defined by

$c_x = d_{b_1} \circ d_{b_2} \circ \cdots \circ d_{b_k} \circ \cdots,$

where $\circ$ denotes function composition. It can be shown that each $c_x$ will map the common basin of attraction of $d_0$ and $d_1$ to a single point $p_x$ in $M$. The collection of points $p_x$, parameterized by a single real parameter x, is known as the de Rham curve.

## Continuity Condition

When the fixed points are paired such that

$d_0(p_1) = d_1(p_0)$

then it may be shown that the resulting curve $p_x$ is a continuous function of x. When the curve is continuous, it is not in general differentiable.

In the remaining of this page, we will assume the curves are continuous.

## Properties

De Rham curves are by construction self-similar, since

$p(x)=d_0(p(2x))$ for $x \in [0, 0.5]$ and
$p(x)=d_1(p(2x-1))$ for $x \in [0.5, 1].$

The self-symmetries of all of the de Rham curves are given by the monoid that describes the symmetries of the infinite binary tree or Cantor set. This so-called period-doubling monoid is a subset of the modular group.

The image of the curve, i.e. the set of points $\{p(x), x \in [0,1]\}$, can be obtained by an Iterated function system using the set of contraction mappings $\{d_0,\ d_1\}$. But the result of an iterated function system with two contraction mappings is a de Rham curve if and only if the contraction mappings satisfy the continuity condition.

## Classification and examples

### Cesàro curves

Cesàro curve for a = 0.3 + i 0.3
Cesàro curve for a = 0.5 + i 0.5

Cesàro curves (or Cesàro-Faber curves) are De Rham curves generated by affine transformations conserving orientation, with fixed points $p_0=0$ and $p_1=1$.

Because of these constraints, Cesàro curves are uniquely determined by a complex number $a$ such that $|a|<1$ and $|1-a|<1$.

The contraction mappings $d_0$ and $d_1$ are then defined as complex functions in the complex plane by:

$d_0(z) = az$
$d_1(z) = a + (1-a)z.$

For the value of $a=(1+i)/2$, the resulting curve is the Lévy C curve.

### Koch–Peano curves

Koch–Peano curve for a = 0.6 + i 0.37
Koch–Peano curve for a = 0.6 + i 0.45

In a similar way, we can define the Koch–Peano family of curves as the set of De Rham curves generated by affine transformations reversing orientation, with fixed points $p_0=0$ and $p_1=1$.

These mappings are expressed in the complex plane as a function of $\overline{z}$, the complex conjugate of $z$:

$d_0(z) = a\overline{z}$
$d_1(z) = a + (1-a)\overline{z}.$

The name of the family comes from its two most famous members. The Koch curve is obtained by setting:

$a_\text{Koch}=\frac{1}{2} + i\frac{\sqrt{3}}{6},$

while the Peano curve corresponds to:

$a_\text{Peano}=\frac{(1+i)}{2}.$

### General affine maps

Generic affine de Rham curve
Generic affine de Rham curve
Generic affine de Rham curve
Generic affine de Rham curve

The Cesàro-Faber and Peano-Koch curves are both special cases of the general case of a pair of affine linear transformations on the complex plane. By fixing one endpoint of the curve at 0 and the other at one, the general case is obtained by iterating on the two transforms

$d_0=\begin{pmatrix} 1 & 0 & 0 \\ 0 & \alpha &\delta \\ 0 & \beta & \epsilon \end{pmatrix}$

and

$d_1=\begin{pmatrix} 1&0&0 \\ \alpha & 1-\alpha&\zeta \\ \beta&-\beta&\eta \end{pmatrix}.$

Being affine transforms, these transforms act on a point $(u,v)$ of the 2-D plane by acting on the vector

$\begin{pmatrix} 1 \\ u \\ v \end{pmatrix}.$

The midpoint of the curve can be seen to be located at $(u,v)=(\alpha,\beta)$; the other four parameters may be varied to create a large variety of curves.

The blancmange curve of parameter $w$ can be obtained by setting $\alpha=\beta=\epsilon=1/2$, $\delta=\zeta=0$ and $\eta=w$. That is:

$d_0=\begin{pmatrix} 1&0&0 \\ 0 & 1/2&0 \\ 0&1/2&w \end{pmatrix}$

and

$d_1=\begin{pmatrix} 1&0&0 \\ 1/2 & 1/2&0 \\ 1/2&-1/2&w \end{pmatrix}.$

Since the blancmange curve of parameter $w=1/4$ is the parabola of equation $f(x)=4x(1-x)$, this illustrate the fact that in some occasion, de Rham curves can be smooth.

### Minkowski's question mark function

Minkowski's question mark function is generated by the pair of maps

$d_0(z) = \frac{z}{z+1}$

and

$d_1(z)= \frac{1}{z+1}.$

## Generalizations

It is easy to generalize the definition by using more than two contraction mappings. If one uses n mappings, then the n-ary decomposition of x has to be used instead of the binary expansion of real numbers. The continuity condition has to be generalized in:

$d_i(p_{(n-1)})=d_{(i+1)}(p_0)$, for $i=0 \ldots n-2.$

Such a generalization allows, for example, to produce the Sierpiński arrowhead curve (whose image is the Sierpiński triangle), by using the contraction mappings of an iterated function system that produces the Sierpiński triangle.