While swimming in the sea, a man suddenly suffers a heart attack. A lifeguard on the beach immediately recognizes the situation and wants to rush to the man before he drowns.
The lifeguard is twice as fast on land than in water.
What route must the lifeguard take to reach the drowning man as quickly as possible?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
There are two different strategies to minimize the total running time T for the lifeguard:
While the straight path in (C) optimizes the overall path length, the route in (E) has the shortest swim distance. The route in (D) is a compromise between the opposing strategies and represents the true optimum.
To be more precise we consider a path between the points Q = ( 0 , 0 ) (lifeguard) and P = ( X , Y ) (drowning man) with an intermediate point R = ( x , y ) at the store. The distance of both line segments on the beach and in the water are s 1 = x 2 + y 2 and s 2 = ( X − x ) 2 + ( Y − y ) 2 The total time T , that the lifeguard needs to reach the man, reads T = t 1 + t 2 = v 1 s 1 + v 2 s 2 = v 1 x 2 + y 2 + v 1 ( X − x ) 2 + ( Y − y ) 2 with the velocities v 1 and v 2 for running and swimming (with v 1 = 2 v 2 ). The only free parameter is the coordinate x , where the lifeguard reaches the shore. To minimize the recue time T , we zero the derivative d x d T = v 1 x 2 + y 2 x − v 1 ( X − x ) 2 + ( Y − y ) 2 X − x = ! 0 (*) Rewriting sin α = v 1 x 2 + y 2 x , sin β = ( X − x ) 2 + ( Y − y ) 2 X − y with the angle α and β of incidence and refraction, the equation (*) reads v 1 sin α = v 2 sin β or sin β sin α = v 2 v 1 This is identical to Snell's law, which decribes the light refraction at boundary between two different isotropic media. In our case, the optimal path is gives by the condition sin α = 2 sin β , so that the relation α > β > 0 must be fulfilled. This geometric constraint is only true for the path (D).