Amazingly simple mathematical operations can lead to intriguingly complex results.
Consider, for instance, the iterative geometric process of creating flaky pastry dough. Flatten and stretch the dough, then fold it over on top of itself. Do it again and again and again. Repeating the pair of operations–stretch and fold–just 10 times produces 1,024 layers; 20 times, more than a million.
In dynamical systems theory, the so-called baker’s map, or transformation, does nearly the same thing. Here’s one special case of that transformation: Start with a square. Stretch it to twice its original length while making it half as wide. Cut the result in half, and stack one half on top of the other to return the combination to the square’s original dimensions.