Image89

Newton fractal

The Newton fractal of z³ − 1

Newton's method finds a root of a function: start somewhere, follow the tangent line down to zero and repeat. Near a root it is very fast: every step roughly doubles the number of correct digits. The step is

zk+1 = zk − f(zk) f′(zk) = zk − zkd−1 dzkd−1

for the polynomial zd − 1, whose roots are evenly spaced on the unit circle:

zd=1 ⇔ z= e2πik/d, k=0,…,d−1

Color every start point by the root it reaches, and the plane splits into basins with tangled borders.

History

Isaac Newton described the method around 1669, and Joseph Raphson published a simpler form in 1690. In 1879 Arthur Cayley asked which root the method finds from a given complex start point. For two roots he found a clean answer: every point goes to the nearer root, and the border is a straight line. Three roots, he wrote, presented considerable difficulty. In the early 1980s computer pictures of the basins showed that their borders are fractals.

Interesting facts

How Image89 draws it

Image89 uses d = 3 by default; the preset allows degrees from 3 to 8. The view is a 4 × 4 square around the origin. Every pixel center starts the method, which stops when |zd − 1| or the last step is below 10−6, or after 64 steps. The nearest root by angle gives the color. The more steps a point takes, the closer its color comes to the black background, at most three quarters of the way. Points that reach no root, like the origin, take the background itself. The preset is in the [types.newton] section of the config.

Examples