Complex dynamics · z ← z − p(z)/p′(z)

Newton fractal

A Newton fractal colours every starting point in the complex plane by the root of a polynomial that Newton’s method reaches from it.

The Newton fractal in this visualization

Newton’s method looks for a root of a polynomial pp, here one with distinct roots, by repeating one step from a starting point z0z_0:

zk+1=N(zk)=zk−p(zk)p′(zk)z_{k+1} = N(z_k) = z_k - \frac{p(z_k)}{p'(z_k)}

Every pixel of the picture is a start in the complex plane. Around each root a dashed disc marks starts that are proven to converge to it, and a pixel takes the colour of the first disc its path enters; the shading shows how many steps that took. Black means only that the path entered no disc within the steps tried. Here you can drag the roots and watch the whole picture follow, click a start to see its path, and find polynomials on which some starts never reach a root.

Why do neighbouring starts find different roots? The whole basin of a root is every start that eventually reaches it, including small pieces far from the root, and all the basins share one boundary, the Julia set of NN. Arbitrarily close to any point of that boundary there are starts going to every root. So the colours alternate at every scale, and a single root’s basin turns up in every bead along the boundary. Near the boundary, a few steps can pull two starts far apart.

With two roots the boundary is simply a line: Cayley showed that it is the perpendicular bisector of the roots. A third root is enough to make it a fractal.

The method can also find no root at all. For p(z)=z3−2z+2p(z) = z^3 - 2z + 2 the start 0 goes to 1 and back to 0 for ever, and the starts close to it approach the same cycle instead of a root: they form the black islands. Where can such cycles come from? Since

N′=p p′′p′2N' = \frac{p\,p''}{p'^2}

vanishes at every root, each root is a critical point of NN, lying in its own basin. The other critical points, the free ones, are the zeros of p′′p'' that are not roots. Fatou proved that every attracting cycle attracts at least one critical point. An attracting cycle that is not a root must attract a free critical point, so following these points can reveal such failures.

With three roots, p′′p'' has one zero, the centroid of the roots, and unless it is itself a root it is the only free critical point. The inset is a map for the selected root, the other two held fixed. For each position of the selected root, the colour shows which root’s disc the centroid’s path enters first; black means it entered none within 300 steps. Its black blocks show small copies of Mandelbrot-set structure. Black there means only “not confirmed”; where the centroid approaches an attracting cycle other than a root, the main picture shows black islands.

Arthur Cayley asked in 1879 which root Newton’s method finds from a given complex start; he settled two roots and found three hard. Steve Smale’s estimates (1986) give the proven discs used here.

Things to notice

  • Black is “not confirmed within the steps tried”, not “Newton’s method fails”. On z2−1z^2 - 1, which has no black islands at all, the start 10−10+0.5i10^{-10} + 0.5i enters a disc only at step 34.
  • The discs are proven, but each path into them is computed with rounded numbers. Right next to the boundary, a single pixel can take a different colour from the exact one.

Related