Lesson 4 of 8 · 18 min

Projections, work and relative velocity

Use scalar and vector projections to resolve vectors and find the shortest distance from a point to a line, then model forces, work and relative velocity in three dimensions.

What you will be able to do

  • Find the scalar projection a⋅b^\mathbf{a} \cdot \hat{\mathbf{b}} and the vector projection (a⋅bb⋅b)b\left(\frac{\mathbf{a} \cdot \mathbf{b}}{\mathbf{b} \cdot \mathbf{b}}\right)\mathbf{b}.
  • Split a vector into parts parallel and perpendicular to another, and use this to find the shortest distance from a point to a line.
  • Model displacement, force, work and relative velocity problems with 3D vectors.

Shine a torch straight down onto a ramp and a stick held above it casts a shadow along the ramp. The length of that shadow is the scalar projection; the shadow itself, as an arrow, is the vector projection. Projections answer "how much of this vector points that way?", which is exactly what you need for forces along a slope, work done, and closest distances.

Interactive

The shadow of a on b

Drag a\mathbf{a} and b\mathbf{b}. The projection is the foot of the perpendicular from the head of a\mathbf{a} to the line of b\mathbf{b}. When does the projection point backwards along b\mathbf{b}? The picture is the same in three dimensions: it lies in the plane containing a\mathbf{a} and b\mathbf{b}.

Key idea

Scalar and vector projections of a on b

scalar projection=∣a∣cos⁡(θ)=a⋅b^=a⋅b∣b∣\text{scalar projection} = |\mathbf{a}|\cos(\theta) = \mathbf{a} \cdot \hat{\mathbf{b}} = \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{b}|} vector projection=(a⋅b^) b^=(a⋅bb⋅b)b\text{vector projection} = (\mathbf{a} \cdot \hat{\mathbf{b}})\,\hat{\mathbf{b}} = \left(\frac{\mathbf{a} \cdot \mathbf{b}}{\mathbf{b} \cdot \mathbf{b}}\right)\mathbf{b}

The scalar projection is negative when the angle is obtuse. The vector projection is always parallel to b\mathbf{b}.

Find the scalar projection of a=2i^+3j^−k^\mathbf{a} = 2\hat{\mathbf{i}} + 3\hat{\mathbf{j}} - \hat{\mathbf{k}} on b=i^+2j^+2k^\mathbf{b} = \hat{\mathbf{i}} + 2\hat{\mathbf{j}} + 2\hat{\mathbf{k}}.

For the same vectors, find the vector projection of a\mathbf{a} on b\mathbf{b}.

Key idea

Parallel and perpendicular parts

Every vector a\mathbf{a} splits into a part parallel to b\mathbf{b} and a part perpendicular to it:

a=(a⋅bb⋅b)b⏟parallel to b+[a−(a⋅bb⋅b)b]⏟perpendicular to b\mathbf{a} = \underbrace{\left(\frac{\mathbf{a} \cdot \mathbf{b}}{\mathbf{b} \cdot \mathbf{b}}\right)\mathbf{b}}_{\text{parallel to } \mathbf{b}} + \underbrace{\left[\mathbf{a} - \left(\frac{\mathbf{a} \cdot \mathbf{b}}{\mathbf{b} \cdot \mathbf{b}}\right)\mathbf{b}\right]}_{\text{perpendicular to } \mathbf{b}}

The perpendicular part gives the shortest distance from a point to a line: for a point PP and a line through AA with direction d\mathbf{d}, it is the length of the part of AP→\overrightarrow{AP} perpendicular to d\mathbf{d}.

Worked example

Shortest distance from a point to a line

  • Complex familiar
  • Technology free

A line passes through A(1,1,1)A(1, 1, 1) with direction d=2i^−j^+2k^\mathbf{d} = 2\hat{\mathbf{i}} - \hat{\mathbf{j}} + 2\hat{\mathbf{k}}. The point PP is (4,3,5)(4, 3, 5).

(a) Find the vector projection of AP→\overrightarrow{AP} on d\mathbf{d}.

(b) Hence find the exact shortest distance from PP to the line, and the point FF on the line closest to PP.

6 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Join a point AA on the line to PP.

  2. Project AP→\overrightarrow{AP} on d\mathbf{d} and subtract to get the perpendicular part.

  3. Its length is the distance; a\mathbf{a} plus the projection is the closest point.

  4. Check: ∣AP→∣2=(scalar projection)2+(distance)2|\overrightarrow{AP}|^2 = (\text{scalar projection})^2 + (\text{distance})^2, here 29=16+1329 = 16 + 13.

Watch out for

  • Using the position vector of PP instead of AP→\overrightarrow{AP}.

  • Dividing by ∣d∣|\mathbf{d}| instead of d⋅d\mathbf{d} \cdot \mathbf{d} in the vector projection.

Definition

Work done by a force

A constant force F\mathbf{F} (newtons) moving an object through a displacement s\mathbf{s} (metres) does work

W=F⋅s joules.W = \mathbf{F} \cdot \mathbf{s}\ \text{joules}.

Only the part of the force along the displacement does work, which is why it is a dot product.

A force F=3i^−2j^+5k^\mathbf{F} = 3\hat{\mathbf{i}} - 2\hat{\mathbf{j}} + 5\hat{\mathbf{k}} newtons moves a crate in a straight line from P(1,2,0)P(1, 2, 0) to Q(4,6,2)Q(4, 6, 2), with distances in metres. Find the work done.

in J

Definition

Relative velocity

The velocity of BB relative to AA is how BB appears to move to an observer travelling with AA:

vB rel A=vB−vA.\mathbf{v}_{B \text{ rel } A} = \mathbf{v}_B - \mathbf{v}_A.

Likewise, the position of BB relative to AA is rB−rA\mathbf{r}_B - \mathbf{r}_A.

A boat moves with velocity 12i^+5j^12\hat{\mathbf{i}} + 5\hat{\mathbf{j}} and a helicopter with velocity −20i^+30j^+4k^-20\hat{\mathbf{i}} + 30\hat{\mathbf{j}} + 4\hat{\mathbf{k}}, both in km h−1\mathrm{km\,h^{-1}}. Find the velocity of the helicopter relative to the boat.

Worked example

Do two drones come too close?

  • Complex unfamiliar
  • Technology active

Two drones fly in straight lines at constant velocity. Take i^\hat{\mathbf{i}} east, j^\hat{\mathbf{j}} north and k^\hat{\mathbf{k}} up, with distances in metres. At t=0t = 0 seconds drone PP is at (0,0,50)(0, 0, 50) with velocity 4i^+3j^ m s−14\hat{\mathbf{i}} + 3\hat{\mathbf{j}}\ \mathrm{m\,s^{-1}}, and drone QQ is at (60,20,30)(60, 20, 30) with velocity −2i^+j^+k^ m s−1-2\hat{\mathbf{i}} + \hat{\mathbf{j}} + \hat{\mathbf{k}}\ \mathrm{m\,s^{-1}}.

Safety rules require the drones to stay at least 10 m apart. Determine whether the rule is broken, and if so, when the drones are closest.

6 steps

Try it yourself first, then check the working one step at a time.

Method

  1. Work relative to one object: subtract positions and subtract velocities.

  2. Write the separation as a function of tt and minimise its square.

  3. Equivalently, the closest approach is the length of the part of the initial separation perpendicular to the relative velocity.

  4. Answer the question that was asked, with units.

Watch out for

  • Finding the closest distance between the two flight paths instead. The paths can come closer than the drones do, because the drones pass those points at different times.

  • Subtracting velocities in one order and positions in the other.

Exam tip

Modelling questions

Define your axes ("i^\hat{\mathbf{i}} east, j^\hat{\mathbf{j}} north, k^\hat{\mathbf{k}} up"), write each quantity as a vector with units, and answer in words with units and a sensible number of decimal places. Check reasonableness: a closest distance cannot exceed the starting distance, and work done against a force is negative.

Summary

  • Scalar projection of a\mathbf{a} on b\mathbf{b}: a⋅b^=a⋅b∣b∣\mathbf{a} \cdot \hat{\mathbf{b}} = \frac{\mathbf{a} \cdot \mathbf{b}}{|\mathbf{b}|}. Vector projection: (a⋅bb⋅b)b\left(\frac{\mathbf{a} \cdot \mathbf{b}}{\mathbf{b} \cdot \mathbf{b}}\right)\mathbf{b}.

  • Subtracting the vector projection leaves the part perpendicular to b\mathbf{b}; its length is the distance from a point to a line.

  • Work done: W=F⋅sW = \mathbf{F} \cdot \mathbf{s}.

  • Relative velocity: vB rel A=vB−vA\mathbf{v}_{B \text{ rel } A} = \mathbf{v}_B - \mathbf{v}_A.

Finished the lesson?

Try the 4 quick checks above and the lesson completes itself, or mark it complete now.

Lesson 4 of 80% read

Save your progress with a free account