KonkurStudy
همه کارت‌ها

Self-Similar Geometric Recurrences (Fractal Length/Perimeter)

When each iteration replaces every segment by k copies scaled by factor r, the total length is multiplied by kr each step — so it grows geometrically as (kr)^n.

کارت مفهوم کنکور ارشد علوم کامپیوتر

اهمیت
۰/۵

Many "fractal" konkur problems (Koch snowflake, Cantor-style lengths, Sierpiński perimeters) hide a very simple engine: a self-similar substitution rule applied to every piece of the figure, over and over. If you spot the rule, the answer is just a geometric sequence — no calculus, no figure-counting.

The substitution rule

Fix attention on one straight segment of length LL. A single iteration is described by two numbers:

  • kk = how many segments each segment is replaced by,
  • rr = the length scale factor of each new segment (0<r<10 < r < 1, usually r=13r=\tfrac{1}{3} or 12\tfrac{1}{2}).

So one iteration sends

L  ⟶  k (rL),L \;\longrightarrow\; k\,(rL),

meaning the length of that piece is multiplied by the constant ratio q=krq = kr. Because every segment obeys the same rule, the total length PnP_n of the whole figure obeys the same multiplier:

Pn+1=(kr) Pn.P_{n+1} = (kr)\,P_n.

Solving the recurrence

This is a first-order linear recurrence with constant ratio q=krq = kr, so it is purely geometric:

 Pn=(kr) n P0 \boxed{\,P_n = (kr)^{\,n}\,P_0\,}

where P0P_0 is the length/perimeter of the starting figure (step 00). Watch the indexing: "after nn steps" means multiply nn times. Equivalently, tracking the number of segments Nn=knN0N_n = k^{n} N_0 and the length of each ℓn=rnℓ0\ell_n = r^{n}\ell_0 separately gives the same product Pn=Nn ℓn=(kr)nP0P_n = N_n\,\ell_n = (kr)^n P_0.

The behavior as n→∞n\to\infty is decided by q=krq=kr:

Condition Total length PnP_n
kr>1kr > 1 →∞\to \infty (infinite perimeter, e.g. Koch)
kr=1kr = 1 constant
kr<1kr < 1 →0\to 0 (e.g. the Cantor set's length)

How to apply it

  1. Look at a single segment after one step. Count kk (new segments) and read off rr (scale).
  2. Form the ratio q=krq = kr.
  3. Identify P0P_0 = perimeter of the initial figure (don't forget it has several sides).
  4. Plug into Pn=(kr)nP0P_n = (kr)^n P_0, being careful whether the question counts from step 00 or step 11.

Mini-example: Koch curve from one segment

Koch replaces the middle third of a segment by the two sides of a small equilateral triangle, so one segment becomes k=4k=4 segments each scaled by r=13r=\tfrac{1}{3}. Thus q=4⋅13=43q = 4\cdot\tfrac{1}{3} = \tfrac{4}{3}. Starting from a single segment of length L=P0L=P_0, after nn steps the length is

Pn=(43)nL.P_n = \left(\tfrac{4}{3}\right)^{n} L.

For the full Koch snowflake the seed is an equilateral triangle, so P0=3sP_0 = 3s for side ss, and the perimeter after nn steps is Pn=3s(43)nP_n = 3s\left(\tfrac{4}{3}\right)^{n} — which diverges, encircling a finite area with an infinite boundary.

Exam trick: The whole problem reduces to the ratio q=krq=kr of one segment — never try to count all the little edges in the final figure. And mind the step count: the figure "obtained at the nn-th step" has been transformed nn times, so the exponent is nn, not n−1n-1 (and not n+1n+1).

فرمول‌های کلیدی

One-step length multiplier
Pn+1=(kr) PnP_{n+1} = (kr)\,P_n

Each segment is replaced by k segments scaled by r; total length multiplies by the constant ratio q = kr.

Closed form after n steps
Pn=(kr) n P0P_n = (kr)^{\,n}\,P_0

Geometric solution; P_0 is the starting perimeter (step 0), and the figure at step n has been transformed n times.

Koch perimeter (snowflake)
Pn=3s(43)nP_n = 3s\left(\tfrac{4}{3}\right)^{n}

k=4, r=1/3 so q=4/3; seed is an equilateral triangle of side s, giving P_0 = 3s. Diverges as n grows.

#self-similar#fractal#geometric-recurrence#koch-snowflake#perimeter#scale-factor#geometric-sequence#recurrences#discrete-math

سوالات تمرینی