Understand the idea.
Find the foot, then the length
The shortest segment from a point to an infinite line is perpendicular to the line. Write a variable point , require , and solve for the perpendicular foot before taking its distance.
For the plane , perpendicular motion follows its normal. The distance from is . The absolute value makes the length non-negative regardless of which side contains .
Skew is different from parallel
Nonparallel lines in three dimensions may be skew, with no common point. Their shortest joining segment is perpendicular to both direction vectors. Use separate parameters for the two lines and impose both zero dot-product conditions.
A common perpendicular direction is . Projecting the anchor displacement onto it gives the shortest distance, but not the closest points. If the directions are parallel, this cross product vanishes and a point-to-line calculation is needed instead.
See the method in action.
Worked example 1
Find the distance of (1,2,3) from the x axis.
Worked solution
- 1
Choose a variable point on the x axis.
Every point on the axis has zero and coordinates.
- 2
Require a perpendicular joining vector.
The shortest displacement to an infinite line is perpendicular to its direction.
- 3
Find the foot and its distance.
The perpendicular segment varies only in the and directions.
Worked example 2 — oblique skew lines
Find the closest points and shortest distance for and .
Worked solution
- 1
Write separate points on the two lines.
Independent line parameters allow the closest point on each line to be determined.
- 2
Impose perpendicularity to both directions.
A shortest connecting segment has no component along either line.
- 3
Solve the simultaneous parameter equations.
Substitution eliminates and determines both perpendicular feet.
- 4
Calculate the closest points and displacement.
Substitute each solved parameter into its own line equation.
- 5
Take the perpendicular length.
The joining vector is perpendicular to both nonparallel lines, so its magnitude is their shortest separation.
, ; shortest distance .
Try it yourself.
Check your understanding
Find the distance from (0,0,5) to z=2.
Show answer & reasoning
The plane has vertical normal. The perpendicular foot of is , so the distance is .
Keep practising
6 worksheet questions · 14 marks
Read the questions online
- Find the closest point on to and its distance.2 marks
- Find the distance from to .2 marks
- Find the foot of the perpendicular from to .2 marks
- Find the closest points and distance between and .4 marks
- Find the distance between and .2 marks
- For line and , find the closest and distance.2 marks
Read the worked solutions
Equivalent correct methods earn the corresponding marks. Include units where asked.
- Find the closest point on to and its distance.2 marks
Perpendicularity requires .
The remaining displacement is .
, distance . - Find the distance from to .2 marks
Use .
Simplify to .
- Find the foot of the perpendicular from to .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 . The joining vector is , which has length .
and ; distance . - Find the distance between and .2 marks
The lines are parallel to the axis.
The perpendicular displacement is .
- For line and , find the closest 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 ↗