- Fractal dimension
Today we will learn to:
- connect scaling and dimension with the rule N = sD
- calculate the similarity dimension D = log N / log s
- estimate a dimension by box counting
- What is dimension?
- A point: dimension 0
- A line: dimension 1 (length)
- A square: dimension 2 (area)
- A cube: dimension 3 (volume)
- Scale by 3: how many copies?
- Line: 3 copies, 3 = 3¹
- Square: 9 copies, 9 = 3²
- Cube: 27 copies, 27 = 3³
In general N = sD.
- Logarithms recap
If sD = N, then D = log N / log s.
- 2D = 8 gives D = log 8 / log 2 = 3
- Any base works, as long as both logs use the same one.
- Similarity dimension
A shape made of N copies of itself, each scaled down by a factor s, has
D = log N / log s
Check: a square has N = 9, s = 3, so D = 2.
- The Koch curve
The Koch curve is made of 4 copies of itself, each 1/3 of the size.
N = 4, s = 3
- The Sierpiński triangle
3 copies, each half the size.
N = 3, s = 2
D = log 3 / log 2 ≈ 1.585
- Between the whole numbers
- Cantor set: log 2 / log 3 ≈ 0.631
- Koch curve: ≈ 1.262
- Sierpiński triangle: ≈ 1.585
- Sierpiński carpet: log 8 / log 3 ≈ 1.893
- The coastline paradox
- Measure a coast with a 100 km ruler, then a 10 km ruler.
- The shorter ruler gives a longer coast.
- West coast of Britain: D ≈ 1.25
- Box counting
- Cover the shape with a grid of boxes of size ε.
- Count the boxes N that touch it.
- Plot log N against log(1/ε).
- The slope is the dimension.
- Work it out
Halving the box size multiplies the number of boxes by about 2.4.
Estimate the dimension of the shape.
- Summary
- Scaling rule: N = sD
- Similarity dimension: D = log N / log s
- Koch ≈ 1.262, Sierpiński ≈ 1.585
- Box counting: dimension = slope of the log–log plot
- Exit question
The Sierpiński carpet: divide a square into a 3 × 3 grid, remove the middle square, and repeat with the other 8.
What is its dimension?