Take three rules, each moving every point of the plane halfway toward one corner of a triangle. Apply all three to a square, keep the three small squares they make, and then do the same to the new picture, again and again. Start instead from a triangle or a circle and the first pictures look different, yet after a few rounds they all resemble Sierpinski’s triangle. Why does the starting picture stop mattering, and what exactly are the pictures approaching? This page explains how a handful of shrinking rules decides a whole shape, describes the shape as a set that the rules reproduce, and shows why exactly one such set exists.
Key terms
Iterated function system
Definition An iterated function system is a finite list of maps , with , each sending points of the plane to points of the plane and each a contraction in the sense of the next card. Some books allow maps that are not contractions, and then the conclusions below can fail. For a set of points, is the set of all images of points in , a copy of made by the map. The system acts on a whole set by keeping every copy,
Starting from a nonempty set that is closed and bounded, it produces the stages , , and so on. A set is bounded when it fits inside some circle, and closed when it contains every point that points of the set come arbitrarily close to. A filled triangle together with its edges is closed, and the same triangle without its edges is not. The answer to the opening question is that the stages approach one and the same set, called the attractor of the system, whichever nonempty, closed and bounded set is used. The starting set leaves its mark only on the early stages. The chaos game uses the same maps in another way. It follows a single point and applies one randomly chosen map at each step, and when every map has a positive probability and the choices are independent, its points come arbitrarily close to every point of the same attractor, with probability .
In plain words The recipe says how to make a few smaller copies of a picture and where to put each one. Applying it to the whole picture and repeating gives a sequence of pictures, and they settle down to a shape that depends only on the recipe.
Example The three maps
move every point halfway toward the corner , or of a right triangle. Start with the filled unit square , the points with and . The three copies are squares of side in its lower left, lower right and upper left corners, so is the square with its upper right quarter missing. Each later round replaces every square by three squares of half the side in the same arrangement, so consists of squares of side with total area . Starting instead from the filled triangle with corners , and , the stage consists of triangles with total area . The two sequences look different at first, but both close in on the same set, a Sierpinski triangle with its right angle at . It is usually drawn on an equilateral triangle, and the right triangle only keeps the arithmetic simple.
Contraction mapping
Definition Write for the distance between points and of the plane. A map from the plane to itself is a contraction mapping, or simply a contraction, if there is a number with such that
for all points and . The smallest such is the contraction ratio of . One number has to work for every pair of points, so a map that shortens every distance, but by factors that come arbitrarily close to , is not a contraction. A finite list of contractions has a largest ratio, and it is again less than . Every contraction of the plane has exactly one fixed point, a point with , and applying over and over to any starting point brings it closer and closer to that fixed point. This is the Banach fixed point theorem. For a map of the form with fixed numbers , , , , and , every segment pointing in the same direction is stretched by the same factor. Such a map is a contraction exactly when the largest of these factors, over all directions, is less than , and that largest factor is its ratio. Checking that each coefficient is small does not settle it.
In plain words A contraction pulls every two points closer together, always by at least the same factor. It may also turn, flip or squash a picture, as long as every distance shrinks by that factor or more.
Example Each of the three maps above halves every distance exactly, because , so its ratio is . The fixed point of is the corner that it pulls toward. The map is a contraction with ratio that shrinks vertical distances more than horizontal ones, so it turns a square into a rectangle that is not a square. A map that shrinks equally in every direction makes copies similar to the original, while a map like this one changes proportions, and the simple dimension formula for similar copies does not in general apply to such systems. Some maps are not contractions. A translation such as and a rotation keep every distance, and doubles every distance. The map that sends to has every coefficient below , yet it sends and , which are apart, to and , which are apart. It stretches that diagonal by the factor , so it is not a contraction.
Invariant set
Definition A set of points is invariant under the system if
The equation says two things. Every copy lies inside , and every point of lies in at least one of the copies. The theorem in the next card shows that a system of contractions has exactly one invariant set that is nonempty, closed and bounded, and this set is its attractor. Other invariant sets can exist. The empty set is invariant under every system, and the whole plane is invariant under the three maps above, because each of them sends the plane onto the whole plane. That is why the theorem speaks only of nonempty, closed and bounded sets.
In plain words An invariant set reproduces itself under the recipe. Make the shrunken copies, put each one in its place, and the same set comes back, with nothing missing and nothing extra.
Example On the number line, take and . The interval is invariant, since sends it to and sends it to , and together these make again. The same interval is not invariant under the pair and , because the copies and leave out the middle third. The invariant set of that pair is the Cantor set. For the three maps of the plane above, the Sierpinski triangle is invariant. The copies , and are its three half-size corner pieces, which together make up all of and touch only at the single points , and .
Uniqueness of the attractor
Definition The Hausdorff distance between two nonempty, closed and bounded sets and is the smallest number such that every point of lies within distance of some point of and every point of lies within distance of some point of . It is only when . Hutchinson’s theorem, proved by John Hutchinson in 1981, says the following. Let be finitely many contractions of the plane, with , and let be the largest of their ratios. Then exactly one nonempty, closed and bounded set satisfies . Moreover, for every nonempty, closed and bounded starting set the stages satisfy
so they approach . The same holds on a line, in space and, more generally, in any complete metric space, a space in which every sequence whose terms eventually stay arbitrarily close to one another has a limit in the space. The plane is complete. Each condition does work. A system made of one translation has no nonempty bounded invariant set, and a system made of one rotation about the origin, which keeps distances, leaves every circle centered at the origin invariant, so uniqueness fails. Completeness matters too. On the numbers with , the map is a contraction, but no nonempty set of such numbers is invariant, because an invariant set containing would also contain , , and so on, which eventually exceed . The point that the map pulls toward is missing from that space.
In plain words Suppose two different sets were both reproduced by the recipe, and measure how far apart they are. If every point of one is within of a point of the other, then every copied point is within of the matching copied point, so one round of the recipe multiplies the mismatch by at most . Both sets come back unchanged, though, so their mismatch would be at most times itself, and since only a mismatch of can do that. The same shrinking pulls any starting picture toward the attractor round after round.
Example For the three maps above, . Let be the filled unit square and the filled triangle inside it with corners , and . Every point of lies in , and the point of farthest from is the corner , at distance from the nearest point of . So , and after rounds the stage made from and the stage made from are within Hausdorff distance
of each other, which after ten rounds is less than . The same bound holds between the stage made from and the Sierpinski triangle itself, since the triangle lies in and the corner is again the point of farthest from it.
Check yourself
- Start the three maps , , from the single point . Find the stages and , and count the points of .
Show the answer
A single point is nonempty, closed and bounded, so it is an allowed starting set. The maps send to , and , and these three points make up . Applying the three maps to each of them gives the nine points of ,
Write the coordinates in binary. Each map shifts the digits of both coordinates one place to the right of the binary point and writes a new first digit, which is in and in for , in and in for , and in both for . So consists of the points where and are whole numbers from to whose binary forms never have the digit in the same place. Each of the digit places has three possibilities, so has points, all different. Every one of them lies in the Sierpinski triangle, because does and the triangle is invariant, and by the theorem these finite sets approach the whole triangle. The same pairs are exactly those for which the binomial coefficient is odd, which is why Pascal’s triangle modulo 2 shows the same pattern.
- On the number line keep , but replace by the translation . Start from the set containing only . What happens to the stages, and does this system have an attractor?
Show the answer
The stages are , then and
Applying again and again to shows that contains the number , so the stages run off without bound. No nonempty, closed and bounded set can be invariant. Such a set would have a largest number , and then would lie in , which is part of , although it is larger than . The theorem does not apply because keeps every distance, so it is not a contraction. Invariant sets still exist. The set of all numbers is one, since sends it onto itself and sends it to the numbers , but it is not bounded.
- Use four maps instead of three, each moving every point halfway toward one corner of the unit square, the corners , , and . What is the attractor, and what do the stages starting from look like?
Show the answer
The four copies of the filled unit square are the four squares of side that together make up , so . The square is nonempty, closed and bounded, so by the uniqueness of the attractor it is the attractor, and this recipe makes no fractal at all. Starting from , the stage is the grid of points with and , since now every pair of binary digits is allowed. The point of farthest from this grid is the corner , at distance from the grid point . That is exactly the bound from the theorem, because is away from . Dropping the map toward removes every grid point whose and share a binary digit , and the points that remain approach the Sierpinski triangle.