The idea, step by step
Find the foot, then the length
For P and line , the closest point satisfies . Solve for t, find Q, and calculate PQ. This checks the geometry rather than guessing a parameter.
The distance to plane is . To locate the foot, move from P along the normal until the plane equation holds.
Skew is different from parallel
For nonparallel line directions, gives their common perpendicular. Their shortest distance is .
For actual closest points, use separate parameters and require their joining vector to be perpendicular to both directions. Parallel lines need a point-to-line method because the cross-product denominator is zero.
A common trap
Every pair of non-intersecting lines is parallel.
Instead: In three dimensions they can be skew: nonparallel and non-intersecting.
See the thinking
Worked example 1
Find the distance of (1,2,3) from the x axis.
- The closest point is (1,0,0).
- The perpendicular displacement is (0,2,3).
Worked example 2 — oblique skew lines
Find the closest points and shortest distance for and .
- Let P=(s,s,0) and Q=(t,1,1+t). Then .
- Require the joining vector to be perpendicular to both line directions: and .
- Solving gives and . Hence and .
- The joining vector is , whose magnitude is . Its dot product with each direction is zero.
Check your understanding
Find the distance from (0,0,5) to z=2.
Show answer
Move along the z normal from height 5 to height 2.
Your turn
6 questions · 14 marks · Work at your own pace.
Read the questions online
- Find the closest point on (t,0,0) to (3,4,5) and its distance.2 marks
- Find the distance from (1,2,3) to x+y+z=0.2 marks
- Find the foot of the perpendicular from (1,2,3) to x+y+z=0.2 marks
- Find the closest points and distance between and .4 marks
- Find the distance between (s,0,0) and (t,3,4).2 marks
- For line (1,0,0)+t(1,1,0) and P(0,1,2), find the closest t and distance.2 marks
Read the worked solutions
Equivalent correct methods earn the corresponding marks. Include units where asked.
- Find the closest point on (t,0,0) to (3,4,5) and its distance.2 marks
Perpendicularity requires t=3.
The remaining displacement is (0,4,5).
Q=(3,0,0), distance . - Find the distance from (1,2,3) to x+y+z=0.2 marks
Use .
Simplify to .
- Find the foot of the perpendicular from (1,2,3) to x+y+z=0.2 marks
Subtract from the point.
The result lies in the plane.
- Find the closest points and distance between and .4 marks
The joining vector is . Perpendicularity gives and .
Solve to obtain s=1,t=0. The joining vector is (-1,1,1), which has length .
and ; distance . - Find the distance between (s,0,0) and (t,3,4).2 marks
The lines are parallel to the x axis.
The perpendicular displacement is (0,3,4).
- For line (1,0,0)+t(1,1,0) and P(0,1,2), find the closest t and distance.2 marks
The dot product vanishes at 0.
Then the squared distance is .
, distance .
Curriculum reference & lesson scope
SACE Board of South Australia
Stage 2 Specialist Mathematics vector algebra, vector/Cartesian equations and linear systems. Original explanations and tasks.
Official curriculum source ↗