In Henry Ernest Dudeney's "Modern Puzzles" of 1926 (now out of print) we have:
- The Despatch-Rider
If an army forty miles long advances forty miles while a despatch-rider gallops from the rear to the front, delivers a depatch to the commanding general, and returns to the rear, how far has he to travel?
My solution is that it seems clear that the rider goes twice as fast as the army, so he goes 80 miles one way and 2/3 of 40 miles the other, being an obvious 19 1/3 miles.
But Dudeney's solution is:
"The answer is the square root of twice the square of 40, added to 40. This is $96.568$ miles, or, roughly $96 \tfrac 1 2$ miles."
Anybody got any idea how he arrives at this?
Alternative approach:
Assume that the army's length is $(40)$.
Assume that the rider's speed is $(r > 1)$ while the army's speed is $1$.
Assume that the first leg of the trip uses time $t_1.$
Assume that the second leg of the trip uses time $t_2.$
The distance traveled by the rider is $r(t_1 + t_2)$.
Further, from the problem's constraints,
$40 = (1) \times (t_1 + t_2) \implies (t_1 + t_2) = 40.$
Therefore, the problem is reduced to computing $r$.
During $t_1$, the speed at which the rider covers the $(40)$ is (in effect) $(r - 1)$.
During $t_2$, the speed at which the rider covers the $(40)$ is (in effect) $(r + 1)$.
Therefore, $t_1(r - 1) = 40 = t_2(r + 1).$
Therefore $40 = t_1 + t_2 = \displaystyle \frac{40}{r-1} + \frac{40}{r+1}.$
This implies that $1 = \displaystyle \frac{1}{r-1} + \frac{1}{r+1} = \frac{2r}{r^2 - 1}$.
Therefore, $\displaystyle r^2 - 2r - 1 = 0 \implies r = \left(\frac{1}{2}\right) \times \left[2 \pm \sqrt{8}\right] = 1 \pm \sqrt{2}$.
Since $r$ must be $> 0$, (in fact $r$ must be $> 1$), you have that $r = 1 + \sqrt{2}$.