# Prove that the boy cannot escape the teacher

I'm struggling with the following problem from Terence Tao's "Solving Mathematical Problems":

Suppose the teacher can run six times as fast as the boy can swim. Now show that the boy cannot escape. (Hint: Draw an imaginary square of sidelength 1/6 unit centred at $O$. Once the boy leaves that square, the teacher gains the upper hand.)

Here $O$ is the center of the swimming pool. This question is a follow up on the previous one, which is solved in the affirmative in the text

(Taylor 1989, p. 34, Q2). In the centre of a square swimming pool is a boy, while his teacher (who cannot swim) is at one corner of the pool. The teacher can run three times faster than the boy can swim, but the boy can run faster than the teacher can. Can the boy escape from the teacher? (Assume both persons are infinitely manoeuvrable.)

My attempt:

Since the boy can always swim back into the small square of sidelength 1/6 centered at $O$, I can't see how to apply the hint properly. Also, since the student's path need not even be smooth (it was taken as a polygonal chain in the previous question) I'm having difficulties writing data down clearly.

Any help would be appreciated. Thanks.

• Indeed the boy can stay in the pool indefinitely, but this doesn't amount to an "escape" in the sense of the earlier problem. Dec 2, 2015 at 2:47
• @hardmath I understand what you're saying, but the hint implies that teacher should watch for the time where the student leaves the small square, and my problem is that he (the teacher) can never know when the student leaves that square for the last time. Dec 2, 2015 at 2:49
• @SamWeatherhog Even in the "3 times faster" case, swimming to the opposite corner is too slow for the student. Dec 2, 2015 at 3:01
• Suppose the teacher can run six times as fast as the boy can swim. Now show that the boy cannot escape. Is that really all the information? What shape does the swimming pool have? What are their starting positions? Dec 18, 2015 at 8:16
• @EricS. As I've written above, this question is a follow up question on the one where the shape of the pool and the initial positions are defined. Dec 18, 2015 at 8:26

# Definitions and assumptions (without loss of generality)

• Without loss of generality, we can consider the teacher is on the bottom half corner (we know the teacher is in a corner and the problem is symmetrical).

• Lets call the inner square the square of 1/6 unit of side, centered at the origin.

• It takes at least $6\times \frac{1}{12} = \frac{1}{2}$ unit of time for the kid to reach the side of the inner square.

In that time, the teacher goes to the center of the bottom side of the pool, no matter where the boy goes.

When the kid leaves the inner square, teacher always go as close as possible to the kid. If the kid goes back inside the inner square, the teacher goes back to his original position.

# Solving the problem

We will now show that in this situation, the boy cannot escape.

## Case 1 : The boy exits the inner square at its bottom square

• Obviously, the boy can't escape by the bottom side of the pool, since the teacher is here.

• If he tries to escape by one side, it will take at least $6\times 5/12 = 2.5$ units of time. The teacher can be anywhere on the side in 1.5 unit of time.

• If he tries to escape by the top, it will take at least $6\times 7/12 = 3.5$ units of time. The teacher can be anywhere on the top in 2.5 units of time.

## Case 2 : The boy exits the inner square by one side (for example, the right side).

• Again, the boy can't escape by the bottom because the teacher is here.

• If the boy tries to escape on the right side, it will take at least $6\times 5/12 = 2.5$ units of time. The teacher can be anywhere on the side in 1.5 unit of time.

• If the boy tries to escape on the left side, it will take at least $6\times 7/12 = 3.5$ units of time. The teacher can be anywhere on the side in 3.5 unit of time, even if he start by going through the right.

• If the boy tries to escape on the top side , it will take at least $6\times 5/12 = 2.5$ units of time. The teacher can be anywhere on the side in 2.5 unit of time.

## Case 3 : The boy exits on the top side

If the boy exits the inner square on the right half of the top, then, the teacher goes right. If the boy exits on the left half, the teacher goes left.

For the sake of the argument, let's say the boy exits the inner square on the right side (the situation is symmetric if he exits on the left).

• The boy can't escape by the bottom (obvious).

• If the boy tries to escape on the right side, it will take at least $6\times 5/12 = 2.5$ units of time. The teacher can be anywhere on the side in 1.5 unit of time.

• If the boy tries to escape on the top side, it will take at least $6\times 5/12 = 2.5$ units of time. The teacher can be anywhere on the side in 2.5 unit of time.

• If the boy tries to escape on the top half of the left side, it will take him at least $6\times 1/2 = 3$ units of time. The teacher can be on the top half of the left side in 3 units of time, even if he starts going on the right.

• If the boy tries to escape on the bottom half of the left side of the pool. (this one is a bit more tricky)

Let $x$ be the distance between the escape point and the middle of the left side. The minimum time the kid takes to go there is :

$$T_{kid} = 6\times \sqrt{0.5^2 + (\frac{1}{12}+x)^2}$$

The time the teacher takes to get there, if he starts by going right is :

$$T_{teacher} = 3+x$$

We can show that $T_{kid}\geq T_{teacher}$, or

$$f(x) = T_{kid}- T_{teacher} = 6\times \sqrt{0.5^2 + (\frac{1}{12}+x)^2} - 3- x \geq 0$$

It could be done analytically, but I used wolfram alpha here to show it.

# Conclusion

Since wherever the kid exits the inner square, he loses, the proof is complete.

• This is excellent, very well done, and a great first answer on the site! Dec 24, 2015 at 7:03
• it was not so clear in the context, but he considered the swimming pool an unit square.
– Mike
Dec 25, 2015 at 14:26

The boy has no incentive to change direction since he loses time.

Which direction should he pick?

• In the 6×speed case, no matter which direction the boy chooses, the teacher can get there faster.
• In the 3×speed case, there are numerous directions where the boy can escape... just not the opposite diagonal corner.  • in the 3x speed, the boy can't escape if he goes straight to the opposite diagonal corner. It takes him $3\times \sqrt{0.5^2 + 0.5 ^2} \approx 2.1$ unit of time. The teacher gets there in 2 Dec 25, 2015 at 7:37

Consider a square centred at $(0,0)$ in the Cartesian plane. Without loss of generality let the square have a side length of 2 units.

Suppose that the teacher is at vertex $(1,1)$.

Assume that there exists some point on the perimeter of the square with coordinates $(x,y)$ such that the student will arrive here before the teacher and so will escape. Due to the symmetry of the square, we can assume without loss of generality that $y=-1$. And so our point becomes $(x,-1)$.

Let the boy swim at $k$ $unit/s$ and let the teacher run at $6k$ $unit/s$

Then we have,

Distance from teacher= $2+(1-x)$ (distance travelled vertically down +distance travelled horizontally left towards point).

Distance from the student=$\sqrt{x^{2}+1}$

Time taken for teacher to reach this point $(t_{1})= \frac{3-x}{6k}$.

Time taken for student to reach this point $(t_{2})= \frac{\sqrt{x^{2}+1}}{k}$.

In order for the student to escape $(t_{1})>(t_{2})$,

hence, $\frac{3-x}{6k}>\frac{\sqrt{x^{2}+1}}{k}$.

Noting that $-1<x<0$ (i.e. the point we are looking for is in the third quadrant) reveals that this inequality does not hold in this interval.

• It would work, in that case we would require $\frac{3-x}{3k}>\frac{\sqrt{x^{2}+1}}{k}$ which is satisfied at $(-0.5,-1)$. Dec 24, 2015 at 5:47

Consider a square of side length 1 unit. Consider 2 cases:

Case 1. Boy is at centre. Teacher is at corner. Boy swims to opposite corner. Distance for boy is 2/sqrt2 = 0.71 Distance for teacher is 1 + 1 = 2 But teacher is 6x faster. Therefore teacher beats boy.

Case 2. Boy is at centre. Teacher is at middle of a side. Boy swims to opposite side. Distance for boy is 1/2 = 0.5 Distance for teacher is 1/2 + 1 + 1/2 = 2 But teacher is 6x faster. Therefore teacher beats boy.

Boy can never escape.