🏠 Home › ❄️ Fractal Geometry › Lesson 2

🧩 The Recipe — One Rule, Repeated (and the Formula That Captures It)

📖 Lesson 2 of 9

📌 Key idea of this section

A fractal is built by ONE rule, applied over and over.
Each round is called an ITERATION (or stage). The start is stage 0.
Counting through the stages produces a GEOMETRIC SEQUENCE —
and geometric sequences have exact formulas.

Nobody draws a fractal one tiny piece at a time — that would take forever. Instead, you write down ONE rule and let it repeat. Watch how it works with the simplest fractal of all: the fractal tree.

The rule: every branch splits into 2 smaller branches.

Stage 0:  1 trunk
Stage 1:  the trunk splits — 2 new branches
Stage 2:  both branches split — 4 new branches
Stage 3:  all four split — 8 new branches

The new branches go 1, 2, 4, 8, 16... doubling every stage. The rule never changes; only the SIZE changes — each new generation is smaller than the last.

A list where every term is the previous term times the same fixed number is called a GEOMETRIC SEQUENCE, and that fixed multiplier is called the RATIO (usually written r). The tree's tip counts are geometric with ratio 2.

Two ways to write the same pattern:

B₀ = 1                        (stage 0: the trunk alone)
Bₙ = 2 · Bₙ₋₁                 (each stage doubles the tips)
Bₙ = 2ⁿ

Why are they the same? Unroll the recursive rule: Bₙ = 2·Bₙ₋₁ = 2·2·Bₙ₋₂ = ... after n doublings you reach B₀ = 1, so Bₙ = 2ⁿ · 1 = 2ⁿ. Each formula has a superpower: recursive is natural to write down from the rule; explicit lets you jump straight to stage 50.

Here's a third viewpoint that will matter in Lessons 3 and 4. Iterating a rule is COMPOSING A FUNCTION with itself. Define f(x) = 2x ("double it"). Then:

f(x) = 2x                     (one iteration)
f(f(x)) = f(2x) = 4x          (two iterations: substitute 2x into f)
f(f(f(x))) = 8x               (three iterations)
f applied n times = 2ⁿ · x    (n iterations)

Same math, new outfit: the n-th stage is the n-th composition of the rule-function.

Now count the TOTAL branches: 1, then 1 + 2 = 3, then 1 + 2 + 4 = 7, then 1 + 2 + 4 + 8 = 15. Look closely: 1, 3, 7, 15 — each total is exactly 1 less than the next power of 2 (2, 4, 8, 16). Let's PROVE that pattern instead of trusting it.

Theorem: 1 + 2 + 4 + ... + 2ⁿ = 2ⁿ⁺¹ − 1.

Proof (every step justified):

Let S = 1 + 2 + 4 + ... + 2ⁿ        (name the sum so we can work with it)
   2S =     2 + 4 + ... + 2ⁿ + 2ⁿ⁺¹  (multiply BOTH sides by 2; every term shifts one place right)
2S − S = 2ⁿ⁺¹ − 1                    (subtract the equations: 2 cancels 2, 4 cancels 4, ..., 2ⁿ cancels 2ⁿ)
     S = 2ⁿ⁺¹ − 1                    (2S − S is just S)

Check at n = 4: 2⁵ − 1 = 31, and 1 + 2 + 4 + 8 + 16 = 31. ✓

The same trick works for ANY ratio. A sum of a geometric sequence is called a GEOMETRIC SERIES, and here is its formula, derived the same way:

      S = a + ar + ar² + ... + arⁿ⁻¹       (n terms, first term a, ratio r)
     rS =    ar + ar² + ... + arⁿ⁻¹ + arⁿ  (multiply both sides by r)
  S − rS = a − arⁿ                          (subtract: the middle terms cancel in pairs)
S(1 − r) = a(1 − rⁿ)                        (factor out S on the left, a on the right)
       S = a(rⁿ − 1)/(r − 1)                (divide by (1 − r), then flip both signs to taste)

Worked example: the tripling tree (rule: every branch splits into 3). Total branches through stage 4 = 1 + 3 + 9 + 27 + 81. Here a = 1, r = 3, n = 5:

S = 1·(3⁵ − 1)/(3 − 1)                (substitute into the formula)
  = (243 − 1)/2                       (3⁵ = 243)
  = 242/2 = 121                       (simplify)

Check by adding: 1 + 3 + 9 + 27 + 81 = 121. ✓

One more case — the one that powers everything in Lesson 3. What if the series never ends, but the ratio is BETWEEN −1 and 1? Then the powers rⁿ shrink toward 0 (halve forever and you approach nothing), so in the formula S = a(1 − rⁿ)/(1 − r), the rⁿ term vanishes in the limit:

a + ar + ar² + ... (forever) = a/(1 − r),   valid when |r| < 1

We say this series CONVERGES — it settles on one finite number. When |r| ≥ 1 the terms don't shrink and the sum DIVERGES (grows past every bound). Example:

1 + 1/2 + 1/4 + 1/8 + ... = 1/(1 − 1/2) = 2   (a = 1, r = 1/2)

An infinite list of positive numbers adding up to a finite total — that's not a paradox, it's a convergent series, and it's the engine behind Lesson 3's big theorem.

Last worked example — deriving the tree's total formula by SOLVING EQUATIONS. The totals satisfy the recurrence Tₙ = 2Tₙ₋₁ + 1 (check: 2·3 + 1 = 7 ✓, 2·7 + 1 = 15 ✓). Guess a solution of the form Tₙ = a·2ⁿ + c, with unknown numbers a and c, and force it to work:

Substitute the guess into the recurrence:
a·2ⁿ + c = 2(a·2ⁿ⁻¹ + c) + 1          (Tₙ must equal 2Tₙ₋₁ + 1)
a·2ⁿ + c = a·2ⁿ + 2c + 1              (distribute: 2·2ⁿ⁻¹ = 2ⁿ)
      c = 2c + 1                      (subtract a·2ⁿ from both sides)
      0 = c + 1                       (subtract c from both sides)
      c = −1                          (subtract 1 from both sides)
Now use stage 0: T₀ = 1:
a·2⁰ + (−1) = 1                       (T₀ = a·1 + c, and c = −1)
a = 2                                 (add 1 to both sides)
Formula: Tₙ = 2·2ⁿ − 1 = 2ⁿ⁺¹ − 1     (combine: 2·2ⁿ = 2ⁿ⁺¹)

Matches the theorem. Two methods, one answer — that's how you know you're right.

In math, the iterations never stop. A true fractal has infinitely many stages — zoom in forever, and there's always more detail. Nature's fractals stop after a few rounds (a real tree splits maybe five or six times before the twigs end). But the RULE — and the formulas — are exactly the same.

✏️ Your Turn!

  • (a)
    A rule says: every square becomes 4 smaller squares. Start with 1 square. Write the recursive and explicit formulas for the count, and find the count at stage 2.
  • (b)
    A tree's rule is: every branch splits into 3. Write the explicit formula for new tips at stage n, and list stages 1–3.
  • (c)
    Use the series formula to find the total branches of a doubling tree through stage 5 — then check by adding.
👀 Show the answers

Answers: (a) Recursive: S₀ = 1, Sₙ = 4·Sₙ₋₁. Explicit: Sₙ = 4ⁿ. Stage 2: 16. (b) Tₙ = 3ⁿ: 3, 9, 27. (c) a = 1, r = 2, n = 6 terms (stages 0 through 5): S = (2⁶ − 1)/(2 − 1) = 63. Check: 1 + 2 + 4 + 8 + 16 + 32 = 63 ✓.

V.3.1