Fractals: Self-Similarity, Recursive Construction, and Scaling Dimensions

What makes a set fractal

Ordinary shapes look simpler when you zoom in: a smooth curve becomes a straight line and a smooth surface becomes a plane. A fractal does not. Magnify a piece of it and you find structure of the same kind as the whole. That property, self-similarity, comes in two forms:


  • Exact self-similarity. The set is literally made of scaled copies of itself. Mathematical constructions such as the Koch curve and the middle-thirds Cantor set have exact copies at every construction level and therefore exhibit structure at arbitrarily small scales; for both, the defining exact magnifications are powers of 3.
  • Statistical self-similarity. A magnified piece is not an exact copy, but its statistical properties (roughness, branching, how much of it lies within a given distance) are the same as the whole. Coastlines, fracture surfaces, river networks, and particle aggregates are of this type.


The consequence that matters for physics is scale dependence: for many fractal measurement procedures, quantities such as measured curve length or coarse-grained density depend on resolution over the object's scaling range. The associated scaling exponent provides a resolution-independent characterization within that range: the fractal dimension.

Recursive construction

An exact fractal is built by a rule applied repeatedly. Start from an initiator (a segment, a square, a triangle) and apply a generator that replaces every piece with N copies, each shrunk by a linear factor r.


Worked example: the Koch curve. Start with a unit segment.


Divide it into thirds and replace the middle third with two sides of an equilateral triangle, so the segment becomes N = 4 segments of length r = 1/3. After one step the length is 4 × 1/3 = 4/3. The rule is then applied to each of the four new segments, so after n steps there are 4n segments, each of length (1/3)n, and the total length is (4/3)n.


Because 4/3 > 1, the length grows without bound, even though the curve stays inside a bounded region. The growth is multiplicative per step, not additive.

Similarity dimension

For an ordinary object, scaling lengths by 1/r multiplies the “amount” of the object by (1/r)D with D = 1, 2, or 3.


A segment cut into halves gives 2 = 21 copies; a square gives 4 = 22; a cube gives 8 = 23. Demanding the same relation for a self-similar set, N = (1/r)D, defines


D = log N / log(1/r).


  • Koch curve: D = log 4 / log 3 ≈ 1.262. It is “more than a line, less than an area”.
  • Middle-thirds Cantor set (keep 2 of 3 pieces of a segment each step): D = log 2 / log 3 ≈ 0.631.
  • Sierpinski triangle (keep 3 of the 4 half-size triangles): D = log 3 / log 2 ≈ 1.585.


Two checks catch most errors. First, the actual Hausdorff or box-counting dimension of a subset cannot exceed the dimension of its ambient space.


For a self-similar construction whose copies satisfy an appropriate non-overlap condition, the similarity formula D = log N/log(1/r) gives that actual dimension and therefore cannot exceed the ambient dimension.


With overlapping copies, the similarity exponent can exceed the ambient dimension and need not equal the set's actual dimension.


For these grid constructions, the retained copies satisfy an appropriate non-overlap condition, so the similarity formula gives the actual Hausdorff and box-counting dimensions even when pieces are removed.


Second, the ratio is “log of copies over log of magnification”; inverting it gives a number that shrinks as the set becomes fuller, which is backwards.


The fraction of material kept at one step (for example 3/4 for the Sierpinski triangle) is not the dimension; the dimension compares how the kept fraction compounds against how the scale shrinks.

Estimating a dimension from measurements: box counting

Real objects are not built by an exact rule, so the dimension is measured. Cover the object with a grid of boxes of side ε and count the number of boxes N(ε) that contain part of it. For a fractal over a range of scales,


N(ε) ∝ ε−D, so log N = −D log ε + constant.


The dimension is the negative slope of log N against log ε, which you can estimate from two well-separated resolutions: D ≈ log(N2/N1) / log(ε1/ε2).


Worked example. A crack pattern photographed on a grid needs 85 boxes of side 0.2 cm and 1562 boxes of side 0.025 cm.


The box size shrank by a factor of 8 and the count rose by a factor of 1562/85 ≈ 18.4, so D ≈ log 18.4 / log 8 ≈ 1.40. A smooth line would have given a count ratio of 8 (D = 1); a filled region would have given 64 (D = 2).


Notice that the ratio of counts must be compared on logarithmic scales; dividing 18.4 by 8 is not a dimension.


With more than two resolutions, fit a straight line to the log–log points and check that it really is straight. A bending plot shows that one power law does not describe the full measured range; inspect whether any subrange is approximately linear.

Scale dependence and the ruler paradox

Walk a ruler of length ε along a statistically self-similar curve. The number of steps behaves like the box count, N(ε) ∝ ε−D, so the measured length is


L(ε) = N(ε) × ε ∝ ε1−D.


For D > 1 the exponent is negative, so a shorter ruler gives a longer length.


For a coast with D = 1.3, shrinking the ruler by a factor of 5 multiplies the measured length by 50.3 ≈ 1.62. The key step is to multiply the step count by the step length; using ε−D alone predicts the change in the number of steps, not the change in length.

Mass–radius scaling and density

For branching aggregates it is often easier to count how much material lies within radius R of a centre: M(R) ∝ RD. In a space of dimension d, the average density inside radius R is M/Rd ∝ RD−d.


When D < d, larger aggregates are emptier on average. For example, a three-dimensional aggregate with D = 2.5 has its mean density multiplied by 2−0.5 ≈ 0.71 each time R doubles.

Physical cutoffs

No physical object is fractal at all scales. Below a lower cutoff (the size of the grains, particles, or pixels) and above an upper cutoff (the size of the whole object or the sample window), the scaling stops.


A dimension estimate is meaningful only for the range over which the log–log plot is straight, and predictions should not be extrapolated past either cutoff. Reporting the range of validity is part of reporting the dimension.



A unit segment is transformed by the following rule: divide it into thirds and replace the middle third with three sides of a square of side 1/3 that stands on the removed third. Each segment therefore becomes 5 segments, each 1/3 as long. The rule is then applied to every segment of the new curve.

What is the total length of the curve after 3 applications of the rule?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

A fractal is built from a filled unit square. At each step every remaining square is divided into a 4 × 4 grid of 16 equal subsquares, and the 4 central subsquares are removed, leaving 12. The rule is repeated on each remaining subsquare indefinitely.

What is the similarity dimension of the limiting set?

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

Mark Yourself Question

  1. Grab a piece of paper and try this problem yourself.
  2. When you're done, check the "I have answered this question" box below.
  3. View the solution and report whether you got it right or wrong.

A satellite image of a river delta shoreline is overlaid with square grids. With boxes of side 2.0 km, 200 boxes contain part of the shoreline. With boxes of side 0.50 km, 1130 boxes contain part of the shoreline. Assume the shoreline is statistically self-similar over this range of scales.

Estimate the box-counting dimension of the shoreline to two decimal places.

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors