Two skew lines in 3D have a unique shortest distance, measured along the common perpendicular. The vector b1×b2 is perpendicular to both direction vectors, so projecting the joining vector a2−a1 onto this normal gives the perpendicular separation directly.
If b1×b2=0, the lines are parallel and a different formula applies. If the scalar triple product in the numerator is zero, the lines are coplanar and intersect — distance is zero.
Alternative Method
Parameterise the points on each line, write the squared distance as a function of λ and μ, and minimise. Tedious for 3D — the cross-product method is much faster.
For SD problems, write all four vectors first. The arithmetic is mechanical once the setup is clean. JEE Main accepts even a single sign mistake as wrong, so double-check the cross product.
Common Mistake
Forgetting the modulus on the numerator. The shortest distance is non-negative; if your scalar triple product comes out negative, just take its magnitude. CBSE 2024 had a four-mark question on exactly this setup.
Want to master this topic?
Read the complete guide with more examples and exam tips.