Cut the knot: learn to enjoy mathematics
A math books store at a unique math study site. Learn to enjoy mathematics.
Google
Web CTK
Best sites for teachers
Sites for teachers
Sites for parents
Terms of use
Awards

Interactive Activities
CTK Exchange
CTK Insights - a blog

Games & Puzzles
What Is What
Arithmetic/Algebra
Geometry
Probability
Outline Mathematics
Make an Identity
Book Reviews
Eye Opener
Analog Gadgets
Inventor's Paradox
Did you know?...
Proofs
Math as Language
Things Impossible
Visual Illusions
My Logo
Math Poll
Cut The Knot!
MSET99 Talk
Other Math sites
Front Page
Movie shortcuts
Personal info
Reciprocal links
Privacy Policy

Guest book
News sites

Recommend this site

Best sites for teachers
Sites for teachers
Sites for parents

Education & Parenting

Manifesto: what CTK is about Search CTK Buying a book is a commitment to learning Table of content Things you can find on CTK Chronology of updates Email to Cut The Knot Recommend this page

The Chaos Game: Address Space vs IFS

The Chaos Game is a way of constructing a deterministic object, like Sierpinski's gasket, by a random process in which a pattern emerges out of an apparently chaotic distribution of points. The chaos game applies to the attractor, a fixed point, of any iterated function system. Sierpinski's gasket is an easiest example.

The simplest(*) iterated function system whose attractor is the Sierpinski gasket consists of three contractions FA, FB, FC, with fixed points at the vertices of a given triangle ABC and coefficient 1/2. (I shall use FA, FB, FC and F1, F2, F3 interchangeably, depending as to what notation is more convenient at the instance.)

Why does the chaos game work? First of all, let's observe that the three triangles obtained on the first step of the trema removal procedure are the images of the three contractions:

  T1 = F1(T0), T2 = F2(T0), T3 = F3(T0),

where T0 is the triangle ABC. In a concise form we can write

(1) Ts1 = Fs1(T0),

where s1 is one of the symbols 1, 2, 3. For a second application,

  Fs2(Fs1(T0)) = Fs2(Ts1) Fs2(T0) = Ts2.

In other words, the image of T0 after two steps (first applying Fs1 and then Fs2) is inside Ts2 and is obviously one of the three triangles into which the latter is split on the second construction step, viz., the triangle corresponding to the index s1. In our addressing notations, this is triangle Ts2s1:

(2) Fs2(Fs1(T0)) = Ts2s1.

Similarly, for a third application, we get

(3) Fs3(Fs2(Fs1(T0))) = Ts3s2s1.

We see (and this can be shown rigorously by induction) that the triangle Ts1s2...sn that corresponds to a finite address s1s2...sn is the image of n applications of the functions FA, FB, FC with indices read in the reverse order:

(n) Ts1s2...sn = Fs1(Fs2(...(Fsn(T0)...)).

The sequence of triangles Tsn, ..., Ts2...sn, Ts1s2...sn thus obtained differs from the nested sequence Ts1, Ts1s2, ..., Ts1s2...sn in the trema removal procedure, but, however surprisingly, the final triangle is the same.

This fact is illustrated by the applet below. By pressing buttons A, B, C you execute an application of the corresponding contractions. The applet can display the sequence of triangles obtained by successive application of these transforms, or those coming from the addressing scheme.


This applet requires Sun's Java VM 2 which your browser may perceive as a popup. Which it is not. If you want to see the applet work, visit Sun's website at http://www.java.com/en/download/index.jsp, download and install Java VM and enjoy the applet.


Buy this applet

Since, for any transformation F, x T implies F(x) F(T), then, regardless of the selection of x0, the nth iteration Fs1(Fs2(...(Fsn(x0)...)) will lie inside Ts1s2...sn. We can go further and observe that in a randomly generated sequence of symbols 1, 2, 3, each of the symbols must appear at least once with the probability of 1. The same holds for any combination of two, three or more symbols. Whenever in a sequence of indices appears a combination s1s2...sn, (at least) one of the iterations falls into the triangle Ts1s2...sn. This observation shades light on why the chaos game works: any iteration can be considered as the starting point, and the addressing scheme assures us that, if the steps in the game are indeed uniformly random and do not discriminate against any particular contraction, the iterations will come sufficiently close to any point of the Sierpinski gasket with probability of 1.

References

  1. M. Barnsley, Fractals Everywhere, Academic Press, 1988
  2. The Science of Fractal Images, H.-O.Peitgen and D.Daupe (eds), Springer-Verlag, 1988
  3. H.-O. Peitgen, H. Jürgens, D. Saupe, Chaos and Fractals: New Frontiers of Science, Springer-Verlag, 1992

(*) As an example, the iterated system FAFA, FAFB, ..., FCFC that consists of 9 contractions each with coefficient 1/4, has exactly the same attractor as the system of three functions FA, FB, FC. For a demonstration, see the applet at the Collage Theorem and IFS page and play with the Iterate button.

Copyright © 1996-2008 Alexander Bogomolny

28697515Page copy protected against web site content infringement by Copyscape


Search:
Keywords:


Latest on CTK Exchange
Math
Posted by Laura
2 messages
06:56 AM, Apr-15-08

Divisibility rules - Jargon buste ...
Posted by Carolyn
2 messages
08:35 AM, Apr-04-08

drawing puzzle
Posted by martin gran
31 messages
06:53 PM, May-09-08

Distance to the horizon
Posted by Monty
3 messages
04:38 PM, May-08-08

Mistake on the page (an aside, Be ...
Posted by Max
4 messages
10:28 AM, Feb-28-08

Deriving functions based on diffe ...
Posted by ke_45
1 messages
12:47 PM, May-10-08

A typo in
Posted by alexwajn
1 messages
11:36 PM, Apr-19-08