For nonparallel lines, is perpendicular to both direction vectors. Every displacement between the lines differs from by a vector in their span, so its component along is fixed. Varying the two parameters cancels the component in that span. The shortest distance between skew lines is therefore
This also gives zero for intersecting nonparallel lines. For parallel lines the denominator vanishes and the correct separate formula is .
The given lines have vector forms
Here and . Their scalar triple product is , giving
As a constructive check, the closest parameters are and , where the connecting vector is and is perpendicular to both lines.

Articles by others on the same topic (0)

There are currently no matching articles.