No. 018 · Almost identical starts

10,000 pendulums, three magnets

All let go within 0.003 of one point. They swing as one, then split three ways.

x'' = −0.5·x − 0.15·x' + Σ (m − x) / (|m − x|² + 0.04)^1.5

A weight hangs on a string over a table with three magnets on it. Pull it aside, let go, and it swings, gets tugged by the magnets, and finally comes to rest over one of them. Which one?

10,000 pendulums, one start

The video lets go of 10,000 copies of the pendulum, all from rest and all within 0.003 of the same point. For about eight seconds they swing as one bright dot.

Around t = 8.2 they split. Each copy is coloured by the magnet it ends on, worked out before the video starts, so you can see the colours sort themselves out as the cloud breaks apart. In the end 27% settle over one magnet, 31% over the second and 42% over the third.

The rule

Each bob is pulled back toward the centre by the string, slowed by friction, and pulled toward each magnet:

x'' = −0.5·x − 0.15·x' + Σ (m − x) / (|m − x|² + 0.04)^1.5

The sum runs over the three magnets m, placed evenly around a circle. The 0.04 is the gap between the bob and the table, squared, so the pull stays finite right over a magnet.

Why it can't be predicted

The friction means every copy stops somewhere, so the end is never in doubt: one of three magnets. But near the boundaries between their regions, the starting points that lead to each magnet are woven together at every scale, a fractal. Start anywhere close to such a boundary and no measurement is precise enough to say where the pendulum will stop.

Part of Almost identical starts (13 videos): Thousands of copies a hair apart. Watch them split.

Use this picture

SVGJPG

Free to reuse, also commercially, under CC BY 4.0. Credit “What Math Means” with a link to whatmathmeans.dev/v/10000-pendulums-three-magnets.