Learning Outcomes
- Define and identify self-similarity in geometric shapes, plants, and geological formations
- Generate a fractal shape given an initiator and a generator
Mathematical processes: The pencil-and-paper approach
Mathematical processes are often challenging to grasp. It can take several times reading through a text, watching a demonstration, and practicing the steps yourself before the idea becomes clear. But the time and effort spent in persisting through the challenge does eventually pay off.
When trying to obtain the understanding of an unfamiliar process, you may find it helpful to repeatedly write it out on paper.
This module contains several such processes and several different styles of demonstration of these processes: in words, images, worked-out solutions, and videos. Try employing the pencil-on-paper strategy as you work through each of the demonstrations and examples.
Remember to keep a list of new vocabulary along the way!
In the 1980’s and 90’s fractals were a popular, household idea. Their presence in popular culture may have waned in the last 20 years, but their presence in nature, economics, and nearly everything around us has not. In this section, we will introduce some of the fundamental ideas, and terminology that will help you begin to understand the mathematical principles that define fractals.
Fractals are mathematical sets, usually obtained through recursion, that exhibit interesting dimensional properties. We’ll explore what that sentence means through the rest of the chapter. For now, we can begin with the idea of self-similarity, a characteristic of most fractals.
Self-similarity
A shape is self-similar when it looks essentially the same from a distance as it does closer up.
Self-similarity can often be found in nature. In the Romanesco broccoli pictured below[1], if we zoom in on part of the image, the piece remaining looks similar to the whole.
Likewise, in the fern frond below[2], one piece of the frond looks similar to the whole.
Iterated Fractals
This self-similar behavior can be replicated through recursion: repeating a process over and over.
Example
Suppose that we start with a filled-in triangle. We connect the midpoints of each side and remove the middle triangle. We then repeat this process.
![Initial, black equilateral triangle is completely filled in. Step 1, the triangle has been divided into three black and one white equilateral triangles, with the white triangle in the center. In step 2, each black triangle has been further divided into into three black and one white equilateral triangles with the white triangle in the center. In step 3, each black triangle has once again been divided into three black and one white equilateral triangles with the white one in the center.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/1141/2017/02/22224647/triangles.png)
If we repeat this process, the shape that emerges is called the Sierpinski gasket. Notice that it exhibits self-similarity—any piece of the gasket will look identical to the whole. In fact, we can say that the Sierpinski gasket contains three copies of itself, each half as tall and wide as the original. Of course, each of those copies also contains three copies of itself.
![A zoomed-in view of the triangles from the previous picture.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/1141/2017/02/22230213/Screen-Shot-2017-02-22-at-3.01.08-PM.png)
In the following video, we present another explanation of how to generate a Sierpinski gasket using the idea of self-similarity.
We can construct other fractals using a similar approach. To formalize this a bit, we’re going to introduce the idea of initiators and generators.
Initiators and Generators
An initiator is a starting shape. A generator is an arranged collection of scaled copies of the initiator.
To generate fractals from initiators and generators, we follow a simple rule:
Fractal Generation Rule
At each step, replace every copy of the initiator with a scaled copy of the generator, rotating as necessary.
This process is easiest to understand through example.
Example
Use the initiator and generator shown to create the iterated fractal.
![A straight, horizontal line labeled initiator. And a horizontal line that forms a peak in the middle labeled generator.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/1141/2017/02/22231540/initiatorgenerator.png)
This tells us to, at each step, replace each line segment with the spiked shape shown in the generator. Notice that the generator itself is made up of 4 copies of the initiator. In step 1, the single line segment in the initiator is replaced with the generator. For step 2, each of the four line segments of step 1 is replaced with a scaled copy of the generator:
![Step 1, the generator. Next, a scaled copy of generator (smaller copy). Next, a scaled copy replaces each line segment of Step 1. In step 2, the fractal.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/1141/2017/02/22232232/1.png)
This process is repeated to form Step 3. Again, each line segment is replaced with a scaled copy of the generator.
![Step 2, the fractal. Next, a scaled copy of generator. Step 3, a more complicated fractal.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/1141/2017/02/22233010/Screen-Shot-2017-02-22-at-3.29.42-PM.png)
Notice that since Step 0 only had 1 line segment, Step 1 only required one copy of Step 0.
Since Step 1 had 4 line segments, Step 2 required 4 copies of the generator.
Step 2 then had 16 line segments, so Step 3 required 16 copies of the generator.
Step 4, then, would require [latex]16\cdot4=64[/latex] copies of the generator.
![A fractal using the horizontal peaked line seen in previous examples.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/1141/2017/02/22233242/kochcurve.png)
The shape resulting from iterating this process is called the Koch curve, named for Helge von Koch who first explored it in 1904.
Notice that the Sierpinski gasket can also be described using the initiator-generator approach.
Example
Use the initiator and generator below, however only iterate on the “branches.” Sketch several steps of the iteration.
![Initiator is a vertical line. Generator is a vertical line with two smaller lines at an angle to form a Y shape.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/1141/2017/02/22234920/branches1.png)
We begin by replacing the initiator with the generator. We then replace each “branch” of Step 1 with a scaled copy of the generator to create Step 2.
![](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/1141/2017/02/22235633/branches2.png)
Step 1, the generator. Step 2, one iteration of the generator.
We can repeat this process to create later steps. Repeating this process can create intricate tree shapes.[3]
![Step 3 and Step 4, each with another iteration of the fractal. The final shape resembles a tree.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/1141/2017/02/23000509/branches3.png)
Try It
Use the initiator and generator shown to produce the next two stages.
![Initiator is a pentagon. Generator is five pentagons arranged to form a larger pentagon.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/1141/2017/02/23231215/Screen-Shot-2017-02-23-at-3.05.42-PM.png)
![]() |
![]() |
Using iteration processes like those above can create a variety of beautiful images evocative of nature.[4][5]
More natural shapes can be created by adding in randomness to the steps.
Example
Create a variation on the Sierpinski gasket by randomly skewing the corner points each time an iteration is made.
Suppose we start with the triangle below. We begin, as before, by removing the middle triangle. We then add in some randomness.
![Step 0, an obtuse triangle. Step 1, that triangle divided into four triangles. Step 1 with randomness, The triangle divided into four triangles, but the big triangle is now irregular and no longer a true triangle.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/1141/2017/02/23002708/random1.png)
We then repeat this process.
![Step 1 with randomness from the last image. Next is Step 2 without randomness. Next is Step 2 with randomness.](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/1141/2017/02/23003207/random2.png)
Continuing this process can create mountain-like structures. This landscape[6] was created using fractals, then colored and textured.
![A digitally created landscape](https://s3-us-west-2.amazonaws.com/courses-images/wp-content/uploads/sites/1141/2017/02/23004553/FractalLandscape-1.jpg)
The following video provides another view of branching fractals, and randomness.
- http://en.wikipedia.org/wiki/File:Cauliflower_Fractal_AVM.JPG ↵
- http://www.flickr.com/photos/cjewel/3261398909/ ↵
- http://www.flickr.com/photos/visualarts/5436068969/ ↵
- http://en.wikipedia.org/wiki/File:Fractal_tree_%28Plate_b_-_2%29.jpg ↵
- http://en.wikipedia.org/wiki/File:Barnsley_Fern_fractals_-_4_states.PNG ↵
- http://en.wikipedia.org/wiki/File:FractalLandscape.jpg ↵