Lesson 6: Scalar and vector projections

The shortest distance from a point to a line

SkillsScalar and vector projectionsVectors between points

Worked example

  • Complex unfamiliar
  • Technology free

A straight path passes through A(−1,1)A(-1, 1) in the direction of d∼=2i^+j^\tvec{d} = 2\hat{\mathbf{i}} + \hat{\mathbf{j}}. A drinking fountain is at P(4,6)P(4, 6). Units are metres. Find the point FF on the path closest to the fountain and the shortest distance from the path to the fountain.

1 of 4 steps
  1. Step 1: Find the vector from A to the point

    AP→=(46)−(−11)=(55)\overrightarrow{AP} = \begin{pmatrix} 4 \\ 6 \end{pmatrix} - \begin{pmatrix} -1 \\ 1 \end{pmatrix} = \begin{pmatrix} 5 \\ 5 \end{pmatrix}

Try a similar one

A fresh question of the same kind, checked as you answer, with hints and a full solution.

Method

  1. Join a known point on the line to the outside point.

  2. Vector projection onto the direction gives the foot of the perpendicular.

  3. The perpendicular part gives the shortest distance; check with a dot product.

Watch out for

  • Taking ∣AP→∣=52|\overrightarrow{AP}| = 5\sqrt{2} as the shortest distance: that is the distance to AA, not to the path.

Save your progress with a free account