Three Dimensional Geometry

Shortest Distance Between Two Lines

Understand

Lines in space can be intersecting, parallel, or skew (neither). The shortest distance between two lines is the length of their common perpendicular.

\[\vec r=\vec a_1+\lambda\vec b_1,\ \vec r=\vec a_2+\mu\vec b_2:\qquad d=\left|\frac{(\vec a_2-\vec a_1)\cdot(\vec b_1\times\vec b_2)}{|\vec b_1\times\vec b_2|}\right|\]

If \(d=0\), the lines intersect. For parallel lines \(\vec r=\vec a_1+\lambda\vec b\), \(\vec r=\vec a_2+\mu\vec b\): \(d=\frac{|\vec b\times(\vec a_2-\vec a_1)|}{|\vec b|}\).

Distance of a point from a line / foot of the perpendicular: take the general point \(Q\) of the line, impose \(\overrightarrow{PQ}\cdot\vec b=0\), solve for \(\lambda\).

Key Concepts

  • Skew: not parallel and not intersecting.
  • SD formula uses b₁ × b₂.
  • d = 0 ⇔ the lines intersect (if not parallel).
  • Parallel lines: |b × (a₂ − a₁)| / |b|.

Formula Bank

Shortest distance

\[d=\frac{|(\vec a_2-\vec a_1)\cdot(\vec b_1\times\vec b_2)|}{|\vec b_1\times\vec b_2|}\]

Key Points

Intersecting lines

Two non-parallel lines intersect exactly when their shortest distance is 0 (they are coplanar).

Solved Examples

Shortest distance

\(\vec r=(\hat i+\hat k)+\lambda(\hat i+\hat j)\) and \(\vec r=(2\hat j-\hat k)+\mu(\hat j+\hat k)\).

Practice & Topic Test

Topic Practice

A fresh set of questions from this topic. Change answers freely – solutions appear after you submit.

Start Practice

Topic Test

Timed: up to 10 questions in 15 minutes.

Start Test

Topic Summary

Compute b₁ × b₂, dot with a₂ − a₁, divide by |b₁ × b₂|; zero means the lines meet.

Ready to practise this topic?

Create a free account to take practice sessions and tests, see detailed explanations and track your progress.

Create Student Account