Shapes inside shapes

Look closely at a fern. Each leaf is made of smaller ferns, and each of those is made of even smaller ones. Shapes that repeat themselves at smaller and smaller scales are called fractals, and three famous ones can be built with just a pencil and paper: the Sierpiński carpet, the Sierpiński triangle and the Koch snowflake. In this lesson we build them, count what each step produces using recursive rules and explicit formulas, and watch what happens to their area and perimeter as the steps go on.

Self-similarity

Think of a tree, with its trunk, limbs, branches and twigs. Or clouds, coastlines, mountain ridges and lightning. Zoom in on any of them and the part looks like the whole. A shape like this is called self-similar, and a shape that is self-similar at every scale is a fractal.

The Sierpiński carpet

Start with a square (Step 0). Cut it into 99 equal squares and take out the middle one (Step 1). Now do the same to each of the 88 squares that are left (Step 2), and keep going.

Sierpinski carpet at steps 0, 1 and 2: a solid square; the square with its middle ninth removed, 8 squares and 1 hole; then 64 squares and 9 holes.
The Sierpinski carpet: each step keeps 8 of every 9 squares.

Let RnR_n be the number of squares remaining at step nn, and HnH_n the number of holes.

  • Each remaining square turns into 88 at the next step, so Rn+1=8RnR_{n+1} = 8R_n, R0=1R_0 = 1, which gives Rn=8nR_n = 8^n.
  • Each remaining square makes one new hole, and the old holes stay, so Hn+1=Hn+RnH_{n+1} = H_n + R_n, H0=0H_0 = 0. That gives H1=1H_1 = 1, H2=1+8=9H_2 = 1 + 8 = 9, H3=1+8+64=73H_3 = 1 + 8 + 64 = 73, and in general Hn=1+8+⋯+8n−1H_n = 1 + 8 + \cdots + 8^{n-1}.

Area. Each step keeps 89\displaystyle \dfrac{8}{9} of the area, so after nn steps you have (89)n\displaystyle \left(\dfrac{8}{9}\right)^n of the original. The area shrinks towards zero (after 2020 steps, less than 10%10\% is left), even while the number of squares shoots up.

The Sierpiński triangle

Start with an equilateral triangle and join the midpoints of its sides. This makes four identical equilateral triangles. (The corner triangles are isosceles with a 60∘60^\circ angle, so they are equilateral, and the middle one has sides equal to theirs.) Remove the middle one, and repeat on the three that are left.

Sierpinski triangle at steps 0, 1 and 2: a solid equilateral triangle; three triangles around 1 removed middle triangle; then 9 triangles with 4 holes.
The Sierpinski triangle: join the midpoints and remove the middle.
Step 00 11 22 33 nn
Triangles remaining 11 33 99 2727 3n3^n
Holes 00 11 44 1313 1+3+⋯+3n−11 + 3 + \cdots + 3^{n-1}
Area remaining 11 34\displaystyle \dfrac{3}{4} 916\displaystyle \dfrac{9}{16} 2764\displaystyle \dfrac{27}{64} (34)n\displaystyle \left(\dfrac{3}{4}\right)^n

The rules are: Tn+1=3TnT_{n+1} = 3T_n and Hn+1=Hn+TnH_{n+1} = H_n + T_n.

The Koch snowflake

Start with an equilateral triangle of side 11. Divide each side into three equal parts. On the middle part, raise an equilateral triangle pointing outward, and then rub out that middle part. Each side has now become a "bump" of four segments. Repeat on every side.

Koch snowflake at steps 0, 1 and 2: a triangle with 3 sides and perimeter 3; a six-pointed star with 12 sides and perimeter 4; then 48 sides and perimeter 16/3.
The Koch snowflake: every side becomes four sides a third as long.
Step 00 11 22 nn
Sides 33 1212 4848 3×4n3 \times 4^n
Side length 11 13\displaystyle \dfrac{1}{3} 19\displaystyle \dfrac{1}{9} (13)n\displaystyle \left(\dfrac{1}{3}\right)^n
Perimeter 33 44 163\displaystyle \dfrac{16}{3} 3×(43)n\displaystyle 3 \times \left(\dfrac{4}{3}\right)^n

Every step multiplies the number of sides by 44 and divides their length by 33, so the perimeter grows by the factor 43\displaystyle \dfrac{4}{3} each time. It grows without any limit, and yet the snowflake always stays inside a bounded region. Think about that: a finite area with an infinitely long boundary. Helge von Koch described this shape in 1904.

Fractals in art

People have been building fractals for a long time. The Kandariya Mahadev temple at Khajuraho (c. 1025 CE) is a tower made of smaller copies of itself, each carrying still smaller copies, and temples at Madurai, Hampi and Varanasi share the same structure. Fulani wedding blankets from Nigeria have diamonds within diamonds. And M. C. Escher's print Smaller and Smaller fills a disc with lizards that shrink as they move towards the centre.

Practice

  1. Draw the Sierpiński carpet to Step 2. How many squares remain and how many holes are there at Step 4?
  2. Write the recursive rule and explicit formula for the number of squares at step nn of the carpet. What fraction of the area remains at Step 3?
  3. Draw the Sierpiński triangle to Step 2. Find the triangles and holes at Step 5.
  4. Prove that joining the midpoints of an equilateral triangle divides it into four congruent equilateral triangles.
  5. What fraction of the Sierpiński triangle's area remains at Step 4? At which step does less than a quarter remain?
  6. For the Koch snowflake starting from side 22: sides and perimeter at Steps 1, 2, 3, and the perimeter formula for step nn.
  7. A variant carpet removes the four corner squares of the nine instead of the centre. How many squares remain at step nn, and what fraction of the area?
  8. Name two natural objects and two human-made objects that show self-similarity.

Answers

Show answers
  1. 84=40968^4 = 4096 squares; holes 1+8+64+512=5851 + 8 + 64 + 512 = 585.
  2. Rn+1=8RnR_{n+1} = 8R_n, R0=1R_0 = 1; Rn=8nR_n = 8^n. Area (89)3=512729≈0.70\displaystyle \left(\dfrac{8}{9}\right)^3 = \dfrac{512}{729} \approx 0.70.
  3. 35=2433^5 = 243 triangles; holes 1+3+9+27+81=1211 + 3 + 9 + 27 + 81 = 121.
  4. The midpoint segments are half the sides, so each corner triangle has two sides of half length enclosing a 60∘60^\circ angle. It is isosceles with a 60∘60^\circ apex, hence equilateral. The middle triangle's sides are the three midpoint segments, all equal to half a side. So all four have side half the original.
  5. (34)4=81256≈0.32\displaystyle \left(\dfrac{3}{4}\right)^4 = \dfrac{81}{256} \approx 0.32. (34)5≈0.237<0.25\displaystyle \left(\dfrac{3}{4}\right)^5 \approx 0.237 < 0.25: Step 5.
  6. Sides 12,48,19212, 48, 192; perimeter 8,323,1289\displaystyle 8, \dfrac{32}{3}, \dfrac{128}{9}; in general 6×(43)n\displaystyle 6 \times \left(\dfrac{4}{3}\right)^n.
  7. 5n5^n squares; area (59)n\displaystyle \left(\dfrac{5}{9}\right)^n.
  8. For example ferns and river deltas; temple towers and the Koch-like edges of some lace patterns.