Physics Library
 An open source physics library
Encyclopedia | Forums | Docs | Random |  
Login
create new user
Username:
Password:
forget your password?
Main Menu
Sections

Meta

Talkback

Downloads

Information
relative motion (Definition)

Relative Motion

Motion is always described relative to a chosen observer or reference frame. A passenger can move forward relative to a train while the train moves forward relative to the ground; a boat can move north relative to the water while the water itself flows east relative to the riverbank. Relative motion kinematics provides a systematic way to combine these descriptions.

The central idea is vector addition. If object P is observed from frame B, and frame B moves relative to frame G, then the velocity of P relative to G is

|---------------------|
vP-∕G-=-vP-∕B-+-vB-∕G.-|
(1)

The notation P∕G means “P relative to G.” Keeping the order of the labels explicit is one of the best ways to avoid sign errors.

1 Relative position

Let OG be the origin of frame G, let OB be the origin of a second frame B, and let P be a particle. Define

        −−→
rP∕G =  OGP ,
(2)

        −−−−→
rB ∕G = OGOB,
(3)

and

r    =  −−O −→P.
 P∕B     B
(4)

The position vectors form a head-to-tail triangle:

|--------------------|
-rP∕G-=-rB∕G-+-rP-∕B.-|
(5)

PIC

Figure 1. Relative position geometry for two translating frames with parallel axes. The position of particle P relative to G is the vector sum of the origin displacement of frame B and the position of P measured from B.

This relation is purely geometric. The corresponding velocity and acceleration equations follow by differentiation.

2 Relative velocity for translating frames

Differentiate the relative position equation with respect to time. If the axes of B remain parallel to the axes of G, so that the two frames differ only by translation, then

dr       dr      dr
--P∕G-=  --B∕G-+ ---P∕B.
 dt       dt       dt
(6)

Therefore

|--------------------|
vP-∕G-=-vB-∕G-+--vP∕B.-
(7)

Because vector addition is commutative, this is often written in the visually convenient order

|--------------------|
vP ∕G = vP ∕B + vB ∕G.|
----------------------
(8)

The quantities must still refer to a consistent chain of frames. For example,

vpassenger/ground = vpassenger/train + vtrain/ground.
(9)

3 Relative acceleration

Differentiating again gives

|--------------------|
aP ∕G = aP∕B + aB ∕G.|
----------------------
(10)

If frame B moves with constant velocity relative to G, then

aB∕G =  0,
(11)

so

|-------------|
aP-∕G-=--aP∕B.--
(12)

This is the Newtonian acceleration invariance used in Galilean inertial frames. It does not hold for an accelerating origin, and additional terms appear if the axes rotate.

4 One-dimensional relative motion

In one dimension, the vector equation reduces to signed scalar addition. Suppose the positive x direction is east. Then

vP∕G = vP∕B + vB ∕G.
(13)

The signs carry the directional information. A train moving west has negative velocity if east is chosen positive.

For two objects A and B measured in the same frame G, the velocity of A relative to B is

|---------------------|
vA-∕B-=-vA-∕G-−--vB∕G.--
(14)

In one dimension,

vA∕B = vA − vB.
(15)

If both objects move east at 28 m/s and 20 m/s, then object A moves east relative to B at 8 m/s. If B instead moves west at 20 m/s, then vB = −20 m/s and

vA ∕B =  28 − (− 20 ) = 48 m∕s.
(16)

The familiar “closing speed” in a straight line approach is therefore just a relative velocity calculation with a sign convention.

5 Two-dimensional relative motion

In two dimensions, the relative motion relation must be applied component by component:

v    = (v      + v     )e +  (v      + v     )e .
 P∕G     x,P∕B    x,B ∕G   x     y,P∕B    y,B ∕G   y
(17)

A classic example is a boat crossing a river. The boat has a velocity relative to the water, the water has a velocity relative to the ground, and the ground observer sees their vector sum.

PIC

Figure 2. River crossing velocity triangle. The boat’s velocity relative to the ground is the vector sum of its velocity relative to the water and the water’s velocity relative to the ground.

If

vB ∕W = vbey,
(18)

and the current is

vW ∕G = vcex,
(19)

then

v    =  v e +  ve  .
 B ∕G     c x    b y
(20)

The magnitude is

         ∘  -------
             2    2
|vB∕G | =   vc + vb,
(21)

and the direction follows from the component ratio.

6 Aiming to cancel a cross flow

Sometimes the desired ground track is specified instead of the heading relative to the moving medium. In that case, the unknown relative velocity must be chosen so that one component of the vector sum has the required value.

For example, if an aircraft must travel due north while a wind blows east, the aircraft must point somewhat west of north so that the westward air relative component cancels the eastward wind component.

If the airspeed is va, the eastward wind speed is vw, and the desired east-west ground component is zero, then

va,x + vw =  0.
(22)

Therefore

va,x = − vw.
(23)

If the aircraft’s airspeed magnitude is fixed,

v2a = v2a,x + v2a,y,
(24)

so

       ∘ --------
va,y =   v2a − v2w.
(25)

This is the same vector addition problem as the river crossing example, but solved for a different unknown.

7 Galilean transformation

Let frame B move at constant velocity V relative to frame G. If their origins coincide at t = 0, then

rB∕G =  Vt.
(26)

From the relative position equation,

rP∕B = rP∕G − Vt.
(27)

Using the conventional notation

r′ = r − Vt,
(28)

we obtain the Galilean position transformation. Differentiation gives

|------------|
|v′ = v − V, |
--------------
(29)

and, for constant V,

|-------|
a-′ =-a.|
(30)

PIC

Figure 3. Two Galilean frames with parallel axes and constant relative velocity V. The moving frame coordinates satisfy r′ = r − Vt, while velocity differs by V and acceleration is unchanged.

In Newtonian mechanics the time coordinate is also taken to be common:

t′ = t.
(31)

At speeds comparable with the speed of light, Galilean transformations must be replaced by Lorentz transformations; that subject belongs to special relativity rather than classical kinematics.

8 Relative velocity between two particles

Suppose particles A and B have velocities vA and vB in the same inertial frame. The velocity of A relative to B is

|----------------|
vA ∕B = vA −  vB.|
------------------
(32)

Likewise,

vB∕A = vB  − vA = − vA ∕B.
(33)

Thus the two relative velocities have equal magnitudes and opposite directions.

PIC

Figure 4. Relative velocity of two particles. Subtracting vB from vA gives the velocity of A as observed from B.

The magnitude

|vA ∕B | = |vA − vB |
(34)

is the instantaneous rate at which their separation vector changes in magnitude only when the relative velocity happens to lie along the line joining them. In general, relative velocity changes both the separation magnitude and its direction.

9 Worked example 1: walking inside a moving train

A train moves east at

v    =  20.0 m ∕s.
 T ∕G
(35)

A passenger walks east inside the train at

vP ∕T =  1.50 m ∕s.
(36)

The passenger’s ground velocity is

vP∕G = vP ∕T + vT ∕G.
(37)

Therefore

|----------------------|
|v    = 21.5 m ∕s east.|
--P∕G------------------
(38)

If the passenger instead walks west at 1.50 m/s relative to the train, then vP∕T = −1.50 m/s and the ground speed is 18.5 m/s east.

10 Worked example 2: relative speed of two cars

Car A travels east at

vA =  28 m∕s,
(39)

while car B travels east at

v  =  20 m∕s.
 B
(40)

The velocity of A relative to B is

vA ∕B =  vA − vB =  8 m ∕s.
(41)

Thus an observer in car B sees car A move east at

|------|
8-m-∕s.-
(42)

If car B reverses direction and travels west at 20 m/s, then vB = −20 m/s and

|----------------|
-vA∕B-=--48-m∕s.-|
(43)

The same subtraction rule handles both cases; only the signed velocity changes.

11 Worked example 3: boat crossing a river

A river is 120 m wide. A boat is pointed straight north and moves relative to the water at

vB ∕W =  4.0ey m ∕s.
(44)

The river current is

vW ∕G =  3.0ex m ∕s.
(45)

The boat’s ground velocity is

vB∕G =  3.0ex + 4.0ey m ∕s.
(46)

Its ground speed is

         √ -2----2
|vB∕G | =  3  + 4  = 5.0 m∕s.
(47)

The northward component determines the crossing time:

    120
t = ----=  30.0 s.
    4.0
(48)

During that time the eastward current produces a drift

Δx  = (3.0)(30.0) = 90.0 m.
(49)

The ground track direction is

        3-
tan ϕ =  4,
(50)

so

|------------------------|
|ϕ = 36.9∘ east of north.|
-------------------------
(51)

12 Worked example 4: aircraft correcting for a crosswind

An aircraft has airspeed

va = 200 km ∕h.
(52)

A wind blows due east at

vw =  50 km ∕h.
(53)

The pilot wants the ground track to be due north. The aircraft must therefore have a westward air-relative component of 50 km/h:

va,x = − 50 km ∕h.
(54)

The northward component is

       √ -----------
va,y =   2002 − 502 = 193.65 km ∕h.
(55)

The required heading angle west of north satisfies

        50--
sin𝜃 =  200 = 0.25.
(56)

Thus

|------------------------|
|𝜃 = 14.5∘ west of north.|
-------------------------
(57)

Because the east-west components cancel, the ground speed is

-------------------------
|                        |
-193.65-km-∕h-due-north.-|
(58)

13 Limits of the simple addition law

The formula

vP∕G = vP ∕B + vB∕G
(59)

in the form used here assumes that the two coordinate bases remain parallel. If frame B rotates relative to G, differentiating a vector expressed in the rotating basis produces additional terms involving the angular velocity of the frame. Those terms lead to Coriolis, centrifugal, and Euler contributions and are treated later in non inertial frame mechanics.

The Galilean law is also a low speed approximation. At relativistic speeds, velocity addition is governed by special relativity.

14 Practice problems

  1. A train moves east at 18 m/s. A passenger walks west at 2.0 m/s relative to the train. Find the passenger’s velocity relative to the ground.
  2. Car A moves east at 25 m/s and car B moves east at 17 m/s. Find vA∕B and vB∕A.
  3. Car A moves east at 22 m/s while car B moves west at 15 m/s. Find the magnitude and direction of vA∕B.
  4. A boat moves north at 5.0 m/s relative to the water while a current flows east at 2.0 m/s. Find the boat’s ground velocity magnitude and direction east of north.
  5. The river in Problem 4 is 150 m wide. If the boat is pointed straight north, find the crossing time and downstream drift.
  6. An aircraft has airspeed 250 km/h and encounters a 60 km/h wind blowing east. What heading west of north produces a due north ground track? What is the resulting ground speed?
  7. Frame B moves at constant velocity 8ex m/s relative to frame G. A particle has velocity (3ex + 4ey) m/s in B. Find its velocity in G.
  8. A particle has acceleration (2ex − 3ey) m/s2 in one inertial frame. What acceleration is measured in another frame moving at constant velocity relative to the first?
  9. Two particles have velocities vA = (6ex + 2ey) m/s and vB = (1ex + 5ey) m/s. Find vA∕B and its magnitude.
  10. Explain why the simple relation a′ = a is valid between Galilean inertial frames but not between frames whose origins accelerate relative to one another.

15 Answer check

  1. 16 m/s east.
  2. vA∕B = +8 m/s east; vB∕A = −8 m/s, or 8 m/s west.
  3. 37 m/s east relative to B.
  4. |v| = √---
 29 = 5.39 m/s; ϕ = tan −1(2∕5) = 21.8∘ east of north.
  5. t = 30.0 s; drift = 60.0 m east.
  6. 𝜃 = sin −1(60∕250) = 13.9∘ west of north; ground speed = √ -----------
  2502 − 602 = 242.7 km/h north.
  7. vP∕G = 11ex + 4ey m/s.
  8. The same acceleration: (2ex − 3ey) m/s2.
  9. vA∕B = 5ex − 3ey m/s; magnitude √ ---
  34 = 5.83 m/s.
  10. Constant relative frame velocity has zero relative acceleration, so differentiating v′ = v−V gives a′ = a; an accelerating origin contributes a nonzero subtraction term.

16 Summary

Relative motion is vector bookkeeping tied to clearly identified observers. For translating frames with parallel axes,

|--------------------|
-rP∕G-=-rP∕B-+-rB-∕G,-|
(60)

|--------------------|
vP ∕G = vP ∕B + vB ∕G,|
----------------------
(61)

and

|--------------------|
aP ∕G = aP∕B + aB ∕G.|
----------------------
(62)

For two objects measured in the same frame,

|----------------|
vA ∕B = vA −  vB.|
------------------
(63)

When the relative frame velocity is constant, the acceleration is the same in both Galilean inertial frames.

References

[1]   S. J. Ling, J. Sanny, and W. Moebs, University Physics, Volume 1, OpenStax, 2016.

[2]   University of California, Davis, Physics 9A mechanics instructional materials, relative motion and vector kinematics.

[3]   J. R. Taylor, Classical Mechanics, University Science Books, 2005.

[4]   PhysicsLibrary, M00-06, Reference Frames in Newtonian Mechanics.


"relative motion" is owned by bloftin.
(view preamble)
View style:
Other names:  M01-09
Keywords:  relative motion, relative velocity, Galilean transformation, velocity addition, river crossing, moving reference frame, closing speed

Attachments:
GRE Physics Companion: Relative Motion (Example) by bloftin

Cross-references: formula, special relativity, Lorentz transformations, speed of light, mechanics, magnitude, dimension, acceleration, relation, position vectors, particle, vector addition, kinematics, relative motion, reference frame, motion
There is 1 reference to this object.

This is version 1 of relative motion, born on 2026-09-27.
Object id is 1325, canonical name is RelativeMotion2.
Accessed 3 times total.
Pending Errata and Addenda
None.
Discussion
Style: Expand: Order:

No messages.

Interact
rate | post | correct | update request | add derivation | add example | add (any)