When two things move at once, the question is almost always about the gap between them: how long until it closes, or how big it becomes. Relative speed is the rate at which that gap changes.

Opposite directions (towards or away from each other): relative speed = a + b

Same direction (one chasing the other): relative speed = a − b

Time = gap ÷ relative speed

Think of sitting in one of the moving objects. If a car comes towards you at 60 km/h while you drive at 40 km/h, it seems to rush at you at 100 km/h. If it overtakes you from behind at 60 km/h, it seems to creep past at only 20 km/h.

Worked example 1: when do they meet?

Two towns are 300 km apart. A car leaves each town at the same time, towards the other, at 40 km/h and 60 km/h. The gap closes at 100 km/h, so they meet after 300 ÷ 100 = 3 hours.

Where they meet follows from the time. Each car travels for the same time, so the distances are split in the ratio of the speeds.

Worked example 2: where do they meet?

In the example above, the slower car covers 40 × 3 = 120 km and the faster car 180 km. Using the ratio directly: 300 × 40/100 = 120 km.

Moving apart is the same arithmetic with the gap growing instead of shrinking.

Worked example 3: back to back

Two cyclists start from the same point and ride in opposite directions at 12 km/h and 15 km/h. After 2 hours 40 minutes (8/3 hours) they are 27 × 8/3 = 72 km apart.

When one object follows another, the gap changes only by the difference in speed. If the follower is slower, the gap grows and it never catches up.

Worked example 4: a chase

A thief is 1 km ahead of a policeman. The thief runs at 8 km/h and the policeman at 10 km/h. The gap closes at 2 km/h, so the policeman catches him in 1 ÷ 2 h = 30 minutes.

A delayed start is just a chase with a hidden head start. First work out how far ahead the first object is when the second one sets off.

Worked example 5: leaving two hours later

A bus leaves a depot at 9 a.m. at 30 km/h. A car leaves the same depot at 11 a.m. at 50 km/h on the same road. The bus has a 60 km head start, and the gap closes at 20 km/h, so the car needs 3 hours and catches up at 2 p.m., 150 km from the depot.

Check your answer by computing both distances: the bus has travelled 5 hours × 30 = 150 km, and the car 3 hours × 50 = 150 km.

A favourite exam twist: two objects start at the same time from opposite ends, meet, and then take t₁ and t₂ hours to reach the other end. Their speeds are then in the ratio:

Speed of A : Speed of B = √t₂ : √t₁

where t₁ is A's time after meeting and t₂ is B's.

Worked example 6: 9 hours and 4 hours

After meeting, train A takes 9 hours and train B 4 hours. Speed of A : speed of B = √4 : √9 = 2 : 3, so B is 1.5 times as fast as A. The faster train has less distance left and finishes sooner, which is why the times appear the other way round.

  • Subtracting for opposite directions. Towards or away from each other, the speeds always add.
  • Ignoring the head start. In delayed-start questions, the first object's lead is speed × delay.
  • Mixing units. Convert metres to kilometres, or km/h to m/s, before dividing. See speed, time and distance basics.
  • Reading the time from the wrong starting point. In a delayed start, decide whether the question asks for time after the first or the second object set off.
  • Inverting the after-meeting ratio. The object with the shorter time after meeting is the faster one.

For trains passing poles, platforms and each other, see train problems.

Q1. Two people 36 km apart walk towards each other at 5 km/h and 4 km/h. After how long do they meet? easy

✅ Answer: (a) 4 hours

💡 Explanation: Moving towards each other, they close the gap at 5 + 4 = 9 km/h, so they meet after 36 ÷ 9 = 4 hours.

Q2. A thief running at 10 km/h is 200 m ahead of a policeman running at 12 km/h. How far does the thief run before he is caught? medium

✅ Answer: (c) 1000 m

💡 Explanation: The gap closes at 12 − 10 = 2 km/h, so catching up takes 0.2 ÷ 2 = 0.1 h. In that time the thief runs 10 × 0.1 = 1 km = 1,000 m.

Q3. A car leaves a town at 40 km/h. Two hours later a second car leaves the same town on the same road at 60 km/h. How long after starting does the second car catch the first? medium

✅ Answer: (d) 4 hours

💡 Explanation: The first car's head start is 40 × 2 = 80 km. The gap closes at 20 km/h, so the second car needs 80 ÷ 20 = 4 hours.

Q4. Trains from P and Q start at the same time towards each other. After meeting, the train from P takes 16 hours and the train from Q takes 25 hours to finish. If the train from P runs at 60 km/h, what is the speed of the train from Q? hard

✅ Answer: (a) 48 km/h

💡 Explanation: Speed of P ÷ speed of Q = √(25/16) = 5/4, so Q's speed = 60 × 4/5 = 48 km/h.

Q5. Two joggers start from the same point and run in opposite directions at 6 km/h and 9 km/h. After how many minutes are they 5 km apart? easy

✅ Answer: (b) 20 minutes

💡 Explanation: Running apart, the gap grows at 6 + 9 = 15 km/h. 5 km takes 5 ÷ 15 h = 20 minutes.

When do I add speeds and when do I subtract them?

Add when the objects move in opposite directions, whether towards or away from each other. Subtract when they move in the same direction, because only the faster one's extra speed changes the gap.

Does relative speed apply to trains crossing each other?

Yes. Two trains crossing each other use the same rule, with the distance equal to the sum of their lengths. The train problems page covers all four crossing cases.

Why does the after-meeting rule use a square root?

Both objects travel for the same time up to the meeting, so each covers a share of the distance in proportion to its speed. After meeting, each covers the other's share. Writing both facts down gives (speed of A ÷ speed of B)² = t_B ÷ t_A.

All problems and solutions on this page are original. No outside facts are relied on; every numeric answer is recomputed by software before publishing.

How this page was prepared. Drafted with AI assistance (Claude (Anthropic AI model)) from the sources listed above. 11 calculations on this page were recomputed by software and matched. Automated checks also covered structure, internal links and duplicate text. Software checks cannot confirm facts.

Found an error? Report it and we will correct the page.