- Newton's Basin is a visual representation of Newton's Method, which is a procedure for estimating the root of a function.
This image is one of many examples of Newton's Basin or Newton's Fractal. Newton's Basin is based on a calculus technique called Newton's Method, a procedure Newton developed to estimate roots (or solutions) of equations.
Each pixel in a Newton's Basin corresponds to a unique coordinate, or point. The colors in a Newton's Basin usually correspond to each individual root of the equation, and can be used to infer where each root is located. Each color region reflects the set of points, which, after undergoing iteration with the equation describing the fractal, will eventually get closer and closer to the value of the root associated with that color.
The animation emphasizes the roots in a Newton's Basin, whose equation clearly has three roots. The image featured at the top of this page is also a Newton's Basin with three roots.
A More Mathematical Explanation
- Note: understanding of this explanation requires: *Calculus
The image at the top of this page is a visual representation of Newton's Method in calculus expanded [...]
The image at the top of this page is a visual representation of Newton's Method in calculus expanded into the complex plane.
Newton's Method in calculus is a procedure to find roots of polynomials, using an estimated value as a starting point. Newton devised an iterated method (animated to the right) with the following steps:
- Estimate a starting x-value () on the graph near to the root
- Find the tangent line at that starting x-value
- Find the root of the tangent line
- Using the tangent's root as new starting x-value (), iterate the method to find a better estimate
The results of this method lead to very close estimates to the root of the polynomial. Newton's Method can also be expressed algebraically as follows, where is the nth estimate:
To produce an interesting fractal, the Newton Method needs to be extended to the complex plane. Newton's Basin is created using a complex polynomial, with real and/or complex roots. In addition, each root in a Newton's Basin fractal is usually given a distinctive color. Thus, the fractal on the right is generated by a polynomial with a total of five roots colored magenta, yellow, red, green, and blue.
Every pixel in the image represents a complex number. Each complex number is applied to the equation and iterated continually with the output of the previous iteration becoming the input of the next iteration. This iteration is done by using the same equations discussed in the previous Newton's method section, where x is now a complex number z, y is now a complex number p, and is the nth estimate:
If the iterations lead the complex number to converge towards a particular root, the pixel is colored according to the color of that root. If the iterations lead to a loop and not a root, then the pixel is colored black because the complex number does not converge.
Each root has a set of complex numbers (or pixels)that converge to the root (algebraically, this set would include all of the values referenced above). This set of coordinates is called the root's basin of attraction, where the name of this fractal comes from.
In addition, some images including shading in each basin. The shading is determined by the number of iterations it takes each pixel to converge to its root, and it allows us to see the location of the root more clearly. The darker the shading of a pixel is, the more iterations it requires for that pixel to converge to its respective root.
For example, the image below, as well as the image at the top of the page, was created from the equation . Since this equation is a 3rd degree complex polynomial, it has three roots, two of which are complex:
The resulting map of these solutions are to the right. You can see that the Newton's Basin created from this complex polynomial has three roots (yellow, blue, and green) that correspond to the solution map.
As with all other fractals, Newton's Basin exhibits self-similarity. The video below is an interactive representation of the continual self-similarity displayed by the Newton's Basin shown in an above section with a root degree of 5. Towards the end of the video, you will notice that the pixels are no longer adequate to continue magnifying the image...however, the fractal still goes on.
- There are currently no teaching materials for this page. Add teaching materials.
Simon Tatham, Fractals derived from Newton-Raphson iteration
David E. Joyce, Newton Basins
Leave a message on the discussion page by clicking the 'discussion' tab at the top of this image page.