Introduction

Newton's method is one of the oldest tricks in numerical mathematics. Given a polynomial like z3z^{3} − 1 = 0, you start with a guess, compute the tangent line to the curve, slide down it to the x-axis, and repeat. In most cases you home in on a root with astonishing speed — the error roughly squares each iteration. Textbooks call it the gold standard of root-finders.

But the method has a secret. If you work in the complex plane — where numbers have both a real and an imaginary part — the three roots of z3z^{3} − 1 are spread at equal angles, like three equally spaced points on a circle. Start from any complex number and iterate Newton's method: you will converge to one of those three roots. The question is — which one?

Color every starting point by the root it eventually reaches, and the picture that emerges is not three clean blobs. The boundaries between them are infinitely tangled — a fractal. Zoom in as far as you like and the same swirling confusion reappears. This is not a quirk of bad programming; it is a rigorous mathematical fact. The borders between the basins of attraction are nowhere predictable, no matter how much you know about where you started.

Try It: Explore the Basins

Each pixel on the canvas is a starting point in the complex plane. Newton's method runs from there until it lands close to one of the three roots of z3z^{3} − 1 = 0 (the cube roots of unity). The pixel is colored red, green, or blue by whichever root it reaches — darker if it takes more iterations to get there.

<p class="hint">{{hint}}</p>
<canvas id="cv" width="380" height="300"></canvas>
<div class="controls">
  <button id="btnReset" type="button">{{reset_view}}</button>
  <span class="info" id="info">z³ − 1 = 0 &nbsp;|&nbsp; {{three_roots}}</span>
</div>
* { box-sizing: border-box; }
body { font-family: system-ui, sans-serif; color: #222; margin: 0; }
.hint { font-size: .88rem; color: #444; margin: 0 0 .6rem; line-height: 1.45; }
canvas { display: block; cursor: crosshair; border-radius: 8px;
         border: 1px solid #cdd9e3; max-width: 100%; touch-action: none; }
.controls { display: flex; align-items: center; gap: .6rem; margin-top: .55rem; flex-wrap: wrap; }
button { font: 600 13px system-ui, sans-serif; padding: .4rem .85rem;
         border: 1px solid #1d3557; background: #1d3557; color: #fff;
         border-radius: 8px; cursor: pointer; }
.info { font-size: .82rem; color: #555; }
// Code not found

Notice how, far from the origin, each region is a clean wedge of color. But zoom toward any boundary and the wedges break into infinite tendrils. No matter how close two starting points look, if they sit on opposite sides of the fractal boundary they can land on entirely different roots. That is sensitive dependence on initial conditions — the hallmark of chaos.

The Real Complexity

What makes Newton fractals more than a pretty picture?

  • Proven in 1879. The English mathematician Arthur Cayley was the first to notice that Newton's method on complex cubics produced strange boundaries. His 1879 paper asked which starting points lead to which root — a question that turned out to be far harder than it looked.
  • The Julia set of Newton's method. The boundary between any two basins of attraction is the Julia set of the Newton iteration function N(z) = z − f(z)/f′(z). By a theorem proved rigorously in the 1980s by mathematicians including John Hubbard, this boundary is a fractal — it has a Hausdorff dimension strictly greater than 1, meaning it is too complicated to be a smooth curve but not quite a 2D region.
  • Sensitive dependence. On the fractal boundary, every open disk — no matter how tiny — contains starting points that land on all three roots. There is no "small enough" neighborhood where the outcome is predictable. This is the precise mathematical definition of chaos in the iteration.
  • Computational complexity. Rendering the fractal pixel by pixel is straightforward — each point runs independently — so the picture itself is easy to compute. But deciding which basin a given point belongs to, when it sits near the boundary, requires arbitrarily many iterations. The boundary points themselves never converge at all; they bounce forever among the roots.
  • Connection to deeper chaos. Newton fractals are a special case of the study of iterated rational maps on the Riemann sphere, a field connecting to the Mandelbrot set, the halting problem, and the limits of predictability in dynamical systems.

The punchline is subtle: the algorithm is simple and extremely fast for most starting points, yet for the starting points that sit near the fractal boundary, no finite computation can ever tell you the answer with certainty.

Where It Matters

The fractal structure of Newton's method is not merely aesthetic — it has direct implications for any algorithm that iterates toward a solution:

  • Numerical root-finding. Real engineering and scientific codes use Newton-like iterations. Understanding the fractal basin structure tells engineers which starting guesses are safe and which can unexpectedly jump to the wrong root.
  • Optimization. Gradient descent — the engine of modern machine learning — is closely related to Newton's method. Loss landscapes have their own basins of attraction, and the fractal boundary phenomenon explains why different random starting weights can converge to very different solutions.
  • Stability analysis. In control engineering, whether a feedback system stays stable under perturbations is a basin-of-attraction question. Fractal boundaries mean that "almost stable" and "almost unstable" can be neighbors at arbitrarily fine scales.
  • Basin hopping in chemistry. Finding the lowest-energy configuration of a molecule is a global optimization problem; the energy landscape has fractal-like basins separating local minima.
  • Art and data compression. Iterated function systems — the mathematics behind Newton fractals — were the basis of early fractal image compression algorithms in the 1990s.

Whenever an iterative algorithm can converge to more than one answer, the map of "which starting point leads where" is potentially a fractal. Understanding that map is the difference between a reliable solver and a chaotic one.

Conclusion

Newton's method is a 350-year-old formula for solving equations, and for most starting points it is as reliable as clockwork. Yet color the complex plane by which root each point reaches and you get one of the most tangled objects in mathematics — a fractal boundary where the outcome is genuinely, provably unpredictable, no matter how precisely you know your starting point.

That is the lesson Newton fractals teach: simple rules do not guarantee simple outcomes. The same iteration that converges in five steps from one point may bounce chaotically from a point micrometers away. The boundary is not an artifact of numerical imprecision; it is infinitely complex in the mathematical ideal.

If you want to understand why optimization is hard, or why tiny rounding errors can send a simulation off course, start here — with a picture of three colored wedges that, on closer inspection, never actually meet cleanly at all.

Share this article

Pick a channel — or use your device's native share sheet.

Comments

Loading comments...

https://www.kipuhub.com/en/article/newton-fractals/Content licensed under CC BY-NC 4.0.