Relative Velocity — Two Trains Moving in Opposite Directions

mediumCBSE-11JEE-MAINCBSE 2024 Board Exam5 min read

Relative velocity is one of those topics where the concept clicks in two minutes but students still lose marks because they flip the sign or use the wrong formula. The difference between same-direction and opposite-direction is massive — one gives you a slow relative speed, the other gives you a fast one. We'll nail both cases here.


Question

(Part A) Train A moves east at 72 km/h. Train B moves east at 36 km/h (same direction). Find the velocity of A relative to B.

(Part B) Train A moves east at 72 km/h. Train C moves west at 36 km/h (opposite direction). Find the velocity of A relative to C.

(Part C) Train A and Train C are 1800 m apart and moving toward each other (A at 72 km/h, C at 36 km/h). After how many seconds will they cross each other?


Solution — Step by Step

Step 1: Convert units to m/s.

72 km/h=72×10003600=20 m/s (east)72 \text{ km/h} = \frac{72 \times 1000}{3600} = 20 \text{ m/s (east)}

36 km/h=36×10003600=10 m/s36 \text{ km/h} = \frac{36 \times 1000}{3600} = 10 \text{ m/s}

💡 Expert Tip

Quick conversion trick: divide km/h by 3.6 to get m/s. Or multiply m/s by 3.6 to get km/h. Use it reflexively — don't waste time on long division.

Part A: Same Direction

Taking east as positive: vA=+20v_A = +20 m/s, vB=+10v_B = +10 m/s

vAB=vAvB=2010=+10 m/s (east)v_{AB} = v_A - v_B = 20 - 10 = +10 \text{ m/s (east)}

From B's frame: Train A moves east at 10 m/s. If you're sitting in Train B, Train A appears to creep forward slowly. Intuition confirmed.

Part B: Opposite Direction

Taking east as positive: vA=+20v_A = +20 m/s, vC=10v_C = -10 m/s (moving west)

vAC=vAvC=20(10)=+30 m/s (east)v_{AC} = v_A - v_C = 20 - (-10) = +30 \text{ m/s (east)}

From C's frame: Train A appears to rush toward you at 30 m/s. This is why head-on collisions are so devastating — relative speed is the sum of both speeds.

Part C: Time to Cross

The trains are approaching each other. Relative speed of approach:

vrel=vA+vC=20+10=30 m/sv_{rel} = v_A + v_C = 20 + 10 = 30 \text{ m/s}

Distance =1800= 1800 m

t=dvrel=180030=60 st = \frac{d}{v_{rel}} = \frac{1800}{30} = 60 \text{ s}

Answers:

  • Velocity of A relative to B (same direction) == 10 m/s east
  • Velocity of A relative to C (opposite direction) == 30 m/s east
  • Time for trains A and C to meet == 60 seconds

Why This Works

Relative velocity is simply a change of reference frame. When you subtract vBv_B from everything, B appears stationary and A appears to move with velocity vAvBv_A - v_B. This is the core idea.

For two objects approaching each other, their separation decreases at the rate of their relative speed. That's why we divide distance by relative speed to find the meeting time — we're treating one as stationary and the other as moving at the combined speed.

Relative Velocity — Sign Convention Summary

Taking one direction (say east) as positive:

Same direction: vAB=vAvBv_{AB} = v_A - v_B (relative speed == difference of speeds)

Opposite direction: vAB=vA(vB)=vA+vBv_{AB} = v_A - (-v_B) = v_A + v_B (relative speed == sum of speeds)

Velocity of B relative to A: vBA=vBvA=vABv_{BA} = v_B - v_A = -v_{AB} (equal magnitude, opposite direction)


Alternative Method — Ground Frame Analysis for Part C

Instead of using relative velocity, we can work in the ground frame:

Position of A at time tt: xA=0+20tx_A = 0 + 20t (starting from west end)

Position of C at time tt: xC=180010tx_C = 1800 - 10t (starting from east end, moving west)

They meet when xA=xCx_A = x_C:

20t=180010t20t = 1800 - 10t

30t=180030t = 1800

t=60 st = 60 \text{ s}

Same answer. The ground frame method is more visual — useful when the problem asks where they meet, not just when.


Common Mistake

⚠️ Common Mistake

Adding speeds when they're going the same direction. If two trains move east at 60 km/h and 40 km/h, their relative speed is 20 km/h (difference), not 100 km/h. Add speeds only when they move in opposite directions. The formula vAB=vAvBv_{AB} = v_A - v_B handles this automatically — just be rigorous with signs.

⚠️ Common Mistake

Confusing "velocity of A relative to B" with "velocity of B relative to A." These are equal in magnitude but opposite in direction. vAB=10v_{AB} = 10 m/s east means vBA=10v_{BA} = 10 m/s west. Don't flip the sign randomly — always compute vAB=vAvBv_{AB} = v_A - v_B and vBA=vBvAv_{BA} = v_B - v_A.

🎯 Exam Insider

CBSE 2024 had a variation where a passenger in one train watches another train pass. The question asked how long the passing takes, given the lengths of both trains. Method: relative speed ×\times time == sum of lengths of both trains. Apply t=L1+L2vrelt = \dfrac{L_1 + L_2}{v_{rel}}.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next