IFS Encyclopedia

Koch Curve

Fractal dimension: ≈ 1.261

Visualization

Open in IFStile ↗
AIFS program
@
$dim=2
$subspace=[s,0]
s=$companion([1,-1])
g=s+1
A=g^-2*(s|s^2*[1,-1]|[-1,2]|s*[2,0])*A

Overview

The Koch curve was introduced by Swedish mathematician Helge von Koch in 1904 as an example of a continuous curve that is nowhere differentiable. The familiar Koch snowflake is obtained by applying the construction to all three sides of an equilateral triangle.

Construction

Starting from a unit line segment, at each step replace the middle third with two sides of an equilateral triangle (pointing outward), removing the base:

segment    four segments of length 13\text{segment} \;\longrightarrow\; \text{four segments of length } \tfrac{1}{3}

After nn steps the curve has 4n4^n segments each of length (13)n(\frac{1}{3})^n, so the total length grows as (43)n(\frac{4}{3})^n \to \infty.

Definition

The IFS lives in Q(ω6)\mathbb{Q}(\omega_6) where ω6=eiπ/3\omega_6 = e^{i\pi/3} is a primitive 6th root of unity. The companion matrix ss (defined as $companion([1,-1]) in AIFS) satisfies s2s+1=0s^2 - s + 1 = 0; in the projected plane it acts as rotation by 60°.

The expansion g=s+1g = s + 1 has g=3|g| = \sqrt{3} and g2=3sg^2 = 3s, so g2s=13Ig^{-2} \cdot s = \tfrac{1}{3}I — a pure contraction by 13\frac{1}{3} with no rotation.

The four maps factor as A=g2(h1h2h3h4)(A)A = g^{-2}(h_1 \cup h_2 \cup h_3 \cup h_4)(A) with integer-coefficient operators:

MapAIFSNet effect in R2\mathbb{R}^2
h1=sh_1 = ssscale 13\tfrac{1}{3}, no rotation; f1(0)=(0,0)f_1(0)=(0,0)
h2=s2(x+[1,1])h_2 = s^2(\mathbf{x}+[1,-1])s^2*[1,-1]scale 13\tfrac{1}{3}, rotate +60°+60°; f2(0)=(13,0)f_2(0)=(\tfrac{1}{3},0)
h3=x+[1,2]h_3 = \mathbf{x}+[-1,2][-1,2]scale 13\tfrac{1}{3}, rotate 60°-60°; f3(0)=(12,36)f_3(0)=(\tfrac{1}{2},\tfrac{\sqrt{3}}{6})
h4=s(x+[2,0])h_4 = s(\mathbf{x}+[2,0])s*[2,0]scale 13\tfrac{1}{3}, no rotation; f4(0)=(23,0)f_4(0)=(\tfrac{2}{3},0)

The translations [1,1][1,-1], [1,2][-1,2], [2,0][2,0] are exact integers in Z2\mathbb{Z}^2; the irrational values 13\tfrac{1}{3}, 23\tfrac{2}{3}, 36\tfrac{\sqrt{3}}{6} emerge only after projecting via g2g^{-2}, with no floating-point approximation.

The directive $subspace=[s,0] tells the renderer to project the lattice Z2\mathbb{Z}^2 onto the eigenplane of ss, where basis vector [1,0][1,0] maps to (1,0)(1,0) and [0,1][0,1] maps to eiπ/3=(12,32)e^{i\pi/3} = (\tfrac{1}{2}, \tfrac{\sqrt{3}}{2}).

Properties

References

Similar

McWorter's Pentigree
planecurveself-similarpentagonalalgebraicclassic
Cantor Dust
planeself-similaralgebraicclassic
Heighway Dragon
planecurvetilingalgebraicclassic
Edit this page on GitHub ↗