Project ST onto b₁ × b₂
d = |(b₁ × b₂) · (a₂ − a₁)| / |b₁ × b₂|.
Any two points
S is a point on l₁ and T a point on l₂. The segment ST is usually longer than the shortest distance.
The shortest distance is the projection of ST on …
What this lesson covers
The idea
For r = a₁ + λb₁ and r = a₂ + μb₂, the shortest distance is d = |(b₁ × b₂) · (a₂ − a₁)| / |b₁ × b₂|.
Any two points
S is a point on l₁ and T a point on l₂. The segment ST is usually longer than the shortest distance.
The shortest distance is the projection of ST on …
- the direction perpendicular to both lines, b₁ × b₂
- the direction of l₁
- the x-axis
Move T
Example 9’s lines. S is at a₁ on l₁ and T at a₂ on l₂. Move T and watch (b₁ × b₂) · (a₂ − a₁) and d.
Distance between skew lines
For skew lines r = a₁ + λb₁ and r = a₂ + μb₂, the shortest distance is d = |(b₁ × b₂) · (a₂ − a₁)| / |b₁ × b₂|.
Why: the shortest segment points along b₁ × b₂, which is perpendicular to both lines. d is the projection of ST = a₂ − a₁ on that direction (10.6.2).
Example 9: b₁ × b₂ = 3î − ĵ − 7k̂ and a₂ − a₁ = î − k̂, so d = |3 + 7|/√59 = 10/√59.
If (b₁ × b₂) · (a₂ − a₁) = 0 and the lines are not parallel, they intersect.
Notes
Skew lines r = a₁ + λb₁, r = a₂ + μb₂: d = |(b₁ × b₂) · (a₂ − a₁)| / |b₁ × b₂|.
Check yourself
Exercise 11.2, Q12: r = î + 2ĵ + k̂ + λ(î − ĵ + k̂) and r = 2î − ĵ − k̂ + μ(2î + ĵ + 2k̂). Find the shortest distance (decimals are fine).
Answer: 2.12
(b₁ × b₂) · (a₂ − a₁) = −3 − 6 = −9 and |b₁ × b₂| = √18 = 3√2, so d = 9/(3√2) = 3/√2 ≈ 2.12.
In Example 9, which vector gives the direction of the shortest segment?
If (b₁ × b₂) · (a₂ − a₁) = 0 for two lines that are not parallel, the lines …
- a₂ − a₁ = î − k̂. That joins S and T, which are not the closest points.
- b₁ × b₂ = 3î − ĵ − 7k̂ — correct. Yes! It is perpendicular to both lines.
- b₁ + b₂ = 5î − 6ĵ + 3k̂. The shortest segment is perpendicular to both lines: that is b₁ × b₂.
- intersect — correct. Yes! d = 0, so they have a common point.
- are skew. Skew lines have d > 0.
- are parallel. Then b₁ × b₂ = 0; here the lines are not parallel.