The long walk
October 9, 2009 at 5:17 pm | In Puzzles | 2 CommentsTags: expanding string, Mathematics, puzzle, the long walk
I thought that I’d follow up my recent post on The Monty Hall Problem with another puzzle, which in my opinion is a bit more interesting and somewhat more involved. As with most puzzles there are several variations (see for example [1-3]), however they are all more or less similar and can certainly be solved following the method detailed below. As a starting point we take the problem as formulated in [3].
An ant starts to crawl along a taut rubber rope 1km long at a speed of 1cm per second (relative to the rubber it is crawling on). At the same time, the rope starts to stretch uniformly by 1km per second (so that after 1 second it is 2km long, after 2 seconds it is 3km long, etc). Will the ant ever reach the end of the rope?
The key points to note here is that the ant is crawling at a constant speed relative to the rubber rope and that the rope is stretching in a uniform fashion. Intuition would perhaps suggest that the ant wouldn’t make it; however, as we shall see, intuition can often be wrong as was the case with The Monty Hall Problem.
Let us now make a more general formal statement of the problem in the same vein as [3].
Consider a thin elastic string, colinear with the x-axis and held taut between the points
and
, where
,
. A particle moves along the string with constant velocity
relative to the point on the string where the particle is currently located. The string stretches smoothly and uniformly such that the end point of the string obeys the differential equation
with initial value
, where
and
.
Will the particle reach the point
in finite time?
It is obvious (or perhaps not so obvious) that the velocity of the particle, relative to the external coordinate system is the sum of its velocity relative to its current point on the string and the velocity of the same point on the string. To illustrate this point, imagine that you are walking down the aisle of a moving train carriage. To everyone else on the train you appear to be moving at walking pace down the aisle. Now imagine that you are stood at the side of the tracks watching a train go past whilst someone is walking down the aisle of the carriage. From your point of view, their speed is the sum of their walking speed and the speed of the train.
Although the above analogy illustrates the situation rather well, the problem in hand is somewhat more complicated. In the train-passenger example the each point in the carriage was moving at the same speed. However, in our problem the string is stretching, which means that any two points on the string are moving relative to each other. In other words, each point on the string moves with a different velocity. If you need convincing of this, take an elastic band and draw two lines across its width. If you stretch the elastic band you will see that the distance between the two lines increases.
So, how do we work out how fast each point is moving? Well the first step is to work out how fast the end point of the string is moving. We stated earlier that and
. By integrating with respect to
we obtain the position of the end point as a function of time
What can we say about the remaining points on the string? Since the string stretches uniformly, we know that the position of each point relative to the entire length of the string remains unchanged. In other words, the position of each point scaled with respect to the length of the string, remains constant. What does this mean? Well, let the string initially be 1m long and let us place a mark at 0.5m. If the string is then stretched to 2m, the mark will then be at 1m, or half the length of the string as it was originally. Let us consider a point
on the string. We may then write
We take the derivative with respect to time
Eliminating using our original expression for
yields a the velocity of any point on the string as a function of time
As we said earlier, the speed of the particle relative to the x-axis is the sum of the particle’s speed relative to its current point on the rope and the speed of the current point on the rope relative to the x-axis. We were given the former quantity and we have just derived an expression for the latter quantity. Therefore, denoting the position of the particle with respect to the x-axis as we may write
which may be rewritten in canonical form
which may further be rewritten (making use of an integrating factor [4] of )
The integration is straightforward and yields
where corresponds to the constant of integration. So we now have expressions for the position of both the end of the string (1) and the particle (9) in terms of time.
Recall that our objective was to determine if our particle will ever reach the end of string in finite time. The most obvious method to determine this is to solve the system of equations (1) and (9), in order to find an expression for time in terms of the other variables. Noting that the numerator in the argument of the logarithm in (3) is we may write
Unfortunately, the solution of the above expression cannot be written in terms of elementary functions (if you are interested the solution can be written in terms of the Lambert function [5]). However, we can find an explicit solution for the time taken for the particle to reach the point , by means of a coordinate transformation.
Let us make a change of coordinates such that the rope now extends from
to
. In other words, we move to a coordinate system which expands with the string such that in this coordinate system the length of the string remains constant. Therefore, each point on the string is now stationary with respect to to the new coordinate system. Formally, we define the transformation between
and
as
Hence, in changing coordinate system we have in effect removed the time dependence from the position of the points on the string. Instead, our coordinate system is now time dependent. The next question is “what is the speed of the particle in these new coordinates?” In order to determine how velocities transform between the two coordinate systems we simply need to differentiate (11) with respect to time
Inserting equations (6) into equation (12) yields the desired transformation for velocities
Where denotes the position of the particle with respect to the coordinate system
and
therefore denotes the velocity of particle. Integrating (13) with respect to time yields the position of the particle with respect to the coordinate system
as a function of time
Writing time as a function of position
So, we have now obtained an expression for the time taken for the particle to reach a point , after starting at point
in coordinates
. Now we are in a position to answer the question that was initially posed: “will the particle reach the point
in finite time?”. As said previously, this corresponds to the case when
. Substituting
into (11) we obtain the corresponding point in
coordinates:
. Hence, setting
equal to unity in (15) yields
And here we arrive at the desired result. We observe that is finite for all finite, positive values of
. Therefore, the ant will reach the end of the elastic string provided that the string is initially of finite length, the ant initially starts from a finite position and both the speed of expansion of the string and the speed of the ant is finite. Note that this is still true even when the speed of expansion far exceeds the speed of the ant.
To illustrate this, let us consider some specific cases. Let the ant initially start from the origin. In this case
Equation (16) then becomes
Inputting the values as originally stated in the problem () we obtain a value of
, which is very large indeed, but still finite. As we would expect, for fixed
(speed of expansion), the larger
(speed of ant), the shorter the time taken to reach the end of the string. For the limiting case of
(with fixed
), i.e. when the string is not expanding, we find that (making use of L’Hôpital’s rule)
which again is as expected.
To summarise, the answer to the original question as stated at the beginning of the post is: yes, the ant will always reach the end of the string provided that the string is finite and is expanding at a finite rate and the ant has finite speed.
References
[1] Su, Francis E., et al. “Inchworm on a Rubber Rope.” Mudd Math Fun Facts. http://www.math.hmc.edu/funfacts/.
[2] Sarcone G.A., Waeber M.J. “Puzzle # 114: Infinite beetle path”. Archimedes’ Lab. http://www.archimedes-lab.org/.
[3] Wikipedia. “Ant on a rubber rope”. Wikipedia. http://en.wikipedia.org/wiki/Ant_on_a_rubber_rope
[4] Munkhammar, Joakim. “Integrating Factor.” From MathWorld–A Wolfram Web Resource, created by Eric W. Weisstein. http://mathworld.wolfram.com/IntegratingFactor.html
[5] Weisstein, Eric W. “Lambert W-Function.”
From MathWorld–A Wolfram Web Resource. http://mathworld.wolfram.com/LambertW-Function.html
2 Comments »
RSS feed for comments on this post. TrackBack URI
Leave a comment
Categories
- Computing (2)
- Linux (2)
- Mathematics (7)
- Puzzles (3)
- Solved Problems (1)
- Computing (2)
My recent tweets
- More penguins, this time from Limestreet station #fb http://tweetphoto.com/5613977 19 hours ago
- Congratulations to @MarcusduSautoy who collects the Faraday medal from the Royal Society this evening http://bit.ly/7G57ip 19 hours ago
- Just finished typing up a 2 page derivation when I realised that I could do it in 2 lines. I'm Happy & annoyed all at the same time! 21 hours ago
- The penguins outside @lgos http://tweetphoto.com/5604490 1 day ago
- Setting up a Christmas playlist on my iPod :-) #fb 1 day ago
PhD ComicsTags
analysis ant Arithmetic asymptotic balloon boundary Crossover differential equations expanding string expansion fractal infinite infinity koch layer Linux Mathematics metric Monty Hall Office Office 2007 order Outlook 2007 Probability puzzle Puzzles revolution second snowflake space SSL surface the long walk Torricelli trumpet volumeBlogroll
-

© Copyright Daniel Colquitt 2009. This work by Daniel Colquitt is licensed under a Creative Commons Attribution-Non-Commercial-No Derivative Works 2.0 UK: England & Wales License.
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.

[...] 12:07 pm | In Mathematics, Puzzles | Leave a Comment In an earlier post we discussed the so-called long walk problem, where an ant moves along an expanding one-dimensional elastic string. This problem has an [...]
Pingback by The long walk on a balloon « General Musings — October 15, 2009 #
[...] Here’s a puzzle courtesy Daniel Colquitt involving an ant on a rubber rope. [...]
Pingback by Carnival of Mathematics #59 « The Number Warrior — November 6, 2009 #