Distance between parallel lines

ID: distance-between-parallel-lines

For two parallel lines and in three-dimensional Euclidean space, with and , their shortest distance is
Every joining displacement is . Its component perpendicular to is fixed, and its parallel component can be cancelled by a suitable . The Pythagorean theorem proves that this perpendicular component has the shortest Euclidean norm. The cross product expression follows from . For coincident lines the distance is zero. The perpendicular-component formula also applies in any finite-dimensional Euclidean space, where a three-dimensional cross product need not be available.

New to topics? Read the docs here!