How quickly does the error fall?
Each point measures the distance to the nearest root after another Newton update. Steep drops indicate rapid convergence.
Three roots. One equation. An entire landscape of surprising destinations. Drag the roots, drop a probe and watch Newton’s method discover its path.
Each point measures the distance to the nearest root after another Newton update. Steep drops indicate rapid convergence.
The picture is a map of initial guesses. It is not a static fractal image: it is the numerical consequence of a cubic polynomial and its derivative.
Use zₙ₊₁ = zₙ − p(zₙ)/p′(zₙ) to find successive estimates of a polynomial root. The orbit links those estimates.
Explain how starting values affect which root is found. At intricate boundaries, a tiny change can lead to a different root.
Use the logarithmic error graph to recognise rapid convergence near a simple root and investigate where the method struggles.
The three roots are distinct and fixed during each orbit. Calculations use ordinary double-precision complex arithmetic; the cubic is exactly p(z)=(z−a)(z−b)(z−c). For the colour map, convergence means within 0.007 units of a root within the chosen maximum number of iterations. Dark pixels are unresolved within that limit, not proof that Newton’s method can never converge there. Near p′(z)=0, steps may be undefined or large. The graph uses distances to the nearest root. The graph records algorithmic steps, not elapsed physical time. Challenge calculations use their displayed root constellation and stated tolerance, with an independent limit of 38 steps.
Numerical root finding underpins engineering design, optimisation, control systems, circuit analysis and scientific computing. Rootloom makes the sensitivity of an iterative solver visible.
EXPLORE MY SIMULATOR