*click or tap on image to zoom
(X, Y)
Iterations: 0
Zoom Level: 1

What is this Image?

The graph above plots whether or not a complex number X + Yi is in the Mandelbrot set. This graph is a beautiful fractal pattern that you can zoom into and explore.

What is the Mandelbrot Set?

The Mandelbrot Set is a set of complex numbers that behave in a specific way. To determine if a complex number is in the Mandelbrot set, you must take the complex number C and place it into this iterating function

Xn = X2n-1 + C

where the first value of Xn-1 is 0 and where an iterating function is one that you keep doing over and over again. The complex number C is in the Mandelbrot set when the value of Xn does not approach infinity as you iterate to infinity.

For example, if C is 1 and you start iterating, you get

X1 = X02 + 1 = 02 + 1 = 1
X2 = X12 + 1 = 12 + 1 = 2
X3 = X22 + 1 = 22 + 1 = 5
X4 = X32 + 1 = 52 + 1 = 26
X5 = X42 + 1 = 262 + 1 = 677
X6 = X52 + 1 = 6772 + 1 = 458330

As you can see, continuing this iteration will cause X to approach infinity. Therefore, the number 1 is not in the Mandelbrot set.

For another example, if C is -1 and you start iterating, you get

X1 = X02 + 1 = 02 - 1 = -1
X2 = X12 - 1 = -12 - 1 = 0
X3 = X22 - 1 = 02 - 1 = -1
X4 = X32 - 1 = -12 - 1 = 0
X5 = X42 - 1 = 02 - 1 = -1
X6 = X52 - 1 = -12 - 1 = 0

As you can see, continuing this iteration will cause X to flip-flop between -1 and 0 forever. Therefore, the number -1 is in the Mandelbrot set, since it does not approach infinity

What are the Graph Options?

A description of each option for this graph is given below.

Width

The Width option is for changing the width of the graph's image.

Height

The Height option is for changing the height of the graph's image.

Iterations

The Iterations option is for changing how many times to iterate before deciding when a complex number is in the Mandelbrot set. Since we can't wait for eternity to decide that a given complex number is in the Mandelbrot set, we need to break out at some point. The larger this number is, the more accurate the Mandelbrot image will be. Try zooming in 4 levels and then increasing Iterations to 700 and see what happens to the image.

Cutt Off

The Cutt Off option is used to quickly decide when a complex number will cause Xn = X2n-1 + C to approach infinity. If we see Xn become larger than the Cutt Off value, then we assume that Xn = X2n-1 + C will approach infinity

Zoom Factor

The Zoom Factor option is for changing how far to zoom into on each click or tap.