I came across this little riddle:
An amateur runner trains on a 1 250 m long track at a speed of $v_L = 2 m/s$. His dog runs ahead to the target, turns around and then runs back to him, then he runs back to the target, back, etc. His speed is when running forth $v_H = 5 m/s$ and when running back (because of the headwind) $v_Z = 4 m/s$. Calculate the distance traveled by the dog.
It is little bit like Zeno's paradoxes but with the additional complication that here the dog is running back and forth at different speeds.
Could anyone please give some hints how to elegantly tackle the problem or references where a solution can be found (Perhaps this riddle even has a common name under which it can be found in the literature)? Thank you!
A variation on the classic elegant approach works. The runner will take $625$ seconds to complete the course. The dog will take $250$ seconds for the first leg. After that, the dog averages $\frac{2}{\frac{1}{5}+\frac{1}{4}}=\frac{40}{9} \frac{m}{sec}$ and you can apply the usual approach. The main points are 1)use the harmonic mean to find average speed, as you are averaging over common distances 2)after the first leg, the dog makes round trips so you can average the speed. As the dog is making round trips for $375$ seconds, it covers $375*\frac{40}{9}=1666\frac{2}{3}$ meters in that time, which when added to the $1250$ it already did makes $2916\frac{2}{3}$ meters total.
Added after the comment to Tim van Beek's answer: the classic version has the dog at a single speed, say $5$ m/sec. Then the simple answer comes from the runner taking $625$ seconds, so the dog travels $625*5=3125$ meters. The complex answer is to sum the infinite series of legs traveled by the dog. The first leg is $1250$ meters, after which the runner has covered $250$ meters. So the dog runs back $\frac{5}{7}$ of $1000$ meters and returns to the end. Then you figure out the next leg of the dog. It is a geometric series which you can sum.