Mandelbrot Set — Definition, Formula & Examples
The Mandelbrot set is the collection of all complex numbers for which the iteration , starting from , does not escape to infinity. When plotted on the complex plane, it produces one of the most famous fractal shapes in mathematics.
The Mandelbrot set is defined as the set of complex numbers such that the sequence remains bounded, meaning does not tend to infinity as . A practical test: if for any , the sequence will diverge and .
Key Formula
Where:
- = The current value in the iteration sequence
- = The complex number being tested for membership in the set
- = The starting value, always 0
How It Works
Pick any complex number . Start with and repeatedly compute . If the values stay small (bounded) no matter how many times you iterate, then belongs to the Mandelbrot set. If ever exceeds 2, the sequence will spiral off to infinity, and is not in the set. To generate the iconic image, you test millions of points across the complex plane and color each one based on whether it stays bounded or how quickly it escapes.
Worked Example
Problem: Determine whether c = 1 belongs to the Mandelbrot set.
Step 1: Start with and compute the first few iterations using with .
Step 2: Continue iterating.
Step 3: Since already reaches the escape threshold and subsequent values grow rapidly, the sequence diverges.
Answer: is NOT in the Mandelbrot set because the iteration escapes to infinity.
Why It Matters
The Mandelbrot set demonstrates how strikingly complex patterns can emerge from a simple quadratic formula, making it a gateway to understanding chaos theory and dynamical systems. It appears in courses on complex analysis and computer science, and generating Mandelbrot images is a classic programming exercise that teaches iteration, complex arithmetic, and visualization.
Common Mistakes
Mistake: Assuming all points inside the main cardioid shape behave the same way.
Correction: Points in the Mandelbrot set can have very different orbit behaviors — some converge to a fixed point, others cycle between values. The set contains infinitely many smaller copies of itself at different scales.
