# Swim, Swim and Walk, or Walk?

Swim, Swim and Walk, or Walk?

A lifeguard at the edge of a circular pool sees a baby fall into the water at another point on the edge of the pool. To save the baby, should he swim directly to her, swim to some point and then walk, or walk all the way around to her? (He has to walk, and not run, because the edge of the pool is slippery.)

The radius of the pool is feet and the angle to where the baby falls is , . The lifeguard can swim ft/sec and walk ft/sec, where .

r

ϕ

1

0<≤π/2

ϕ

1

s

w

s<w

If he swims at angle , , he swims feet and walks feet. The total time to reach the baby is thus seconds.

ϕ

0≤ϕ≤

ϕ

1

2rsin(ϕ)

2r(-ϕ)

ϕ

1

T(ϕ)=+

2rsin(ϕ)

s

2r(-ϕ)

ϕ

1

w

It takes seconds to walk all the way and seconds to swim all the way.

T(0)=

2r

ϕ

1

w

T()=

ϕ

1

2rsin()

ϕ

1

s

A routine calculus student will compute (ϕ)=- and conclude the lifeguard should swim at angle =. But that would put the baby at greatest risk!

′

T

2rcos(ϕ)

s

2r

w

ϕ

0

-1

cos

s

w

A good calculus student knows the minimum time could occur at an endpoint, or , and will compare the values at 0, , and before making her decision. But she will also compute (ϕ)=- and notice it is negative when . This means the graph of is concave down, and the minimum must occur at an endpoint. Moreover, is a maximum when (assuming <). The worst thing to do is to swim in direction !

ϕ=0

ϕ=

ϕ

1

ϕ

0

ϕ

1

′′

T

2rsin(ϕ)

s

0<ϕ<

π

2

T

T

ϕ=

ϕ

0

ϕ

0

ϕ

1

ϕ

0

The lifeguard should walk all the way if or <.

T(0)<T()

ϕ

1

s

w

sin()

ϕ

1

ϕ

1

The lifeguard should swim all the way if or >.

T(0)>T()

ϕ

1

s

w

sin()

ϕ

1

ϕ

1

The lifeguard could swim all the way or walk all the way if or =.

T(0)=T()

ϕ

1

s

w

sin()

ϕ

1

ϕ

1

This problem is a slight generalization of a problem in A Rigorous Treatment of Maximum-Minimum Problems in the Calculus, a pamphlet by J. L. Walsh. There, yds, =π/2 (the baby is at the opposite side of the pool), yds/min and yds/min. What should the lifeguard do in this case?

r=100

ϕ

1

s=100

w=200

What is the effect of ?

r

Suppose the decision for given , , and , with , is to swim. Is there always another value of for which the decision is to walk? Is there always a value of for which the decision is to walk? (Yes, Yes)

ϕ

1

s

w

s<w

s

ϕ

1

Suppose the decision for given , , and , with , is to walk. Is there always another value of , , for which the decision is to swim? Is there always another value of for which the decision is to swim? (Yes, No)

ϕ

1

s

w

s<w

s

s<w

ϕ

1