Bug-Rivet Paradox
Interactive Bug-Rivet (Ant on Rubber Band) paradox simulator. Visualize how a bug always reaches the end of a stretching band via harmonic series divergence.
About
The Bug-Rivet paradox (also known as the Ant on a Rubber Band) asks whether a bug walking at constant speed vbug along a rubber band that stretches uniformly at rate vstretch can ever reach the far end. Intuition suggests no - the band grows faster than the bug walks. Yet the bug's fractional progress per unit time forms terms of the harmonic series 1k, and since โโk=1 1k diverges, the fraction eventually reaches 1. The bug always arrives, though the required time grows exponentially - for a 1 m band stretching at 1 m/s with a bug at 1 cm/s, arrival takes roughly e100 โ 1 seconds, vastly exceeding the age of the universe.
This simulator lets you configure all parameters and watch the paradox unfold in real time or accelerated mode. The continuous-time analytical solution is computed alongside a step-by-step numerical integration so you can verify convergence. Note: the model assumes perfectly uniform stretching and zero band mass. Real rubber bands break. The paradox is a mathematical statement about the harmonic series, not a materials science claim.
Formulas
The band has initial length L0 and stretches uniformly at constant rate vs. At time t, the band length is:
The bug at position x is carried along by the stretch and also walks at speed vb. Its governing ODE:
Defining the fractional position f(t) = x(t) รท L(t), the analytical solution is:
The bug reaches the end when f(t) = 1. Solving for arrival time T:
In the discrete model (bug walks one step per second, band stretches after each step), the fractional progress after n steps equals:
Since the harmonic series diverges, fn eventually exceeds 1 for any positive vb and vs. This is the core of the paradox.
Where: L0 = initial band length, vs = stretch rate (speed at which the far end recedes), vb = bug walking speed, x(t) = bug absolute position, f(t) = bug fractional position (0 to 1), T = arrival time.
Reference Data
| Scenario | Band Length L0 | Stretch Rate vs | Bug Speed vb | Speed Ratio | Arrival Time t | Final Band Length |
|---|---|---|---|---|---|---|
| Classroom demo | 1 m | 1 m/s | 0.5 m/s | 2 | 6.39 s | 7.39 m |
| Equal speeds | 1 m | 1 m/s | 1 m/s | 1 | 1.72 s | 2.72 m |
| Slow bug | 1 m | 1 m/s | 0.1 m/s | 10 | 2.20 ร 104 s | 2.20 ร 104 m |
| Very slow bug | 1 m | 1 m/s | 0.01 m/s | 100 | e100 โ 1 s | โ 2.69 ร 1043 m |
| Fast bug | 10 m | 2 m/s | 3 m/s | 0.67 | 4.87 s | 19.74 m |
| Ant on a rope | 1 km | 1 km/s | 1 cm/s | 105 | e105 s | Astronomical |
| Snail on cosmos | 1 ly | c | 0.001 m/s | โ 3 ร 1011 | Finite but unimaginable | Beyond observable universe |
| No stretch | 5 m | 0 m/s | 1 m/s | 0 | 5 s | 5 m |
| Micro scale | 100 ฮผm | 10 ฮผm/s | 5 ฮผm/s | 2 | 63.9 s | 739 ฮผm |
| Ratio = 3 | 1 m | 3 m/s | 1 m/s | 3 | 5.70 s | 18.09 m |
| Ratio = 5 | 1 m | 5 m/s | 1 m/s | 5 | 29.48 s | 148.41 m |
| Ratio = 20 | 1 m | 1 m/s | 0.05 m/s | 20 | 4.85 ร 108 s | 4.85 ร 108 m |
| Harmonic series: 10 terms | 10โk=1 1k โ 2.9290 | Partial sum | ||||
| Harmonic series: 100 terms | 100โk=1 1k โ 5.1874 | Partial sum | ||||