Double Pendulum

Everyone loves space and those damn quanta, but they don’t affect everyday life the way chaos does. The double pendulum is the fruit fly of chaotic systems. It dances wildly, but there is no randomness in it. To predict its motion, you need to find a point on a map. That map has 337 trillion pixels along just one side, and it has six dimensions. Miss the point and you lose.

The famous line about a butterfly causing a hurricane on the other side of the planet with a flap of its wings is misleading. It makes the effect sound like a story about small actions having big consequences. The point is different: even the tiniest measurement errors grow quickly and ruin the forecast.

I wanted to build a small lab that shows this in practice. Different points on the map give the pendulums different starting conditions. The color shows roughly how long a pendulum lasts. Even at an enormous zoom, neighboring points will eventually produce different motion. Yet there is no randomness here: restart any experiment and it will repeat, right down to the path the pendulum takes as it flies apart.

Why do they fly off at all? That comes from the numerical model. The simulation runs without friction. At high speeds, errors build up because the calculation uses a finite time step, so the pendulum can speed up in a completely unnatural way. Once it can no longer be drawn, it breaks off its pivot. You can enable friction in the settings, but it spoils the beauty of the map.

Each of these maps is a very thin slice through the model’s six-dimensional state space. But every slice is huge: printed out, it would make a picture 28 million kilometers on each side. And that’s with 64-bit precision, which modern computers can handle fairly easily. Increase the precision and we could go deeper, finding new curls and structures.

The main idea is to show, through a working example, how hard it can be to predict the behavior of even a simple mechanical object. What does that say about predicting markets, for example, or progress as a whole? We can’t even set up a real pendulum and run an exact digital copy beside it for very long. Sooner or later, their motion will be completely different. We don’t even know the map of a real pendulum, but it is bound to be even wilder.

And we will never be able to digitize consciousness as an exact copy that keeps matching the original, either. A brain is clearly more complicated than two sticks joined by hinges, right?

I know this thing isn’t easy to understand. But you can copy a prompt from it and discuss it with your favorite AI. It includes enough context to answer any question.