Home › Fractal Geometry › Lesson 2

Contractions and Iterated Function Systems

Lesson 2 of 13

Key idea of this section

If f₁, …, fN are contractions of a complete space X,
the Hutchinson operator  T(A) = f₁(A) ∪ ⋯ ∪ fN(A)
is a contraction of (𝒦(X), h), so there is a unique compact F with F = T(F).

The Banach fixed point theorem

A map f : X → X is a contraction if there is c < 1 with d(f(x), f(y)) ≤ c d(x, y) for all x, y; the least such c is the contraction ratio (or Lipschitz constant) of f. If equality holds for all x, y, f is a similarity with ratio c.

Theorem 2.1 (Banach, 1922). Let (X, d) be a complete metric space and f a contraction with ratio c < 1. Then f has a unique fixed point x*, and for every x₀ ∈ X the iterates xₙ = fⁿ(x₀) converge to x*, with

d(xₙ, x*) ≤ cⁿ/(1 − c) · d(x₀, x₁)          (a priori bound)
d(xₙ, x*) ≤ c/(1 − c) · d(xₙ₋₁, xₙ)          (a posteriori bound)

Proof. By induction d(xk, xk+1) ≤ ck d(x₀, x₁). For m > n, the triangle inequality gives

d(xₙ, xm) ≤ ∑k=nm−1 ck d(x₀, x₁) < cⁿ/(1 − c) · d(x₀, x₁)

so (xₙ) is Cauchy, and converges to some x* by completeness. As f is continuous, f(x*) = lim f(xₙ) = lim xₙ₊₁ = x*. If y* were another fixed point, d(x*, y*) = d(f(x*), f(y*)) ≤ c d(x*, y*) forces d(x*, y*) = 0. Letting m → ∞ in the displayed inequality gives the a priori bound; applying that bound with xₙ₋₁ as the starting point gives the a posteriori bound. ∎

Worked example. The map f(x) = cos x is not a contraction of ℝ, but it maps [0, 1] into [cos 1, 1] ⊂ [0, 1], and |f′(x)| = |sin x| ≤ sin 1 ≈ 0.8415 there. Banach's theorem therefore applies on [0, 1] with c = sin 1, and iteration from any starting point converges to the unique solution x* ≈ 0.739085 of cos x = x (the Dottie number). With x₀ = 0, x₁ = 1, the a priori bound says that n iterations suffice for an error below 10⁻⁶ once 0.8415ⁿ/(1 − 0.8415) < 10⁻⁶, that is n ≥ 91. The bound is pessimistic: |f′(x*)| = sin x* ≈ 0.674, so the actual error decays roughly like 0.674ⁿ.

Iterated function systems

Definition. An iterated function system (IFS) on a complete metric space X is a finite family {f₁, …, fN} of contractions, N ≥ 2. Its Hutchinson operator is T : 𝒦(X) → 𝒦(X),

T(A) = ⋃i=1N fi(A)

Theorem 2.2 (Hutchinson, 1981). Let ci be the ratio of fi and c = max ci. Then T is a contraction of (𝒦(X), h) with ratio c. Consequently there is a unique F ∈ 𝒦(X), the attractor of the IFS, with

F = f₁(F) ∪ ⋯ ∪ fN(F)

and Tⁿ(A) → F in the Hausdorff metric for every A ∈ 𝒦(X).

Proof. By Lemma 1.3 (extended to N sets by induction) and Lemma 1.4,

h(T(A), T(B)) ≤ maxi h(fi(A), fi(B)) ≤ maxi ci h(A, B) = c·h(A, B)

Since 𝒦(X) is complete (Theorem 1.2), Banach's theorem applies. ∎

The theorem explains why the pictures in an elementary treatment look the same no matter what initial shape is used: begin with a square, a single point or a picture of a cat, and the iterates Tⁿ(A) converge to the same attractor. If A is chosen with T(A) ⊂ A — for instance a large enough ball — the iterates are nested, Tⁿ⁺¹(A) ⊂ Tⁿ(A), and F = ⋂ₙ Tⁿ(A). This is the classical "remove the middle third" description of the Cantor set.

Examples

The middle-third Cantor set C is the attractor of f₁(x) = x/3, f₂(x) = x/3 + 2/3 on ℝ. The Sierpinski triangle with vertices p₁, p₂, p₃ ∈ ℝ² is the attractor of fi(x) = (x + pi)/2. The von Koch curve is the attractor of four similarities of ratio 1/3, two of which involve rotations by ±60°. The unit interval itself is the attractor of x ↦ x/2, x ↦ x/2 + 1/2 — so "having an IFS" does not make a set fractal in any interesting sense.

Barnsley's fern is the attractor of four affine maps of ℝ² of the form x ↦ Ax + b. The fern makes a point that will recur: affine maps that are not similarities produce sets whose dimension theory is considerably harder (Lesson 8).

The collage theorem

Theorem 2.3 (Barnsley). If T is the Hutchinson operator of an IFS with ratio c and A ∈ 𝒦(X) is arbitrary, then

h(A, F) ≤ h(A, T(A)) / (1 − c)

Proof. h(A, F) ≤ h(A, T(A)) + h(T(A), T(F)) ≤ h(A, T(A)) + c h(A, F), and rearrange. ∎

The collage theorem is the basis of fractal image compression: to approximate a target set A by an attractor, it suffices to find a few contractions whose images "cover A by small copies of itself" — that is, make h(A, T(A)) small. It is the a posteriori bound of Theorem 2.1 in disguise.

Exercise

  • (a)
    Show that x ↦ x/2 + 1/2 and x ↦ x/2 have attractor [0, 1] by checking the fixed point equation.
  • (b)
    For a contraction with c = 1/3 and d(x₀, x₁) = 2, find the least n for which the a priori bound guarantees d(xₙ, x*) < 10⁻³.
  • (c)
    Let T be the Hutchinson operator of the Cantor IFS and A = [0, 1]. Compute h(A, T(A)), and use the collage theorem to bound h([0, 1], C). Is the bound sharp?
Show solution

Answers: (a) f₁([0, 1]) ∪ f₂([0, 1]) = [0, 1/2] ∪ [1/2, 1] = [0, 1], and the attractor is unique. (b) We need 3⁻ⁿ · 2/(2/3) = 31−n < 10⁻³, i.e. 3n−1 > 1000; since 3⁶ = 729 and 3⁷ = 2187, n − 1 = 7, so n = 8. (c) T([0, 1]) = [0, 1/3] ∪ [2/3, 1]; the point 1/2 is at distance 1/6 from it, so h = 1/6 and the bound is (1/6)/(2/3) = 1/4. The true value is h([0, 1], C) = 1/6, attained at x = 1/2 (all other gaps are smaller), so the collage bound is not sharp.

V.3.1