Ant on a rubber rope
The ant on a rubber rope is a mathematical puzzle with a solution that appears counterintuitive or paradoxical. It is sometimes given as a worm, or inchworm, on a rubber or elastic band, but the principles of the puzzle remain the same.
The details of the puzzle can vary,[1][2] but a typical form is as follows:
At first consideration it seems that the ant will never reach the end of the rope, but whatever the length of the rope and the speeds, provided that the length and speeds remain steady, the ant will always be able to reach the end given sufficient time — in the form stated above, it would take 8.9×1043421 years. There are two key principles: first, since the rubber rope is stretching both in front of and behind the ant, the proportion of the rope the ant has already walked is conserved, and, second, the proportional speed of the ant is inversely proportional to the length of the rubber rope, so the distance the ant can travel is unbounded like the harmonic series.
![An ant (red dot) crawling on a stretchable rope at a constant speed of 1 cm/s. The rope is initially 4 cm long and stretches at a constant rate of 2 cm/s.](../I/Ant_on_a_rubber_rope_animation.gif)
A formal statement of the problem
For sake of analysis, the following is a formalized version of the puzzle.
The statement of the puzzle from the introduction corresponds to when is 1 km, is 1 km/s, and is 1 cm/s.
Solutions of the problem
A discrete mathematics solution
Although solving the problem appears to require analytical techniques, it can actually be answered by a combinatorial argument by considering a variation in which the rope stretches suddenly and instantaneously each second rather than stretching continuously. Indeed, the problem is sometimes stated in these terms, and the following argument is a generalisation of one set out by Martin Gardner, originally in Scientific American and later reprinted.[1]
Consider a variation in which the rope stretches suddenly and instantaneously before each second, so that the target-point moves from to at time , and from to at time , etc. Many versions of the problem have the rope stretch at the end of each second, but by having the rope stretch before each second we have disadvantaged the ant in its goal, so we can be sure that if the ant can reach the target point in this variation then it certainly can in the original problem, or indeed in variants where the rope stretches at the end of each second.
Let be the proportion of the distance from the starting-point to the target point which the ant has covered at time t. So . In the first second the ant travels distance , which is of the distance from the starting-point to the target-point (which is throughout the first second). When the rope stretches suddenly and instantaneously, remains unchanged, because the ant moves along with the rubber where it is at that moment. So . In the next second the ant travels distance again, which is of the distance from the starting-point to the target-point (which is throughout that second). So . Similarly, for any , .
Notice that for any , , so we can write
.
The term is a partial harmonic series, which diverges, so we can find such that , which means that .
Therefore, given sufficient time, the ant will complete the journey to the target point. This solution could be used to obtain an upper bound for the time required, but does not give an exact answer for the time it will take.
An analytical solution
![](../I/Ant_on_rubber_rope_graph.svg.png.webp)
A key observation is that the speed of the ant at a given time is its speed relative to the rope, i.e. , plus the speed of the rope at the point where the ant is. The target-point moves with speed , so at time it is at . Other points along the rope move with proportional speed, so at time the point on the rope at is moving with speed . So if we write the position of the ant at time as , and the speed of the ant at time as , we can write:
This is a first order linear differential equation, and it can be solved with standard methods. However, to do so requires some moderately advanced calculus. A much simpler approach considers the ant's position as a proportion of the distance from the starting-point to the target-point.[2]
Consider coordinates measured along the rope with the starting-point at and the target-point at . In these coordinates, all points on the rope remain at a fixed position (in terms of ) as the rope stretches. At time , a point at is at , and a speed of relative to the rope in terms of , is equivalent to a speed in terms of . So if we write the position of the ant in terms of at time as , and the speed of the ant in terms of at time as , we can write:
where is a constant of integration.
Now, which gives , so .
If the ant reaches the target-point (which is at ) at time , we must have which gives us:
and hence for the length of the rubber band when the ant catches the target point (i.e. the distance travelled by the ant):
(For the simple case of v = 0, we can consider the limit and obtain the simple solution .) As this gives a finite value for all finite , , (, ), this means that, given sufficient time, the ant will complete the journey to the target-point. This formula can be used to find out how much time is required.
For the problem as originally stated, , and , which gives . This is a vast timespan, even compared to the estimated age of the universe, which is only about 4×1017 s. Furthermore, the length of the rope after such a time is similarly huge, 2.8×1043429 km, so it is only in a mathematical sense that the ant can ever reach the end of this particular rope.
Intuition
Consider the situation from the introduction, which is a rope 1 km long being stretched 1 km/s, along which an ant walking is with a relative speed of 1 cm/s. At any moment, we can imagine putting down two marks on the rope: one at the ant's current position, and another 1 mm closer to the target point. If the ant were to stop for a moment, from its point of view the first mark is stationary, and the second mark is moving away at a constant speed of 1 mm/s or less (depending on the starting time). It is clear that the ant will be able reach this second mark — for a simple over-estimation of the time it takes, imagine that we "turn off" the force that the rope applies to the ant at the exact moment it reaches the first mark (leaving the ant to continue onward at constant velocity). With respect to the reference frame for the first mark at this moment, the ant is moving at 1 cm/s and the second mark is initially 1 mm away and moving at 1 mm/s, and the ant would still reach the mark in 1/9 s.
What we need to do is think about the ant's position as a fraction of the length of the rope. The above reasoning shows that this fraction is always increasing, but this is not yet enough. (The ant might asymptotically approach some fraction of the rope and never come close to reaching the target point.) What the reasoning also shows is that every 1/9 s, the fraction of the rope that the ant walks along is (at least as large as a number that is) inversely proportional to the current time, since the target point is moving proportionally to time, and the fraction of the rope this 1 mm interval corresponds to is inversely proportional to that.
Quantities that grow at a rate that is inversely proportional to time exhibit logarithmic growth, which grows without bound, however slowly that might be. This means the ant will, eventually, reach the target point.
If the speed at which the rope stretches increases through time, then the ant might not reach the target. For example, imagine one end of the rope is attached to a weight that is in free fall in a uniform gravitational field, with the rope applying no force to the weight (in other words, the target point's position is given by a function of the form ). If is 1 m, is 9.81 m/s2, and the ant moves at 1 cm/s, then the ant won't cover even 0.71% of the length of the rope, despite the fact the ant is always making forward progress. However, if the ant moves at a speed greater than 1.41 m/s it will reach the end of the rope in finite time. Further there are scenarios where the speed of the ant is decreasing exponentially while the length of the rope is increasing exponentially and the ant will also reach the end of the rope in finite time.[3]
References
- Gardner, Martin (1982). aha! Gotcha: paradoxes to puzzle and delight. W. H. Freeman and Company. pp. 145–146. ISBN 0-7167-1361-6.
- Graeme (1 October 2002). "The long walk". The Problem Site. Archived from the original on 24 April 2008. Retrieved 6 April 2008.
- McCartney, Mark (2013). Extending the rubber rope: convergent series, divergent series and the integrating factor, Int. J. Math. Ed. in Sci. & Tech., 44:4, 554-559. https://www.tandfonline.com/doi/abs/10.1080/0020739X.2012.729615