Sub topic 10
Relative motion along a line
This chapter assumes you know position, displacement, velocity and acceleration as signed quantities along one axis. It also assumes the constant-acceleration equations and the ability to solve a quadratic. Nothing here needs calculus.
What "relative" means
Every velocity you have used so far was measured against the ground. A velocity is always measured against some observer, called a frame of reference. The velocity of A relative to B is the velocity of A as B sees it. We write it as v_AB, read "velocity of A with respect to B".
Along a line, with one positive direction chosen and every velocity carrying its sign:
vAB = vA − v_B
Here vA and vB are both measured in the same frame, usually the ground. The subscript order matters, because vBA = −vAB.
Position and acceleration work the same way:
- xAB = xA − x_B
- aAB = aA − a_B
Differentiating xAB gives vAB, and differentiating vAB gives aAB. So relative motion is ordinary kinematics applied to the differences. You can solve the problem by treating the pair as one object. That object has the relative initial velocity, the relative acceleration and the relative position.
Choosing signs
Pick the positive direction once and keep it for the whole problem. Substitute each velocity with its sign. Do not decide "add" or "subtract" by intuition.
| Situation | v_A | v_B | v_AB = v_A − v_B |
|---|---|---|---|
| Same direction, A faster | +20 | +15 | +5 |
| Same direction, A slower | +15 | +20 | −5 |
| Opposite directions | +20 | −15 | +35 |
| B at rest | +20 | 0 | +20 |
The "opposite directions" row shows why relative speeds add for head-on motion. The subtraction is the same in every row. Only the signs change.
Constant velocities: trains and cars
Overtaking a train. Train A is 100 m long and moves at 20 m/s. Train B is 150 m long and moves at 15 m/s in the same direction. How long does A take to pass B completely, from the front of A reaching the back of B until the back of A clears the front of B?
In B's frame, B is at rest and A approaches at v_AB = 20 − 15 = 5 m/s. A must cover both lengths, 100 + 150 = 250 m, relative to B.
t = 250 / 5 = 50 s
Crossing head-on. If B instead moves at 15 m/s in the opposite direction, v_AB = 20 − (−15) = 35 m/s. Then t = 250 / 35 ≈ 7.1 s.
The distance to cover is the sum of lengths in both cases. Each train is an extended object, so the pass is complete only when the last point of one has cleared the last point of the other.
Constant acceleration: one equation for the pair
When both objects accelerate uniformly, the relative motion is also uniformly accelerated:
xAB(t) = xAB(0) + vAB(0)·t + ½·aAB·t²
The objects meet when xAB(t) = 0. Let B start a distance gap ahead of A. Then xAB(0) = −gap, and the meeting condition becomes
½·aAB·t² + vAB(0)·t − gap = 0
The program below solves this for the meeting times. It keeps only roots with t ≥ 0 and handles the case a_AB = 0.
import math
def meeting_times(gap, u_rel, a_rel):
"""Times t >= 0 when A (behind by `gap`) is level with B.
u_rel = u_A - u_B, a_rel = a_A - a_B."""
if a_rel == 0:
if u_rel == 0:
return []
t = gap / u_rel
return [t] if t >= 0 else []
disc = u_rel**2 + 2 * a_rel * gap
if disc < 0:
return []
r = math.sqrt(disc)
roots = sorted(((-u_rel - r) / a_rel, (-u_rel + r) / a_rel))
return [t for t in roots if t >= 0]
# A: u = 20 m/s, a = 0. B: u = 10 m/s, a = 2 m/s^2, starts 16 m ahead.
u_rel, a_rel = 20 - 10, 0 - 2
ts = meeting_times(16, u_rel, a_rel)
print(ts) # [2.0, 8.0]
print([u_rel + a_rel * t for t in ts]) # [6.0, -6.0]
# Same cars, but B starts 100 m ahead: A never catches B.
print(meeting_times(100, u_rel, a_rel)) # []Three results here need interpreting.
- Two meeting times. A overtakes B at t = 2 s. B is accelerating, so it eventually passes A again at t = 8 s. Check: at t = 2 s, A is at 40 m and B is at 16 + 20 + 4 = 40 m. At t = 8 s, both are at 160 m.
- Relative velocity signs. At t = 2 s, vAB = +6 m/s, so A is gaining on B. At t = 8 s, vAB = −6 m/s, so A is falling behind. The sign change in between marks the moment of largest separation, where v_AB = 0.
- No real root. When the discriminant urel² + 2·arel·gap is negative, the cars never meet. For gap = 100 the closest approach occurs when v_AB = 0, at t = 5 s. There the separation is still 100 − (10·5 − 5²) = 75 m.
Closest approach and maximum separation
In one dimension the two objects have a minimum or maximum separation exactly when vAB = 0. Setting vAB(0) + a_AB·t = 0 gives
t* = −vAB(0) / aAB
Substitute t into xAB to get the extreme separation. If xAB never reaches zero before t, that extreme is the closest approach and the objects do not collide. This is a common JEE question: a faster car brakes behind a slower one, and you must decide whether they collide. The test is the sign of xAB at the moment vAB reaches zero.
Free fall: relative acceleration can vanish
Two objects in free fall near the surface have the same acceleration, so a_AB = g − g = 0. Their relative velocity is constant, and their relative motion looks like uniform motion in a straight line.
Ball dropped and ball thrown. A ball is dropped from height h at the same instant that another is thrown upward from the ground at speed u, directly below. Take up as positive.
- v_AB = (0) − (u) = −u, with A the dropped ball and B the thrown ball.
- The initial relative position is x_AB(0) = +h, since A is above B.
- a_AB = 0.
They meet when h − u·t = 0, so t = h / u. The answer does not depend on g. If h/u is greater than the thrown ball's time of flight 2u/g, the thrown ball has landed before the meeting, and the result does not apply.
Elevator. A bolt falls from the ceiling of an elevator that accelerates upward at a. The ground acceleration of the bolt is −g, and the floor's is +a, so the bolt's acceleration relative to the floor is −(g + a). A bolt falling through a ceiling height H takes t = √(2H/(g + a)). If the elevator accelerates downward at a < g, the effective acceleration is g − a, and the fall takes longer.
Common errors
- Mixing frames. Using ground velocity for one object and relative velocity for another. Convert everything to one frame first.
- Dropping signs on acceleration. Braking is a negative acceleration only when the velocity is positive. If the object moves in the negative direction, slowing down means a positive a.
- Forgetting the starting gap. A and B rarely begin at the same point. Write x_AB(0) explicitly.
- Ignoring physical limits. A braking car stops and does not reverse. If your formula places it moving backward, apply the equations only until its stopping time and treat its position as constant afterward.
- Confusing relative speed with relative velocity. Speed is the magnitude |v_AB|. The sign tells you whether they approach or recede.
Check your answer with a limiting case. Set a_AB = 0 and your result should reduce to gap divided by relative speed. Setting the gap to zero should give t = 0 as one root.
Exercise
Car P starts from rest at x = 0 with acceleration 2 m/s². At the same instant, car Q is 75 m ahead moving at 10 m/s at constant velocity in the same direction. (a) At what times are they level? (b) What is the minimum separation if the gap were 20 m instead of 75 m?
Show answer
Take the direction of motion as positive. Here A = P and B = Q, so urel = 0 − 10 = −10 m/s and arel = 2 − 0 = +2 m/s². (a) Solve ½(2)t² − 10t − 75 = 0, which is t² − 10t − 75 = 0. So t = (10 ± √(100 + 300))/2 = (10 ± 20)/2, giving t = 15 s (the negative root is rejected). P catches Q after 15 s. (b) Separation is smallest when vPQ = 0: −10 + 2t = 0, so t = 5 s. At that time xPQ = −20 + (−10)(5) + ½(2)(25) = −20 − 50 + 25 = −45 m. The separation is 45 m, so P is still 45 m behind Q and never catches it. Check with the discriminant: urel² + 2·arel·gap = 100 + 80 = 180 > 0 would suggest a root, but with P behind and approaching... re-read the signs: with gap 20 the meeting equation is t² − 10t − 20 = 0, which has a positive root, t = 5 + √45 ≈ 11.7 s. So P does catch Q, and the 45 m figure is the farthest P falls behind (maximum separation), not a closest approach.
Exercise
A stone is dropped from the top of a 80 m tower. At the same instant a second stone is thrown upward from the foot of the tower at 40 m/s. Take g = 10 m/s². When and where do they meet, and what is the relative speed between them just before they meet?
Show answer
The relative acceleration is zero, so the relative velocity is constant at 40 m/s in magnitude. The stones start 80 m apart and close at 40 m/s, so they meet at t = 80/40 = 2 s. The thrown stone's time of flight is 2u/g = 8 s, so it is still in the air. Height of meeting: 40(2) − ½(10)(4) = 80 − 20 = 60 m above the ground. Check with the dropped stone: it has fallen ½(10)(4) = 20 m from 80 m, so it is at 60 m. The relative speed is 40 m/s before and at the meeting.