Newton fractal explained

C

or transcendental function. It is the Julia set of the meromorphic function which is given by Newton's method. When there are no attractive cycles (of order greater than 1), it divides the complex plane into regions, each of which is associated with a root of the polynomial, . In this way the Newton fractal is similar to the Mandelbrot set, and like other fractals it exhibits an intricate appearance arising from a simple description. It is relevant to numerical analysis because it shows that (outside the region of quadratic convergence) the Newton method can be very sensitive to its choice of start point.

Almost all points of the complex plane are associated with one of the roots of a given polynomial in the following way: the point is used as starting value for Newton's iteration, yielding a sequence of points If the sequence converges to the root, then was an element of the region . However, for every polynomial of degree at least 2 there are points for which the Newton iteration does not converge to any root: examples are the boundaries of the basins of attraction of the various roots. There are even polynomials for which open sets of starting points fail to converge to any root: a simple example is, where some points are attracted by the cycle rather than by a root.

An open set for which the iterations converge towards a given root or cycle (that is not a fixed point), is a Fatou set for the iteration. The complementary set to the union of all these, is the Julia set. The Fatou sets have common boundary, namely the Julia set. Therefore, each point of the Julia set is a point of accumulation for each of the Fatou sets. It is this property that causes the fractal structure of the Julia set (when the degree of the polynomial is larger than 2).

To plot images of the fractal, one may first choose a specified number of complex points and compute the coefficients of the polynomial

d-1
p(z)=z
1z

+ … +pd-1z+pd:=(z-\zeta1)(z-\zeta2)(z-\zetad)

.Then for a rectangular lattice

zmn=z00+m\Deltax+in\Deltay;m=0,\ldots,M-1;n=0,\ldots,N-1

of points in

C

, one finds the index of the corresponding root and uses this to fill an raster grid by assigning to each point a color . Additionally or alternatively the colors may be dependent on the distance, which is defined to be the first value such that for some previously fixed small .

Generalization of Newton fractals

A generalization of Newton's iteration is

zn+1=zn-a

p(zn)
p'(zn)

where is any complex number.[1] The special choice corresponds to the Newton fractal. The fixed points of this map are stable when lies inside the disk of radius 1 centered at 1. When is outside this disk, the fixed points are locally unstable, however the map still exhibits a fractal structure in the sense of Julia set. If is a polynomial of degree, then the sequence is bounded provided that is inside a disk of radius centered at .

More generally, Newton's fractal is a special case of a Julia set.

Serie : Other fractals where potential and trigonometric functions are multiplied.

Nova fractal

The Nova fractal invented in the mid 1990s by Paul Derbyshire,[2] [3] is a generalization of the Newton fractal with the addition of a value at each step:[4]

zn+1=zn-a

p(zn)
p'(zn)

+c=G(a,c,z)

The "Julia" variant of the Nova fractal keeps constant over the image and initializes to the pixel coordinates. The "Mandelbrot" variant of the Nova fractal initializes to the pixel coordinates and sets to a critical point, where[5]

\partial
\partialz

G(a,c,z)=0.

Commonly-used polynomials like or lead to a critical point at .

Implementation

In order to implement the Newton fractal, it is necessary to have a starting function as well as its derivative function:

\begin{align}f(z)&=z3-1\f'(z)&=3z2\end{align}

The three roots of the function are

z=1, -\tfrac12+\tfrac{\sqrt3}{2}i, -\tfrac12-\tfrac{\sqrt3}{2}i

The above-defined functions can be translated in pseudocode as follows://z^3-1 float2 Function (float2 z)

//3*z^2float2 Derivative (float2 z)It is now just a matter of implementing the Newton method using the given functions.float2 roots[3] = //Roots (solutions) of the polynomial

color colors[3] = //Assign a color for each root

For each pixel (x, y) on the target, do:

See also

Further reading

Notes and References

  1. Web site: Fractals derived from Newton–Raphson . Simon Tatham .
  2. Web site: class Standard_NovaMandel (Ultra Fractal formula reference) . Damien M. Jones .
  3. Web site: dmj's nova fractals 1995-6 . Damien M. Jones .
  4. Web site: Relaxed Newton's Method and the Nova Fractal . Michael Condron .
  5. Web site: Ultra Fractal Manual: Nova (Julia, Mandelbrot) . Frederik Slijkerman .