The Mandelbrot Set

The most famous picture in mathematics comes from one line of arithmetic: square a number, add a constant, repeat. Here is what the set is, where it came from and where to look when you zoom in.

What it is

Pick a point on a flat sheet and treat it as a complex number c: a number with two parts, where the left-right position is the real part and the up-down position is the imaginary part. Now play a simple game. Start with z=0, then repeat one step again and again: square the current number, then add c.

zn+1=zn2+c

Plain text: z → z² + c, starting from z = 0

For some values of c the numbers stay small forever. For others they grow without limit and "escape" to infinity. The Mandelbrot set is the collection of every c whose numbers never escape. In the explorer these are the black regions; the colors around them show how quickly the other points escape.

Try c=0: the number stays at 0, so 0 is in the set. With c=1 you get 0, 1, 2, 5, 26, 677 and so on, which explodes, so 1 is out. With c=−1 you get 0, -1, 0, -1 and so on forever, so -1 is in.

The whole set fits inside a circle of radius 2, and once the numbers leave that circle they never come back. A program only has to count how many steps a point takes to leave. That count, the escape time, is what the colors show (see How it works).

A short history

The rule z→z2+c is old. Pierre Fatou and Gaston Julia studied it around 1918 with pencil and paper (see Julia sets). The picture is newer. A crude computer plot appeared in a paper by Robert Brooks and Peter Matelski, written in 1978 and published in 1981. In 1980 Benoit Mandelbrot, working at IBM, produced the first detailed images. He had coined the word "fractal" in 1975.

In the early 1980s Adrien Douady and John Hubbard put the set on firm ground. They proved that it is connected, a single piece with no islands, and named it after Mandelbrot. Peitgen and Richter's 1986 book The Beauty of Fractals made it famous.

How to read the picture

The Mandelbrot set in full: a black heart-shaped main cardioid with a round bulb on its left and many smaller bulbs and thin antennae around its edge, surrounded by blue bands.
The whole Mandelbrot set at the explorer's home view.

The big heart-shaped body is the main cardioid. For every c inside it, the numbers settle toward a single value. The large disc on its left is the period-2 bulb: there the numbers end up alternating between two values. Each smaller bulb has its own period (3, 4, 5 and so on), which you can read off by counting the spokes of the little antenna growing from it.

The colored bands outside are contour lines of escape speed, crowding closer as you approach the boundary. That boundary is so crinkled that its Hausdorff dimension is 2, as intricate as a plane curve can be (Mitsuhiro Shishikura, 1998).

Along the horizontal axis the set stretches from c=−2 to c=14. Walk left from the cardioid's cusp and the final value splits into two at c=−34, then four, then eight, with the splits coming faster until they pile up at about c≈−1.4012, where chaos begins. The ratio of successive splits, about 4.669, is Feigenbaum's constant.

Places to visit

Each button opens that exact view.

Seahorse Valley

The groove between the main cardioid and the period-2 disc, on the upper side. Look for spirals that curl like seahorse tails.

Seahorse Valley in the Mandelbrot set: along the black edge of the set on the right, curling seahorse-tail spirals and star-like whorls in gold and red.
Seahorse Valley, near c = -0.7445 + 0.1217i.

Elephant Valley

Just right of the cardioid's cusp at c=14, a procession of small round bulbs, each trailing curling, trunk-like tendrils.

Elephant Valley in the Mandelbrot set: a chain of small round black bulbs along the boundary, each with curling tendrils and fine spiral patterns, against a blue background.
Elephant Valley, near c = 0.2829 + 0.0103i.

Triple spiral

Higher up the cardioid, the boundary pinches into a narrow valley whose two walls are lined with rows of spirals. Press C to watch the colors flow along the walls.

A narrow, tapering valley outside the Mandelbrot set, with rows of small spirals lining both walls and the black interior of the set above and below.
The triple spiral region, near c = -0.0886 + 0.6545i.

A mini Mandelbrot

On the thin spike to the left, at c≈−1.7549, sits a tiny copy of the whole set: the center of a period-3 bulb. These "minibrots" appear at every scale, each a little stretched and twisted.

A miniature copy of the whole Mandelbrot set, a minibrot, with its own cardioid and bulbs, surrounded by long streaks radiating into the background.
A minibrot at c = -1.75488, the center of the period-3 component on the real axis.

A very deep spiral

The half-height of this view is 4×10−30, roughly 3×1029 times magnified. On a 30 cm screen that is like zooming into a picture of the set about a hundred times wider than the observable universe. Ordinary 64-bit numbers carry only about 16 digits, so the explorer switches to perturbation theory.

A deep Mandelbrot zoom: concentric rings of golden spirals and curls around a tiny dark center ringed by small minibrots.
Zoom level 10-30: the structure never runs out.

Higher powers: the Multibrots

Nothing says the exponent has to be 2. Using a power p gives the family of Multibrot sets.

zn+1=znp+c

Plain text: z → z^p + c

For a whole-number power the picture has (p−1)-fold rotational symmetry: two lobes for the cubic set, three for the quartic. For a fractional power such as 2.5 the computer must choose one of several possible values of zp (the principal branch), and the choice jumps along the negative real axis, leaving a faint seam. The explorer accepts any power from 1.5 to 12.

The cubic Multibrot set, power 3: two large black circular lobes stacked vertically, with smaller bulbs around them.
Power 3.
The quartic Multibrot set, power 4: three large overlapping black lobes with smaller bulbs around them.
Power 4.
The Mandelbrot-style set for power 2.5, with a faint horizontal seam running left from the set along the negative real axis.
Power 2.5: look for the seam on the left.

Ultra-deep zoom needs power 2; for other powers the explorer stops at the limit of ordinary precision and tells you so.

In the explorer

Try this: hover over any point of the Mandelbrot set and press J to open the Julia set for that exact point. A small picture-in-picture preview follows your pointer. Press R to return to the home view.

The Explore section of the side panel has a guided tour through all the places above. Next: Julia sets.