Fold a strip of paper in half, fold the folded strip in half the same way, and keep going. When you open it out and set every crease at a right angle, the edge of the strip traces a path of short segments, and after a few folds the path curls into a shape called the dragon curve. Which way does each corner turn, and can the turns be predicted without folding any paper? This page writes the turns as a sequence of letters, explains the rule that builds each stage from the one before, and shows how the paths settle down to a limiting curve.
Key terms
Heighway dragon
Definition The Heighway dragon comes from a folding rule. Lay a long strip of paper flat and fold it in half by lifting its right end over onto its left end. Fold the folded strip in half in exactly the same way, and repeat until it has been folded times, where . Then unfold it, open every crease to a right angle and stand the strip on its long edge. Seen from above, the strip is a path of equal segments joined by right-angle turns. As seen from the side of the strip that faced up at the start, each crease is a valley or a mountain, and the strip bends toward that side at every valley and away from it at every mountain. Travel along the path from the left end, which never moved, with the side that faced up at the start turned toward the right of the direction of travel. Then every valley is a right turn, written R, and every mountain is a left turn, written L. Standing the strip with that side turned to the left instead exchanges every R and L and draws the mirror image of the path, which is just as correct, and reading from the other end draws the same path traveled backward. The surprise is that the turns follow a short rule, so no folding is needed. Write for the list of turns after folds. The first list is the single letter R, and for every
where means read backward with every R changed to L and every L changed to R. As grows, the paths, shrunk to a common size, approach a limiting curve, which is also called the Heighway dragon or simply the dragon curve. It is named after John Heighway, one of the physicists who studied it in the 1960s.
In plain words Each fold doubles the number of segments, and the new list of turns can be written down from the old list alone. Copy the old list, put one R after it, and then add the old list again, backward and with left and right swapped.
Example Start from . Read backward, the single letter R is still R, and swapped it becomes L, so is RRL. Read backward, RRL is LRR, and swapped it is RLL, so
These are the 7 creases of a strip folded three times, valley, valley, mountain, valley, valley, mountain and mountain from the left end. Draw the path with segments of length 1, starting at the point along the positive direction, where R is a quarter turn clockwise. Its corners, in order, are , , , , , , , and . The counts double with every fold, and there is always one turn fewer than segments.
| Folds | 1 | 2 | 3 | 4 |
|---|---|---|---|---|
| Segments | 2 | 4 | 8 | 16 |
| Turns | 1 | 3 | 7 | 15 |
A real strip gets twice as thick with every fold and soon cannot be folded again, so the larger stages are always drawn from the rule.
Turn sequence
Definition A turn sequence describes a path made of segments of equal length in which every corner is a right angle. It lists the corners in the order the path meets them, writing R when the direction of travel turns a quarter turn clockwise and L when it turns a quarter turn counterclockwise. A path of segments has turns. Once the first segment is drawn, the turn sequence fixes the rest of the path, so two paths with the same turn sequence differ only by a shift, a rotation and a change of segment length. Traveling a path from its other end lists its turns in reverse order with R and L exchanged, because a corner that turns clockwise on the way out turns counterclockwise on the way back. Reflecting a path in a mirror exchanges R and L without changing the order.
In plain words A turn sequence is the list of instructions a walker on a grid follows, turn right or turn left at each corner. Walking the same route back means reading the list from the end and swapping every left and right.
Example The path RRL from ends at . Walked back from , it heads up to , turns right to , turns left to and turns left to , so its turn sequence is RLL, which is RRL read backward with the letters swapped. This is exactly why the folding rule works. After the first fold, the two halves of the strip lie on top of each other and receive every later fold together. So when all the other creases are opened, the second half lies along the first half, doubled back at the middle crease. That crease was made by the first fold, so it is a valley and gives the R in the middle. Opening it swings the second half a quarter turn about the middle point. Read from the middle outward, the second half retraces the first half from its end back to its start, so its turns are those of read backward with R and L exchanged.
Paperfolding sequence
Definition Each list begins with , so all the lists are beginnings of one infinite sequence of letters R and L, called the regular paperfolding sequence. For every its first terms are . Its terms can also be found directly. Write a position as , with a whole number and odd. Then the term is R when leaves remainder 1 on division by 4, and L when leaves remainder 3. Equivalently, the terms in the odd positions 1, 3, 5, and so on alternate R, L, R, L, and the terms in the even positions repeat the whole sequence, for every . On a strip folded times, the creases in even positions are made by the first folds, which is why they repeat the creases of a strip folded times. The creases in odd positions are made by the last fold. They alternate because every earlier crease turns the strip over, so neighboring sections face opposite ways in the folded stack, while the last fold bends all of them in the same direction.
In plain words The paperfolding sequence is the pattern of R and L on the strip, continued forever. Every other letter alternates, and the letters in between spell out the whole sequence again from its start.
Example The first 15 terms are RRLRRLLRRRLLRLL, which is . Its odd positions read RLRLRLRL, and its even positions read RRLRRLL, which is . For position 12, write . The odd part 3 leaves remainder 3 on division by 4, so is L, and the twelfth letter of is indeed L. The even position rule agrees, because and the third letter is L.
Dragon curve
Definition Draw stage of the folding path with segments of length 1, starting at along the positive direction. Unfolding the middle crease turns the second half of stage a quarter turn counterclockwise about the end of the first half. So if stage ends at the point , stage ends where that quarter turn sends the starting point,
which is times as far from the start. Stage therefore ends at distance from its start. Now shrink and turn each stage so that it runs from to . Its segments then have length , and stage comes from stage by replacing every segment by the two shorter sides of a right isosceles triangle built on that segment, with the right-angle corners placed alternately to the left and to the right of the path, starting on the left. If two consecutive stages are traced at constant speed over the same time, the two tracing points are never farther apart than half a segment of the earlier stage. These distances shrink by the factor from stage to stage and add up to a finite total, so the paths approach a single limiting curve. This limit is the dragon curve, or Heighway dragon. It is made of two copies of itself, each shrunk by the factor . The first copy runs from to and the second from to . The name dragon curve is sometimes used for a whole family of related curves, but the Heighway dragon is not the Lévy C curve. That curve uses the same triangles with every new corner on the same side of the path, and already at its second stage it goes straight on at its middle point instead of turning, so its turns cannot be written with R and L alone.
In plain words Scaled to a fixed size, each stage replaces every straight piece by a small bent corner, bending alternately left and right. The corners get smaller every time, and the paths settle into one curve with endless detail.
Example Stage 4 with segments of length 1 has the turns RRLRRLLRRRLLRLL. Stage 3 ends at , so stage 4 ends at , at distance from its start. Stage 4 is the first stage that comes back to a point it has visited, the corner . It passes there once heading west and turning south, and later heading east and turning north, so the path touches itself at that corner without crossing. No stage ever uses the same segment twice. Every stage is still a finite path of straight segments, so it covers no area, however crowded a thick drawing of it looks. Whether the limiting curve takes up area is a question about dimension, which is where the lesson Fractal Dimension, Between a Line and an Area begins.
Check yourself
- Build from . Check that it has the right number of turns, that its odd positions alternate and its even positions spell , and find where stage 4 ends when it is drawn with segments of length 1 from along the positive direction.
Show the answer
The list is RRLRRLL. Read backward it is LLRRLRR, and with R and L swapped it is RRLLRLL. So
which is RRLRRLLRRRLLRLL. It has turns, 8 of them R and 7 of them L, for the 16 segments of a strip folded four times. The letters in positions 1, 3, 5, up to 15 read RLRLRLRL, and the letters in positions 2, 4, up to 14 read RRLRRLL, which is . Stage 3 ends at , so stage 4 ends at
Tracing the turns from gives the same end point, at distance 4 from the start.
- Change a rule. Suppose each new stage copied the old turns unchanged, so that the next list is the old list, then R, then the old list again. What do the stages look like, and what goes wrong?
Show the answer
Starting from R, the lists are RRR, then RRRRRRR, and every later list contains only the letter R. Drawn with segments of length 1 from , the second stage visits , and and comes back to , so it closes up into a unit square. The third stage goes around the same square twice and uses each of its four segments twice, and every later stage just keeps circling. The path never grows. A folded strip cannot do this, because its second half retraces the first half backward, and walking a path backward reverses the order of its turns and swaps left and right. Reversing alone would not help here, since a list of only R reads the same backward. Swapping alone gives RRLRLLR at stage 3, a different path that no strip folded in half again and again produces. Both changes are needed to describe the strip.
- Extend the pattern. Which letter is the 100th term of the paperfolding sequence, and which is the first stage with at least 100 turns? Where does that stage end when it is drawn with segments of length 1 from along the positive direction?
Show the answer
Write . The odd part 25 leaves remainder 1 on division by 4, so the 100th term is R. The even position rule agrees, since , and position 25 is the 13th odd position, where the alternation R, L, R, L gives R. Stage has turns, and is too few while is enough, so stage 7 is the first with a 100th turn. Every later stage begins with stage 7, so the 100th turn stays R from then on. For the end point, apply the rule that sends to , starting from the end of stage 4. Stage 5 ends at , stage 6 at and stage 7 at , at distance
from the start.