Video 4, chapter 21

The Mandelbrot Set, a Map of Julia Worlds

How the Mandelbrot set fixes the start 0 and varies c in the rule z squared plus c, why radius 2 proves escape, what escape-time pictures can and cannot show, and how the set decides which Julia sets are connected.

  • Video 4, chapter 21
  • A map of mathematical worlds

A Julia set picture keeps the rule z2+cz^2 + c fixed and lets the starting point change from pixel to pixel. What changes if the starting point stays fixed at 00 and the parameter cc varies instead? Then every pixel is a different rule, and the picture becomes a map of the whole family of rules. This page defines the Mandelbrot set, works out its exact cases, explains the radius 22 test and the limits of escape-time pictures, and states the theorem that makes the set a map of Julia worlds, with connected Julia sets inside it and dust outside.

Key terms

Mandelbrot set

Definition The Mandelbrot set MM is the set of complex numbers cc for which the orbit of 00 under the rule z2+cz^2 + c, which is z0=0z_0 = 0, z1=cz_1 = c, z2=c2+cz_2 = c^2 + c and so on, stays bounded. Each point of the set is a parameter, so each point stands for a whole rule. The radius 22 decides membership for every cc. One point of the orbit with ∣zn∣>2\lvert z_n \rvert > 2 forces escape, so cc belongs to MM exactly when ∣zn∣≤2\lvert z_n \rvert \le 2 for every nn. When ∣c∣≤2\lvert c \rvert \le 2 this is the escape radius max⁡(2,∣c∣)=2\max(2, \lvert c \rvert) = 2 from Julia Sets, One Rule and Many Starting Points. When ∣c∣>2\lvert c \rvert > 2 the orbit escapes anyway. It begins with z1=cz_1 = c, and whenever ∣zn∣≥∣c∣\lvert z_n \rvert \ge \lvert c \rvert,

∣zn+1∣≥∣zn∣2−∣c∣≥∣zn∣2−∣zn∣≥∣zn∣(∣c∣−1).\begin{aligned} \lvert z_{n+1} \rvert &\ge \lvert z_n \rvert^2 - \lvert c \rvert \\[0.4em] &\ge \lvert z_n \rvert^2 - \lvert z_n \rvert \\[0.4em] &\ge \lvert z_n \rvert \bigl(\lvert c \rvert - 1\bigr). \end{aligned}

The factor ∣c∣−1\lvert c \rvert - 1 is greater than 11, so every later point is again at least as far out as cc, and the distances grow at least like the powers of ∣c∣−1\lvert c \rvert - 1. Hence MM lies in the closed disk ∣c∣≤2\lvert c \rvert \le 2, and on the real axis it is exactly the segment from −2-2 to 14\tfrac14, as the third question below shows. The start 00 is not arbitrary. Every value ww other than cc is reached in one step from exactly two starts, the two square roots of w−cw - c, while cc is reached only from 00, so 00 is the one point where the two starts merge. The orbit of this special point decides whether the Julia set is in one piece, and the connectedness card below gives the theorem. The set is named after Benoit Mandelbrot, who published computer pictures of it in 1980.

In plain words Each point of the Mandelbrot picture is a rule. Run that rule from 00, and the point belongs to the set when the orbit never gets farther than 22 from 00. Belonging has nothing to do with cc itself being small.

Example Three exact cases come first. For c=0c = 0 the orbit is 0,0,0,…0, 0, 0, \dots, a fixed point, and for c=−1c = -1 it is 0,−1,0,−1,…0, -1, 0, -1, \dots, a cycle of length 22, so both values lie in MM. For c=1c = 1 the orbit is 0,1,2,5,26,…0, 1, 2, 5, 26, \dots. The value 22 at the second step lies exactly on the radius and decides nothing, but the value 55 at the third step proves escape, so 11 is not in MM. The parameter c=−2c = -2 shows why the test must be strict. Its orbit is 0,−2,2,2,2,…0, -2, 2, 2, 2, \dots, which reaches distance exactly 22 and stays there, so −2-2 belongs to MM and is its leftmost point. A test that removed every orbit with some ∣zn∣≥2\lvert z_n \rvert \ge 2 would wrongly throw it out. Size alone does not decide, since −2-2 is far from 00 and belongs, while 0.30.3 is close to 00 and does not, as the second question below shows.

Parameter plane

Definition For the family of rules z2+cz^2 + c, the parameter plane is the complex plane of values of cc, in which each point stands for one rule. It differs from the dynamical plane, the complex plane of starting points z0z_0 for one fixed rule, where filled Julia sets and Julia sets are drawn. A Julia picture fixes cc and lets z0z_0 vary over the dynamical plane. The Mandelbrot picture fixes z0=0z_0 = 0 and lets cc vary over the parameter plane. Both pictures use the same rules and the same kind of escape test, but their coordinates answer different questions, so a point of one picture is not a point of the other.

In plain words Moving across a Mandelbrot picture changes the rule. Moving across a Julia picture changes only the start. Behind every point of the parameter plane lies a whole dynamical plane with its own Julia set.

Example The point c=−1c = -1 of the parameter plane is a single point of MM, and behind it lies the dynamical plane of z2−1z^2 - 1, where the filled Julia set is the basilica. The large shapes of MM have exact meanings. The big heart-shaped region, the main cardioid, consists of the values cc for which z2+cz^2 + c has an attracting fixed point pp, one with ∣2p∣<1\lvert 2p \rvert < 1. For a fixed point, p2+c=pp^2 + c = p, so

(z2+c)−p=z2−p2=(z−p)(z+p),\begin{aligned} (z^2 + c) - p &= z^2 - p^2 \\[0.4em] &= (z - p)(z + p), \end{aligned}

and near pp each step multiplies the distance to pp by about ∣2p∣\lvert 2p \rvert. Nearby orbits are pulled in, and in fact the orbit of 00 is drawn to pp. For c=−12c = -\tfrac12 the attracting fixed point is p=1−32≈−0.366p = \tfrac{1 - \sqrt{3}}{2} \approx -0.366, with ∣2p∣≈0.732\lvert 2p \rvert \approx 0.732. The disk of radius 14\tfrac14 centered at −1-1 consists of the values cc for which the rule has an attracting cycle of length 22, and it touches the cardioid at c=−34c = -\tfrac34. For c=−1.2c = -1.2, inside that disk, the orbit of 00 approaches the cycle of the two numbers −12±3510-\tfrac12 \pm \tfrac{3\sqrt{5}}{10}, about 0.1710.171 and −1.171-1.171. The region just above the meeting point, around −0.75+0.1i-0.75 + 0.1i, is known as Seahorse Valley.

Escape-time algorithm

Definition The escape-time algorithm draws a finite approximation of a set defined by bounded orbits. It needs a rectangle of the plane, a grid of sample points with one point for each pixel, an escape radius and a budget of NN steps. For the Mandelbrot set the sample point is the parameter cc, the orbit starts at 00 and the radius is 22. Each orbit is computed for at most NN steps. If some n≤Nn \le N has ∣zn∣>2\lvert z_n \rvert > 2, the smallest such nn is the escape time of that pixel, and the pixel is colored by it. Otherwise the pixel gets a separate color, often black, which means only that no escape was observed within NN steps. An escape proves that the sample point lies outside MM, provided the rounding errors of the computer arithmetic are small enough. A non-escape proves nothing, because points just outside MM can take very many steps to escape. The picture also depends on the grid, since a pixel shows one sample point and thin parts of the set can fall between samples. Zooming in means recomputing the orbits at new, closer sample points, usually with a larger budget, and enlarging an old picture only enlarges its pixels. Ordinary double-precision arithmetic carries about 1616 significant digits, so very deep zooms need more precise arithmetic.

In plain words Run the orbit of every pixel for a fixed number of steps and color the pixel by how soon the orbit crossed radius 22. The colors outside the set are measurements, while the dark region holds the sampled points that have not escaped yet, which can include points just outside the set.

Example For c=1c = 1 the escape time is 33, since ∣z2∣=2\lvert z_2 \rvert = 2 is not beyond the radius and ∣z3∣=5\lvert z_3 \rvert = 5 is. Real parameters just to the right of 14\tfrac14, the right end of MM on the real axis, escape slowly.

ccEscape time
0.260.263030
0.25010.2501312312
0.2500010.25000131403140

With a budget of 10001000 steps, the pixel at 0.2500010.250001 would be painted as if it belonged to MM, although its orbit escapes at step 31403140. The counts follow a curious pattern, since multiplying each by c−14\sqrt{c - \tfrac14} gives 3.03.0, 3.123.12 and 3.143.14, close to π\pi. Parameters just above the meeting point −34-\tfrac34 escape slowly too. The parameter −0.75+0.01i-0.75 + 0.01i escapes at step 315315 and −0.75+0.001i-0.75 + 0.001i at step 31433143, and multiplying by the heights 0.010.01 and 0.0010.001 again gives about π\pi. The colors are a choice of palette applied to these counts, so a different palette shows the same computation with a different look.

Connectedness

Definition A closed and bounded set in the plane is connected when it cannot be split into two nonempty parts that are a positive distance apart, in other words when it is all in one piece. It is totally disconnected when none of its connected parts has more than one point, like a dust. For the quadratic family, the following theorem goes back to the work of Pierre Fatou and Gaston Julia around 1919. If the orbit of 00 under z2+cz^2 + c is bounded, the filled Julia set KcK_c and the Julia set JcJ_c are connected. If the orbit of 00 escapes, KcK_c and JcJ_c are the same set, and that set is totally disconnected, a dust with the same structure as the Cantor set built by removing middle thirds. So the Mandelbrot set is exactly the set of parameters whose Julia sets are connected, which is what makes it a map of Julia worlds. This all-or-nothing choice relies on the rule having just one special point like 00. For polynomial rules of higher degree with several such points, a Julia set can be disconnected without being a dust. The Mandelbrot set itself is connected, as Adrien Douady and John Hubbard proved in 1982.

In plain words Inside the Mandelbrot set every Julia world is in one piece. Outside it, the Julia world falls apart into dust. The orbit of the single point 00 decides which.

Example For c=0c = 0, inside MM, the Julia set is the unit circle, which is in one piece. For c=−1c = -1 it is the edge of the basilica, and for c=−2c = -2 it is the segment from −2-2 to 22, both connected. For c=1c = 1 the orbit of 00 runs 0,1,2,5,…0, 1, 2, 5, \dots and escapes, so J1J_1 is a dust. Pictures can only suggest these facts, and the theorem proves them. Pictures can also mislead about MM itself. At modest resolution some small pieces of MM look like separate islands, yet they are joined to the main body by filaments too thin for the grid to catch. Many of those islands resemble the whole set, but they are distorted versions of it, not exact scaled copies, so a zoom into such a region shows resemblance rather than exact repetition.

Check yourself

  1. Is c=ic = i in the Mandelbrot set? Follow the orbit of 00 for four steps.
Show the answer

Starting from z0=0z_0 = 0, the orbit is

z1=i,z2=i2+i=−1+i,z3=(−1+i)2+i=−i,z4=(−i)2+i=−1+i,\begin{aligned} z_1 &= i, \\[0.4em] z_2 &= i^2 + i = -1 + i, \\[0.4em] z_3 &= (-1 + i)^2 + i = -i, \\[0.4em] z_4 &= (-i)^2 + i = -1 + i, \end{aligned}

using (−1+i)2=1−2i+i2=−2i(-1 + i)^2 = 1 - 2i + i^2 = -2i. From then on the orbit alternates between −1+i-1 + i and −i-i. Its distances from 00 are 00, 11, 2\sqrt{2}, 11, 2\sqrt{2} and so on, never more than 22, so ii belongs to MM, and by the theorem its Julia set is connected.

  1. For c=0.3c = 0.3 the first nine values after the start are all below 11. Does that make 0.30.3 a member of MM?
Show the answer

No. For a real parameter cc, each step changes the value by

zn+1−zn=zn2−zn+c=(zn−12)2+c−14,\begin{aligned} z_{n+1} - z_n &= z_n^2 - z_n + c \\[0.4em] &= \left(z_n - \tfrac12\right)^2 + c - \tfrac14, \end{aligned}

which is at least c−14=0.05c - \tfrac14 = 0.05. So the orbit climbs by at least 0.050.05 at every step and must pass 22 within 4040 steps. In fact z10≈1.037z_{10} \approx 1.037, z11≈1.376z_{11} \approx 1.376 and z12≈2.193z_{12} \approx 2.193, so the escape time is 1212, and a budget of 1010 steps would have shown 0.30.3 as dark. The same identity shows that every real cc greater than 14\tfrac14 lies outside MM, however slowly its orbit climbs.

  1. Extend the pattern. The values −2-2 and 14\tfrac14 are the ends of MM on the real axis. Show that a real number cc belongs to MM exactly when −2≤c≤14-2 \le c \le \tfrac14.
Show the answer

There are four cases. If c>14c > \tfrac14, the previous answer shows that the orbit climbs by at least c−14>0c - \tfrac14 > 0 at every step, so it escapes. If c<−2c < -2, then ∣z1∣=∣c∣>2\lvert z_1 \rvert = \lvert c \rvert > 2, so it escapes.

If −2≤c≤0-2 \le c \le 0, every xx with c≤x≤−cc \le x \le -c has x2≤c2x^2 \le c^2, so

c≤x2+c≤c2+c≤−c,\begin{aligned} c \le x^2 + c &\le c^2 + c \\[0.4em] &\le -c, \end{aligned}

where the last step holds because c2+2c=c(c+2)≤0c^2 + 2c = c(c + 2) \le 0. The rule keeps the segment from cc to −c-c inside itself, and 00 lies in it, so the orbit of 00 stays in that segment and is bounded.

If 0≤c≤140 \le c \le \tfrac14, every xx with 0≤x≤120 \le x \le \tfrac12 has 0≤x2+c≤14+14=120 \le x^2 + c \le \tfrac14 + \tfrac14 = \tfrac12, so the orbit of 00 stays between 00 and 12\tfrac12.

Hence the real points of MM are exactly the numbers from −2-2 to 14\tfrac14, and both ends belong. The orbit for c=−2c = -2 is 0,−2,2,2,…0, -2, 2, 2, \dots, and the orbit for c=14c = \tfrac14 climbs toward 12\tfrac12 without ever reaching it.

How this lesson connects