The distance between two skew lines with equations
| 
 
(1)
 
 | |||
| 
 
(2)
 
 | 
is given by
| 
 
(3)
 
 | 
(Gellert et al. 1989, p. 538). This can be written in the concise form
| 
 
(4)
 
 | 
by defining
| 
 
(5)
 
 | |||
| 
 
(6)
 
 | |||
| 
 
(7)
 
 | 
The distance between two skew lines with equations
| 
 
(1)
 
 | |||
| 
 
(2)
 
 | 
is given by
| 
 
(3)
 
 | 
(Gellert et al. 1989, p. 538). This can be written in the concise form
| 
 
(4)
 
 | 
by defining
| 
 
(5)
 
 | |||
| 
 
(6)
 
 | |||
| 
 
(7)
 
 | 
Weisstein, Eric W. "Line-Line Distance." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/Line-LineDistance.html