Lifeguard Run: The Quickest Path Bends Where the Speed Changes, sin θ₁ ÷ v₁ = sin θ₂ ÷ v₂

An educational simulation game. A lifeguard on the sand must reach a swimmer in the water, running at 7 m/s and swimming at 2 m/s. The straight line is not the quickest route: it pays to run a bit further and swim less. Time two routes, find the angle of the quickest one, and see that light obeys the same rule.

Fermat's principleRefraction

LIFEGUARD RUN

Straight line

Ready
Enable JavaScript to run the beach. The instructions and worked example remain readable.
Lifeguard's routeLight rayNormal to the waterlineQuickest routeYour prediction
The time and the bendt = d₁ ÷ v₁ + d₂ ÷ v₂

Time

0.00 s

t

Entry point

— m

x_e

Angle before the water

— °

θ₁

Angle in the water

— °

θ₂

Speed now

— m/s

v

Predict before you start

Type your prediction to set things up. Start stays off until there is an answer.

Predict the quickest way to the swimmer.

Mission score—

Every answer must be within 2%: each earns 100 points. Getting it right on the first run adds 50. A run counts as soon as it starts.

✓ Right answer① First try

How to play Lifeguard Run

  1. Choose a test and read the route, the speeds, and the angles on the card.
  2. Time each side with distance ÷ speed, or use sin θ₁ ÷ v₁ = sin θ₂ ÷ v₂ for the quickest route.
  3. Type your prediction and press Start. The clock runs while the lifeguard runs and swims.
  4. Compare the clock, the angles, and the graph with your orange prediction, then drag the entry point to try other routes.

The quickest path and refraction

Running is much faster than swimming, so the lifeguard's straight line to a swimmer is not the quickest route: it pays to run further along the sand and swim less. Running too far is slow too, so there is a best point to enter the water. At that point a small step along the shore saves as much running time as it costs swimming time, and that happens when sin θ₁ ÷ v₁ = sin θ₂ ÷ v₂, with each angle measured from the normal to the waterline. On the slow side the path is closer to the normal. Light follows the same rule. Fermat's principle says light between two points takes the path of least time, and since light is slower in water, by the refractive index n, the quickest path gives Snell's law, sin θ₁ = n·sin θ₂. That is why a ray bends at the surface, as in Spearfishing.

A focused learning model

The waterline is straight, the lifeguard moves in straight lines at a steady 7 m/s on sand and 2 m/s in water, and starting and turning take no time. A route's time is t = d₁ ÷ v₁ + d₂ ÷ v₂; the quickest route is found exactly from sin θ₁ ÷ v₁ = sin θ₂ ÷ v₂, with angles measured from the normal. The quickest route to the swimmer 50 m along is drawn after every run: it enters the water 45.10 m along and takes 18.03 s. The beach runs are shown 6 times faster (more if a slow speed makes a run long). The light test uses c = 3.00 × 10⁸ m/s in air and c ÷ 1.33 in water, a lamp 3 m above the surface, and a point 2 m deep, slowed to 10 ns per second. In the speed test your answer is the running speed. Answers within 2% are right.

Changing language keeps your test, prediction, attempts, and run.