Swimming Against a Stronger Current
The puzzle
A river 100 m wide flows at 2 m/s. A swimmer manages only 1 m/s through the water, so landing directly opposite is impossible.
What is the least distance downstream he can be swept, and at what angle should he aim?
Stuck?
One at a time, smallest first. Open only as many as you need — the whole point of the puzzle is the part you work out yourself.
Hint 1
Aiming straight across is quickest but drifts furthest. Aiming far upstream drifts less per second but takes much longer.
Hint 2
Write the drift as a function of the angle and find where it is least.
Show the answer Hide the answer
173.2 m — that is 100√3 — aiming 30 degrees upstream of straight across.
How to get there
Let him aim at angle t upstream from the straight-across direction. His crossing speed is cos(t) and his net downstream speed is 2 − sin(t). The crossing takes 100/cos(t) seconds, so the drift is 100(2 − sin(t))/cos(t).
Minimising that expression gives sin(t) = 1/2, so t = 30 degrees - the angle whose sine is the ratio of his speed to the current's.
The drift is then 100 × (2 − 0.5)/cos(30) = 150/0.866 = 173.2 m, which is 100 × sqrt(3). The general result is width × sqrt(c² − v²)/v. Aiming straight across would take 100 seconds and drift 200 m; aiming 30 degrees upstream takes 115 seconds and drifts 173 - slower, and better.
The technique worth keeping
When the obvious target is unreachable, optimise the thing you can still control. Write the quantity you want to minimise as a function of one angle, and the trade-off between going faster and going straighter resolves itself.