Skip to content

The Newton fractal

Posted on:

Newton’s method is a standard recipe for finding a root of a smooth function ff. From a starting point z0z_0, iterate

zk+1  =  zkf(zk)f(zk).z_{k+1} \;=\; z_k - \frac{f(z_k)}{f'(z_k)}.

If ff is a polynomial with nn distinct roots, the iteration is well-defined on the complex plane (except at the critical points where ff' vanishes), and from almost every starting point it converges to one of the nn roots. The set of starting points converging to a particular root is called that root’s basin of attraction.

For polynomials of degree 3\ge 3, the basins are not the simple regions one might expect from the algebra. Their boundaries are fractal.

The simplest non-trivial case

Take f(z)=zn1f(z) = z^n - 1, whose roots are the nn-th roots of unity, evenly spaced on the unit circle:

ζk  =  e2πik/n,k=0,1,,n1.\zeta_k \;=\; e^{2\pi i k / n}, \quad k = 0, 1, \ldots, n - 1.

The Newton iteration simplifies to

zk+1  =  zkzkn1nzkn1  =  (n1)zkn+1nzkn1.z_{k+1} \;=\; z_k - \frac{z_k^n - 1}{n\, z_k^{n-1}} \;=\; \frac{(n-1) z_k^n + 1}{n\, z_k^{n-1}}.

Color each starting point in a region of the plane by which root it ends up at, with darker shades for points that take more iterations to converge. The result is the Newton fractal.

Slide nn to change the polynomial. Click anywhere on the picture to launch a Newton iteration from that point and watch the iterates converge.

n = 3click on the canvas to launch a Newton iteration from that point

For n=2n = 2, the basins are exactly the left and right half-planes, separated by the imaginary axis. No fractal. For n3n \ge 3, every basin shares its boundary with every other basin: any small disk that contains a boundary point also contains points from all nn basins. This is the Wada property of the Newton fractal.

Where the boundary is fractal

The set of starting points that do not converge to any root is the Julia set of the Newton iteration map N(z)=zf(z)/f(z)N(z) = z - f(z)/f'(z). For f(z)=zn1f(z) = z^n - 1 with n2n \ge 2, this Julia set is non-empty and self-similar at every scale. It has Hausdorff dimension strictly between 11 and 22.

The Newton iteration is a holomorphic dynamical system: the map zN(z)z \mapsto N(z) is meromorphic on the complex plane. The local theory of holomorphic dynamics says that the boundary of any attracting basin is automatically a fractal except in degenerate cases. The fractal boundary is not a quirk of zn1z^n - 1; it is generic.

What is interesting beyond the picture

References



Previous Post
Stein's paradox
Next Post
Nearest neighbor breaks in high dimensions