Lévy C Curve — Definition, Formula & Example
The Lévy C curve is a fractal you build by replacing a line segment with two shorter segments that meet at a right angle. You then repeat that on every new segment, always bending to the same side. After a few rounds the path curls into a shape like the letter C. In the limit it becomes an intricate, self-similar figure.
The Lévy C curve is the attractor of the iterated function system on given below. Each map is an orientation-preserving similarity with ratio . As a subset of the plane it has Hausdorff dimension 2 and positive area. Its boundary has a non-integer dimension of about 1.934. Ernesto Cesàro (1906) and Georg Faber (1910) described it first, and it is named for Paul Lévy, who studied its self-similarity in 1938.
Key Formula
Where:
- = A point in the complex plane. The starting segment runs from 0 to 1.
- = The imaginary unit, with i squared equal to −1.
- = Rotates 45° counterclockwise and shrinks by 1/√2. It sends the segment from 0 to 1 onto the left leg of the bend.
- = Rotates 45° clockwise, shrinks by 1/√2, and shifts. It sends the segment from 0 to 1 onto the right leg of the bend.
Worked Example
Problem: Draw a 4-inch segment from (0, 0) to (4, 0), with coordinates in inches. Apply the Lévy C rule twice, bending to the left of the direction of travel each time. List the vertices of the resulting path and find its total length. Then find the similarity dimension of the limiting curve.
Step 1: Replace the segment with the two legs of an isosceles right triangle whose hypotenuse is the original segment. The apex sits above the midpoint at a height of half the base. Each leg has length 4 divided by √2.
Step 2: Bend each leg to its left. The leg from (0, 0) to (2, 2) gains the apex (0, 2). The leg from (2, 2) to (4, 0) gains the apex (4, 2). The result is four segments, each of length 2, forming an upside-down C.
Step 3: Each stage uses N = 2 copies, each scaled by r = 1/√2. Substitute these values into the similarity dimension formula.
Answer: After two iterations the path visits (0, 0), (0, 2), (2, 2), (4, 2), and (4, 0). It is made of 4 segments, each 2 inches long, for a total of 8 inches. The limiting curve has similarity dimension 2.
Why It Matters
The Lévy C curve is a standard first example of an iterated function system in a college course on fractal geometry or dynamical systems. It shows that a curve can have dimension 2. Its folding rule is also a common recursion exercise in computer graphics programming, using L-systems or turtle graphics.
Common Mistakes
Mistake: Drawing a dragon curve when asked for a Lévy C curve, or treating the two as the same shape.
Correction: Both curves replace each segment with a right-angled bend of two legs, each scaled by 1/√2. The Lévy C curve bends every segment to the same side relative to its direction of travel. The dragon curve alternates sides along the path. That one change gives two very different limiting shapes.
