3D Geometry: Exam-Pattern Drill (8)

medium 2 min read

Question

Find the shortest distance between the lines

r1=(1,2,3)+t(2,3,4)\vec{r}_1 = (1, 2, 3) + t(2, 3, 4) r2=(2,4,5)+s(3,4,5)\vec{r}_2 = (2, 4, 5) + s(3, 4, 5)

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\vec{r} = \vec{a}_1 + t\vec{b}_1 and r=a2+sb2\vec{r} = \vec{a}_2 + s\vec{b}_2 is

d=(a2a1)(b1×b2)b1×b2d = \frac{|(\vec{a}_2 - \vec{a}_1) \cdot (\vec{b}_1 \times \vec{b}_2)|}{|\vec{b}_1 \times \vec{b}_2|}

b1×b2=(2,3,4)×(3,4,5)\vec{b}_1 \times \vec{b}_2 = (2,3,4) \times (3,4,5).

ii component: 3544=1516=13 \cdot 5 - 4 \cdot 4 = 15 - 16 = -1.

jj component: (2543)=(1012)=2-(2 \cdot 5 - 4 \cdot 3) = -(10 - 12) = 2.

kk component: 2433=89=12 \cdot 4 - 3 \cdot 3 = 8 - 9 = -1.

b1×b2=(1,2,1)\vec{b}_1 \times \vec{b}_2 = (-1, 2, -1), magnitude 1+4+1=6\sqrt{1 + 4 + 1} = \sqrt{6}.

a2a1=(1,2,2)\vec{a}_2 - \vec{a}_1 = (1, 2, 2).

Dot product: 1(1)+2(2)+2(1)=1+42=11(-1) + 2(2) + 2(-1) = -1 + 4 - 2 = 1.

d=16=16d = \frac{|1|}{\sqrt{6}} = \frac{1}{\sqrt{6}}

Final answer: d=1/6d = 1/\sqrt{6}.

Why This Works

The cross product b1×b2\vec{b}_1 \times \vec{b}_2 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\vec{b}_1 \times \vec{b}_2 = \vec{0} and this formula breaks. Use the parallel-line distance formula instead.

Alternative Method

Set up the distance squared as a function of tt and ss, 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 [a2a1,b1,b2][\vec{a}_2 - \vec{a}_1, \vec{b}_1, \vec{b}_2] — 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 |\cdot|.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next