A velocity without a reference point is only half a statement. A passenger walking down a train aisle is slow to the person beside them and fast to the person on the platform, and both are right. The equation for relative velocity is the bookkeeping that keeps those viewpoints consistent instead of contradictory.
This guide teaches the equation as a routine you can run under exam pressure. You will build v_AC = v_AB + v_BC with the subscript check, flip signs correctly when subscripts reverse, handle same-direction and head-on cases in one dimension, and finish with river and aircraft problems in two dimensions. Read on and relative velocity becomes arithmetic with labels, not guesswork.
The Short Answer
The velocity of A relative to C is found by going through any middle frame B:
v_AC = v_AB + v_BC
Read each subscript pair as “velocity of the first, measured by the second”. The two inner subscripts on the right must match (both B), and the outer subscripts (A and C) must match the left-hand side. Reversing a pair flips the sign:
v_BA = −v_AB
Equivalently, when both velocities are known relative to the ground, the velocity of A as seen by B is the vector difference v_AB = v_A − v_B. The two forms are the same statement: v_A − v_B is v_AG + v_GB once v_GB = −v_BG is recognised.
Reading the Subscripts Without Errors
Most relative-velocity mistakes are notation mistakes, not physics mistakes. Three habits prevent nearly all of them:
- Say the pair in words. v_AB is “A as measured by B” — A is watched, B is watching.
- Check the inner subscripts. In v_AB + v_BC the two B’s sit next to each other and cancel, leaving AC.
- Flip the sign when you flip the pair. If a problem gives v_BA but the equation needs v_AB, write −v_BA before substituting numbers.
The formal background, including the frame language used here, is set out in Relative velocity. For problem solving, the subscript routine above is the part that earns marks.
One Dimension: Same Direction Subtracts, Head-On Adds
On a straight line, choose a positive direction and give every velocity a sign. Then the vector difference does the rest:
- Same direction: relative speed is the difference of the speeds.
- Opposite directions: relative speed (the closing speed) is the sum of the speeds, because subtracting a negative velocity is addition.
Worked Numerical 1: Two Cars, One Line
Car A travels east at 28 m/s and car B east at 19 m/s, both relative to the ground. Find the velocity of A relative to B. Then find the closing speed if B instead travels west at 17 m/s while A still travels east at 24 m/s.
Step 1 — same direction: v_AB = v_A − v_B = 28 − 19 = 9 m/s east. From B’s seat, A pulls away slowly.
Step 2 — head-on: take east as positive, so v_B = −17 m/s. v_AB = 24 − (−17) = 41 m/s. The gap closes at 41 m/s even though neither car exceeds 24 m/s — which is why head-on collisions are so severe.

Chaining Frames: The Train Routine
The chain form v_AC = v_AB + v_BC earns its keep when velocities are measured in different frames and must be brought into one.
Worked Numerical 2: Walking on a Train
A train moves at 22 m/s relative to the ground. A passenger walks toward the front at 1.6 m/s relative to the train. Find the passenger’s velocity relative to the ground, first walking forward, then walking toward the rear.
Step 1 — label: v_PG = v_PT + v_TG, with v_TG = 22 m/s.
Step 2 — walking forward: v_PG = 1.6 + 22 = 23.6 m/s.
Step 3 — walking to the rear: v_PT = −1.6 m/s, so v_PG = −1.6 + 22 = 20.4 m/s.
The passenger’s speed relative to the ground changes by only 3.2 m/s between the two walks, while a seated passenger measures 1.6 m/s either way. Neither observer is wrong; they are using different frames, and the equation converts between them.
Two Dimensions: Subtract Components, Not Speeds
In two dimensions the equation is unchanged, but it acts on vectors. Resolve each velocity into components, subtract component by component, then recombine. Subtracting the speeds directly is the classic error: it ignores direction entirely.
Worked Numerical 3: Crossing a River
A boat heads straight across a river at 5.0 m/s relative to the water. The current flows at 2.0 m/s downstream. The river is 120 m wide. Find the boat’s velocity relative to the ground, the crossing time, and how far downstream it lands.
Step 1 — add the vectors: v_BG = v_BW + v_WG. The across-river component is 5.0 m/s and the downstream component is 2.0 m/s.
Step 2 — ground speed and direction: speed = √(5.0² + 2.0²) = 5.39 m/s, angled arctan(2.0/5.0) = 21.8° downstream from straight-across.
Step 3 — crossing time: only the across component crosses the river: t = 120 / 5.0 = 24 s.
Step 4 — drift: downstream distance = 2.0 × 24 = 48 m.
Pointing the boat straight across does not take it straight across. To land opposite the start, the boat would have to aim upstream so that its across-river velocity cancels the current.

Worked Numerical 4: Aircraft in a Crosswind
An aircraft flies at 60 m/s relative to the air and must travel due north over the ground. A wind blows toward the east at 15 m/s. Find the heading correction and the ground speed.
Step 1 — set up: v_AG = v_AAir + v_AirG. The eastward wind component must be cancelled by a westward component of the aircraft’s air velocity.
Step 2 — heading angle: sin θ = 15/60, so θ = 14.5° west of north.
Step 3 — ground speed: √(60² − 15²) = 58.1 m/s due north.
The aircraft points 14.5° away from where it is going. Pilots call this crabbing into the wind, and it is the subscript equation solved backwards: choose v_AAir so that the sum lands on the desired track.
Relative Velocity Is Not Closing Speed
Relative speed is the magnitude of the relative velocity vector. Closing speed is only the rate at which the gap shrinks, which is the component of the relative velocity along the line joining the two objects. Two aircraft passing side by side can have a large relative speed while their separation barely changes. Keeping the two ideas separate prevents a common exam slip, where a 2D relative velocity is reported as if it were all approach speed.
Velocity basics — displacement, speed and acceleration in a single frame — are covered in our fundamentals of motion guide. Relative velocity begins where that article ends: the same quantities, but with the observer allowed to move.
Where the Simple Equation Ends
Everything above is Galilean: velocities add and subtract directly. That is exact enough for cars, boats and aircraft, but it fails near the speed of light, where no combination of sub-light velocities may reach or exceed c and the addition rule changes form. For school and undergraduate mechanics, the classical equation is the correct tool; relativity only becomes necessary when speeds are a noticeable fraction of c.
Formula Cheat Sheet
| Task | Formula | Remember |
|---|---|---|
| Chain through a middle frame | v_AC = v_AB + v_BC | Inner subscripts match |
| A as seen by B | v_AB = v_A − v_B | Both measured in one frame |
| Reversing the pair | v_BA = −v_AB | Flip pair, flip sign |
| Same direction (1D) | relative speed = difference | Signs along one axis |
| Opposite directions (1D) | closing speed = sum | Subtracting a negative |
| 2D relative speed | √(v_x² + v_y²) | Subtract components first |
| River crossing time | t = width / across component | Current does not change it |
| Crosswind heading | sin θ = wind / airspeed | Crab into the wind |
Exam Traps to Avoid
- Subtracting speeds in 2D: resolve into components first, then subtract.
- Forgetting the sign flip: v_BA is not v_AB; reversing the observer reverses the vector.
- Mixing frames in one subtraction: v_A − v_B only works when both are measured in the same frame.
- Reporting closing speed as relative speed: the gap-closing rate is one component, not the whole vector.
- Crossing time from ground speed: in river problems, time comes from the across-river component alone.
Practice MCQs
Q1. A moves east at 12 m/s and B east at 5 m/s. The velocity of A relative to B is: A. 17 m/s east B. 7 m/s east C. 7 m/s west D. 60 m/s east
Q2. If v_AB = 8 m/s east, then v_BA is: A. 8 m/s east B. 8 m/s west C. 0 D. 16 m/s east
Q3. A boat crosses a river at 4 m/s across with a 3 m/s current. Its ground speed is: A. 1 m/s B. 5 m/s C. 7 m/s D. 12 m/s
Q4. Two trains approach each other at 20 m/s and 15 m/s. Their closing speed is: A. 5 m/s B. 35 m/s C. 20 m/s D. 300 m/s
Answers: Q1 — B (12 − 5 = 7 m/s). Q2 — B (reversing the pair flips the sign). Q3 — B (√(4² + 3²) = 5 m/s). Q4 — B (20 + 15 = 35 m/s).
Frequently Asked Questions
What is the equation for relative velocity?
The chain form is v_AC = v_AB + v_BC: the velocity of A relative to C equals A’s velocity relative to a middle frame B plus B’s velocity relative to C. When both velocities are known relative to the ground, it becomes v_AB = v_A − v_B.
How do you calculate relative velocity in the same direction?
Subtract the velocities with signs taken along one axis. For two objects moving the same way, the relative speed is the difference of their speeds.
How do you calculate relative velocity in opposite directions?
Give the two velocities opposite signs and subtract: subtracting a negative adds the speeds. The result is the closing speed, the sum of the two speeds.
What is the difference between relative velocity and relative speed?
Relative velocity is the vector — magnitude and direction. Relative speed is only its magnitude. In two dimensions you must subtract the velocity vectors component by component before taking the magnitude.
Conclusion
The equation for relative velocity is a labelling discipline: name the watched object and the watcher, chain through a middle frame when needed, flip the sign when the pair flips, and subtract components rather than speeds in two dimensions. With those habits, trains, head-on cars, rivers and crosswinds are all the same problem wearing different clothes.
The natural next step is acceleration in moving frames: when the middle frame itself accelerates, observers stop agreeing on acceleration too, and the same subscript routine shows exactly where the extra term appears.
Related Articles
- Fundamentals of Motion
- Example of Vector and Scalar
- Real World Examples of Acceleration
- Classical Mechanics — browse the full category



