(JEE Main 2024, Shift 1 — paraphrased) Find the shortest distance between the lines:
L1:2x−1=3y−2=4z−3
L2:3x−2=4y−4=5z−5
Solution — Step by Step
L1 passes through a1=(1,2,3) with direction b1=(2,3,4).
L2 passes through a2=(2,4,5) with direction b2=(3,4,5).
Vector joining the points: a2−a1=(1,2,2).
b1×b2=i^23j^34k^45
=i^(3⋅5−4⋅4)−j^(2⋅5−4⋅3)+k^(2⋅4−3⋅3)
=i^(15−16)−j^(10−12)+k^(8−9)=(−1,2,−1)
Magnitude: ∣b1×b2∣=1+4+1=6.
d=∣b1×b2∣∣(a2−a1)⋅(b1×b2)∣
Dot product: (1,2,2)⋅(−1,2,−1)=−1+4−2=1.
d=6∣1∣=61
Shortest distance = 61 units.
Why This Works
The shortest distance between two skew lines lies along the common perpendicular. The direction of this perpendicular is b1×b2. Projecting the joining vector (a2−a1) onto this perpendicular direction gives the shortest distance directly.
If the lines were parallel, b1×b2=0 and the formula breaks down — for parallel lines, use a different formula involving ∣b1×(a2−a1)∣.
If the lines intersect, d=0, which means (a2−a1)⋅(b1×b2)=0 — this is the coplanarity condition.
If a JEE question asks for the shortest distance and gives lines that “look” parallel (proportional direction ratios), check first — you’ll need a different formula.
Alternative Method
Parameterize both lines: P1=(1+2t,2+3t,3+4t) and P2=(2+3s,4+4s,5+5s). Set the vector P2P1 perpendicular to both b1 and b2. Solve the resulting two equations for t,s, then compute ∣P2P1∣. Same answer, much longer — only worth it if you forget the formula.
Common Mistake
Students forget to take the absolute value of the dot product in the numerator. If you get a negative number, take its magnitude — distance is always non-negative.
Want to master this topic?
Read the complete guide with more examples and exam tips.