536
Views
0
CrossRef citations to date
0
Altmetric
Classroom Notes

Playing with Wigner’s swallow, Baxter’s dog and infinite series

Pages 2870-2878 | Received 17 Dec 2020, Published online: 18 Oct 2021

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.

Wigner prefaces the story with a comment that it illustrates ‘the unusual speed’ of von Neumann’s thinking. Von Neumann’s ability to perform mental arithmetic ‘at lightning speeds’ was well known (MaCrae, Citation1992, p. 235) but, as we shall see in the next section, if von Neumann did sum the infinite geometrical series he did so via the well-known formula, rather than by summing ‘up the lengths of the infinitely many distances traversed by the swallow’ in his head.

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.

In giving the solution to the problem, Dudeney (Citation1967, p. 239) notes that ‘when a friend put this problem before a French professor of mathematics, he exclaimed: ‘Mon Dieu, quelle série!’ quite overlooking the simple manner of solution’.

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 D0, each moving towards each other with a speed v and the swallow, S, to be travelling with a speed uv. The cyclists will meet in time D02v and the total distance travelled by the swallow will be (1) Ds=uD02v.(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 D02.

We can also solve the problem ‘the hard way’ by noting that if after the ith change of direction A and B are Di apart, then the time between the ith and (i+1)th change of direction is Diu+v and in that time S has travelled (2) δi+1=uu+vDi.(2) Further in that time, the separation between A and B has been reduced by an amount 2vu+vDi and so the separation between A and B at the (i+1)th change of direction of S is (3) Di+1=(uvu+v)Di.(3) Clearly from (3), we can write (4) Di=(uvu+v)iD0(4) and from (2) the total distance travelled by S will be (5) DS=i=1δi=uu+vi=0Di.(5) Finally, substituting (4) into (5) gives (6) DS=D0uu+vi=0(uvu+v)i(6) and recognizing the sum as one of a geometric series with common ratio (uvu+v) 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 ui and vi be the speeds of S and A and B between the ith and (i+1)th change of direction, with uivii, then we can easily generalize (2) and (3) to (7) δi+1=11+riDi(7) and (8) Di+1=(1ri1+ri)Di(8) where (9) ri=viui.(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) Di=D0j=0i11rj1+rj(10) and hence the total distance travelled by S will be (11) DS=i=1δi=D0i=0(11+rij=0i11rj1+rj).(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) 1rj1+rj=aj+1(12) then (13) j=0i11rj1+rj=aii!(13) which, very helpfully, is the ith term of the Maclaurin expansion for ea.

Further, rearranging (12), (14) rj=j+1aj+1+a(14) and given 0<ri=viui1 we thus have the constraint on a that (15) 0a<1.(15) Note that as j increases rj increases monotonically, approaching unity as j approaches infinity. Given the definition of rj, (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 rj=vjuj corresponding to models 1, 2 and 3discussed in the text. Squares: rj=j+1aj+1+a; Circles:rj=j+2a(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 rj1 the swallow approaches the speed of the cyclist. If rj0, 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).

Using (13) and (14) in (11) immediately gives (16) DS=D0i=012(aii!+ai+1(i+1)!)=D0(ea12).(16) For a further generalization of this, see question 2 of the classroom exercises section.

5. Model 2: A telescoping product

Next, consider (17) 1rj1+rj=aj+1j+2(17) This leads to (18) j=0i11rj1+rj=aii+1(18) and (19) rj=j+2a(j+1)j+2+a(j+1)(19) and given 0<ri=viui1 we thus have the constraint on a that (20) 0a<1.(20) As j increases rj decreases monotonically from r0=2a2+a, approaching 1a1+a as j approaches infinity. As noted earlier, given the definition of rj, (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) DS=D0i=012(aii+1+ai+1i+2)=DSa(ln(1a)+a2).(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, rj=1j, 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.

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.

6. Model 3: A telescoping sum

Consider a ratio of speeds that is decreasing harmonically in the form (22) rj=1j+n(22) where n is a positive integer (see Figure ).

In this case, (23) 1rj1+rj=i+n1i+n+1(23) and we can show that the product telescopes to give (24) j=0i11rj1+rj=n(n1)(i+n1)(i+n)(24) resulting in (25) Ds=D0n(n1)2i=0(1i+n11i+n+1)(25) with this sum telescoping to give the elegant and simple result (26) Ds=D02(2n1).(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 ri is uniformly distributed on [0,1]. The expected value of Ds is given by the integral over the infinite dimensional space of random variables, (27) E[Ds]=limnD00101i=0n(11+rij=0i11rj1+rj)dr0drn(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) 01dri1+ri×01(1r01+r0)dr0×01(1r11+r1)dr1××01(1ri11+ri1)dri1=01dr1+r×[01(1r1+r)dr]i.(28) The integrals on the right-hand side of (28) are easily evaluated as (29) 01dr1+r=ln(2)011r1+rdr=2ln(2)1(29) and so (27) becomes (30) E[Ds]=D0ln(2)i=0(2ln(2)1)i.(30) Once again we have the sum of a geometric progression, giving (31) E[DS]=D0ln(2)2(1ln(2)).(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.

  1. A variation on the original problem is to consider a swallow that travels from A to B with speed uA and from B to A with speed uB, where uA,uBv. Show that is such a case the total distance travelled by the swallow is (32) DS=D0(2uAuB+v(uAuB))2v(uA+uB).(32)

  2. (a) Following the same steps as are given between Equations (11)–(16) for Model 1, show that if (33) 1rj1+rj=aj+2(33) then (34) Ds=D0(1a(ea1)12)(34) where 0a2.

    (b) Further, show that if 1rj1+rj=aj+m where m is a positive integer then (35) DS=D0((m1)!am1(eai=0m2aii!)12)(35) where 0am.

  3. Show that if (36) 1rj1+rj=aj+1j+3(36) then (37) Ds=2D0((a1a2)ln(1a)+2a14).(37)

  4. 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 Δt.

  5. Equations (7) and (8) along with DS=i=1δi provide a simple iteration method which is easily programmed. Write a short programme to allow you to investigate the behaviour of DS given rj=1exp(aj) where a > 0.

  6. The random swallow example given in Model 4 can be generalized so that the swallow picks its speed over the uniform distribution ri[α,1], where 0α1. Show that in such a case (38) E[Ds]=D0ln(21+α)2(1α)2ln(21+α).(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.