Solution

ID: past-exam-of-the-mathematics-course-of-the-year-1-of-the-natural-sciences-course-of-the-university-of-cambridge/2025/paper-1/11/c/ii/solution

The nonzero direction vectors now have linear dependence, so the lines are parallel or coincident. Subtract from its orthogonal projection along ; the remaining component is the shortest joining displacement. The distance between parallel lines is
The second expression follows from the relation between the cross product and the perpendicular component. It includes distance zero for coincident lines.

New to topics? Read the docs here!