next up previous contents
Next: Paperfolding and the Dragon Up: L-systems Previous: Types of L-systems

Thue-Morse L-system

 

As our next example of an L-system, we introduce the Thue-Morse system:

align342

The sequence of generations starts as follows:

 

tex2html_wrap_inline5130 a
tex2html_wrap_inline5138 ab
tex2html_wrap_inline5142 abba
tex2html_wrap_inline5146 abbabaab
tex2html_wrap_inline5150 abbabaabbaababba
Table 4: Thue-Morse Generations

The number of organisms clearly doubles each generation, so that tex2html_wrap_inline5320 . The first question we might ask is what is the global process that emerges, if any.

To answer this question, we first observe that generation tex2html_wrap_inline5122 does appear at the beginning of tex2html_wrap_inline5324 . If we look at what follows, we eventually conclude that it resembles tex2html_wrap_inline5122 , except that each a has been replaced by a b and each b has been replaced by an a. For any word w in tex2html_wrap_inline5076 , we define R(w) to be the mirror image word where we replace a by b and b by a. Then the global process is

displaymath5350

As a challenge, we ask the reader to supply a proof. (It's very similar to what one writes down for the Fibonacci process; there is one extra key point.)

Since tex2html_wrap_inline5122 is the beginning of tex2html_wrap_inline5324 , this L-system produces in the limit an infinite sequence tex2html_wrap_inline5358 of a's and b's that begins:

displaymath5364

This sequence has many interesting properties and is known as the Thue-Morse sequence. Axel Thue came up with it in 1912 [Thu12] in his study of formal languages (not the term he used then). Marston Morse rediscovered the same sequence in 1917 [Mor21] in studying the dynamics of ``geodesics'' on surfaces. gif We can produce a very interesting formula for the terms in this sequence if we replace a by 1 and b by -1. In that case, the application of the flip map R is the same as multiplication by -1. Write the sequence as

displaymath5376

where each tex2html_wrap_inline5378 is +1 or -1. The n-th generation is

displaymath5386

Then the n+1 generation consists of this string followed by

displaymath5390

This establishes the formula

displaymath5392

for all tex2html_wrap_inline5394 . So to work out any given tex2html_wrap_inline5396 , this suggests we need to express m as a sum of powers of 2, that is, we need to find the binary expansion of m:

displaymath5402

with tex2html_wrap_inline5404 . For example,

displaymath5406

In binary digits, we would write tex2html_wrap_inline5408 . The number of powers of 2 occurring equals the number of 1's in the binary expansion. Then applying our formula we have

displaymath5410

since tex2html_wrap_inline5412 . In general,

displaymath5414

where t is the number of 1's in the binary expansion of m. Another example:

displaymath5420

Thue proved a very interesting theorem about the Thue-Morse sequence.

THEOREM: (Thue-Morse is cube-free) There is no substring of the Thue-Morse sequence of the form www for some finite string w of a's and b's.
For instance, there is no substring aaa or ababab or babbabbab, etc. In fact, Morse proved a slightly stronger theorem stating that there is no string of the form EEe where E is a given string and e is the first symbol in E. This proof first appeared in a paper [MH44] that showed that under a certain set of rules for the ending of chess games it was still possible to have an infinite game of chess. On the other hand, the original reason (see [Mor21] that Morse introduced this sequence is that, without being periodic, it still has a large degree of redundancy.
THEOREM: (Morse; Thue-Morse is recurrent) Let n be a positive integer. There is another positive integer N (much bigger than n usually) such that, given any substring w of length n in the Thue-Morse sequence, we can guarantee that every substring W of length N contains a copy of the string w.
This means that every finite string that occurs in the Thue-Morse sequence occurs over and over without end, and rather frequently at that. An explicit estimate of N may be proved: if k is the smallest integer such that tex2html_wrap_inline5464 , then we may guarantee that any substring of length tex2html_wrap_inline5466 in the Thue-Morse sequence contains the given string w of length n.


next up previous contents
Next: Paperfolding and the Dragon Up: L-systems Previous: Types of L-systems

David J. Wright
Mon Aug 19 17:21:15 CDT 1996