A segment has dimension 1 and a filled square has dimension 2. Sierpinski’s triangle has no area at all, yet the total length of the edges drawn while building it grows without bound, so neither number seems to describe it. What could it mean to say that its dimension is about 1.585? This page builds that number by comparing the size of a shape’s smaller copies with how many of them it takes to rebuild the shape, solves for it with logarithms, and names the kinds of dimension involved and the conditions under which they agree.
Key terms
Fractal dimension
Definition A fractal dimension is a number that describes how a set fills space across scales. Every kind of fractal dimension makes precise, in its own way, the idea that covering the set with pieces of a small size takes about pieces as shrinks toward . The main kinds are the similarity dimension, which counts exact smaller copies of the set, the box-counting dimension, which counts the boxes of a grid that the set meets, and the Hausdorff dimension, which allows covers by sets of any shape. For a segment, a filled square and a solid cube all three give the familiar values 1, 2 and 3, but for other sets they need not be whole numbers. The surprise is that Sierpinski’s triangle, which is made of three half-size copies of itself, has dimension
in all three senses. Such a value records how fast the number of pieces grows as the pieces shrink. It does not mean that the set has one and a half directions to move in. For some other sets the different kinds of fractal dimension disagree, so a value should always be given together with its kind.
In plain words Make the pieces half as big and count how many you need. A segment needs 2 times as many, a filled square 4 times and a solid cube 8 times. Sierpinski’s triangle needs 3 times as many, and the exponent that turns 2 into 3 is about 1.585.
Example Sierpinski’s triangle, also called the Sierpinski gasket, is what remains of a filled equilateral triangle after removing the open middle triangle, whose corners are the midpoints of the three sides, then the open middle triangle of each of the three triangles that are left, and so on forever. Its three corner parts are copies of the whole at half the size. Compare it with shapes whose dimension is familiar.
| Shape | Half-size copies needed | As a power of 2 |
|---|---|---|
| Segment | 2 | |
| Filled square | 4 | |
| Solid cube | 8 | |
| Sierpinski’s triangle | 3 | with |
A filled triangle of the same outline would need 4 half-size copies, but the gasket has lost its middle and needs only 3. The exponent with lies between 1 and 2, because and .
Similarity dimension
Definition A similarity with ratio is a map of the plane or of space that multiplies every distance by the same number , possibly combined with turning, reflecting and shifting. Suppose a set is the union of pieces, each the image of under a similarity with the same ratio , where , and let be the magnification that brings a piece back to full size. The similarity dimension of this description of is the number with , which is
When the ratios differ, it is the one number with
The similarity dimension belongs to the list of maps, not directly to the set. It equals the Hausdorff dimension and the box-counting dimension of when the pieces satisfy the open set condition, which asks for a bounded open set , not empty, that each map sends into , with the images of under different maps not overlapping. The condition holds for the Cantor set, the Koch curve, Sierpinski’s triangle and the other examples on this page whose pieces meet at most along edges or at single points. Without the condition, the similarity dimension is still an upper bound for the Hausdorff dimension, but it can be too large.
In plain words Count the copies, find how much each copy must be blown up to match the whole, and ask which power of the magnification gives the count. The answer can be trusted as the dimension of the set only when the copies do not overlap.
Example The Cantor set is what remains of the interval from 0 to 1 after removing the open middle third, then the open middle third of each remaining interval, and so on forever. It is made of 2 copies at one third of the size, so , and
The Koch curve is built by replacing a segment with four segments one third as long, the middle two forming a tent, and repeating this on every segment forever. It is made of 4 copies at one third of the size, so its similarity dimension is . In both sets the pieces meet at most at single points, and the open set condition holds. Now describe the interval from 0 to 1 by the three maps , and again. The interval is the union of its three images, so the counting rule would give . The set has not changed, though, and its dimension is still 1. Two of the three pieces are the same half, so the open set condition fails, and the count of 3 counts that half twice.
Logarithm
Definition For a base with and a number , the logarithm is the exponent for which . The base 10 and the base , whose logarithm is written , are the most common. For any two allowed bases and ,
So for with and , the equation has exactly one solution, , where both logarithms use the same base and any base gives the same quotient.
In plain words A logarithm answers the question of which power of a given base produces a given number. It is the tool for finding a missing exponent, which is exactly what a dimension is here.
Example For Sierpinski’s triangle, . With base 10 logarithms,
and natural logarithms give as well. As a check, . The value is a little closer to 2 than to 1. That is because exponents measure ratios, and 3 is closer to 4 than to 2 as a ratio, since is smaller than . Indeed and .
Hausdorff dimension
Definition The diameter of a set , written , is the least upper bound of the distances between pairs of its points. Let be a set on a line, in the plane or in space, and let and . Cover by finitely or countably many sets , each of diameter at most , and form the sum
The greatest lower bound of these sums over all such covers is written . As shrinks, fewer covers are allowed and this number can only grow, and its limit , possibly infinite, is the -dimensional Hausdorff measure of . For every set there is one number such that is infinite for every and for every . This number is the Hausdorff dimension of . At the measure may be , a positive number or infinite. For a segment the measure is its length, and for a region in the plane is a fixed multiple of its area, so segments and regions get the dimensions 1 and 2. The Hausdorff dimension is defined for every set, with no exact copies needed. It is named after Felix Hausdorff, who introduced it.
In plain words Cover the set with small pieces and add up their sizes raised to a trial power. If the power is too small the total explodes as the pieces shrink, and if it is too large the total vanishes. The Hausdorff dimension is the power where the switch happens.
Example Take Sierpinski’s triangle with sides of length 1. After removal steps, filled triangles with sides remain, and they cover the gasket. Each has diameter , so this cover gives the sum
If , then and the sum tends to as grows, so of the gasket is and its Hausdorff dimension is at most . If is smaller, these particular sums grow without bound, but some cleverer cover might be cheaper, so this alone does not prove the matching lower bound. That is what the open set condition provides. The three corner triangles have interiors that do not overlap, so the interior of the whole triangle works as the set , and a classical theorem of Moran and Hutchinson then gives Hausdorff dimension exactly .
Topological dimension
Definition The topological dimension of a set is a whole number defined step by step. The empty set has topological dimension . A set has topological dimension at most if every point of it has arbitrarily small neighborhoods within the set whose boundaries, taken within the set, have topological dimension at most . The topological dimension is the smallest such . It does not change when a set is bent or stretched by a one-to-one continuous map whose inverse is also continuous, so it describes how a set is connected up rather than how its detail scales. For every set in the plane or in space, the topological dimension is at most the Hausdorff dimension. Benoit Mandelbrot, who coined the word fractal, proposed calling a set a fractal when its Hausdorff dimension is larger than its topological dimension, although no single definition of fractal is used by everyone.
In plain words Topological dimension asks how many dimensions it takes to cut a small piece out of the set. A piece of a curve is cut out by removing a few points, a piece of a surface by removing a curve, and each step down counts one dimension.
Example The Cantor set has topological dimension 0. Every point of it lies in arbitrarily small parts of the set, the parts inside the short intervals of the construction, and each such part is cut off from the rest of the set, so its boundary within the set is empty. The Koch curve is a bent and stretched segment, so its topological dimension is 1. Sierpinski’s triangle splits into small parts that touch the rest only at a few corner points, so its dimension is at most 1, and it contains whole segments, its edges, so its dimension is exactly 1. The four-corner dust is built by keeping the four corner squares of side of a unit square and repeating this in every kept square forever. Its four pieces are separate, so it is a dust of points with topological dimension 0, yet its Hausdorff dimension is .
| Set | Topological dimension | Hausdorff dimension |
|---|---|---|
| Segment | 1 | 1 |
| Filled square | 2 | 2 |
| Cantor set | 0 | |
| Koch curve | 1 | |
| Sierpinski’s triangle | 1 | |
| Four-corner dust | 0 | 1 |
The last four rows are fractals in Mandelbrot’s sense, including the dust, whose Hausdorff dimension is a whole number.
Check yourself
- Change a number. The Sierpinski carpet is made by dividing a filled square into 9 equal smaller squares, removing the open middle one, and repeating this in each of the 8 remaining squares forever. Find its similarity dimension, and compare it with the filled square.
Show the answer
The carpet is made of 8 copies at one third of the size, so , and
A filled square is made of 9 copies at one third of the size, which gives . Removing one ninth at every step lowers the dimension a little below 2. The 8 pieces meet only along edges, and the open unit square works as the set of the open set condition, since its 8 images are separate open squares inside it. So the Hausdorff dimension of the carpet is also about 1.893.
- A classmate says that the Koch snowflake has dimension about 1.262. The snowflake is built by growing a Koch curve outward on each side of an equilateral triangle. When is the claim right?
Show the answer
It is right for the boundary curve and wrong for the filled snowflake. The boundary is the union of three Koch curves, each of Hausdorff dimension , and a union of finitely many sets has the largest of their dimensions, so the boundary has dimension about 1.262 too. The filled snowflake contains the original triangle together with its inside, a region of positive area, so its measure is positive and its Hausdorff dimension is at least 2. No set in the plane has a larger dimension, so it is exactly 2. Its topological dimension is 2 as well, while the boundary curve has topological dimension 1. A dimension should always be attached to the right set, the curve or the region it encloses.
- Extend the pattern. Build a set from the interval from 0 to 1 by keeping the first quarter, from 0 to , and the second half, from to 1, and repeating this in every kept interval forever. The two pieces now have different sizes. Find the similarity dimension.
Show the answer
The rule needs pieces of one size, so use the equation for different ratios, here and ,
With , the first term is , so and the positive root is . Then
since , the golden ratio. The answer lies between , the value if both pieces were quarters, and , the value if both were halves. The two kept intervals do not overlap, so the open interval from 0 to 1 works as , and the Hausdorff dimension is also about 0.694.