Let us consider a boat which moves with a velocity vbw=5 km/hr relative to water. At time t = 0, the boat passes through a piece of cork floating in water while moving downstream. If it turns back at time, t=t1 then when does the boat meet the cork again? Assume t1 = 30 min.
1 hr
Time of traveling of boat from A to B(t1) then B to C(t1) = time of moving the cork from A to C.
Velocity of boat from A to B −−→vb,w+−→vw=(5+u)km/hr
And velocity of boat from B to C −−→vb,w+−→vw=(5−u)km/hr
Distance moved by boat in time t1,AB=(5+u)t1
And distance moved by boat in time t1=BC=(5−u)t′1
Distance moved by cork during this time, AC=u(t1+t′1)
But AB=AC+BC
(5+u)t1=u(t1+t′1)+(5−u)t′1
5t1=5t′1 ⇒t′1=t1=30 min
Hence cork meets again the boat after 1 hr.
Ok, now lemme show you the power of relative motion! Another approach is to solve it from the frame of the cork, from which the velocity of the boat will be +5 km/ hr for the first t1= 30 min. So, it will have moved 5 X 30/60 km = 2.5 km. Now, according to the question, the boat takes an U-turn after this time, so it will have a velocity of -5 km/hr wrt the cork, and it has to cover a distance of 150 km. So, how much time will it take, yes, easy right? Just the same time, t1= 30 min again (= 2.5X605min). So, the total is 60 min = 1 hr!