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 equal squares and take out the middle one (Step 1). Now do the same to each of the squares that are left (Step 2), and keep going.

Let be the number of squares remaining at step , and the number of holes.
- Each remaining square turns into at the next step, so , , which gives .
- Each remaining square makes one new hole, and the old holes stay, so , . That gives , , , and in general .
Area. Each step keeps of the area, so after steps you have of the original. The area shrinks towards zero (after steps, less than 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 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.

| Step | |||||
|---|---|---|---|---|---|
| Triangles remaining | |||||
| Holes | |||||
| Area remaining |
The rules are: and .
The Koch snowflake
Start with an equilateral triangle of side . 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.

| Step | ||||
|---|---|---|---|---|
| Sides | ||||
| Side length | ||||
| Perimeter |
Every step multiplies the number of sides by and divides their length by , so the perimeter grows by the factor 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
- Draw the Sierpiński carpet to Step 2. How many squares remain and how many holes are there at Step 4?
- Write the recursive rule and explicit formula for the number of squares at step of the carpet. What fraction of the area remains at Step 3?
- Draw the Sierpiński triangle to Step 2. Find the triangles and holes at Step 5.
- Prove that joining the midpoints of an equilateral triangle divides it into four congruent equilateral triangles.
- What fraction of the Sierpiński triangle's area remains at Step 4? At which step does less than a quarter remain?
- For the Koch snowflake starting from side : sides and perimeter at Steps 1, 2, 3, and the perimeter formula for step .
- A variant carpet removes the four corner squares of the nine instead of the centre. How many squares remain at step , and what fraction of the area?
- Name two natural objects and two human-made objects that show self-similarity.
Answers
Show answers
- squares; holes .
- , ; . Area .
- triangles; holes .
- The midpoint segments are half the sides, so each corner triangle has two sides of half length enclosing a angle. It is isosceles with a 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.
- . : Step 5.
- Sides ; perimeter ; in general .
- squares; area .
- For example ferns and river deltas; temple towers and the Koch-like edges of some lace patterns.