This is a JEE Main pattern question testing the skew-line distance formula.
Solution — Step by Step
The shortest distance between two skew lines r=a1+tb1 and r=a2+sb2 is
d=∣b1×b2∣∣(a2−a1)⋅(b1×b2)∣
b1×b2=(2,3,4)×(3,4,5).
i component: 3⋅5−4⋅4=15−16=−1.
j component: −(2⋅5−4⋅3)=−(10−12)=2.
k component: 2⋅4−3⋅3=8−9=−1.
b1×b2=(−1,2,−1), magnitude 1+4+1=6.
a2−a1=(1,2,2).
Dot product: 1(−1)+2(2)+2(−1)=−1+4−2=1.
d=6∣1∣=61
Final answer: d=1/6.
Why This Works
The cross product b1×b2 gives a vector perpendicular to both lines. Projecting the displacement between any two points (one on each line) onto this perpendicular gives the shortest distance. The denominator normalises the cross product to unit length.
If the lines are parallel, b1×b2=0 and this formula breaks. Use the parallel-line distance formula instead.
Alternative Method
Set up the distance squared as a function of t and s, take partial derivatives, set to zero, and solve. This is the calculus approach — slow for an MCQ, but bulletproof.
Memorise the formula in the form “scalar triple product over cross-product magnitude”. The numerator is [a2−a1,b1,b2] — a determinant.
Common Mistake
Forgetting the absolute value in the numerator. The signed scalar triple product can be negative, but distance is always positive. Always wrap with ∣⋅∣.
Want to master this topic?
Read the complete guide with more examples and exam tips.