← Vijayastra विजयास्त्रProblems on Trains

Chapter 21

Problems on Trains

Time, Speed and Distance with one new idea added: the train has a length of its own.

Look, Problems on Trains is not really a new chapter. It is Time, Speed and Distance with one extra fact: a train has its own length. A car or a man can be treated as a dot on the road, but a train may be 200 or 300 metres long, and while crossing anything it has to cover its own length too. Once this one fact sits in your mind, the chapter becomes easy.

The questions come in a few familiar forms. The direct ones ask about a train crossing a pole, a platform or another train. The mixed ones put two situations together: a pole and a platform for the same train, a train and a walking man, or two trains whose lengths are in a ratio. In some questions the train is only a point on a long journey, and you work out an average speed or the time at which two trains meet. All of them rest on one relation: time to cross = total length to be covered ÷ relative speed.

We first build the foundation: why the length gets added, the km/h ↔ m/s chart and relative speed. Then we take the types one at a time, each resting on the one before it: the train as a point on a journey, crossing a pole, crossing a platform, the same train in two situations, two trains in opposite and in the same direction, a train and a moving man, and finally two trains meeting on a long route.

One request from my side. Learn the conversion chart by heart, and in the beginning draw a small picture for every question. After twenty questions you will not need the picture; the numbers will start arranging themselves in your head.

Why the length of the train gets added

Picture a train crossing a pole. When does the crossing start? When the engine (the front) reaches the pole. When does it end? When the last coach (the back) leaves the pole. Between these two moments the front of the train has moved forward by exactly the length of the train. So, to cross a pole, distance covered = length of the train.

[[fig:0]]

Now replace the pole with a platform. The crossing starts when the engine touches the near end of the platform and ends when the last coach leaves the far end. By then the engine has run along the whole platform and then one more train-length beyond it. So distance covered = length of train + length of platform.

[[fig:1]]

This one idea runs through the whole chapter. Put everything a train crosses into one of two groups:

  • Point objects (length ignored): a pole, a post, a signal, a tree, a milestone, a man standing or walking. Distance = length of the train only.
  • Long objects (length counted): a platform, a bridge, a tunnel, another train, a tractor or bus whose length is given. Distance = length of train + length of the object.

[[fig:2]]

Take Radhika, standing on a platform 300 m long. A 240 m train passes her in 12 seconds, so its speed is 24012 = 20 m/s. To cross the whole platform the same train must cover 240 + 300 = 540 m, which takes 54020 = 27 seconds. She is a point; the platform is not.

Units: km/h ↔ m/s (learn this chart by heart)

In train questions the lengths come in metres and the times in seconds, but the speed is usually given in km/h. So the first step of almost every question is a conversion.

1 km/h = 1000 m3600 s = 518 m/s. So:

  • km/h → m/s: multiply by 518
  • m/s → km/h: multiply by 185

[[fig:0]]

You met this in the TSD chapter too. Here it comes up again and again, so keep these pairs ready in your head:

km/hm/skm/hm/s
1859025
361010830
4512.512635
541514440
60162316245
722018050

A good habit: work in m/s throughout, and convert only at the end if the answer is asked in km/h. When two speeds are given in km/h, add or subtract them in km/h first and convert just once. That saves one conversion and one chance of a slip.

[[fig:1]]

For time in minutes, divide the seconds by 60 at the end: 75 seconds = 7560 = 54 minutes.

Relative speed: when the other thing also moves

If the object being crossed is standing still, the train closes the gap at its own speed. But if the object is also moving, what matters is how fast the gap between the two closes. That rate is the relative speed.

  • Opposite directions (coming towards each other): both eat up the gap, so relative speed = S1 + S2.
  • Same direction (one overtaking the other): the faster one gains only the difference, so relative speed = S1 − S2.

[[fig:0]]

Say Radhika is in a train moving at 50 km/h, and a goods train passes in the opposite direction at 40 km/h. To her the goods train seems to rush past at 50 + 40 = 90 km/h. If it were moving in her direction, it would seem to crawl past at only 50 − 40 = 10 km/h.

When two trains cross each other completely, the distance is the sum of both lengths, L1 + L2, covered at the relative speed. Keep the picture in mind: the crossing begins when the two engines meet and ends when the two last coaches separate.

[[fig:1]]

The master formula and how to read a train question

Every crossing question in this chapter is one formula:

Time to cross = Total length to be coveredRelative speed

Only the top and the bottom change from case to case:

Train crosses …Distance (top)Speed (bottom)
a pole / standing manLS
a platform / bridge of length PL + PS
a man walking towards it at uLS + u
a man walking in its direction at uLS − u
another train, opposite directionL1 + L2S1 + S2
another train, same directionL1 + L2S1 − S2

While reading any train question, ask yourself three things:

  • What is being crossed: a point or a long object? This fixes the top.
  • Is the other thing moving, and which way? This fixes the bottom.
  • Are the units the same? Metres with m/s, seconds with seconds.

[[fig:0]]

Write the top, write the bottom and put the fraction equal to the time. After that, what is left of the question is plain arithmetic.

Type 1

The train as a point: speed, distance and time on a journey

When a question talks about a train going from one city to another, over hundreds of kilometres and hours of travel, the length of the train (a few hundred metres) does not matter. Here the train is a moving point, and the whole TSD chapter applies directly. The question says "train", but the working is plain D = S × T.

1. The basic relation. Distance = Speed × Time. A train running at 50 km/h for 3 hours covers 150 km. Watch the units: if the time is in seconds and the answer is wanted in metres, convert the speed to m/s first.

2. Same speed: distance and time go together. If the speed does not change, distance ∝ time. A train that covers 90 km in 2 hours will cover 225 km in 5 hours. You don't even need the speed: 52 × 90 = 225.

3. A journey in several parts. Find the time (or distance) of each part separately and add. Average speed is always Total distanceTotal time, never the simple average of the speeds. For two equal distances at a and b, average speed = 2aba + b; for three equal distances at a, b and c it is 3abcab + bc + ca.

Formula: Average speed = Total distanceTotal time; two equal distances: 2aba + b; three equal distances: 3abcab + bc + ca

[[fig:0]]

4. Two speeds, late and early. If at speed S1 a train is late and at S2 it is early, the two journey times differ by "late + early". So DS1 − DS2 = total time difference, which gives D = S1 × S2S2 − S1 × (time difference).

Formula: Late at S1, early at S2: D = S1S2S2 − S1 × (late + early)

[[fig:1]]

5. Speed reduced, same distance. For a fixed distance, speed ∝ 1time. If the time goes from 3 hours to 4 hours, the speed has become 34 of the original; it has fallen by 14.

Formula: Same speed ⇒ D ∝ T; same distance ⇒ S ∝ 1T

For example, Radhika's train leaves at 7:30 a.m. and reaches at 11:00 a.m., running at 64 km/h. Time = 312 hours, so distance = 64 × 72 = 224 km. Marks are usually lost in counting the clock time across a.m. and p.m., not in the multiplication.

Formula: D = S × T, S = DT, T = DS

[[fig:2]]

Type 2

Train crossing a pole, a tree or a standing man

This is the first real train type, and the simplest. A pole, a signal post, a tree, a milestone or a man standing on the platform: all of these are point objects. Their width is so small compared with the train that we take it as zero.

Formula: Crossing a pole / tree / standing man: L = S × t

So, as we saw in the foundation, while crossing a point object the train covers only its own length:

Length of train = Speed × Time taken to cross the pole

[[fig:0]]

There are only three quantities, length L, speed S and time t, and the question hides one of them.

[[fig:1]]

1. Find the speed. A 280 m train passes a signal in 14 seconds. S = 28014 = 20 m/s = 20 × 185 = 72 km/h.

Formula: S = Lt (in m/s); × 185 for km/h

2. Find the length. A train at 63 km/h passes a tree in 8 seconds. 63 km/h = 63 × 518 = 17.5 m/s, so L = 17.5 × 8 = 140 m.

3. Find the time. A 330 m train runs at 99 km/h = 27.5 m/s. It passes a standing man in 33027.5 = 12 seconds.

Read the sentence carefully. "A man standing on the platform" is still a point object, even though the platform is mentioned. The train only has to get past him, not past the platform. Always ask: what exactly is being crossed?

[[fig:2]]

Radhika is waiting at a level crossing, and a 160 m goods train takes 16 seconds to pass her. Its speed is 16016 = 10 m/s, that is 36 km/h. The width of the crossing did not matter, because she herself is the point being crossed.

Formula: t = LS (S in m/s ⇒ t in seconds; ÷ 60 for minutes)

Type 3

Train crossing a platform, a bridge or a tunnel

Now the object has a length of its own. With a platform, a bridge or a tunnel, the train has to go over the whole of it and then get its last coach off it. Look at the figure: when the engine is at the start of the platform, the last coach is still L metres behind. The crossing is over only when that last coach reaches the far end of the platform, so the last coach travels L + P.

Formula: Crossing a platform / bridge / tunnel: L + P = S × t
Platform = k × train ⇒ (k + 1)L = S × t

[[fig:0]]

Length of train + Length of platform = Speed × Time

The same unknowns appear again, but now the length side has two parts.

1. Find the speed. A 220 m train crosses a 330 m bridge in 25 seconds. Distance = 220 + 330 = 550 m. Speed = 55025 = 22 m/s = 22 × 3.6 = 79.2 km/h.

2. Find the time. A 260 m train at 81 km/h (= 22.5 m/s) enters a 640 m tunnel. Time = 260 + 64022.5 = 90022.5 = 40 seconds.

3. Find a length. A train at 45 km/h (= 12.5 m/s) crosses a 175 m platform in 30 seconds. Total distance = 12.5 × 30 = 375 m, so train length = 375 − 175 = 200 m. If the train length is given instead, the same subtraction gives the platform length.

4. Lengths linked to each other. Sometimes the platform is twice the train or *50% longer than the train*. Then write everything in terms of L. If the platform is twice the train, total distance = L + 2L = 3L. A train at 20 m/s crossing such a platform in 24 seconds covers 480 m, so 3L = 480 and L = 160 m.

[[fig:1]]

Radhika's train, 180 m long, runs at 54 km/h = 15 m/s through a tunnel 420 m long. From the moment the engine enters till the last coach comes out, it takes 180 + 42015 = 40 seconds. But the coach in which Radhika sits is in darkness for only 42015 = 28 seconds, because for one coach (a point) only the tunnel's length counts.

Formula: S = L + Pt; t = L + PS
L = S × t − P; P = S × t − L

[[fig:2]]

Type 4

The same train in two situations: pole and platform, two platforms

Here the question shows the same train crossing two different things, usually a pole (or a standing man) and a platform, or two bridges of different lengths. Often the length of the train is not given. Don't panic. One thing does not change between the two situations, the speed of the train, and everything is worked out from it.

Idea 1: the extra time is for the extra length. The train takes t1 seconds for a pole and t2 seconds for a platform of length P. In both cases it covers its own length; for the platform it covers P more. So the extra time (t2 − t1) was spent only on those extra P metres:

Speed = Pt2 − t1, and then L = Speed × t1

A train passes a signal in 9 seconds and a 270 m platform in 24 seconds. The extra 15 seconds were for the 270 m of platform, so speed = 27015 = 18 m/s and length = 18 × 9 = 162 m.

[[fig:0]]

Idea 2: two platforms or two bridges. If the same train crosses P1 in t1 and P2 in t2, the difference of the lengths is covered in the difference of the times: Speed = P2 − P1t2 − t1.

Formula: Two platforms: Speed = P2 − P1t2 − t1

Idea 3: constant speed ⇒ distance ∝ time. Since the speed is fixed, the distances are in the same ratio as the times. Pole : platform crossing = L : (L + P) = t1 : t2. This gives the length at once: L = P × t1t2 − t1. And when the length is known and one crossing is given, a new crossing time is tnew = t × L + PnewL + P.

Formula: Pole in t1, platform P in t2: Speed = Pt2 − t1, L = P × t1t2 − t1
Same train: LL + P = t1t2 (distance ∝ time)
New crossing: tnew = t × L + PnewL + P

[[fig:1]]

Idea 4: find the speed first, then everything else. If the length of the train is given along with one crossing, the speed follows directly; any other crossing is then (new distance) ÷ speed.

The same idea also comes as data sufficiency: is statement I alone sufficient, is statement II alone sufficient? Ask yourself one thing only. Does this statement let me find the speed? If yes, the time for any platform follows.

Type 5

Two trains in opposite directions

Two trains on parallel tracks are coming towards each other. Watch the figure: the crossing begins when the two engines are side by side and ends when the two last coaches separate. In that time the two trains together have moved L1 + L2. And since they are coming towards each other, the gap closes at S1 + S2.

Formula: Opposite directions: t = L1 + L2S1 + S2
Other speed: S2 = L1 + L2t − S1

[[fig:0]]

Time to cross each other = L1 + L2S1 + S2

So in opposite directions lengths add and speeds add. Every question is this one equation with one unknown.

1. Find the time. Trains of 150 m and 175 m run at 50 km/h and 40 km/h. Relative speed = 90 km/h = 25 m/s (add first, convert once). Time = 32525 = 13 s.

2. Find the other speed. A 210 m train at 36 km/h (10 m/s) crosses a 240 m train coming the other way in 9 s. Relative speed = 4509 = 50 m/s, so the other train = 50 − 10 = 40 m/s = 144 km/h.

3. Equal speeds. If both trains have the same speed v, relative speed = 2v. Two 200 m trains crossing in 10 s ⇒ 2v = 40010 = 40 ⇒ v = 20 m/s each.

Formula: Equal speeds v: 2v = L1 + L2t

4. Two-step questions. Often you first get a speed or a length from a pole crossing (Type 2) and then use it here. Do the first crossing on its own, write down L and S, and only then go to the two-train equation.

[[fig:1]]

5. A passenger sitting in one train. Suppose Radhika sits in a train at 40 km/h and a 250 m train passes her from the opposite side at 50 km/h. She is a point, so the distance is only the other train's length, 250 m, and the speed is 90 km/h = 25 m/s. It passes her in 10 s. Her own train's length does not come in.

Formula: Man sitting in train 1, train 2 passes: t = L2S1 + S2

[[fig:2]]

Type 6

Two trains in the same direction: overtaking

Now both trains run the same way on parallel tracks and the faster one overtakes the slower. The overtaking starts when the engine of the faster train comes level with the last coach of the slower one. It ends when the last coach of the faster train goes past the engine of the slower one. So the faster train has to gain both lengths, L1 + L2, on the slower train.

Formula: Slower speed: S2 = S1 − L1 + L2t

[[fig:0]]

But it gains only at the rate of the difference of speeds, because the slower train is also moving forward:

Time to overtake = L1 + L2S1 − S2

So in the same direction lengths still add, but speeds subtract. That is why overtaking takes much longer than crossing a train that comes from the front.

1. Find the time. A 180 m train at 70 km/h overtakes a 220 m train at 34 km/h. Relative speed = 36 km/h = 10 m/s. Time = 40010 = 40 s.

2. Find the slower speed. A 260 m train at 90 km/h overtakes a 190 m train in 45 s. Relative speed = 45045 = 10 m/s = 36 km/h, so the slower train = 90 − 36 = 54 km/h.

3. Same pair, both directions. If the same two trains take to to cross in opposite directions and ts to overtake, then the sum of speeds = L1 + L2to and the difference = L1 + L2ts: two equations, two speeds. With a total length of 360 m, 12 s in opposite directions and 36 s in the same direction, S1 + S2 = 30 and S1 − S2 = 10, so the speeds are 20 m/s and 10 m/s.

Formula: Same direction: t = L1 + L2S1 − S2
Same pair: S1 + S2 = L1 + L2to, S1 − S2 = L1 + L2ts

[[fig:1]]

4. Two trains of equal length that pass a pole (or a man) in t1 and t2. Here L = S1t1 = S2t2. Putting this into the formulas gives two neat results (take t1 < t2, so train 1 is the faster): in the same direction they cross in 2t1t2t2 − t1, and in opposite directions in 2t1t2t1 + t2.

Formula: Equal lengths, pole times t1 < t2: same direction 2t1t2t2 − t1, opposite 2t1t2t1 + t2

Radhika's train, 160 m long, is running at 72 km/h when a 200 m express at 108 km/h overtakes it. The express gains 36 km/h = 10 m/s, so it needs 36010 = 36 seconds to get fully ahead.

Type 7

Train crossing a moving man, car or tractor

A walking man is still a point object, so his length is ignored, but now he is moving. The distance is only the train's length, while the speed becomes relative:

Formula: Moving vehicle of length l: t = L + lS ± u

  • Man walking towards the train (opposite direction): t = LS + u
  • Man walking in the same direction as the train: t = LS − u

Formula: Man towards the train: t = LS + u; man in the same direction: t = LS − u

Take a 200 m train running at 85 km/h, with Radhika walking beside the track at 5 km/h. If she walks towards the train, relative speed = 90 km/h = 25 m/s, and the train passes her in 20025 = 8 s. If she walks in the train's direction, relative speed = 80 km/h = 2009 m/s, and it takes 200 ÷ 2009 = 9 s. The one-second difference comes only from the direction in which she walks.

[[fig:0]]

If the moving thing has a length, such as a tractor, a bus or a car whose length is given, it is a long object, exactly like a second train. Distance = L + (its length), speed = S ± u.

Two men at different speeds. A train passes one cyclist at 3 m/s in 10 s and another at 5 m/s in 12 s, both going the train's way. The length is the same both times: (S − 3) × 10 = (S − 5) × 12 ⇒ 10S − 30 = 12S − 60 ⇒ S = 15 m/s, and L = 12 × 10 = 120 m.

Formula: Two men (same direction) in t1, t2: (S − u1)t1 = (S − u2)t2 = L

[[fig:1]]

Speeds given as a ratio. If the train is k times as fast as the man, take the man's speed as x and the train's as kx. Towards each other the relative speed is (k + 1)x; in the same direction it is (k − 1)x. Find x from the crossing, then multiply by k.

Formula: Train = k × man: relative speed (k + 1)x opposite, (k − 1)x same direction

[[fig:2]]

Type 8

Two trains meeting on a long route: late start and clock time

In this last type the trains are again points, because the distance between the stations is hundreds of kilometres. The question is when and where the two trains meet. This is the relative speed method of the TSD chapter, now with trains.

1. Starting together, towards each other. The gap D closes at a + b, so they meet after Da + b hours. If one train is a certain percent faster, first write the speeds as a ratio: 25% faster ⇒ 5 : 4.

Formula: Towards each other (same start): meet after Da + b

2. Starting together in the same direction (the faster one behind). The gap closes at a − b, so the faster one catches up after Da − b hours. If a question gives both, the meeting time when moving towards each other and the catching-up time when moving the same way, you get a + b and a − b, and the two speeds follow at once.

Formula: Same direction (same start): catch up after Da − b

3. One starts late: move the early one first. Train A starts at 7 a.m. at 50 km/h, and train B starts from the other end at 9 a.m. at 70 km/h, with 460 km between them. By 9 a.m. A has covered 100 km. The remaining 360 km closes at 120 km/h, so they meet 3 hours after 9 a.m., at 12 noon. Always measure the meeting time from the moment both are moving, then add it to that clock time.

[[fig:0]]

4. Converting decimal hours to a clock time. 1.7 h is not 1 h 70 min. 0.7 h = 0.7 × 60 = 42 min, so 1.7 h = 1 h 42 min. Be careful with a.m. and p.m. while adding.

[[fig:1]]

Two more results from the TSD chapter also come with trains. If after meeting train A takes t1 hours and train B takes t2 hours to reach its destination, then SASB = √t2t1. And if at the meeting one has run d km more than the other, then D = a + ba − b × d.

Formula: After meeting A takes t1, B takes t2: SASB = √t2t1; one runs d more: D = a + ba − b × d

Here is a quick one. Radhika's train leaves station P at 60 km/h, and at the same time another train leaves Q towards P at 40 km/h. When they meet, Radhika's train has run 50 km more than the other. So D = 10020 × 50 = 250 km.

Formula: Late start: head start = a × delay; then t = D − head starta + b, measured from the later start

[[fig:2]]

Type 9

A train and a boat (or a swimmer) on a river

A railway line often runs along a river, so a question can put a train and a boat in the same picture. Nothing new is needed. The boat is a moving object whose speed over the ground you must find first, using the boat chapter. After that it is an ordinary train-and-moving-object question.

  • Boat sailing downstream with still-water speed b and stream s: ground speed = b + s.
  • Boat sailing upstream: ground speed = b − s.

Formula: Boat's ground speed: downstream b + s, upstream b − s

Then compare the directions. If the train and the boat move the same way, the relative speed is the difference of the two. If they move in opposite ways, it is the sum.

Formula: Train and boat in the same direction: t = L (+ l)S − vboat; opposite directions: t = L (+ l)S + vboat

[[fig:0]]

Take Radhika's boat with b = 14 km/h in a stream of 4 km/h. Downstream she moves at 18 km/h over the ground. A 200 m train running the same way at 90 km/h passes her with relative speed 90 − 18 = 72 km/h = 20 m/s, so it takes 20020 = 10 s. If she were sailing upstream at 10 km/h, the train running with the flow would meet her head on, with relative speed 90 + 10 = 100 km/h.

[[fig:1]]

A boat or swimmer with a length. If the length of the boat is given, it is a long object: distance = length of train + length of boat. A swimmer, or a boat whose length is ignored, is a point.

Two crossings, same boat speed. Two crossing times (one with a downstream boat, one with an upstream boat) give two ground speeds d and u. Their average is the still-water speed and half their difference is the stream: b = d + u2 and s = d − u2.

Formula: From two ground speeds d and u: b = d + u2, s = d − u2