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 : 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 , then repeat one step again and again: square the current number, then add .
Plain text: z → z² + c, starting from z = 0
For some values of the numbers stay small forever. For others they grow without limit and "escape" to infinity. The Mandelbrot set is the collection of every whose numbers never escape. In the explorer these are the black regions; the colors around them show how quickly the other points escape.
Try : the number stays at 0, so 0 is in the set. With you get 0, 1, 2, 5, 26, 677 and so on, which explodes, so 1 is out. With 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 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 big heart-shaped body is the main cardioid. For every 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 to . Walk left from the cardioid's cusp and the final value splits into two at , then four, then eight, with the splits coming faster until they pile up at about , 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.

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

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 mini Mandelbrot
On the thin spike to the left, at , 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 very deep spiral
The half-height of this view is , roughly 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.

Higher powers: the Multibrots
Nothing says the exponent has to be 2. Using a power gives the family of Multibrot sets.
Plain text: z → z^p + c
For a whole-number power the picture has -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 (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.



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.