Kinematics

Relative Velocity Explained

Definition

Relative velocity is the velocity one body has as measured by another, and you get it by subtracting the two velocity vectors rather than the two speeds: v_AB is v_A minus v_B, taken component by component. Both velocities have to be written down in one common frame first. Reverse one body and the answer grows.

Stand on a bridge over a motorway and the traffic below is doing 110 km/h. Sit in one of those cars and the one beside you in the next lane, also doing 110, might as well be parked. Neither reading is wrong.

The two of you are simply measuring against different things — the bridge and the car. Pick who is doing the measuring, subtract their velocity from the one you care about, and every answer on this page follows. Get the subtraction the wrong way round and you have a car closing on you at 220 km/h that is actually sitting on your wing mirror.

What Is Relative Velocity?

Relative velocity is the velocity one body has as measured by another, and it is the vector difference of the two velocities written down in a single common frame. No comparison of speeds will do it. The directions have to be subtracted along with the magnitudes.

That common frame is usually the ground, and choosing it is the first thing you do, not an afterthought. Write both velocities against the same reference, then subtract. The frame itself never appears in the answer, which is the quiet miracle of the whole subject.

Which way round the subscripts read

The notation carries the answer to a question students ask constantly: who is watching whom? On this page v_AB means the velocity of A as measured by B, so A is the body being watched and B is the observer doing the watching.

Textbooks genuinely disagree about which subscript goes first, and that is worth knowing before you trust a sign in someone else’s working. Read the pair the other way and you get v_BA, which has the same relative speed on exactly the opposite bearing. The two are mirror images: v_BA is minus v_AB, always.

A velocity and a speed are different animals, and the difference is the reason this is a subtraction rather than an arithmetic comparison — velocity versus speed is where that distinction is set out properly. Here it is simply assumed.

The Relative Velocity Formula

The relative velocity formula subtracts the two velocities component by component, then recombines the components into a speed and a direction. One line does all of it.

v_AB = v_A – v_B

In one dimension that is the whole calculation: pick a positive direction, give each velocity its sign, subtract. In two dimensions you resolve both velocities onto a pair of axes first, subtract axis by axis, then put the two differences back together.

relative speed = sqrt(vABx x vABx + vABy x vABy)

Resolving onto axes is the only piece of vector machinery this page needs, and it is borrowed rather than built here — scalar and vector quantities teaches the component method, and the vector addition calculator does the arithmetic the other way round, adding where this page subtracts.

SymbolWhat it isSI unitRiver example from this page
v_AVelocity of body A, the one being watched, measured in the common framemetre per second (m/s)boat through the water, 4.00 m/s across
v_BVelocity of body B, the observer, measured in the same common framemetre per second (m/s)water over the ground, 3.00 m/s downstream
v_ABRelative velocity: the velocity of A as measured by Bmetre per second (m/s)boat over the ground, 5.00 m/s
v_BAThe reciprocal: the velocity of B as measured by A, equal to minus v_ABmetre per second (m/s)same 5.00 m/s, opposite bearing
vABxComponent of v_AB along the first axis, taken here as east or downstreammetre per second (m/s)3.00 m/s downstream
vAByComponent of v_AB along the second axis, taken here as north or acrossmetre per second (m/s)4.00 m/s across
relative speedThe magnitude of v_AB, which has no direction attached to itmetre per second (m/s)5.00 m/s
relative directionThe bearing v_AB points along, undefined when the relative speed is zerodegree (°)36.87° off the straight line across

The quickest way to feel what the formula does is to put numbers through it and change one of them at a time. Our relative velocity calculator takes two speeds and two bearings, hands back the relative speed with its components and its reciprocal, and prices the difference of the two speeds beside the real answer so you can watch the two part company. The simulator below does the same job visually, and it also has a page of its own if you would rather open it full-screen.

Relative Velocity Lab

One Dimension: Why Head-On Speeds Add

Head-on speeds add because reversing one body flips the sign of the velocity you subtract, and subtracting a negative number is addition. Nothing else changes. The slower body’s speed is untouched; only its sign moves.

Take two cars on a straight road and call east positive. A does 100 km/h east, B does 80 km/h east, so v_AB is 100 – 80 = 20 km/h. From inside B, A pulls ahead at the pace of an unhurried cyclist, which is 5.556 m/s.

Now turn B round without changing its speedometer. Its velocity becomes minus 80 km/h, and v_AB is 100 – (-80) = 180 km/h. The two cars are identical in every respect except the direction of one of them, and the answer has moved by 180 – 20 = 160 km/h — exactly twice the 80.

That factor of two is worth holding on to, because it is where the danger on a road actually lives. Overtaking on a two-lane road is a 180 km/h problem dressed up as a 100 km/h one.

The overtaking train

Two trains run the same way on parallel tracks at 120 and 90 km/h. The express sees the goods train drifting backwards at 30 km/h, which is 8.333 m/s — exactly 25/3 of a metre per second. If it needs 400 m of relative movement to clear the goods train completely, that takes 400 x 3 / 25 = 48.00 s.

For two bodies strung out along one line, the relative speed and the rate the gap closes are the same number, which is why a single division finishes the problem. Hold that thought until the closing-speed section below, where it stops being true.

Walking on a moving train

A passenger strolls along the aisle at 1.50 m/s while the train does 20.0 m/s over the ground. Forwards, the ground sees 21.5 m/s; back towards the rear, 18.5 m/s. The two differ by 3.00 m/s, which is twice the walking speed and the same factor of two in a gentler setting.

One sentence on a neighbouring idea so it does not confuse you later: in a collision the quantity that matters is the relative velocity of the two bodies just before and just after impact, and elastic and inelastic collisions is where that identity is worked out.

Two Dimensions: Crossing a River

A boat crossing a river moves with its own velocity through the water plus the water’s velocity over the ground, and the crossing time depends only on the component that points across. The current contributes nothing across. It contributes everything downstream.

Take a river 120 m wide with a 3.00 m/s current, and a boat that makes 4.00 m/s through still water. Point it straight at the far bank. Over the ground it travels sqrt(3.00 x 3.00 + 4.00 x 4.00) = sqrt(25.00) = 5.00 m/s, on a track atan(0.7500) = 36.87° downstream of the straight line across. It is the 3-4-5 triangle, hiding in a boat.

Now the part almost everyone gets wrong. The crossing takes 120 divided by 4.00 m/s, which is 30.00 s, because the only velocity carrying the boat across the river is that 4.00 m/s. Dividing the width by the 5.00 m/s over the ground gives 24.00 s instead — 6.00 s short, a 20.0 per cent error, and the single commonest mistake on this problem.

In 30.00 s the current has carried the boat 3.00 x 30.00 = 90.00 m downstream, so it lands 90.00 m along the far bank from the point directly opposite. Spin the rudder as you like: aimed straight across, the time is fixed and the drift is the price.

Landing directly opposite

To kill the drift you have to aim upstream far enough that the boat’s upstream component cancels the current exactly: 4.00 x sin(theta) = 3.00, so sin(theta) = 0.7500 and theta = 48.59°. That is a long way round — nearly half a right angle into the flow.

What is left to carry you across is sqrt(4.00 x 4.00 – 3.00 x 3.00) = sqrt(7.000) = 2.646 m/s, and the crossing now takes 120 divided by sqrt(7.000) m/s = 45.36 s. The drift is zero. The extra 15.36 s is what the zero drift cost, and it is a real trade: you pay for position in time.

Carry the root rather than the rounded figure into that division. Dividing 120 by the printed 2.646 returns 45.35 s, one in the last place out, which is the kind of discrepancy that makes a reader think the page is wrong when it is only rounded.

Two side-by-side top-down diagrams of the same boat crossing the same 120 metre river against the same 3.00 metre per second current, with the banks drawn as heavy horizontal lines and the water flowing from left to right. In the left panel, headed aimed straight across, a gold dot on the near bank carries three arrows: a wine arrow 96 pixels long pointing straight across the river labelled boat 4.00 metres per second, straight across; a dark arrow 72 pixels long pointing downstream from the tip of the first, labelled current 3.00 metres per second; and a thick gold arrow 120 pixels long from the dot to the tip of the second, labelled over the ground 5.00 metres per second. An arc at the dot marks 36.87 degrees between the straight-across direction and the gold arrow. A dashed track line runs from the dot to a dark landing dot on the far bank, parallel to the gold arrow, and a wine measuring line along the far bank marks the gap between the straight-across aim point and the landing point as drift 90.00 metres downstream. Below the panel three lines read crossing time equals 120 metres divided by 4.00 metres per second equals 30.00 seconds; the 3.00 metres per second current adds nothing across; drift equals 3.00 times 30.00 equals 90.00 metres; and a wine warning that dividing by the 5.00 metres per second over the ground gives 24.00 seconds, wrong by 6.00 seconds. In the right panel, headed aimed 48.59 degrees upstream, the same gold dot carries a wine arrow of the same 96 pixel length aimed up and to the left at 48.59 degrees from straight across, the same 72 pixel downstream current arrow from its tip, and a short thick gold arrow only 63.5 pixels long pointing straight across the river, labelled over the ground 2.646 metres per second, straight across. An arc marks 48.59 degrees. The dashed track runs straight across to a landing dot directly opposite the start, labelled drift 0 metres, she lands directly opposite. Below it four lines read across the river at the square root of 7.000 equals 2.646 metres per second; crossing time equals 120 metres divided by the square root of 7.000 metres per second equals 45.36 seconds; drift equals 0 metres, dead opposite the start; and in wine, 15.36 seconds slower than aiming straight across, the current is paid for in time rather than in distance. Three footnotes state that the velocity arrows are to one scale in both panels at 24 pixels per metre per second, that the channel and the track are to a second scale of 2 pixels per metre so the track and the over-the-ground arrow are parallel by construction and the 90.00 metre drift is drawn 180 pixels long, and that the crossing time divides the width by the across component, 4.00 metres per second on the left and 2.646 on the right, never by the over-the-ground speed.
Figure 1: the same river crossed two ways. Aimed straight across, the 4.00 m/s does the crossing in 30.00 s and the current spends that time pushing the boat 90.00 m downstream. Aimed 48.59° upstream, only sqrt(7.000) = 2.646 m/s is left pointing across, so the crossing takes 45.36 s and the drift is zero.

Flying in a Crosswind: Drift Angle and Crab Angle

A crosswind hands a pilot two different angles, and they are not the same number. The drift angle is how far off course the wind pushes you if you do nothing; the crab angle is how far you must turn into the wind to hold the course you wanted.

An aircraft holds an airspeed of 250 km/h due north while a 60.0 km/h wind blows from the west. Airspeed is the aircraft’s velocity relative to the air, so the ground sees the airspeed vector plus the wind vector: 60.0 km/h east and 250 km/h north. NASA Glenn states the same relation the other way round — airspeed is the vector difference between the ground speed and the wind speed, which is v_AB = v_A – v_B with the air as the observer.

Over the ground that comes to sqrt(60.0 x 60.0 + 250 x 250) = sqrt(66100) = 257.1 km/h, and the track runs atan(0.2400) = 13.50° east of north. Notice what has not changed: the northward progress is still 250 km/h, because the wind has no northward part to contribute. The aircraft is not flying north any slower. It is simply also flying east.

To track due north instead, the aircraft has to point west of north by enough that its own eastward component cancels the wind: 250 x sin(crab) = 60.0, so sin(crab) = 0.2400 and the crab angle is asin(0.2400) = 13.89°.

Those two angles come from the same ratio of 0.2400 and they are still 13.89 – 13.50 = 0.39° apart, because one is an arctangent and the other an arcsine. Using one for the other is a real error, not a rounding quibble, and at four significant figures there is nowhere for it to hide.

Holding the track also costs ground speed. With the crab applied the aircraft makes sqrt(250 x 250 – 60.0 x 60.0) = sqrt(58900) = 242.7 km/h, so the correction is worth sqrt(66100) – sqrt(58900) = 14.41 km/h of progress. Pilots call that turn the wind correction angle; the FAA publishes its whole Pilot’s Handbook of Aeronautical Knowledge as free chapter PDFs, navigation among them, if you want the aviation treatment rather than the physics one.

This is the arithmetic behind a sentence you may already have met: a plane’s airspeed indicator reads one steady number while a crosswind nudges its actual track sideways. Velocity versus speed raises that as an illustration of why velocity needs a direction. This is the page that puts the angles on it.

Relative velocity in the cockpit: an airliner crabbing nose-into-wind on approach so that its track over the ground stays on the runway centreline
Pointing into the wind so the track over the ground comes out straight: the crab angle, flown rather than calculated.

Relative Speed Is Not Closing Speed

Relative speed is the magnitude of v_AB. Closing speed is only the part of v_AB that points along the line joining the two bodies, which makes it a projection — and a projection can never be bigger than the thing it is a projection of.

Here is the case that separates them. Aircraft A flies north at 200 m/s. Aircraft B is 1000 m due east of A and also flying north, at 150 m/s. The relative speed is 200 – 150 = 50.0 m/s, so in B’s frame A is sliding steadily northwards at 50.0 m/s.

And yet the gap between them is, at that instant, not changing at all. The relative velocity points due north; the line joining the two aircraft points due east; the two are at right angles, so none of the 50.0 m/s does any closing. The rate of change of the separation is 0 m/s.

That is an instantaneous rate, though, and not a standing promise — which is exactly the sort of claim worth testing rather than trusting. Ten seconds later A has gone 500 m further north than B, and the separation is sqrt(1000 x 1000 + 500 x 500) = sqrt(1250000) = 1118 m. The gap was momentarily frozen and then began to open.

Put the same two aircraft in line instead, one 1000 m ahead of the other on the same track, and the two quantities coincide: the relative speed is 50.0 m/s and the gap really does shrink at 50.0 m/s. That coincidence is why the terms get muddled. It holds only for motion along the line of sight.

Collision-avoidance radar lives on this distinction, and so does one other place you have met: a siren’s pitch depends on the relative motion of source and observer along the line between them and on nothing else, which is what the Doppler effect is built from.

Two side-by-side top-down panels of the same pair of aircraft, drawn first in the ground frame and then in B's frame. In the left panel, headed the ground frame, a gold dot marked A sits on the left with a gold arrow 100 pixels long pointing straight up the panel, labelled 200 metres per second north, and a dark dot marked B sits 220 pixels to its right with a shorter dark arrow 75 pixels long also pointing straight up, labelled 150 metres per second north. Faint dashed vertical lines show each aircraft's track and a small compass arrow in the corner marks north as up the page. A measuring line below the two dots marks their separation as 1000 metres. In the right panel, headed B's frame, B calls itself at rest, the dark dot marked B carries no arrow at all and is labelled at rest in its own frame, while the gold dot marked A, still 220 pixels to its left, carries a much shorter gold arrow only 25 pixels long pointing straight up, labelled 50.0 metres per second north. A solid wine line runs from A to B along the 1000 metre line joining them, with a small square drawn at A to mark the right angle between that line and A's arrow. A second faint gold circle sits 110 pixels above A, joined to B by a thin wine line, labelled 10.0 seconds later the gap is 1118 metres. Four footnotes state that both panels draw the same physical motion with velocity arrows to one scale of 0.5 pixels per metre per second and distances at 0.22 pixels per metre; that in B's frame A's 50.0 metres per second runs at a right angle to the 1000 metre line joining them so at this instant the gap changes at 0 metres per second; that this is an instantaneous rate and not a promise, because ten seconds on A is 500 metres further north and the separation has grown to 1118 metres; and that the relative speed is 50.0 metres per second in both panels, so changing frame changes the picture and leaves every measured quantity alone.
Figure 2: the same two aircraft, drawn in the ground frame and then in B’s frame. Moving to B’s frame subtracts 150 m/s north from both arrows, which parks B and leaves A with 50.0 m/s. Because that 50.0 m/s runs square to the 1000 m line between them, the gap is momentarily frozen.

Every result on this page in one place

Here is every case worked above, with its inputs and its answers side by side. Each figure is rounded once, at four significant figures, so the table and the prose agree digit for digit.

SituationBoth velocities in the common frameRelative velocity v_ABWhat follows from it
Two cars, same directionA 100 km/h east, B 80 km/h east20 km/h east (5.556 m/s)A gains one car length every second or so
The same two cars, head-onA 100 km/h east, B 80 km/h west180 km/h east (50.00 m/s)160 km/h more than the row above, from one minus sign
Express overtaking a goods train120 km/h and 90 km/h, same way30 km/h (8.333 m/s)400 m of relative movement takes 48.00 s
Passenger walking on a traintrain 20.0 m/s, walk 1.50 m/s1.50 m/s relative to the train21.5 m/s over the ground forwards, 18.5 m/s back
Boat straight across a 120 m riverboat 4.00 m/s, current 3.00 m/s5.00 m/s at 36.87° off the straight linecrossing 30.00 s, drift 90.00 m downstream
The same boat, landing oppositeboat 4.00 m/s aimed 48.59° upstream2.646 m/s straight acrosscrossing 45.36 s, drift 0 m
Aircraft in a crosswind, no correction250 km/h airspeed north, 60.0 km/h wind from the west257.1 km/h at 13.50° east of northnorthward progress still 250 km/h
The same aircraft, crabbingsame pair, heading 13.89° into the wind242.7 km/h due norththe track is held; sqrt(66100) – sqrt(58900) = 14.41 km/h is the bill
Rain and a cyclistrain 8.00 m/s down, cyclist 6.00 m/s10.00 m/s at 36.87° from the downward verticalthe rain arrives from in front; tilt the umbrella forward
Two aircraft on parallel tracksboth north, 200 and 150 m/s, 1000 m apart50.0 m/s northseparation changing at 0 m/s at that instant

Where the Galilean Rule Breaks Down

Subtracting velocities is exact for anything you will ever drive, row or fly, and it fails only when the speeds involved become a measurable fraction of the speed of light. Everywhere else it is not an approximation at all. It is the answer.

Put a number on that. For the two cars meeting head-on at 100 and 80 km/h, the relativistic correction to the 180 km/h answer is a fractional 6.9 x 10-15 — about seven parts in a thousand million million. The four-significant-figure ceiling this page works to is about ten orders of magnitude coarser than that, so there is nothing to correct and no apology to make.

Now push it. Two craft approach each other, each doing 0.800c in the ground frame. Subtracting gives 1.600c, which is not a velocity at all — nothing carries information faster than light, so the rule has handed back an answer outside its own domain without the slightest complaint.

The correct composition returns 0.9756c, which is fast and still under the limit, and special relativity is where that composition law belongs. The same framework is what makes moving clocks run slow, which time dilation handles; neither is derived here.

Worth knowing where the crossover sits, because it is so absurdly far away. A simple subtraction survives the four-figure ceiling until each body passes roughly 0.007c, about 2,120 km/s — getting on for two hundred times the speed needed to escape the Earth’s gravity. Below that, use v_AB = v_A – v_B and do not look back.

Common Misconceptions About Relative Velocity

Four mistakes account for almost every wrong answer on this topic, and the first one is in a class of its own because it is so nearly right.

“Relative speed is just the difference of the two speeds”

It is, in exactly one case: when the two bodies move along the same line in the same sense. Outside that case it can be wildly wrong, because subtracting two numbers throws away the directions they came with.

Rain falling at 8.00 m/s and a cyclist riding at 6.00 m/s are the cleanest demonstration. The difference of speeds is 8.00 – 6.00 = 2.00 m/s. The relative speed, with the two motions at right angles, is 10.00 m/s — five times larger, and the rain arrives from in front rather than from above.

Quieter, but the crosswind case says it too. The aircraft and the wind differ in speed by 250 – 60.0 = 190.0 km/h, while the ground speed the subtraction actually produces is 257.1 km/h. In one case the naive answer is a fifth of the truth; in the other it is too small by more than a third.

“The current makes the crossing take longer”

Aimed straight across, it makes no difference whatsoever. The current runs along the bank, so it has no component across the river and cannot touch the crossing time: 120 m divided by a 4.00 m/s across-component is 30.00 s in a 3.00 m/s current, in a 1.00 m/s current and in dead still water.

What the current changes is where you arrive, 90.00 m downstream here. It only starts costing you time once you aim upstream to cancel the drift, and then it costs 15.36 s.

“Drift angle and crab angle are the same angle”

They are two different inverse functions of the same ratio. With 60.0 km/h of wind on 250 km/h of airspeed the ratio is 0.2400 both times, but the drift is atan(0.2400) = 13.50° and the crab is asin(0.2400) = 13.89°.

Half a degree sounds like nothing until you notice that a four-figure answer has no room for it. The two angles answer different questions: one is where the wind takes you, the other is what you must do about it.

“There must be a frame in which things really move”

There is not, and the formula says so in one line. Add the same velocity to both bodies and the subtraction cancels it exactly, so v_AB comes out identical in every frame you could choose.

Two passengers facing each other down a carriage agree about each other’s motion whether the train is standing in a siding or doing 300 km/h. Neither of them is “really” moving. The 300 km/h belongs to the choice of frame, not to the passengers.

One honest consequence, and it is a valid answer rather than an error: if two bodies have identical velocities, the relative velocity is exactly zero. A zero vector has no direction, so there is no bearing to report — and a tool that printed “due north” there would be inventing one.

Worked Problems

Problem 1
Car A travels east along a straight road at 100 km/h. Car B travels east on the same road at 80 km/h. Find the velocity of A as measured by B, and say what the sign of the answer means.
Show Solution
Solution: Step 1: fix one common frame and one positive direction before touching the numbers. Take the road as the frame and east as positive, so v_A = +100 km/h and v_B = +80 km/h. Step 2: substitute into v_AB = v_A – v_B. v_AB = 100 – 80 = 20 km/h. Step 3: read the sign. The answer is positive, which here means east, so from inside B the car A is pulling away eastwards at 20 km/h. In SI units that is 20 x 1000 / 3600 = 5.556 m/s. Answer: v_AB = 20 km/h east, which is 5.556 m/s. The sign is the whole content of “as measured by B” — reverse the subscripts and you get 20 km/h west instead.
Problem 2
The same two cars now meet head-on, A at 100 km/h east and B at 80 km/h west. Find the velocity of A as measured by B, and compare the answer with problem 1.
Show Solution
Solution: Step 1: same frame, same positive direction. B now runs the other way, so its velocity is v_B = -80 km/h. Its speed has not changed at all; only the sign has. Step 2: substitute. v_AB = 100 – (-80) = 100 + 80 = 180 km/h, which is 180 x 1000 / 3600 = 50.00 m/s. Step 3: compare with problem 1. 180 – 20 = 160 km/h, and 2 x 80 = 160 km/h, so the whole shift is worth exactly twice the slower car’s speed. Answer: v_AB = 180 km/h east, which is 50.00 m/s. Nothing about either car’s speedometer changed between problems 1 and 2. One minus sign did all of it.
Problem 3
An express train doing 120 km/h overtakes a goods train doing 90 km/h on a parallel track, both heading the same way. The express must cover 400 m relative to the goods train to clear it completely. How long does that take?
Show Solution
Solution: Step 1: both trains run the same way, so the velocities subtract. v_AB = 120 – 90 = 30 km/h, and that is the rate at which the express eats the gap. Step 2: convert to SI before dividing a distance in metres by it. 30 x 1000 / 3600 = 8.333 m/s, which is exactly 25/3 of a metre per second. Step 3: divide the relative distance by the relative speed. t = 400 x 3 / 25 = 48.00 s. Step 4: a word on rounding, because this step is where it bites. Carrying the four-figure 8.333 m/s into the division gives 400 / 8.333 = 48.00 s as well, but a three-figure 8.33 m/s gives 400 / 8.33 = 48.02 s. Keep four figures or keep the fraction. Answer: 48.00 s. For two bodies strung out along one line, the relative speed and the rate the gap closes are the same number, which is why one division finishes the problem.
Problem 4
A passenger walks at 1.50 m/s along the aisle of a train that is moving at 20.0 m/s over the ground. Find the passenger's speed over the ground walking forwards, then walking back towards the rear.
Show Solution
Solution: Step 1: write the chain. The passenger’s velocity over the ground is her velocity relative to the train plus the train’s velocity over the ground, which is v_AB = v_A – v_B rearranged for v_A. Step 2: walking forwards, both velocities point the same way. 20.0 + 1.50 = 21.5 m/s over the ground. Step 3: walking back, the walking velocity takes the opposite sign. 20.0 – 1.50 = 18.5 m/s over the ground. Step 4: check the gap between the two results. 21.5 – 18.5 = 3.00 m/s, which is 2 x 1.50 m/s — the same factor of two the head-on cars produced, in a much gentler setting. Answer: 21.5 m/s walking forwards and 18.5 m/s walking back. In her own frame she does 1.50 m/s and the ground streams past at 20.0 m/s in both cases; only the ground frame sees two different numbers.
Problem 5
A boat that makes 4.00 m/s through still water is pointed straight across a river 120 m wide. The current runs at 3.00 m/s. Find the boat's speed over the ground, the crossing time and how far downstream it lands.
Show Solution
Solution: Step 1: set axes and resolve. Take across the river as north and downstream as east. The boat relative to the water is (0 east, 4.00 north) and the water relative to the ground is (3.00 east, 0 north), so over the ground the boat has (3.00 east, 4.00 north) m/s. Step 2: recombine the two components. relative speed = sqrt(3.00 x 3.00 + 4.00 x 4.00) = sqrt(9.00 + 16.00) = sqrt(25.00) = 5.00 m/s, carried atan(3.00 / 4.00) = atan(0.7500) = 36.87° downstream of the straight line across. Step 3: the crossing time uses the across-component alone. t = 120 / 4.00 = 30.00 s. The current is entirely along the bank and so contributes nothing to getting across. Step 4: the drift is the downstream component multiplied by that time. 3.00 x 30.00 = 90.00 m. Step 5: the trap, stated plainly because it catches almost everyone. Dividing the width by the 5.00 m/s speed over the ground gives 120 / 5.00 = 24.00 s, which is 6.00 s short of the right answer — a 20.0 per cent error. Answer: 5.00 m/s over the ground, 30.00 s to cross and 90.00 m downstream. The ground speed is the honest speed of the boat; it is simply not the speed that does the crossing.
Problem 6
The same boat must now land directly opposite its starting point. Find the heading it needs, its resulting speed across the river, and the new crossing time.
Show Solution
Solution: Step 1: state the condition rather than guessing a heading. Landing directly opposite means zero drift, so the boat’s upstream component must cancel the current exactly: 4.00 x sin(theta) = 3.00. Step 2: solve for the angle. sin(theta) = 3.00 / 4.00 = 0.7500, so theta = asin(0.7500) = 48.59° upstream of the straight line across. Step 3: find what is left to carry her across. across-component = sqrt(4.00 x 4.00 – 3.00 x 3.00) = sqrt(16.00 – 9.00) = sqrt(7.000) = 2.646 m/s. Step 4: divide the width by it, carrying the root rather than the rounded figure. t = 120 / sqrt(7.000) = 45.36 s. Dividing by the printed 2.646 instead returns 45.35 s, one in the last place out, which is why the root goes into the division. Step 5: price the change against problem 5. The drift is 0 m exactly and the crossing now takes 45.36 – 30.00 = 15.36 s longer. Answer: a heading 48.59° upstream, 2.646 m/s across, 45.36 s to cross and no drift at all. Nothing about the boat or the river changed between problems 5 and 6 — only the aim.
Problem 7
An aircraft holds an airspeed of 250 km/h due north while a 60.0 km/h wind blows from the west. Find its ground speed and drift angle with no correction applied, then the crab angle needed to track due north and the ground speed that costs.
Show Solution
Solution: Step 1: name the three velocities and resolve them. Airspeed is the aircraft’s velocity relative to the air, so over the ground the aircraft has the airspeed vector plus the wind vector. A wind from the west blows towards the east, so the wind is (60.0 east, 0 north) km/h, the airspeed is (0 east, 250 north) km/h, and over the ground the aircraft has (60.0 east, 250 north) km/h. Step 2: recombine for the ground speed. sqrt(60.0 x 60.0 + 250 x 250) = sqrt(3600 + 62500) = sqrt(66100) = 257.1 km/h. Step 3: the drift angle is an arctangent of the two components. tan(drift) = 60.0 / 250 = 0.2400, so drift = atan(0.2400) = 13.50° east of north. The northward component is still the aircraft’s own 250 km/h, because the wind has no northward part to add. Step 4: now hold the track due north. The eastward components must cancel, so the aircraft points west of north by an angle with 250 x sin(crab) = 60.0, giving sin(crab) = 0.2400 and crab = asin(0.2400) = 13.89°. Step 5: the ground speed while crabbing is what is left pointing north. sqrt(250 x 250 – 60.0 x 60.0) = sqrt(62500 – 3600) = sqrt(58900) = 242.7 km/h. Step 6: price the correction. sqrt(66100) – sqrt(58900) = 14.41 km/h of ground speed, and the two angles themselves are 13.89 – 13.50 = 0.39° apart. Take that difference from the roots, not from the two rounded ground speeds, which would print 14.40. Answer: 257.1 km/h on a drift of 13.50° east of north if nothing is done; a crab angle of 13.89° holds the track due north and leaves 242.7 km/h. Same wind, same airspeed, two different angles.
Problem 8
Aircraft A is at the origin flying north at 200 m/s. Aircraft B is 1000 m due east of A, also flying north, at 150 m/s. Find the relative speed of the pair and the rate at which their separation is changing.
Show Solution
Solution: Step 1: write both velocities in one frame, with east as the first axis and north as the second. v_A = (0, 200) m/s and v_B = (0, 150) m/s. Step 2: subtract componentwise. v_AB = (0 – 0, 200 – 150) = (0, 50.0) m/s, so the relative speed is 50.0 m/s and it points due north. Step 3: the rate the gap changes is not that number. It is the part of the relative velocity lying along the line joining the two aircraft, so it needs the positions as well. The line from A to B is (1000, 0) m, pointing due east; the projection is (1000 x 0 + 0 x 50.0) / 1000 = 0 m/s. Step 4: read that answer carefully, because it is an instantaneous rate and not a standing promise. Ten seconds on, A has flown 200 x 10.0 = 2000 m and B has flown 150 x 10.0 = 1500 m, so A is 500 m further north, and the separation is sqrt(1000 x 1000 + 500 x 500) = sqrt(1250000) = 1118 m. Answer: a relative speed of 50.0 m/s due north, with the separation changing at 0 m/s at that instant. One aircraft is overtaking the other at 50.0 m/s and the gap between them is, for that moment, perfectly still — which is why “closing speed” and “relative speed” must never be used as synonyms.

Frequently Asked Questions

What is relative velocity?
Relative velocity is the velocity one body has as measured by another, found by subtracting the two velocity vectors written in one common frame: v_AB = v_A – v_B, component by component. Two cars both heading east at 100 and 80 km/h have a relative velocity of 20 km/h; turn the second one round and the same pair gives 180 km/h.
What is the formula for relative velocity?
The formula is v_AB = v_A – v_B, taken component by component, where v_AB reads as the velocity of A as measured by B. Resolve both velocities into components in one common frame, subtract them pair by pair, then recombine: the relative speed is sqrt(vABx x vABx + vABy x vABy), and the direction is the bearing those two components point along.
Why do head-on speeds add together?
Because reversing one body changes the sign of the velocity being subtracted, and subtracting a negative is adding. Take east as positive: two cars at 100 and 80 km/h both going east give 100 – 80 = 20 km/h, while the same pair head-on gives 100 – (-80) = 180 km/h. One minus sign is worth 160 km/h, exactly twice the slower car’s speed.
Does a river current make the crossing take longer?
No, not if you keep the boat aimed straight across. The current runs along the bank, so it has no component across the river and cannot change the time: 120 m divided by a 4.00 m/s across-component is 30.00 s whatever the current does. What the current changes is where you land, 90.00 m downstream here. Aim upstream to cancel the drift and the crossing does slow, to 45.36 s.
Is relative speed the same as closing speed?
Only when the two bodies move directly towards or away from each other. Closing speed is the part of the relative velocity that points along the line joining them, so it is a projection and can never exceed the relative speed. Two aircraft 1000 m apart on parallel tracks at 200 and 150 m/s north have a relative speed of 50.0 m/s and, at that instant, a closing speed of 0 m/s.
Which way round does v_AB read?
On this page v_AB = v_A – v_B means the velocity of A as measured by B, so A is the body being watched and B is the observer. Textbooks genuinely disagree about which subscript comes first, so check any source before trusting a sign. Read it the other way and you get v_BA, which has the same relative speed on exactly the opposite bearing.
When does subtracting velocities stop working?
Only near the speed of light. For two cars meeting head-on at 100 and 80 km/h the correction is about seven parts in a thousand million million, which nothing on a road could measure. Push both bodies to 0.800c and the subtraction returns 1.600c, which is not a velocity at all; the correct answer is 0.9756c, and a simple subtraction holds to four figures below roughly 0.007c.
P

Written by PhysicsFundamentals Editorial Team

Articles on PhysicsFundamentalsinfo.com are researched, written, and fact-checked by our editorial team. Every piece is reviewed for accuracy before publishing, with formulas and worked examples checked against standard physics references.

View All Authors →