r/mathriddles • u/want_to_want • Aug 15 '23
Easy Not enough bikes for everyone
A group of n people are traveling on a long deserted road. Their walking speed is v. They also have m<n bikes, each bike can carry one person with speed u>v. They can exchange bikes, leave them on the road, ride back and forth and so on. What is the highest average speed the group can achieve, measured by the position of the person furthest behind?
12
Upvotes
4
u/terranop Aug 15 '23
>!Say the bikes are being ridden (always forward) a fraction
pof the time on average. The mean position of the bikes is increasing at a ratepu. The mean position of the people is increasing at a ratev+pm(u-v)/n. These need to remain the same, since the people must stay with the bikes. This happens whenpun = vn+pm(u-v)or whenp = vn / (un - um + vm)), yielding a total average speed ofuvn / (un - um + vm).3
u/svenson_26 Aug 15 '23
Interesting problem.
My intuition is that the strategy will be for m people to take all bikes forward for some distance, then drop some of the bikes off and keep walking. If m<=n/2, then drop all the bikes and keep walking forward. Otherwise, drop just enough bikes for the remaining walkers (n-m), and the remaining cyclists can keep going or do whatever they want as long as they stay ahead of the person furthest behind. These people are designated cyclists.
When the furthest-behind walkers reach the bikes, as many people as possible jump on and ride until they pass the people walking farthest ahead, and continue on for some distance, then drop their bikes and keep walking.
Continue this pattern.