Newton’s method improves a guess at a solution of an equation by following a tangent line, and near a solution it homes in very fast. Now run it on the equation , which has three solutions in the complex plane, from every possible starting point, and color each start by the solution its guesses approach. Will the three colors fill three tidy regions, so that nearby starts always end at the same solution? This page states the method with the conditions it needs, finds the three solutions, and shows that the colored regions share an endlessly detailed boundary, every point of which touches all three colors, and that no start on this boundary reaches any solution.
Key terms
Newton fractal
Definition A Newton fractal is the pattern that appears in the complex plane when Newton’s method for a polynomial equation is started from every point and each start is colored by the root its guesses approach. Complex numbers , with and real and , are drawn as the points of this plane, and is the distance between the points and . The standard example is the equation , whose roots are the three cube roots of unity , and described below. Its Newton step is
which is defined for every . The rules are as follows. Choose a start , compute , then , and so on, and give the color of a root when the guesses converge to that root. A start for which some guess equals , where the step is undefined, or whose guesses converge to no root, gets no root color. The regions of the three colors are the basins of attraction of the three roots. Each basin is open and contains the disk of radius around its root, so a start that does reach a root can be moved a little without changing its color. The surprise is how the basins meet. The three basins have exactly the same boundary, so every point on the edge of one color is also on the edge of the other two, and every disk around such a point, however small, contains starts of all three colors. Every start off this common boundary converges to one of the roots, and no start on it does. The boundary contains and every start whose guesses land on , these starts come arbitrarily close to every point of the boundary, and near each of them the picture around appears again, turned and rescaled, with a better match the closer one looks. The fractal in the picture is this common boundary, which in the theory of iteration is called the Julia set of the map . Pictures show the pattern, but they do not by themselves prove these facts or give the boundary’s fractal dimension.
In plain words Newton’s method is reliable near each root, and a start that reaches a root can be nudged without changing the answer. The trouble is the edge between the colors. There all three colors meet at every point, so near the edge the slightest change of start can change which root is found, and on the edge itself no root is found at all.
Example The start is at distance from and from but at distance from . Its next guesses are , then , then , about , and , and they converge to , the farthest root. A real start gives only real guesses, since the formula then uses only real arithmetic, and is the only real root. The method does not simply find the nearest root.
Now take three starts close to , the point where the step is undefined, namely , and , no two of them more than apart. The first step divides by the tiny number , so each start is thrown far away. From the first guess is about , and the guesses come back down the real axis to . From the first guess is exactly
about , far down the imaginary axis. The guesses then shrink back toward the unit circle. After steps they are within of , and from inside that disk they are certain to converge to , as the card on basins of attraction shows. By the mirror symmetry of the picture, the start converges to . Three starts that almost coincide end at three different roots.
Newton’s method
Definition Newton’s method is a procedure for approximating a solution, or root, of an equation , where is a differentiable function. Start from a guess and compute
for , which is possible only as long as . If some guess has , the next guess is undefined and the method stops. In the graph, is the point where the tangent line to at the point crosses the -axis. For a polynomial in a complex variable the same formula is used with complex arithmetic, and the derivative comes from the usual power rule. The method comes with a guarantee near a simple root, which is a root with . Suppose is a simple root and has a continuous second derivative near , as every polynomial does. Then there is a distance such that every start within of gives guesses that are all defined and converge to , and there is a constant with for every . The same holds for a simple root of a polynomial in a complex variable, with a disk around the root in place of an interval. Once the guesses are close, the number of correct digits roughly doubles with each step. Farther from a root there is no such promise. The guesses can land where the derivative is zero, jump back and forth forever, or wander.
In plain words Near the current guess, replace the graph by its tangent line, which is easy to solve, and use the point where the tangent meets the axis as the next guess. Close to a simple root the tangent line hugs the graph so well that each step roughly squares the error. Far from a root the tangent can send the next guess somewhere unhelpful.
Example Take , with derivative and positive root . At the start the value is and the slope is , so
about . The next guess is . The errors are about , and , and the guess after that is off by less than . The start fails at once, because and the tangent line there is horizontal, so it never meets the axis.
A second function shows a different failure. For and the start , the value is and the slope is , so . Then and , so again. The guesses alternate between and forever and never approach the only real root, near . Starts close to , such as and , are drawn into the same back and forth, so the failure fills a whole interval and not just one point.
Cube roots of unity
Definition The cube roots of unity are the three complex numbers with . Factoring and solving the quadratic equation with the quadratic formula gives
where is the Greek letter omega. All three lie on the unit circle, the circle of radius around , at the angles , and measured counterclockwise from the positive real axis. They are the corners of an equilateral triangle with side , only is real, and they add up to . Each is a simple root of , because the derivative is not at any of them, so the guarantee of Newton’s method applies near each one. Multiplying by turns the plane by about and sends to , to and back to . The page Complex Numbers and the Plane Behind the Pictures covers complex multiplication and its effect on angles.
In plain words These are the three numbers whose cube is . One is the ordinary number , and the other two sit a third of a turn and two thirds of a turn around the unit circle from it, so the three are evenly spaced.
Example Squaring and using gives
The numbers and have the form and , whose product is , so . Because , also , and the Newton step of satisfies
So the guesses from are the guesses from turned by , and if the guesses from approach a root , those from approach . The Newton fractal therefore looks the same after a turn of . The formula for has real coefficients, so the step from the mirror image of in the real axis is the mirror image of the step from , and the picture is also symmetric about the real axis. That is why the mirror image of a start that approaches approaches the mirror image of , which is .
Basin of attraction
Definition Let be a polynomial and a root of with . The basin of attraction of under Newton’s method is the set of all starts for which every Newton step is defined, meaning for every , and the guesses converge to . Basins of different roots never overlap, because a sequence cannot converge to two different numbers. Each basin contains a disk around its root, by the guarantee of Newton’s method, and it is an open set, which means that every start in it has a small disk around it that also lies in the basin. The starts that belong to no basin include the zeros of that are not roots, every start whose guesses land on one of them, and every start whose guesses cycle or wander without converging to a root.
In plain words The basin of a root is its catchment area, all the starts from which Newton’s method ends up at that root. A picture of the basins is a map of where the method will land from each start. It answers a different question from the pictures of Julia sets and of the Mandelbrot set for . A Julia set picture fixes , varies the start and records whether the values escape, and the Mandelbrot set picture fixes the start at , varies and asks the same question of escape. A basin picture fixes the rule, varies the start and records which root is reached.
Example On the real line the basins of are simple. For this function one step gives exactly
so from any positive start every later guess is at least , each step then moves the guess down, and the guesses settle at . The basin of is the set of all , the basin of is the set of all , and only the start belongs to neither.
For a short computation gives
Suppose . Since , this gives , and also , so and
Each step therefore multiplies the distance to by at most , the guess never leaves the disk and never equals , and the guesses converge to . The disk of radius around lies in the basin of , and by the turning symmetry the same holds for and . This gives an honest way to compute a picture. For each start on a grid, run at most a fixed number of steps, such as . Assign the start to a root as soon as a guess comes within of that root, or within a smaller tolerance. Stop with a separate mark if a guess is or so close to that dividing by is unreliable, and give every start still undecided after the last step a color of its own. Apart from rounding errors, which matter most near the boundary where small differences grow, every start assigned to a root really lies in its basin. Some pictures also shade each start by the number of steps it needed, which is a separate piece of information from its color.
Check yourself
- Use Newton’s method on , starting from . Compute and and compare them with .
Show the answer
Here . At the value is and the slope is , so . At the value is and the slope is , so
about . Since , the errors of , and are about , and . For this equation each new error is exactly the square of the previous error divided by twice the previous guess, which is why the number of correct digits roughly doubles.
- For , find every start for which the first Newton step is defined but the second is not. Should a picture color these starts by the nearest root?
Show the answer
The second step is undefined exactly when . For the step can be written , so happens when , that is, when . The three solutions are
All three are at distance from , at the angles , and , halfway between neighboring roots. None of them should get a root color. Their guesses stop at , so they never converge to anything. Each one lies on the common boundary of the three basins, so every disk around it contains starts of all three colors, and coloring it by the nearest root would record an answer the method never gives. Solving for each of these three points gives starts whose second guess is , so that their third step is undefined, and so on, so infinitely many starts break down in this way. A program should test for guesses equal to or very close to it and give those starts a separate mark.
- Change the equation to , whose roots are and . Which starts reach which root, and is the boundary between the two basins a fractal?
Show the answer
The Newton step is
for . Keep track of the number , defined for . A short computation gives
so every Newton step squares . Solving for gives , so a near means a guess near , and a very large means a guess near . The size is less than exactly when is closer to than to , which means that the real part of is positive. Then repeated squaring drives to , and the guesses converge to . When the real part is negative, , repeated squaring makes grow without bound, and the guesses converge to . On the imaginary axis, with for a real , the step gives , again on the imaginary axis. Those guesses stay at distance at least from both roots, so they never converge to a root, and some break down, such as the start , for which .
The basins are the two half-planes on either side of the imaginary axis, and the boundary is a straight line, not a fractal. Arthur Cayley found this answer in 1879. For nothing so simple can happen. The three basins fill everything off their common boundary, and a line leaves only two sides to fill.