Skew LinesJEE Advanced

Shortest distance between two lines in 3D — interactive Mathematics simulation for IIT-JEE.

Concept

Skew lines are lines in 3D that neither meet nor run parallel. Their shortest distance is measured along the unique common perpendicular, and the cross product of their direction vectors points exactly along that perpendicular.

Key formula

d=∣(a⃗2−a⃗1)⋅(b⃗1×b⃗2)∣∣b⃗1×b⃗2∣d = \frac{|(\vec a_2 - \vec a_1)\cdot(\vec b_1\times\vec b_2)|}{|\vec b_1\times\vec b_2|}

Derivation

Let the lines be r⃗=a⃗1+tb⃗1\vec r = \vec a_1 + t\vec b_1 and r⃗=a⃗2+sb⃗2\vec r = \vec a_2 + s\vec b_2. The common perpendicular direction is b⃗1×b⃗2\vec b_1\times\vec b_2.

Project the connecting vector a⃗2−a⃗1\vec a_2 - \vec a_1 onto that unit perpendicular: the magnitude of this projection is the shortest distance.

Hence d=∣(a⃗2−a⃗1)⋅(b⃗1×b⃗2)∣/∣b⃗1×b⃗2∣d = |(\vec a_2 - \vec a_1)\cdot(\vec b_1\times\vec b_2)| / |\vec b_1\times\vec b_2|. Sliding either line along itself changes a⃗i\vec a_i but not the result.

Scenarios to explore

  • Skew Lines — Shortest distance between two skew lines in 3D.
  • Lines that actually meet — With zero gap the lines intersect — they are no longer skew.

Real-world applications

  • Clearance between non-intersecting pipes, cables or robot arms.
  • Closest approach of two moving particles with constant velocities.
  • Computer-graphics collision and proximity tests.

JEE exam tips

  • If (a⃗2−a⃗1)⋅(b⃗1×b⃗2)=0(\vec a_2-\vec a_1)\cdot(\vec b_1\times\vec b_2) = 0, the lines are coplanar (they intersect).
  • Parallel lines need a different formula: d=∣(a⃗2−a⃗1)×b⃗∣/∣b⃗∣d = |(\vec a_2-\vec a_1)\times\vec b|/|\vec b|.

Common mistakes

  • Forgetting the absolute value in the numerator (distance is non-negative).
  • Using ∣b⃗1∣∣b⃗2∣|\vec b_1||\vec b_2| instead of ∣b⃗1×b⃗2∣|\vec b_1\times\vec b_2| in the denominator.
  • Assuming the distance changes when you slide a line along its own direction.

Exam traps to avoid

  • Zero scalar triple product means coplanar, not necessarily intersecting at the origin.
  • The numerator is the scalar triple product [a⃗2−a⃗1  b⃗1  b⃗2][\vec a_2-\vec a_1\;\vec b_1\;\vec b_2].