1. Home
  2. Class 11–12
  3. Physics
  4. CBSE Class 11
  5. Relative Velocity in One and Two Dimensions

Relative Velocity in One and Two Dimensions

Watch one train from another, walk through vertical rain with an umbrella, and steer a boat across a flowing river. Each time, the velocity you see is the other object's velocity minus your own.

Interactive 3DPhysicsIntermediate12 min read

Drag to rotate · Right-drag to pan · Click, then scroll to zoom · Space play · Left arrowRight arrow step

What's happening

Formula & steps

    Your progress and quiz scores are saved on this device, and in your account once you sign up.

    Try this in the 3D model

    • In Two trains, why does train B seem to drift backwards when seen from train A?
    • In Rain and a walker, which way must the umbrella tilt, and why?
    • In Boat across a river, compare the two crossings. Which is faster, and which lands at B?

    Motion seen from a moving object

    Velocities are measured from a frame of reference. When the observer is moving too, what they see is the relative velocity:

    v⃗AB=v⃗A−v⃗B(velocity of A as seen from B)\vec v_{AB} = \vec v_{A} - \vec v_{B} \qquad (\text{velocity of A as seen from B})

    And v⃗BA=−v⃗AB\vec v_{BA} = -\vec v_{AB}: if you see a car moving forward at 5 m/s, its driver sees you moving backward at 5 m/s.

    One dimension: two trains

    In the 3D model train A runs at 25 m/s.

    Train B Seen from A: vBA=vB−vAv_{BA} = v_{B} - v_{A} What A’s passengers see
    15 m/s, same direction 15 − 25 = −10 m/s B drifts slowly backwards
    15 m/s, opposite direction (−15) −15 − 25 = −40 m/s B rushes past

    Same direction → the speeds subtract. Opposite directions → the speeds add. The time for one train to pass another = (sum of their lengths) ÷ relative speed.

    Two dimensions: rain and an umbrella

    Rain falls vertically at vr=6 m/sv_{r} = 6\ \text{m/s}. You walk at vw=3 m/sv_{w} = 3\ \text{m/s}. The rain’s velocity as you see it is

    v⃗rw=v⃗r−v⃗w(6 m/s down plus 3 m/s backwards)\vec v_{rw} = \vec v_{r} - \vec v_{w} \qquad (6\ \text{m/s down plus } 3\ \text{m/s backwards})

    It slants towards your face at 62+32≈6.7 m/s\sqrt{6^{2} + 3^{2}} \approx 6.7\ \text{m/s}. To keep dry, tilt the umbrella forward by α:

    tan⁡α=vwvr=36  ⇒  α≈26.6∘from the vertical\tan\alpha = \dfrac{v_{w}}{v_{r}} = \dfrac{3}{6} \;\Rightarrow\; \alpha \approx 26.6^{\circ} \quad \text{from the vertical}

    Two dimensions: crossing a river

    A boat moves at vb=4 m/sv_{b} = 4\ \text{m/s} in still water; the river (120 m wide) flows at vr=3 m/sv_{r} = 3\ \text{m/s}. The boat’s actual velocity = its velocity in the water + the water’s velocity.

    Heading straight across (shortest time):

    • time t=1204=30 st = \dfrac{120}{4} = 30\ \text{s} (the flow does not slow the crossing);
    • drift downstream =3×30=90 m= 3 \times 30 = 90\ \text{m};
    • actual speed 42+32=5 m/s\sqrt{4^{2} + 3^{2}} = 5\ \text{m/s}.

    Heading upstream at α (to land straight opposite, the shortest path):

    • sin⁡α=vr/vb=3/4  ⇒  \sin\alpha = v_{r}/v_{b} = 3/4 \;\Rightarrow\; α≈48.6∘\alpha \approx 48.6^{\circ};
    • speed across =42−32≈2.65 m/s= \sqrt{4^{2} - 3^{2}} \approx 2.65\ \text{m/s}, so time =1202.65≈45 s= \dfrac{120}{2.65} \approx 45\ \text{s}.

    This is only possible if the boat is faster than the river (vb>vrv_{b} > v_{r}).

    Worked example

    A swimmer crosses a 60 m wide river flowing at 1 m/s. She swims at 2 m/s relative to the water. In which direction should she swim to reach the point directly opposite, and how long will it take?

    1. sin⁡α=vrvb=12  ⇒  \sin\alpha = \dfrac{v_{r}}{v_{b}} = \dfrac{1}{2} \;\Rightarrow\; α=30∘\alpha = 30^{\circ} upstream from the straight-across direction.
    2. Speed across =22−12=3≈1.73 m/s= \sqrt{2^{2} - 1^{2}} = \sqrt{3} \approx 1.73\ \text{m/s}, so t=601.73≈t = \dfrac{60}{1.73} \approx 35 s35\ \text{s}.

    Remember: subtract the observer’s velocity: v⃗AB=v⃗A−v⃗B\vec v_{AB} = \vec v_{A} - \vec v_{B}. Use vector addition for rivers and rain.

    Formulas and where to use them

    Relative velocity

    v⃗AB=v⃗A−v⃗B\vec v_{AB} = \vec v_{A} - \vec v_{B}
    where
    v⃗AB\vec v_{AB}
    velocity of A as seen from B (relative velocity)
    v⃗A, v⃗B\vec v_{A},\ \vec v_{B}
    velocities of A and B seen from the ground
    v⃗BA=−v⃗AB\vec v_{BA} = -\vec v_{AB}
    seen from A, B moves the opposite way

    Use it when: Any time you need motion as seen from another moving object.

    Along a line

    same direction: ∣vAB∣=vA−vB,opposite directions: ∣vAB∣=vA+vB\text{same direction: } |v_{AB}| = v_{A} - v_{B}, \qquad \text{opposite directions: } |v_{AB}| = v_{A} + v_{B}
    where
    vA, vBv_{A},\ v_{B}
    speeds of the two objects (m/s)

    Use it when: Overtaking and crossing trains or cars; time to pass = total length ÷ relative speed.

    Rain and umbrella

    tan⁡α=vwvr\tan\alpha = \dfrac{v_{w}}{v_{r}}
    where
    α\alpha
    how far to tilt the umbrella forward from the vertical
    vwv_{w}
    walking speed
    vrv_{r}
    speed of the rain, falling straight down

    Use it when: Rain falling vertically, seen by someone walking or cycling.

    Boat heading straight across

    t=dvb,drift=vr dvbt = \dfrac{d}{v_{b}}, \qquad \text{drift} = v_{r}\,\dfrac{d}{v_{b}}
    where
    dd
    width of the river (m)
    vbv_{b}
    speed of the boat in still water (m/s)
    vrv_{r}
    speed of the river (m/s)
    tt
    time to cross (s)

    Use it when: Shortest crossing time.

    Boat landing straight opposite

    sin⁡α=vrvb,t=dvb2−vr2\sin\alpha = \dfrac{v_{r}}{v_{b}}, \qquad t = \dfrac{d}{\sqrt{v_{b}^{2} - v_{r}^{2}}}
    where
    α\alpha
    angle to point upstream, measured from straight across

    Use it when: Crossing without being carried downstream (shortest path).

    Common mistakes

    • Mixing up the order. v⃗AB\vec v_{AB} is A seen from B: v⃗A−v⃗B\vec v_{A} - \vec v_{B}, not the other way round.
    • Adding speeds for same-direction motion. Two cars going the same way approach each other at the difference of their speeds.
    • Thinking the river slows the crossing when heading straight across. The flow only carries the boat sideways; the time is width ÷ boat speed.

    Quick check

    Test yourself — pick an answer to see if you got it.

    1. Car A moves at 60 km/h and car B at 40 km/h in the same direction. The velocity of A relative to B is…

    2. Two trains move towards each other at 20 m/s and 30 m/s. Their relative speed is…

    3. Rain falls vertically at 4 m/s. A man walks at 4 m/s. He should hold his umbrella…

    4. A boat at 5 m/s heads straight across a 100 m river flowing at 3 m/s. It takes…

    5. For the same boat, the drift downstream is…

    Saved on this device.
    Spotted a mistake or a bug in the 3D model?

    Report a mistake

    in Relative Velocity in One and Two Dimensions. Thank you — every report makes the lesson better for the next reader.

    We'll also include a link to the step of the 3D model you're on and your browser type, so we can reproduce it.