JOVANA
Explore Library Glossary Getting Started Three Levels Fields How it works Mission
Join the mission
All guides

Fractals and Fractional Dimension

Some shapes are so crinkled that calling them one-dimensional curves or two-dimensional regions feels like a lie. The honest fix is to widen what 'dimension' means until it can read off a number like 1.26 — and that number, the fractal dimension, turns out to measure exactly how a shape's detail explodes as you zoom in.

A coastline that has no length

Every curve in the earlier rungs had a length you could in principle measure: lay down arc length, integrate the speed, and out comes a finite number of metres. But take a real coastline and try the same thing. Measure it with a 10-kilometre ruler and you cut every bay and headland into straight chords, missing the wiggles; you get some length. Switch to a 1-kilometre ruler and you catch finer wiggles you skipped before, and the measured length goes up. Drop to a 100-metre ruler and it climbs again. The length does not settle down to a true value as your ruler shrinks — it keeps growing, apparently without bound. The coastline is not a curve with a slightly-hard-to-measure length; it is a shape for which 'length' is the wrong question.

This is not a failure of careful surveying; it is a structural fact, made famous by Benoit Mandelbrot's 1967 question 'How long is the coast of Britain?'. The coastline has detail at every scale — bays inside bays, rocks inside rocks, grains inside grains — and a finite ruler can never resolve detail finer than itself. A smooth circle is the opposite: zoom in on its edge and it flattens toward a straight line, the wiggles run out, and short rulers and long rulers agree on the circumference. What we need is a way to tell these two apart with a number: smooth curves on one side, endlessly detailed coastlines on the other.

Self-similarity: a shape built from shrunken copies of itself

To get a grip on infinite detail we start with shapes that have it on purpose, built by a clean rule we control. The cleanest is self-similarity: a shape is self-similar when it is made of several reduced copies of the whole, each shrunk by the same factor. A line segment is trivially self-similar — it is two half-length copies of itself laid end to end. A filled square is four quarter-scale squares. These are the boring cases; the interesting ones break the pattern, and the most famous is the Koch curve.

Build the Koch curve by a recipe you repeat forever. Start with a straight segment. Cut it into three equal thirds and replace the middle third with the other two sides of an equilateral triangle poking outward — so one straight piece becomes four pieces, each one-third as long, with a little tent in the middle. Now do the very same thing to each of those four pieces, and again to the sixteen pieces that produces, and on without end. Each four-piece pattern is a one-third-scale copy of the previous whole: that is its self-similarity, four copies at scale one-third, baked into the construction by hand.

Now watch its length. Every step replaces each piece by four pieces of one-third the length, so the total length is multiplied by 4/3 at every stage: it grows like (4/3), (4/3)^2, (4/3)^3, ... without bound. The finished Koch curve has infinite length — yet it is squeezed into a finite patch of the plane, bounded by the little region around the original segment. Here, deliberately constructed, is exactly the coastline's paradox: infinite length, finite footprint, detail at every scale. The shape is more than a 1-dimensional curve — it is too crinkled to have a length — but it is plainly less than a 2-dimensional region, since it has no area at all.

Dimension as a scaling rule

To pin a dimension on the Koch curve we first need to say what dimension means in a way that does not just count axes. Here is the key idea, and it is purely about counting copies. Take an ordinary segment and scale it down by a factor of 3 (each piece one-third as long); it takes 3 of those small segments to rebuild the original. Take a square and scale its side by 3; it takes 9 = 3^2 of the small squares to tile the original. Take a cube and scale by 3; it takes 27 = 3^3 small cubes. The pattern is unmistakable: when you shrink by a factor s, the number of copies N needed to refill the original is N = s^d, where d is the dimension — 1 for the segment, 2 for the square, 3 for the cube.

Solve that relation for d by taking logarithms: from N = s^d we get d = log(N) / log(s). This formula is the doorway, because nothing in it demands that d be a whole number. It just reads off, from a self-similar shape, the single exponent that ties 'how many copies' to 'how much smaller'. For the boring shapes it returns the integers we expect. The thrilling part is feeding it a shape whose copies-and-scale do not match any integer.

scaling rule for a self-similar shape:

    N = s ^ d          N copies, each shrunk by factor s

    d = log(N) / log(s)

  segment:  shrink by 3, need 3 copies   d = log3 / log3 = 1
  square :  shrink by 3, need 9 copies   d = log9 / log3 = 2
  cube   :  shrink by 3, need 27 copies  d = log27/ log3 = 3

  Koch   :  shrink by 3, need 4 copies
            d = log4 / log3 = 1.2618...
The same counting rule that gives 1, 2, 3 for segment, square, cube returns a non-integer for the Koch curve: four copies at one-third scale forces d = log 4 / log 3.

The Koch curve's dimension is 1.26

Apply the rule to the Koch curve directly. Its construction tells us both numbers we need: each generation is built from N = 4 copies, each shrunk by a factor of s = 3. So its fractal dimension is d = log(4) / log(3) = 1.2618..., a number wedged firmly between 1 and 2. This is not vagueness or a measurement error; it is a precise quantity that says, honestly, the Koch curve is more than a line and less than a filling of the plane. The fraction is the whole point — it is why these objects are called fractals, a word Mandelbrot coined in 1975 from the Latin for 'broken'.

Read what 1.26 is telling you. The dimension exceeds 1 by 0.26, and that excess measures how aggressively detail piles up as you zoom. A higher fractional dimension means a rougher, more space-filling curve: the Koch curve at 1.26 is gently crinkled, while a wilder fractal closer to dimension 2 would nearly smear across the plane. A real coastline, measured by the ruler trick from the first section, typically returns a dimension around 1.2 to 1.3 — strikingly close to Koch, which is why the Koch curve is the textbook toy model of a coast. The number is not decoration; it is a genuine, comparable measurement of roughness.

Box-counting: dimension for shapes with no neat recipe

The log(N)/log(s) rule needed exact self-similarity — a shape literally made of N copies at scale s. A real coastline, or a fern, or the boundary of a stormcloud, has no such tidy recipe. The repair is the box-counting dimension, which keeps the same scaling idea but stops demanding perfect copies. Lay a grid of square boxes of side e over your shape and count N(e), the number of boxes that the shape touches. Now shrink the boxes and count again. For a smooth curve, halving the box size roughly doubles the count (N grows like 1/e, the exponent 1). For a region, halving the box size roughly quadruples it (N grows like 1/e^2). The exponent in 'N(e) grows like (1/e)^d' is the dimension.

Box-counting is the workhorse, because it asks only that you be able to see the shape and drop a grid on it — no formula, no self-similarity, no exact copies required. It is exactly how the dimension of a coastline gets measured from a map, how the roughness of a fracture surface or a brain scan or a galaxy distribution gets a number. Crucially it agrees with log(N)/log(s) on the self-similar shapes where both apply: box-count the Koch curve and you recover d = 1.26 again. It is the same dimension, reached by a method that survives when the neat recipe is gone.

One honest caveat belongs here. Mathematicians use several precisely-defined dimensions — box-counting (Minkowski) dimension and the more delicate Hausdorff dimension are the two main ones — and on pathological sets they can disagree. For the clean self-similar fractals in this guide they all return the same value, which is why we have happily said 'the' dimension. But 'fractal dimension' is really a family of related notions, not one universal definition, and a careful source will name which one it means. We are giving you the honest, usable core; the fine distinctions belong to a course in measure theory.

Where fractals fit, and where they lead

Step back and place this beside the geometry you already own. Through every earlier rung, dimension was a fixed integer handed to you for free — a curve was 1-dimensional, a surface 2-dimensional, space 3-dimensional, and nobody asked why. Fractal geometry's quiet revolution is to demote dimension from a given to a measured quantity, a real number you compute from a shape's scaling behaviour. Most familiar objects still return their old integers — that is the consistency check that makes the new definition trustworthy — but now there is room between the integers, and rough nature, it turns out, lives mostly in that room.

These ideas are not isolated curiosities; they thread back into the rest of this rung. The same self-similar scaling that defines fractal dimension drives geometric group theory, where mathematicians study an infinite group by treating it as a geometric space and asking how its 'volume' grows with radius — a scaling exponent close kin to the box-counting exponent here. And the wild, detail-at-every-scale sets that defeat ordinary length are exactly the objects that the convex hull and triangulation tools from the computational-geometry guides must approximate when they meet real terrain data, finite samples standing in for an infinitely intricate boundary.

There is also a frank limit worth stating. Fractal dimension is a single number, and a single number cannot capture everything about a shape — two visibly different fractals can share the same d, just as two different triangles can share the same area. It tells you about roughness and scaling, not about overall form, symmetry, or how the pieces connect. Treat it as one sharp instrument among many, brilliant at the question 'how does detail grow under zoom?' and silent on most others. Used that way — honestly, within its range — fractional dimension is one of geometry's genuinely new twentieth-century ideas, and the natural last stop before the final guide surveys where the whole subject is heading.