Sub topic 14
Relative Velocity in One Dimension
This chapter assumes you can set up a position axis with a sign convention, tell velocity from speed, and use v = u + at. Those ideas come from the earlier chapters. Here you will learn how to describe one body's motion as seen from another body, and how to avoid the sign mistakes that cost marks in NEET questions.
Why relative velocity matters
Every velocity you have used so far was measured against the ground, which is a reference frame. A reference frame is the body or coordinate system from which positions and velocities are measured. Two passengers in a train would measure each other's velocity as zero, while someone on the platform would measure both as large. Neither answer is wrong. They come from different frames.
Relative velocity gives you a rule for switching frames. Many chase, overtaking and crossing problems become much shorter once you work in the frame of one of the moving bodies.
The definition
Take a straight line with a positive direction chosen. Let body A have velocity vA and body B have velocity vB, both measured in the ground frame. Velocities carry signs: positive along the chosen axis, negative against it.
The velocity of A relative to B is the velocity of A as seen by an observer riding with B:
vAB = vA − v_B
Read the subscript as "A with respect to B". The body named second is the observer. Reversing the roles flips the sign:
vBA = vB − vA = −vAB
Because the motion is along one line, this is ordinary subtraction of signed numbers. No vector triangles are needed.
Worked example: same and opposite directions
Take +x as east. Car A moves east at 30 m/s and car B moves east at 20 m/s.
- v_AB = 30 − 20 = +10 m/s. From B, car A pulls ahead eastward at 10 m/s.
- v_BA = 20 − 30 = −10 m/s. From A, car B drops back at 10 m/s.
Now let B move west at 20 m/s, so v_B = −20 m/s.
- v_AB = 30 − (−20) = +50 m/s. The cars approach or separate at 50 m/s, depending on their positions.
The rule is easy to remember. Bodies moving the same way have a relative speed equal to the difference of their speeds. Bodies moving in opposite directions have a relative speed equal to the sum.
Relative position and relative acceleration
The same idea extends to position and acceleration:
- xAB = xA − x_B is the position of A as seen from B.
- aAB = aA − a_B is the acceleration of A as seen from B.
Differentiating xAB with respect to time gives vAB, and differentiating vAB gives aAB. The relations are consistent at every level.
The gap between two bodies is |xAB|. A body that is ahead has xAB > 0 when A is the leading body. The gap shrinks when xAB and vAB have opposite signs, and grows when they have the same sign.
Working in the frame of one body
Suppose both bodies accelerate. The relative motion is itself a uniformly accelerated motion with
- initial relative velocity uAB = uA − u_B
- relative acceleration aAB = aA − a_B
You can then apply the standard equations to the relative quantities:
sAB = uAB·t + ½·a_AB·t²
This treats B as if it were at rest, and A as a single body moving with uAB and aAB. It works only when the equations hold for each body separately, meaning each acceleration is constant.
def relative_motion(uA, aA, uB, aB, gap0, t):
"""Gap between A (behind) and B (ahead) after t seconds.
gap0 is the initial separation x_B - x_A, with +x pointing from A towards B.
Returns the gap x_B - x_A at time t.
"""
u_rel = uB - uA # B seen from A
a_rel = aB - aA
return gap0 + u_rel * t + 0.5 * a_rel * t**2
# A is 100 m behind B. A moves at 30 m/s, B at 20 m/s, both with no acceleration.
for t in [0, 5, 10]:
print(t, relative_motion(30, 0, 20, 0, 100, t))
# 0 100.0
# 5 50.0
# 10 0.0The gap closes at 10 m/s, so A catches B after 10 s. The fuller treatment of meeting conditions, including quadratic cases, appears in the chapter on stopping distance and chase problems.
Rain, boats and walkways in one dimension
NEET also uses one-dimensional relative motion in everyday settings.
A person on a moving walkway
A walkway moves at 2 m/s. A person walks on it at 1.5 m/s relative to the walkway. If the person walks the same way as the walkway, the ground velocity is 2 + 1.5 = 3.5 m/s. If the person walks against it, the ground velocity is 2 − 1.5 = +0.5 m/s, so the person still drifts forward.
The general relation is
vperson,ground = vperson,walkway + v_walkway,ground
Notice how the inner subscripts cancel: "person with respect to walkway" followed by "walkway with respect to ground" gives "person with respect to ground". This chain rule is a reliable check on whatever you write down.
A boat in a river
For motion along the stream, the same chain applies. Let the stream speed be vr and the boat's speed in still water be vb.
- Downstream: v = vb + vr
- Upstream: v = vb − vr
For a trip of distance d out and back, the total time is
t = d/(vb + vr) + d/(vb − vr)
This is longer than 2d/vb whenever vr > 0. The time saved going downstream is smaller than the time lost going upstream.
def round_trip_time(d, v_boat, v_river):
down = d / (v_boat + v_river)
up = d / (v_boat - v_river)
return down + up
print(round_trip_time(100, 5, 0)) # 40.0
print(round_trip_time(100, 5, 3)) # 62.5A diagram of the frames
The sequence below shows how an observer riding in car B sees car A while a ground observer sees both.
Common errors
- Adding when you should subtract. Check the signs. If both velocities have the same sign, subtract. Opposite signs mean the magnitudes add after the subtraction handles the negative value.
- Mixing up the subscript order. vAB is not vBA. The observer is the second letter.
- Forgetting the sign of a velocity before substituting. A body moving west with speed 20 m/s is v = −20 m/s on an east-positive axis. Substitute the signed value, not the speed.
- Applying relative equations with changing acceleration. The s = ut + ½at² form needs constant relative acceleration.
- Using relative speed for distance travelled by one body. Relative displacement tells you how the gap changes, not how far either body has moved on the ground.
- Ignoring a stopped body. If one body stops while the other continues, the relative acceleration changes at that instant. Split the problem at that time.
Worked example: two trains
Train P moves at 54 km/h and train Q moves at 36 km/h on parallel tracks in opposite directions. Each is 100 m long. How long do they take to cross each other completely?
Convert to SI: 54 km/h = 15 m/s and 36 km/h = 10 m/s. Take P's direction as positive, so vP = +15 m/s and vQ = −10 m/s.
v_PQ = 15 − (−10) = 25 m/s
From the frame of Q, train P approaches at 25 m/s. Crossing is complete when P has moved a distance equal to the sum of the lengths, 200 m, relative to Q.
t = 200 / 25 = 8 s
If the trains moved in the same direction, v_PQ = 15 − 10 = 5 m/s, and the overtaking time would be 200 / 5 = 40 s.
vP = 15.0
vQ = -10.0
total_length = 100 + 100
print(total_length / abs(vP - vQ)) # 8.0
vQ_same = 10.0
print(total_length / abs(vP - vQ_same)) # 40.0Summary table
| Situation | Signed velocities | Relative velocity v_AB |
|---|---|---|
| Same direction, A faster | +30, +20 | +10 m/s |
| Same direction, A slower | +20, +30 | −10 m/s |
| Opposite directions | +30, −20 | +50 m/s |
| A at rest, B moving | 0, +20 | −20 m/s |
Exercise
A bus moves east at 25 m/s. A car 150 m behind it moves east at 40 m/s. Both keep constant velocity. How long does the car take to draw level with the bus, and how far does the car travel in that time on the ground?
Show answer
Take east as positive, with the car as A and the bus as B. The car approaches the bus at v_AB = 40 − 25 = 15 m/s. The gap is 150 m, so t = 150 / 15 = 10 s. In that time the car travels 40 × 10 = 400 m relative to the ground.
Exercise
A boat has a speed of 6 m/s in still water. A river flows at 2 m/s. How long does the boat take to go 80 m upstream and then 80 m back downstream to the start?
Show answer
Upstream speed is 6 − 2 = 4 m/s, so that leg takes 80 / 4 = 20 s. Downstream speed is 6 + 2 = 8 m/s, so that leg takes 80 / 8 = 10 s. The round trip takes 30 s.
Exercise
Car A starts from rest with acceleration 2 m/s² and car B, 36 m ahead of it, moves with constant velocity 6 m/s in the same direction. Using relative motion, find the time at which the gap first closes.
Show answer
Take the direction of motion as positive. Seen from B, the position of A is xAB = −36 + (0 − 6)(−1)... more simply, use the relative quantities of A with respect to B: uAB = 0 − 6 = −6 m/s, aAB = 2 − 0 = 2 m/s², and initial xAB = −36 m. Then xAB = −36 − 6t + t². Setting xAB = 0 gives t² − 6t − 36 = 0, so t = 3 + √45 ≈ 9.7 s taking the positive root. Check that the reading is consistent: A starts behind B and loses ground at first, so the meeting occurs only after A's growing speed overcomes the deficit.