Sub topic 15
River-boat and rain-man problems
This chapter assumes you can resolve a vector into components, add and subtract vectors, and use the relative-velocity rule from the previous two chapters. Both problem types are one idea applied twice: velocities add as vectors, and the axes can be treated separately.
The one rule behind both problems
For any two objects A and B measured from the ground:
v(A relative to B) = v(A) − v(B)
Read it as "what B sees A doing". The notation vAB means velocity of A relative to B. A common bookkeeping form is vAG = vAW + vWG, where G is the ground and W is the water. The inner letters must match (W with W), and the outer letters form the answer (A with G).
A moving medium (river water, rain-carrying wind) is just another object with its own velocity.
River-boat problems
Setup
Let the river flow along +x with speed vr, and let its width be d, measured across the +y direction. The boat moves at speed vb relative to the water. Its velocity relative to the ground is:
vboat,ground = vboat,water + v_water,ground
The boat's heading is the direction of vboat,water. The boat's actual path is the direction of the sum. These two directions differ whenever vr is not zero, and mixing them up is the most common error.
The key independence
Take the heading at angle θ from the normal to the bank, tilted upstream. Then:
- Crossing velocity (along y): v_b cos θ
- Velocity along the bank (along x): vr − vb sin θ, positive downstream
Crossing time is t = d / (v_b cos θ). The river's current has no component along y, so it never changes the crossing time. It only changes where you land.
Drift (the displacement downstream when you reach the far bank) is:
x = (vr − vb sin θ) · d / (v_b cos θ)
The three standard questions
| Goal | Heading | Result |
|---|---|---|
| Minimum time | θ = 0 (straight across) | t = d / v_b, drift = v_r d / v_b |
| Zero drift (needs v_b > v_r) | sin θ = v_r / v_b, upstream | t = d / √(v_b² − v_r²) |
| Minimum drift when v_b < v_r | sin θ = v_b / v_r, upstream | drift = d √(v_r² − v_b²) / v_b |
For the last row, the heading satisfies sin θ = vb / vr. Equivalently, the boat's heading is perpendicular to its resultant velocity. You can see this by setting the derivative of the drift expression to zero: it gives vr sin θ = vb. When vb < vr the boat cannot cancel the current, so it cannot land directly opposite.
Worked example
A boat has vb = 5 m/s in still water. The river flows at vr = 3 m/s and is 100 m wide. The code below checks the first two rows of the table and the slow-boat case.
import math
def crossing(vb, vr, d):
t_min = d / vb
drift_at_t_min = vr * t_min
if vb > vr:
theta = math.degrees(math.asin(vr / vb))
t_zero = d / math.sqrt(vb**2 - vr**2)
return t_min, drift_at_t_min, round(theta, 1), t_zero
# slow boat: minimum drift
theta = math.degrees(math.asin(vb / vr))
drift_min = d * math.sqrt(vr**2 - vb**2) / vb
t_path = d / (vb * math.cos(math.radians(theta)))
return t_min, drift_at_t_min, round(theta, 1), round(drift_min, 1), round(t_path, 1)
print(crossing(5, 3, 100)) # (20.0, 60.0, 36.9, 25.0)
print(crossing(3, 5, 100)) # (33.33..., 166.66..., 36.9, 133.3, 41.7)For the fast boat: heading straight across takes 20 s and the boat drifts 60 m. Heading 36.9° upstream gives zero drift and the crossing takes 25 s, which is longer. For the slow boat (3 m/s in a 5 m/s river), the best the boat can do is a drift of 133.3 m, taking 41.7 s.
Rain-man problems
Same idea, different story
Rain falls with velocity vrain. A person (or a vehicle) moves with velocity vman. The rain that the person sees has velocity:
vrain,man = vrain − v_man
The person experiences rain coming from the direction opposite to vrain,man. To stay dry under an umbrella, tilt it so its axis points along the direction the rain comes from, that is, opposite to vrain,man.
Worked example
Rain falls vertically at 10 m/s. A man walks east at 5 m/s. Take east as +x and up as +y.
- v_rain = (0, −10)
- v_man = (5, 0)
- v_rain,man = (−5, −10)
The man sees rain moving down and toward the west, so it appears to come from the front (east). He tilts the umbrella forward.
import math
v_rain = (0, -10)
v_man = (5, 0)
rel = (v_rain[0] - v_man[0], v_rain[1] - v_man[1]) # rain relative to man
speed = math.hypot(*rel)
angle_from_vertical = math.degrees(math.atan(abs(rel[0]) / abs(rel[1])))
print(rel, round(speed, 2), round(angle_from_vertical, 1)) # (-5, -10) 11.18 26.6The apparent rain speed is 11.18 m/s, and the umbrella tilts 26.6° from the vertical toward the direction of walking (tan φ = vman / vrain = 0.5).
When the rain is slanted
If the wind makes rain fall at velocity (vx, −vy) relative to the ground, the same subtraction applies. Write the rain velocity as a vector with both components, subtract the man's velocity, and then find the angle with the vertical using tan φ = |relative x| / |relative y|. If the man walks at the same horizontal speed as the wind-driven rain, the horizontal component of the relative velocity is zero and the rain appears to fall straight down.
Common errors
- Confusing heading with path. The heading is the direction of vboat,water. The path follows vboat,ground.
- Using the river speed in the crossing time. The current is parallel to the bank, so it enters only the drift.
- Applying zero-drift formulas when vb < vr. The expression √(vb² − vr²) is not real. Use the minimum-drift case.
- Subtracting in the wrong order. For rain relative to man, it is vrain − vman, never the reverse. Reversing it flips the apparent direction.
- Measuring the angle from the wrong reference. State whether θ is from the normal, from the bank, or from the vertical before using sin or cos.
- Mixing frames for distances. Drift is measured on the ground. The boat's displacement relative to the water is a different quantity.
Limiting-case checks
Test your answer against cases you can predict:
- If vr = 0, drift is zero and the minimum time equals the zero-drift time, d / vb.
- If vb is very large compared with vr, the zero-drift angle approaches 0.
- If the man stands still, the rain's apparent velocity equals its true velocity.
- If vman grows large compared with vrain, the rain appears almost horizontal and φ approaches 90°.
Exercise
Rain falls vertically at 6 m/s. At what speed must a cyclist ride so that the rain appears to strike at 45° to the vertical? What is the apparent speed of the rain?
Show answer
For 45°, tan φ = vman / vrain = 1, so the cyclist rides at 6 m/s. The apparent rain speed is √(6² + 6²) = 6√2 ≈ 8.49 m/s.
Exercise
A boat has speed 5 m/s in still water and crosses a 90 m wide river flowing at 4 m/s. Find (a) the minimum crossing time and the drift for that crossing, and (b) the heading and the time needed to land directly opposite the start.
Show answer
(a) Head straight across: t = 90 / 5 = 18 s, drift = 4 × 18 = 72 m. (b) sin θ = 4/5, so θ ≈ 53.1° upstream from the normal (36.9° from the bank is wrong for this angle measure; here θ is from the normal and sin θ = 0.8). The crossing speed is √(5² − 4²) = 3 m/s, so t = 90 / 3 = 30 s.