Fractals and self-similarity
Zoom into a fern leaf and each small frond looks like a miniature copy of the whole leaf. Zoom into a coastline map and the jagged inlets at one scale echo the jagged inlets at a much smaller scale. Nature is full of shapes that repeat themselves inside themselves, and mathematicians call this property self-similarity. A fractal is a pattern built by applying one simple geometric rule again and again, at smaller and smaller scale, so that a magnified piece of the final pattern looks like the whole pattern. This article builds three classic fractals by hand — the Sierpiński triangle, the Sierpiński carpet, and the Koch snowflake — tracks how the number of pieces grows stage by stage, and shows how to count kept and removed pieces after several rounds of the same repeating rule.
A fractal is made by repeating one fixed rule at every scale forever, so a magnified piece of the pattern looks like the whole, and the number of surviving pieces multiplies by a fixed factor at every stage.
The core idea
A shape is self-similar when a small part of it, suitably magnified, looks like the entire shape. Fractals are built by taking a starting shape (Stage 0) and applying one fixed transformation rule to it; applying that same rule again to the result gives Stage 2, and so on. Each single application of the rule is called an iteration, and the process can in principle be repeated without end, revealing finer detail at every scale.
Sierpiński triangle. Start with a solid equilateral triangle. Join the midpoints of its three sides, splitting it into 4 smaller triangles, and remove the upside-down middle one, keeping the 3 corner triangles. Repeat this same "split into 4, remove the middle" rule on every triangle that remains.
Sierpiński carpet. Start with a solid square. Cut it into a grid of 9 equal squares and remove the central one, keeping 8. Repeat the same rule on each of those 8 squares.
Koch snowflake. Start with an equilateral triangle. On every edge, remove the middle third of the segment and replace it with two outward-pointing segments of the same length, turning each edge into 4 shorter segments. Repeat the rule on every new segment. In every case the rule never changes and is applied to every surviving piece, at every scale — this is what makes the pattern self-similar rather than merely decorative. Because each stage multiplies the piece-count by a fixed number, the growth in pieces follows a clean pattern:
where: is the number of surviving (or newly created) pieces after iterations of the rule, is the fixed multiplying factor of that particular rule (kept pieces per old piece), and is the stage number, starting from Stage 0. For the Sierpiński triangle (3 corner triangles survive from each old triangle); for the Sierpiński carpet (8 squares survive from each old square); for the Koch snowflake's segment count (1 segment becomes 4 segments).
The goal here is to prove why the number of surviving (or newly created) pieces in a fractal built by repeating one fixed rule follows the simple power formula , and then use that formula to predict the piece count after any number of stages without having to draw every step by hand.
Step 1. Look at what one application of the rule does to a single piece. Whatever the shape, one iteration always turns 1 old piece into a fixed number of new pieces of the same type — for the Sierpiński triangle, 1 triangle becomes 3 surviving triangles; for the carpet, 1 square becomes 8 surviving squares; for the Koch snowflake, 1 segment becomes 4 segments.
Step 2. Track Stage 1. Starting from Stage 0 with exactly 1 piece, applying the rule once gives pieces, by the definition in Step 1.
Step 3. Track Stage 2 by applying the rule to every piece from Stage 1. Each of the pieces from Stage 1 independently turns into new pieces, so the total becomes . The key point is that the rule acts identically and independently on every surviving piece — this is exactly what "self-similar at every scale" means.
Step 4. Generalise by repeating Step 3's reasoning. Each further iteration multiplies the current count by again, so after iterations ( factors), giving . This matches the Sierpiński triangle's known counts of , , triangles kept at Stages 1, 2 and 3.
Worked example
Question. A Sierpiński triangle starts (Stage 0) as one solid equilateral triangle, and a Sierpiński carpet starts (Stage 0) as one solid square. (a) How many small triangles are kept at Stage 4 of the Sierpiński triangle? (b) How many small squares are kept at Stage 2 of the Sierpiński carpet? (c) For the triangle, what fraction of the finest-level pieces at Stage 4 have been removed in total?
Step 1. Apply to the Sierpiński triangle with and : triangles kept at Stage 4.
Step 2. Apply to the Sierpiński carpet with and : squares kept at Stage 2.
Step 3. For the removed fraction, note that at Stage 4 every original piece has been split into smallest triangles in total (since each stage quarters every triangle into 4, keeping 3), of which survive (from Step 1). So the number removed is , out of smallest triangles.
Answer: 81 triangles are kept at Stage 4 of the Sierpiński triangle, 64 squares are kept at Stage 2 of the Sierpiński carpet, and 175 out of 256 smallest triangles (a little over two-thirds) have been removed by Stage 4.
Competitive stretch
For the Koch snowflake, one edge that starts as a single segment becomes segments after iterations, by the same formula with . Starting from a 9 cm edge (as in the Pass-1 article), after 2 steps there are segments of length 1 cm each — exactly matching the earlier count, now obtained directly from the formula instead of by tracking each step separately.
Common traps
- Thinking a fractal pattern is random — it follows one exact rule applied identically to every piece, at every scale, with no exceptions.
- Forgetting that a removed piece never returns at a later stage; the rule is applied only to the pieces still present.
- Mixing up the multiplying factor : it is 3 (not 4) for the Sierpiński triangle since the middle triangle is discarded, 8 for the Sierpiński carpet, but 4 for the Koch snowflake since the middle segment is replaced rather than simply discarded.
- Confusing self-similarity with ordinary symmetry — a figure can have line or rotational symmetry without a smaller part resembling the whole; self-similarity specifically requires that a magnified piece looks like the entire pattern.
Ask the tutor: Want to try predicting the piece count for a fractal rule of your own design, or see how changes if two different pieces are removed instead of one?
Why does the Sierpiński carpet use 8 while the Sierpiński triangle uses 3?
The multiplying factor in simply counts how many pieces survive from each old piece after one application of that shape's own rule. The triangle rule splits a triangle into 4 and removes 1 middle one, so 3 survive. The carpet rule splits a square into a grid of 9 and removes only the 1 central square, so 8 survive. Different starting shapes and different removal rules naturally give different values of ; the formula itself works the same way for any of them once is known.
Does a real fractal actually go on forever, or do we stop after a few stages?
Mathematically, a true fractal is defined by imagining the rule repeated infinitely many times, producing detail at every possible scale, however small. In practice, at school level and even in computer drawings, we can only carry out a finite number of iterations because each stage has more, smaller pieces than the last and eventually they become too small to draw or see. The examples in this article stop at a few stages precisely because that is enough to see the pattern and predict later stages using , without needing to draw infinitely many triangles.
Are the ferns and cauliflower florets people talk about really fractals like these?
Not in the strict mathematical sense of following one perfectly repeating rule forever — real ferns and cauliflowers are only approximately self-similar, and the repetition eventually stops because the plant runs out of scale to keep branching. But they are excellent everyday examples of the same underlying idea: a small frond or floret looks roughly like a smaller copy of the whole. Mathematical fractals like the Sierpiński triangle are the idealised, perfectly repeating version of this same natural pattern, which is why the two are always mentioned together.