![MathJax Logo](/templates/jsp/_style2/_tandf/pb2/images/math-jax.gif)
Abstract
A well-known puzzle involving the repeated flying of a swallow between two cyclists is extended to investigate the effect of nonuniform speeds. The resulting generalizations provide examples that can be used in the context of the teaching aspects of the manipulation of infinite series, including the use of telescoping sums and products.
1. Introduction
In a Mathematical Association of America documentary from 1966 about John von Neumann (1903–1957), the Nobel Prize-winning physicist Eugene Wigner(1902–1995) relates the following story (Nowak & Powell, Citation1966):
There was a puzzle in the twenties which became rather popular. It dealt with two bicyclists cycling towards each other from the two ends of a forty mile track. A swallow is supposed to fly off from one cyclist towards the other, meet the other cyclist, return to the first one, then go back to the second one and cover shorter and shorter distances. The problem is what is the total distance of the swallow’s flight? The speed of the bicyclists was twenty miles [per hour] and the speed of the swallow is fifty miles per hour.
One can arrive at the solution of the problem rather quickly by noting that the two bicyclists will take just one hour to meet, because they start at opposite ends of a forty mile track and have a speed of twenty miles [per hour] each. During an hour naturally the swallow flies fifty miles, because its [speed is] fifty miles per hour.
Well, few people see the solution of this puzzle and Jonnie didn’t see it either, when Max Born a very well known scientist, a physicist, told him the story. In spite of this, by the time that Born had finished the story Jonnie was ready with the answer. He said, ‘Well fifty miles, of course’. Born astounded and said, ‘You are the first one of my scientist friends who saw the solution at once’. Jonnie said ‘Well, I can’t understand that, it is a simple infinite geometrical series!
And by the time Born finished with the story evidently he had summed up the lengths of the infinitely many distances traversed by the swallow.
A variant of the problem is given by the famous English puzzle maker Henry Ernest Dudeney (Citation1967, p. 21) who states it as:
Anderson set off from an hotel at San Remo at nine O’clock and had been walking an hour when Baxter went after him along the same road. Baxter’s dog started at the same time as his master and ran uniformly forwards and backwards between him and Anderson until the two men were together. Anderson’s speed is two, Baxter’s four and the dog’s ten miles an hour. How far had the dog run when Baxter overtook Anderson?
My correspondent in Italy who sends me this is an exact man, and he says, “Neglect the length of the dog and the time spent turning.” I will merely add, neglect also the dog’s name and the day of the month.
2. Solving the problem
As Wigner and Dudeney note, this is a very nice problem, which can easily stump the hearer. It certainly left me stumped the first time I heard it many years ago as an undergraduate.
The key to the solution is that the repeated change of direction does not change the fact that the swallow can be assumed to move at a constant speed. Spot that, and you have a good chance of going on to see the quick solution to the problem. Don’t spot that, and you may also be left exclaiming ‘Mon Dieu, quelle série!’.
In what follows, we will consider how Wigner’s version of the problem can be extended.
Let us consider the two cyclists, A and B to initially be separated by a distance , each moving towards each other with a speed v and the swallow, S, to be travelling with a speed
. The cyclists will meet in time
and the total distance travelled by the swallow will be
(1)
(1)
We note in passing that if u = v S travels along with A and meets B at the midpoint after having travelled a distance
.
We can also solve the problem ‘the hard way’ by noting that if after the ith change of direction A and B are apart, then the time between the ith and (i+1)th change of direction is
and in that time S has travelled
(2)
(2)
Further in that time, the separation between A and B has been reduced by an amount
and so the separation between A and B at the (i+1)th change of direction of S is
(3)
(3)
Clearly from (3), we can write
(4)
(4)
and from (2) the total distance travelled by S will be
(5)
(5)
Finally, substituting (4) into (5) gives
(6)
(6)
and recognizing the sum as one of a geometric series with common ratio
leads immediately to the result (1).
This somewhat lumbering formulation and solution of the problem looks almost comical when set beside the simple solution given at the beginning of this section, and in this sense it provides an excellent example of the power of clear thinking. However, formulating the problem in terms of an infinite series does fulfil another role, in that it sets the stage to enable us to think about a more general form of the problem.
3. Generalizing the problem
An obvious generalization of the problem is to let both A, B and S change their speeds at each change of direction of S.
Thus if we let and
be the speeds of S and A and B between the ith and (i+1)th change of direction, with
, then we can easily generalize (2) and (3) to
(7)
(7)
and
(8)
(8)
where
(9)
(9)
Note that while the cyclists’ and swallow’s speeds are both a function of i in (9) it is perhaps, for some readers, more intuitive in what follows to consider the cyclists’ speed to be fixed and the swallow’s speed to change at each change of direction.
We can write (8) as
(10)
(10)
and hence the total distance travelled by S will be
(11)
(11)
Initially, this does not look promising, as the series does not look similar to any an undergraduate is likely to have seen. However, if we think of the problem in terms of using (11) as a basis to try to construct series which we might be familiar with, then results are forthcoming.
In the first instance, let us consider the product term in (11). If this product was to reduce to a factorial term or could be constructed so that it telescoped then we might be able to find a series which we can then sum. It turns out that both of these intuitions are fruitful.
4. Model 1: constructing factorials
First, let’s consider the product term in (11). If we were to pick
(12)
(12)
then
(13)
(13)
which, very helpfully, is the ith term of the Maclaurin expansion for
.
Further, rearranging (12),
(14)
(14)
and given
we thus have the constraint on a that
(15)
(15)
Note that as j increases
increases monotonically, approaching unity as j approaches infinity. Given the definition of
, (9) this means that, for example, if the speed of the cyclists remains constant, the swallow is decreasing in speed at each change of direction (see Figure ).
Figure 1. Examples of the behaviour of speed ratios corresponding to models 1, 2 and 3discussed in the text. Squares:
; Circles:
; Triangles:
. In the plotted graphs, a=0.5 and n = 2.Note that an increase in
corresponds to the swallow slowing down and as
the swallow approaches the speed of the cyclist. If
, the swallow’s speed diverges (assuming the speed of the cyclist is nonzero).
![Figure 1. Examples of the behaviour of speed ratios rj=vjuj corresponding to models 1, 2 and 3discussed in the text. Squares: rj=j+1−aj+1+a; Circles:rj=j+2−a(j+1)j+2+a(j+1); Triangles: rj=1j+n. In the plotted graphs, a=0.5 and n = 2.Note that an increase in rj corresponds to the swallow slowing down and as rj→1 the swallow approaches the speed of the cyclist. If rj→0, the swallow’s speed diverges (assuming the speed of the cyclist is nonzero).](/cms/asset/01d31d12-c367-4ec6-bc97-b1419ccd33bf/tmes_a_1986643_f0001_ob.jpg)
Using (13) and (14) in (11) immediately gives
(16)
(16)
For a further generalization of this, see question 2 of the classroom exercises section.
5. Model 2: A telescoping product
Next, consider
(17)
(17)
This leads to
(18)
(18)
and
(19)
(19)
and given
we thus have the constraint on a that
(20)
(20)
As j increases
decreases monotonically from
, approaching
as j approaches infinity. As noted earlier, given the definition of
, (9) this means that, if the speed of the cyclists remains constant, the swallow is thus increasing in speed at each change of direction (see Figure ).
Using (18) and (19) in (11) gives the total distance travelled by the swallow as
(21)
(21)
For a variant of this, see question 3 of the classroom exercises section. Both (16) and (21) are illustrated in Figure .
Figure 2. Results for models 1 and 2. Solid line: model 1, Equation (16). Dashed line: model 2, Equation (21). Note that in both cases when a = 0, , or more importantly,
. This means that the swallow and cyclist travel at the same speed and both cyclists and swallow meet having travelled a distance
, with no need for the swallow to change direction. For model 2, the distance travelled diverges as a approaches unity.
![Figure 2. Results for models 1 and 2. Solid line: model 1, Equation (16). Dashed line: model 2, Equation (21). Note that in both cases when a = 0, rj=1∀j, or more importantly, r0=1. This means that the swallow and cyclist travel at the same speed and both cyclists and swallow meet having travelled a distance D02, with no need for the swallow to change direction. For model 2, the distance travelled diverges as a approaches unity.](/cms/asset/f539d8bc-aa94-49e3-b58d-5dc88f1a1c9d/tmes_a_1986643_f0002_ob.jpg)
6. Model 3: A telescoping sum
Consider a ratio of speeds that is decreasing harmonically in the form
(22)
(22)
where n is a positive integer (see Figure ).
In this case,
(23)
(23)
and we can show that the product telescopes to give
(24)
(24)
resulting in
(25)
(25)
with this sum telescoping to give the elegant and simple result
(26)
(26)
7. Model 4: A random swallow
Finally, let’s consider a swallow which randomly picks its speed after each change of direction such that is uniformly distributed on [0,1]. The expected value of
is given by the integral over the infinite dimensional space of random variables,
(27)
(27)
While this may look complicated it is not, as all the integrals separate and each term in the sum can be evaluated as
(28)
(28)
The integrals on the right-hand side of (28) are easily evaluated as
(29)
(29)
and so (27) becomes
(30)
(30)
Once again we have the sum of a geometric progression, giving
(31)
(31)
7.1. Classroom exercises
Wigner’s swallow and Baxter’s dog are, of course, wonderful puzzles in their own right. But as shown above, they also form a basis for the creation of problems suitable for use with undergraduates in the context of teaching infinite series. These problems give students experience in some of the standard techniques which need to be mastered in the manipulation of series, such as spotting telescoping sums and products, and recasting non-standard series into standard forms by appropriate multiplication or subtraction (as is needed for example to move from the left-hand side to the right-hand side of Equation (21)).
The questions below give examples of how these ideas can be used further in a classroom context.
A variation on the original problem is to consider a swallow that travels from A to B with speed
and from B to A with speed
, where
. Show that is such a case the total distance travelled by the swallow is
(32)
(32)
(a) Following the same steps as are given between Equations (11)–(16) for Model 1, show that if
(33)
(33) then
(34)
(34) where
.
(b) Further, show that if
where m is a positive integer then
(35)
(35) where
.
Show that if
(36)
(36) then
(37)
(37)
Dudeney notes that the Italian who sent him the problem advised him to ‘neglect … the time spent turning’. Considering the form of the problem where both cyclists are at fixed speed v and the swallow fixed speed u, estimate the number of changes of direction of the swallow if it has a finite, but small, change of direction time
.
Equations (7) and (8) along with
provide a simple iteration method which is easily programmed. Write a short programme to allow you to investigate the behaviour of
given
where a > 0.
The random swallow example given in Model 4 can be generalized so that the swallow picks its speed over the uniform distribution
, where
. Show that in such a case
(38)
(38)
Disclosure statement
No potential conflict of interest was reported by the author.
References
- Dudeney, H. E. (1967). 536 puzzles and curious problems. Charles Scribner’s Sons.
- MaCrae, N. (1992). John von Neumann: The scientific genius who pioneered the modern computer, game theory, nuclear deterrence and much more. Pantheon Books.
- Nowak, A. A., & Powell, P. (1966). MAA Video Classics Number 2: John von Neumann – A documentary. Mathematical Association of America. Retrieved 9th September 2021, from https://www.youtube.com/watch?v=gn3U9G0gfu4.