User Rating 0.0 โ˜…โ˜…โ˜…โ˜…โ˜…
Total Usage 0 times
Lโ‚€ โ€” length of the rubber band at t=0
vs โ€” speed at which the far end recedes
vb โ€” constant walking speed of the bug
1ร— Simulation seconds per real second
Stop simulation after this many sim-seconds
Presets:
Time 0.00 s
Bug Position 0.00 m
Band Length 10.00 m
Fraction Complete 0.000%
Analytical Arrival โ€”
0%
Is this tool helpful?

Your feedback helps us improve.

โ˜… โ˜… โ˜… โ˜… โ˜…

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.

bug-rivet paradox ant rubber band harmonic series paradox simulator physics visualization stretching band infinite series

Formulas

The band has initial length L0 and stretches uniformly at constant rate vs. At time t, the band length is:

L(t) = L0 + vs โ‹… t

The bug at position x is carried along by the stretch and also walks at speed vb. Its governing ODE:

dxdt = vb + xL(t) โ‹… vs

Defining the fractional position f(t) = x(t) รท L(t), the analytical solution is:

f(t) = vbvs โ‹… ln(1 + vs โ‹… tL0)

The bug reaches the end when f(t) = 1. Solving for arrival time T:

T = L0vs โ‹… (evs รท vb โˆ’ 1)

In the discrete model (bug walks one step per second, band stretches after each step), the fractional progress after n steps equals:

fn = vbvs โ‹… nโˆ‘k=1 1k

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

ScenarioBand Length L0Stretch Rate vsBug Speed vbSpeed RatioArrival Time tFinal Band Length
Classroom demo1 m1 m/s0.5 m/s26.39 s7.39 m
Equal speeds1 m1 m/s1 m/s11.72 s2.72 m
Slow bug1 m1 m/s0.1 m/s102.20 ร— 104 s2.20 ร— 104 m
Very slow bug1 m1 m/s0.01 m/s100e100 โˆ’ 1 sโ‰ˆ 2.69 ร— 1043 m
Fast bug10 m2 m/s3 m/s0.674.87 s19.74 m
Ant on a rope1 km1 km/s1 cm/s105e105 sAstronomical
Snail on cosmos1 lyc0.001 m/sโ‰ˆ 3 ร— 1011Finite but unimaginableBeyond observable universe
No stretch5 m0 m/s1 m/s05 s5 m
Micro scale100 ฮผm10 ฮผm/s5 ฮผm/s263.9 s739 ฮผm
Ratio = 31 m3 m/s1 m/s35.70 s18.09 m
Ratio = 51 m5 m/s1 m/s529.48 s148.41 m
Ratio = 201 m1 m/s0.05 m/s204.85 ร— 108 s4.85 ร— 108 m
Harmonic series: 10 terms10โˆ‘k=1 1k โ‰ˆ 2.9290Partial sum
Harmonic series: 100 terms100โˆ‘k=1 1k โ‰ˆ 5.1874Partial sum

Frequently Asked Questions

The key insight is that stretching is uniform - every point on the band moves proportionally to its distance from the origin. The bug, already partway along the band, gets "carried forward" by the stretch. Its fractional progress each step is v_b / L(t), and since L(t) grows linearly, these fractions form terms proportional to 1/k. The harmonic series โˆ‘(1/k) diverges, so the cumulative fraction inevitably reaches 1. The bug doesn't outrun the stretching - it accumulates fractional progress that sums to completion.
The arrival time is T = (Lโ‚€ / v_s) ร— (e^(v_s/v_b) โˆ’ 1). This grows exponentially with the ratio v_s / v_b. At ratio 1, T โ‰ˆ 1.72 ร— Lโ‚€/v_s. At ratio 10, T โ‰ˆ 22,026 ร— Lโ‚€/v_s. At ratio 100, T involves e^100 โ‰ˆ 2.69 ร— 10^43. The function is mathematically finite for all finite ratios, but physically meaningless for large ones - the band would need to stretch beyond the observable universe.
Yes. The paradox is directly analogous to photons traveling through an expanding universe. A photon (the bug) moves at speed c through space that expands (the rubber band). In a universe with Hubble-like linear expansion (v_s proportional to distance), distant light can still reach us because the photon's fractional progress accumulates. However, if expansion accelerates (dark energy), the analogy breaks - the band equivalent would stretch exponentially, and the integral converges. In that regime, there exist galaxies whose light will never reach us, defining the cosmological event horizon.
Uniform stretching is essential to the paradox. If only the far end moves (like pulling a rope from one end), the bug gets no "free ride" - the portion behind the bug doesn't expand. In that case, the bug's progress is simply v_b / (Lโ‚€ + v_s ร— t), which integrates to a logarithm that diverges, so the bug still arrives (same math, different physics). However, if the band stretches exponentially - L(t) = Lโ‚€ ร— e^(ฮฑt) - the fractional progress integral converges, and the bug may never arrive if v_b < ฮฑ ร— Lโ‚€.
The discrete model (stretch after each step) and the continuous model (simultaneous walking and stretching) give slightly different arrival times, but both guarantee arrival. The discrete harmonic sum H_n โ‰ˆ ln(n) + ฮณ (where ฮณ โ‰ˆ 0.5772 is the Euler-Mascheroni constant) approximates the continuous solution's ln(1 + v_s ร— t / Lโ‚€). For large speed ratios, the difference becomes negligible relative to the exponential arrival time. This simulator uses fourth-order Runge-Kutta integration for the continuous model, giving accuracy to within 10โปโธ of the analytical solution.
For ratios above about 20, the arrival time exceeds 10^8 in normalized units. The simulator caps visualization at a configurable maximum time to remain interactive. For large ratios, it computes and displays the analytical arrival time T = (Lโ‚€/v_s)(e^(v_s/v_b) โˆ’ 1) directly, along with a log-scale progress chart showing f(t) approaching 1. The animation uses time compression - each frame can represent thousands of time units - letting you see the characteristic logarithmic growth curve even for extreme parameters.