🏠 Home › ❄️ Fractal Geometry › Lesson 5

⚡ The Dimension Secret — Now With Logarithms

📖 Lesson 5 of 9

📌 Key idea of this section

If a shape is made of N copies of itself, each shrunk by a factor of r,
then N = (1/r)ᵈ — and solving for d gives the DIMENSION:
d = log N / log (1/r). For fractals, d comes out as a fraction!

Here's a strange little experiment. Take a shape and ask: how many HALF-SIZE copies of itself does it take to build it?

Now repeat with THIRD-SIZE copies (scale factor r = 1/3):

Organize everything into one table and hunt for the pattern:

Shape   r = 1/2   r = 1/3   ...and the dimension we know it has
line    2         3         1
square  4         9         2
cube    8         27        3
Line:   2 = 2¹ and 3 = 3¹     → dimension 1
Square: 4 = 2² and 9 = 3²     → dimension 2
Cube:   8 = 2³ and 27 = 3³    → dimension 3

The pattern: N = (1/r)ᵈ. The copy count equals the inverse scale factor raised to the dimension!

Why should that be true? When you shrink a shape by a factor r, its "bulk" shrinks by rᵈ — length for d = 1, area for d = 2, volume for d = 3. So each small copy holds rᵈ of the whole, and it takes exactly N = 1/rᵈ = (1/r)ᵈ copies to rebuild the whole. Check the square at r = 1/2: each copy has (1/2)² = 1/4 the area, and indeed 4 copies rebuild it. ✓

Now flip it around — this is the big move. For a self-similar shape, DEFINE the dimension by that equation:

N = (1/r)ᵈ        where N = number of self-copies, r = their scale factor

For ordinary shapes this reproduces 1, 2, 3. For fractals it produces something new — IF we can solve for d. That requires a tool you may not have met yet, so here it is, properly defined.

LOGARITHMS, from scratch. The logarithm of a number x to base b is the EXPONENT you must put on b to get x:

log_b(x) = y    means exactly    bʸ = x
log₂(8) = 3        because 2³ = 8
log₃(81) = 4       because 3⁴ = 81
log₁₀(1000) = 3    because 10³ = 1000

Two laws make logarithms do real work. Each gets a one-line proof.

Law 1: log_b(M·N) = log_b(M) + log_b(N)
Proof: write M = bˣ and N = bʸ (that's what the logs ARE: x = log_b M, y = log_b N).
Then M·N = bˣ·bʸ = bˣ⁺ʸ (adding exponents), so log_b(M·N) = x + y = log_b M + log_b N. ✓
Law 2: log_b(Mᵏ) = k · log_b(M)
Proof: M = bˣ, so Mᵏ = (bˣ)ᵏ = bᵏˣ (power of a power multiplies exponents),
so log_b(Mᵏ) = kx = k·log_b(M). ✓
Change-of-base: log_b(x) = log(x) / log(b)   — using ANY log your calculator has.
Proof: x = bʸ means y = log_b(x). Take log₁₀ of both sides of x = bʸ:
log(x) = log(bʸ) = y·log(b) (Law 2). Divide by log(b): y = log(x)/log(b). ✓

One more fact we lean on: equal numbers have equal logarithms, so you may "take log of both sides" of any equation. (Logs are one-to-one: different inputs never give the same output.)

Now solve the dimension equation, every step shown:

N = (1/r)ᵈ                        (the dimension equation)
log N = log((1/r)ᵈ)               (take log of both sides — any base)
log N = d · log(1/r)              (Law 2 brings the exponent down in front)
d = log N / log(1/r)              (divide both sides by log(1/r))

THE DIMENSION FORMULA. Let's fire it up:

Line:       d = log 2 / log 2 = 1                                  (exact)
Square:     d = log 4 / log 2 = log(2²)/log 2 = 2·log 2/log 2 = 2  (exact, using Law 2)
Cube:       d = log 8 / log 2 = log(2³)/log 2 = 3                  (exact)
Sierpinski: N = 3 copies at r = 1/2:
            d = log 3 / log 2 ≈ 0.4771/0.3010 ≈ 1.585
Koch edge:  N = 4 copies at r = 1/3 (zoom into any bump: the whole edge
            is 4 copies of itself, each 1/3 the size):
            d = log 4 / log 3 ≈ 0.6021/0.4771 ≈ 1.262
Cantor set  (Lesson 7): N = 2 copies at r = 1/3:
            d = log 2 / log 3 ≈ 0.3010/0.4771 ≈ 0.631

Read those answers slowly — they're the payoff of the entire lesson:

Shapes whose dimension lands between whole numbers are the classic FRACTALS. The name comes from the Latin word "fractus," meaning "broken" — Mandelbrot picked it for these broken-up, crinkly shapes. (Fun bonus: "fraction" comes from the same Latin root!) And notice the square from Lesson 1: exactly self-similar, but its dimension computes to exactly 2 — self-similar yet not fractional, so not a true fractal. The mystery from Lesson 1, resolved.

✏️ Your Turn!

  • (a)
    Which has more dimensions: a shape made of 4 half-size copies, or one made of 8?
  • (b)
    A mystery fractal is built from 5 half-size copies of itself. Compute its dimension and place it between two whole numbers.
  • (c)
    A fractal is made of 4 copies at scale 1/3. Compute its dimension — do you recognize the shape?
👀 Show the answers

Answers: (a) 8 copies: d = log 8/log 2 = 3 beats 4 copies: d = log 4/log 2 = 2. (b) d = log 5/log 2 ≈ 0.6990/0.3010 ≈ 2.32 — between 2 and 3 dimensions. (c) d = log 4/log 3 ≈ 1.262 — that's exactly the Koch snowflake's edge!

V.3.1