No. 071 · Pendulums

10,000 springy pendulums

Pendulums on springs, each started 0.000001 rad from the next. The spring bounces twice per swing, and they split at t = 6.7 s.

r'' = rθ'² + g cos θ − (k/m)(r − L₀), θ'' = (−g sin θ − 2r'θ') / r

A springy pendulum is a weight on a spring instead of a stiff rod: it can swing from side to side and bounce in and out at the same time. Here 10,000 of them hang from one pivot. Each is let go from rest at 1.2 radians, with the spring stretched to 1.15 times its hanging length, and each starts 0.000001 rad (a millionth of a radian) from the next.

Two motions that trade energy

The spring is tuned so that it bounces twice for every swing: its rest length is 1 m, and its stiffness (k/m = 3g) stretches it to 4/3 m when it hangs still. With that 2-to-1 ratio, swinging and bouncing keep handing energy back and forth, and the motion never repeats. That's enough for chaos.

As one, then not

For the first seconds the 10,000 pendulums move as a single one, drawn bold with its spring. A millionth of a radian keeps growing, though, and at t = 6.7 s the spread becomes visible (the spread of the weights' sideways positions passes 5 cm). After that they fan out over the whole bowl they can reach.

The colour shows speed, like glowing metal: the slowest weights are deep red-violet, faster ones orange and yellow, and the fastest white. Each weight leaves a fading trail, and every 25th spring is drawn as a line from the pivot.

The equations

r'' = rθ'² + g cos θ − (k/m)(r − L₀)

θ'' = (−g sin θ − 2r'θ') / r

r is the spring's length and θ its angle from straight down. The first equation is the spring: the swing flings the weight outward, gravity pulls along the spring, and the spring pulls back towards its rest length L₀. The second is the swing, where a lengthening spring slows the turning. Every pendulum is integrated with the RK4 method at 480 steps per second; nothing random is added, so the only difference between two pendulums is the starting gap.

Part of Pendulums (8 videos): Swinging weights, from perfect rhythm to chaos.

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-springy-pendulums.