![]() |
|
|
The Simplicity of Complexity - The Mandelbrot SetThe MANDELBROT SET is the most complex object in mathematics, its admirers like to say. An eternity would not be enough time to see it all, its disks studded with prickly thorns, its spirals and filaments curling outward and around, bearing bulbous molecules that hang, infinitely variegated, like grapes on God's personal vine - James Gleick in Chaos, Making a New Science. This project was a brief exploration into the mind-boggling and beautiful world of mathematical complexity, by way of the most famous example of fractal geometry, called the Mandelbrot set. Because of the VisualBots built-in color graphics and user-defined coordinate system features, it is actually quite easy to explore this amazing object.
BackgroundThe Mandelbrot set was named after the work of mathematician Benoit Mandelbrot in the 1980's, who was one of the early researchers in the field of dynamic complexity. The Mandelbrot set has a fractal-like geometry, which means that it exhibits self-similarity at multiple scales. However, the small-scale details are not identical to the whole, and in fact, the set is infinitely complex, revealing new geometric surprises at ever increasing magnification. Belying this mind-boggling complexity is the extremely simple mathematic process used to produce it. The Mandelbrot set is a set of complex numbers (remember in algebra - the points in the 2D complex plane with real and imaginary axes?). Every complex number is either in the set, or outside of it. The set is generated by applying a simple iterative process to each complex number. In mathematical jargon, it is defined by all of the complex numbers C for which the number sequence
is bounded, or does not tend towards infinity. In other words, to generate the set, take a complex number, multiply it by itself, and add it to the original number; take that result, multiply it by itself, and add it to the original number; and so on. If the resulting numbers generated during the iteration process grows ever and ever larger, then the original complex number C is not in the Mandelbrot set. If the sequence converges, drifts chaotically, or cycles periodically, then C is in the set. Of course in practice we cannot apply the iteration process an infinite number of times to be sure that C is a member of the set. So instead, the process is applied several hundred or several thousand times, and if the sequence remains relatively small during these iterations, then it is assumed that C is probably a member of the set. Fortunately, there is a very useful criteria for detecting divergence - it can be demonstrated mathematically that if during the iteration process the number sequence exceeds the absolute value of 2, then the sequence will diverge to infinity and the original number C is definitely outside of the set. Many points reach a value that exceeds 2 after only a few iterations. The typical means of graphically rendering the Mandelbrot fractal is to color points in the complex plane that belong to the set as black, and all other points outside of the set according to how quickly they diverge towards infinity. The speed at which points outside of the set diverge, sometimes referred to as "escape speed", is measured by how many iterations of the number sequence are required until divergence is detected. It turns out that the Mandelbrot set lives very close to the origin of the complex plane, within a radius of 2. The most interesting regions are found near the boundaries of the set, where the escape speeds are relatively higher than those farther away. Zooming down into these regions exposes a remarkable variation of self-similar structures.
One amazing aspect of the Mandelbrot set that was proved by Hubbard and Douady of the University of Paris, is that it is connected, meaning that there are no islands of points in the set that are isolated from the rest. Many apparently isolated "molecules" of the set can be observed at high magnification, but the appearance is deceiving, because each of these are connected to the rest of the set by very thin filaments. Other interesting aspects are that the perimeter of the set has an infinite length, and that its area is unknown.
VisualBots ImplementationThe algorithm for generating the Mandelbrot fractal is very simple:
The following pseudo code renders
a specified window in the complex plane:
Below is a snapshot of the Mandelbrot Explorer project in Excel used to create all of the above images. The simulation project actually creates and manages an Excel database for storing window coordinates and color parameters of interesting regions of the Mandelbrot fractal. This simulation project and the window parameters associated with each of the images above, are included as one of the sample simulations packaged with VisualBots for Excel that is available from the downloads page of this website.
ReferencesChaos: Making a New Science by James Gleick Mandelbrot Set on Wikipedia - the free encyclopedia. The Fractal Geometry of Nature by B. Mandelbrot. The Mandelbrot Set by A. K. Dewdney Back to projects main page << prev project next project >>
|
|||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||
| Copyright © | This sited last updated Jan 05, 2008 | ||||||||||||||||||||||||||||||||||||||