Basic concepts on problems on speed time distance, train running and boats in rivers

Speed time distance concepts govern the running of trains and plying of boats in rivers as well

Speed time distance train running boats in rivers

Traveling at same speed we would need twice the time we took last time, if we have to cover twice the distance we traveled last time. This follows from our common sense. The relationship between speed, time and distance is one of the most basic physical laws that affects our real life experiences extensively.

Trains run from station to station at various speeds; boats ply in the river but their actual speeds are reduced by the river stream speed if the boat moves upstream...the applications of the relationship between speed time and distance form an important part of Arithmetic.

Speed, time and distance - basic concepts

  • Speed is the distance traversed per unit time by an object moving in the same direction. The relation between Speed, Distance and Time is,

\[ \text{Speed} = \frac{\text{Distance}}{\text{Time}} \]

  • If Time is held constant, Speed is directly proportional to Distance. If Speed is more, the Distance traversed will be more during the same period.

\[ \text{If Time is constant,}\quad \text{Speed} \propto \text{Distance} \]

  • If Distance is held constant, Speed is inversely proportional to Time. It means, to cover the same distance it would take less time if the speed is increased.

\[ \text{If Distance is constant,} \quad \text{Speed} \propto \frac{1}{\text{Time}} \]

  • If Speed is held constant, Distance covered is directly proportional to Time. In other words, at constant speed, distance traversed will be more in more time.

\[ \text{If Speed is constant,} \quad \text{Distance} \propto \text{Time} \]

Relative speed and catching up:

If two objects move in parallel paths in same direction with speeds $S_1$ and $S_2$, with the first speed higher, the relative speed between the two will be $S_1 - S_2$.

If object 2 was ahead of object 1 by a distance $d$, the first object will catch up with the second in time,

\[ T=\frac{d}{S_1 - S_2} \]

Effectively object 2 can be imagined to be stationary at a distance $d$ from object 1, and object 1 approaches object 2 at the relative speed $S_1 - S_2$ catching it up in time $T$.

As in time $T$ object 1 moves a distance of $T\times{S_1}$, this will be distance from the starting point of object 1 at which the two objects will meet.

In reality, during this time $T$, object 2 will also move with its speed $S_2$ and will meet object 1 at a point distant $T\times{S_2}$ from its own starting point.

Problem examples

Problem 1:

A person covers one-third of his journey at 40 km per hour, one half of the journey at 30 km per hour and rest at 20 km per hour. What was his average speed for the whole journey?

Solution 1:

Rest of the journey was $\displaystyle\left(1 - \frac{1}{2} - \frac{1}{3}\right)= \frac{1}{6}$th of the journey that was covered at speed 20 km per hour.

So, if Distance was $D$ kms, total time taken in hours was,

$\text{Time}=\displaystyle\frac{D}{3\times{40}} + \displaystyle\frac{D}{2\times{30}} + \displaystyle\frac{D}{6\times{20}}$

$\hspace{12mm}=D\left(\displaystyle\frac{1}{120} + \displaystyle\frac{1}{60} + \displaystyle\frac{1}{120}\right)$


So, the average speed was 30 kms per hour.

Problem 2:

A bee flies from its hive to a flower in a straight path at a speed of 30 km per hour and returns immediately to its hive following the same path at a liesurely speed of 10 km per hour. What was its average speed?

Solution 2:

If the distance was $D$, the total time taken to cover the total distance $2D$ in hours was,

$ \text{Time } = \displaystyle\frac{D}{30} + \displaystyle\frac{D}{10}$


So the average speed of the bee was 15 km per hour.

Problem 3 - Catching up:

Raman runs at a speed of 24 kms/hr and Dipu runs at 20kms/hr. They start running with Dipu ahead of Raman by 200 metres. At what distance from starting point Raman will catch up with Dipu and how long will he take to catch up?

Solution 3:

Raman will approach Dipu with a relative speed of $24 - 20 = 4$ kms/hr and he will catch up Dipu in a time of,

$ T = \displaystyle\frac{200\text{ metres}}{4\text { km/hr}}=3 \text{ minutes} $

The distance at which Raman will catch up Dipu will be,

$ \text{Catch-up distance} = 3 \text{ mins} \times{24\text{ km/hr}}$

$\hspace{38mm}=\displaystyle\frac{24}{20} \text{ km}=1.2 \text{ km} $

That is, by the time Raman catches up Dipu, running at 20 km/hr Dipu also have run 1 km further in 3 minutes.

Trains running - basic principles

Two trains running in parallel:

The question of relative speed arises when two trains run in parallel. The main quantities that are to be found out in this type of problems are Time to pass,

  • a second train,
  • a platform,
  • a stationary man standing on a platform, 
  • a stationary passenger in another moving train or
  • a cyclist.

Different cases of two trains moving in parallel are,

Two trains moving in same direction:

When two trains with speeds $S_{1}$ and $S_{2}$ move in parallel and in same direction, the relative speed between the trains is the difference between their speeds, $S_{1} - S_{2}$, assuming $S_{1} > S_{2}$. Train 1 will then pass the train 2 at this relative speed.

If $L_{1}$ and $L_{2}$ are the lengths of the two trains, to pass each other, any of the trains has to traverse a distance of $L_{1} + L_{2}$. So time to pass each other at the relative speed in this case is,

$ \text{Time to pass} = \displaystyle\frac{L_{1} + L_{2}}{S_{1} - S_{2}} $

For example, if the trains move at speeds 60 km/hr and 40 km/hr and and the lengths are 100m and 150m then,

$ \text{Time to pass each other} = \displaystyle\frac{(100 + 150)\text{m}}{(60 - 40)\text{km/hr}}$




The first train will completely overtake the second in 45 secs in this case.

Note: It is important to remember that, before final calculation, both the lengths and the speeds have to converted to the same units (1km = 1000m). 

If required for simplification, do not forget to convert the time in hours to time in seconds also (1hr = 60mins = 3600secs).

Stages of Two trains passing each other moving in same direction

In two train passing scenario the speedier first train passes the second train in stages.

The speedier first train starts passing the slower second train moving in parallel and in same direction. This state of TRAIN PASSING START happens when the nose of the speedier train is aligned with the tail of the slower train from behind.

This is the zero time point of the train passing stages. It is as shown in the following figure. If we consider the above example, the first train moves at 60km/hr while its length is 100m and the second train moves at 40km/hr and its length is 150m. To pass completely, the first train is to traverse $(100+150=250)$m total length of the two trains at the relative speed of $(60-40=20)$km/hr.

Effectively, in train passing, we can imagine that the slower train is standing still and the faster train is crossing the stationary slower train at a relative speed of 20km/hr in this case.

two trains passing each other starts

After a while, the speedier first trains crosses the length of the second train partially. In due time it will leave the second train behind, passing it completely. This partial crossing stage is depicted in the following figure.

two trains passing each other partially passed

Finally at the last time point of the two train passing scenario, the tail of the speedier first train is aligned with the nose-head of the slower second train, just the opposite of the starting time point state. Next moment the speedier first train will leave the second train completely behind.

This last stage of two train passing scenario is depicted in the following figure. If we consider our example, the first train traveling at 60km/hr has traversed their total length of 250m at their relative speed of 20km/hr in time duration 45secs.

two trains passing each other completely passed

Note: Two objects such as two cars or two racing men moving in parallel and in the same direction catch up and pass each other in exactly the same way.

Two trains moving in opposite direction:

In this case the relative speed will be the sum of their individual speeds, that is,

$\text{Relative speed }= S_{1} + S_{2}$.

In this case the time to pass would obviously be less and is,

$ \text{Time to pass} = \displaystyle\frac{L_{1} + L_{2}}{S_{1} + S_{2}} $

The relative speed is the sum of speeds and this higher value is appearing in the denominator so that time taken will be proportionately less.

With previous example values,

$ \text{Time to pass each other} = \displaystyle\frac{(100 + 150)\text{m}}{(60 + 40)\text{km/hr}}$




This makes sense. Earlier the 250m total length was passed at relative speed of 20km/hr. Now the same length is covered but at 5 times the previous speed. As speed and time are inversely proportional, time taken to pass would obviously be one-fifth of 45 secs, that is, 9 secs.

Now we will consider a single moving train:

Various possibilities of the train passing objects are,

A platform: a platform is stationary and so speed of passing will be the train speed, but the length will be the total length of the platform and the train.

For example if the platform is 200m long and the train speed and lengths are 60km/hr and 100m, required time to pass will be,

$\text{Time to pass the platform } $

$=  \displaystyle\frac{(100 + 200)\text{m}}{60\text{km/hr}}$

$= \displaystyle\frac{300m}{60000m/hr}$



A stationary man standing on the platform:

A man who is not moving represents a upright line of no width.

Length to pass will be the train length and speed will be the train speed.

For example, the train of length 100m moving at a speed of 60km/hr will pass a man standing on the platform in,

$\text{Time to pass a stationary man} $

$= \displaystyle\frac{100m}{60km/hr}$




A passenger sitting in another moving train:

In this case, the length to pass will be the length of the passing train, but the speed will be the relative speed of two trains.

It is as if a stick man is running parallel to the first train at the speed of the second train.

For example, first train of length 100m moving at a speed of 60km/hr passing a passenger sitting in a second train of length 150m and moving in parallel at a speed of 40km/hr in opposite direction. What will be the time for the first train to pass the passenger sitting in the second train?

$\text{Time to pass a passenger in 2nd train} $

$= \displaystyle\frac{100m}{(60 + 40)km/hr}$




Passing other moving objects:

A moving train may pass a man running parallel to it (a man of no width moving at relative speed), or it might well be a case of passing a cyclist moving parallel to the train (the speed of cycle will determine the relative speed, the end to end length of the cycle may be given, or if not given may be assumed to be too small for consideration).

Problem examples

Problem 1:

A train passes a station 325 metres long in 39 secs and a bridge 220 metres long in 30 secs. Find the length and speed of the train.

Solution 1:

Let the length be L metres and speed be S kms/hr. From the two cases we have, 

$\text{S kms/hr}  = \displaystyle\frac{(L + 325)\text{metres}}{39\text{secs}}$

$=\displaystyle\frac{(L + 325)\times{3.6}}{39}\text{kms/hr}$

Or, $39S = 3.6L + 1170$

and similarly,

$\text{S kms/hr} = \displaystyle\frac{(L + 220)\text{metres}}{30\text{secs}}$

$=\displaystyle\frac{(L + 220)\times{3.6}}{30}\text{kms/hr}$

Or, $30S =  3.6L + 792$

From these two equations we have,


Or, $S=42$ kms/sec.

Putting this value in second equation we get,

$3.6L = 1260 - 792 = 468$

Or, $L=130$ metres.

Alternate shorter solution:

We observe the train takes 9 more seconds to traverse an additional length of 105 metres. So the speed straightaway is,

$ S =\displaystyle\frac{105metres}{9secs}$

$\hspace{4mm}=\displaystyle\frac{105\times{3.6}}{9}kms/hr $

$\hspace{4mm}= 42kms/hr$.

From the second case we have,

$(L+ 220)\text{metres }= 42 kms/hr \times{30 secs}$

$\hspace{37mm}=\displaystyle\frac{42\times{30}}{3.6}\text{ metres} $

$\hspace{37mm}= 350\text{ metres}$,

Or, $L = 350 - 220 = 130\text{ metres}$.

This is a much faster elegant method.

Strategy behind this faster elegant solution

If there are two linear equations or two similar cases, consider just the amount change.

Note: To remember,

$ 1 \text{ metre/sec} = 3.6 \text{ km/hr}$

Problem 2:

A passenger sitting on a train running at 50 km/hr saw a 125 metres long goods train running in opposite direction to pass him in 6 seconds. What is the speed of the goods train?

Solution 2:

In 6 secs the goods train covers its own length of 125 metres, but at a relative speed of,

$ (S + 50) \text{km/hr} =\displaystyle\frac{125\text{ metres}}{6\text{ secs}}$

$\hspace{31mm}= \displaystyle\frac{125\times{3.6}}{6} \text{km/hr} $

$\hspace{31mm}= 75 \text{ km/hr} $.

So, $S = 25$ km/hr.

Problem 3:

Two trains 100 metres and 95 metres long passe each other in 9 seconds when they run in opposite direction and in 27 seconds when they run in the same direction. Find the speed of the two trains.

Solution 3:

In both cases the trains have to cover the total of their lengths, that is, 195 metres.Thus we have,

$(S_{1} + S_2) \text{ kms/hr}  = \displaystyle\frac{195\text{metres}}{9\text{secs}} $


$=78 \text{ kms/hr}$.


$(S_{1} - S_2) \text{ kms/hr} =  \displaystyle\frac{195\text{metres}}{27\text{secs}}$

$=26 \text{ kms/hr} $


$ S_1 = \displaystyle\frac{78 + 26}{2} = 52 \text{ kms/hr}$


$S_2  = \displaystyle\frac{78 - 26}{2} = 26 \text{ kms/hr}$

Boats in rivers - basic principles

This also is an area of relative speeds.

Here  Still water Speed of the boat is independent of the speed of the river flow.

Upstream boat movement

Upstream means against the direction of the river flow -- it is always true that a river water flows down. If a boat moves upstream, its effective speed reduces to its own still water speed minus speed of river flow,

Upstream effective speed of boat  $=$ Speed of boat  $-$  Speed of river flow

Downstream boat movement

Downstream means in the direction of the river flow -- it is always true that a river water flows down. If a boat moves downstream, its effective speed increases to its own still water speed plus speed of river flow,

Downstream effective speed of boat $=$ Speed of boat $+$ Speed of river flow

Note: Relations between Speed, Distance and Time are applicable fully here. Relation between only Speed and Time are inversely proportional. All other relations are directly proportional.

Problems and examples

Problem 1:

A launch travels downstream in 3 hours to a point 42 kms away. Its return journey takes 7 hours. What are the speeds of the launch and the water current?

Solution 1:

We have, Downstream speed,

$ (S_{1} + S_2) \text{ kms/hr}  = \displaystyle\frac{42}{3} \text{ kms/hr}$

$=14 \text{ kms/hr}$

and, Upstream speed,

$(S_{1} - S_2) \text{ kms/hr}  = \displaystyle\frac{42}{7}\text{ kms/hr}$

$=6 \text{ kms/hr}$.

Thus, launch speed,

$S_1  = \displaystyle\frac{14 + 6}{2} = 10 \text{ kms/hr}$

and, river speed,

$S_2  =\displaystyle\frac{14 - 6}{2} = 4 \text{ kms/hr}$

Problem 2:

While rowing upstream a man takes thrice as much time as rowing in still water at 9 miles/hr. Find the speed of the current.

Solution 2:

To row a fixed distance $D$ miles the man takes $T$ hours at speed 9 miles/hr. So,

$ D = 9T$

Rowing upstream his effective speed becomes $(9 - S)$ miles/hr where the current speed is $S$ miles/hr; rowing upstream to cover the same distance $D$ he takes thrice the time he took in still water, that is,

$3T$ hours.


$ D=9T=(9 - S)3T$

or, $9 = 27 - 3S $

So, current speed is 6 miles/hr.

Problem 3:

In a river there are three place P, Q and R. Q is exactly midway between P and R. A boat traveled from P to Q and came back taking 5 hours and 15 mins. Again it took 7 hours to move from P to R. How much time the boat will take to return to P?

Solution 3:

The first half return journey from P to Q and back is exactly same as the second half return journey from Q to R and back to Q. So this also should take the same time of 5 hours 15 mins. Thus the total return journey from P to R and back should take 10 hours 30 mins. As the upstream journey from P to R already has taken 7 hours, the rest 3 and half hours will be taken to reach back to P from R.

This is a problem of simple deductive logic.

Useful resources to refer to

7 steps for sure success in SSC CGL Tier 1 and Tier 2 competitive tests

How to solve Arithmetic problems on Work-time, Work-wages and Pipes-cisterns

Basic concepts on Arithmetic problems on Speed-time-distance Train-running Boat-rivers

How to solve Work-time problems in simpler steps type 1

How to solve Work-time problem in simpler steps type 2

SSC CGL level Solution Set 44 on Work-time Pipes-cisterns Speed-time-distance

SSC CGL level Question Set 44 on Work-time Pipes-cisterns Speed-time-distance

SSC CGL level Solution Set 32 on work-time, work-wage, pipes-cisterns

SSC CGL level Question Set 32 on work-time, work-wages, pipes-cisterns