3D Geometry: Tricky Questions Solved (5)

medium 2 min read

Question

Find the shortest distance between the lines:

L1:r=(1,2,3)+t(2,3,4),L2:r=(2,4,5)+s(3,4,5)L_1: \vec{r} = (1, 2, 3) + t(2, 3, 4), \quad L_2: \vec{r} = (2, 4, 5) + s(3, 4, 5)

Solution — Step by Step

a1=(1,2,3)\vec{a}_1 = (1, 2, 3), d1=(2,3,4)\vec{d}_1 = (2, 3, 4). a2=(2,4,5)\vec{a}_2 = (2, 4, 5), d2=(3,4,5)\vec{d}_2 = (3, 4, 5). a2a1=(1,2,2)\vec{a}_2 - \vec{a}_1 = (1, 2, 2).

d1×d2=ijk234345\vec{d}_1 \times \vec{d}_2 = \begin{vmatrix} \vec{i} & \vec{j} & \vec{k} \\ 2 & 3 & 4 \\ 3 & 4 & 5 \end{vmatrix}

=i(1516)j(1012)+k(89)=(1,2,1)= \vec{i}(15 - 16) - \vec{j}(10 - 12) + \vec{k}(8 - 9) = (-1, 2, -1)

Magnitude: d1×d2=1+4+1=6|\vec{d}_1 \times \vec{d}_2| = \sqrt{1 + 4 + 1} = \sqrt{6}.

d=(a2a1)(d1×d2)d1×d2d = \frac{|(\vec{a}_2 - \vec{a}_1) \cdot (\vec{d}_1 \times \vec{d}_2)|}{|\vec{d}_1 \times \vec{d}_2|}

Numerator: (1)(1)+(2)(2)+(2)(1)=1+42=1(1)(-1) + (2)(2) + (2)(-1) = -1 + 4 - 2 = 1.

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

Final answer: d=16d = \frac{1}{\sqrt{6}} units.

Why This Works

The cross product d1×d2\vec{d}_1 \times \vec{d}_2 is perpendicular to both lines. Projecting the connecting vector onto this direction gives the perpendicular distance between the two skew lines. If the lines are parallel, d1×d2=0\vec{d}_1 \times \vec{d}_2 = \vec{0} — use a different formula instead.

Alternative Method

For coplanar (intersecting) lines, the shortest distance is zero — and the scalar triple product (a2a1)(d1×d2)(\vec{a}_2 - \vec{a}_1) \cdot (\vec{d}_1 \times \vec{d}_2) equals zero. So this product also tests coplanarity. Here it’s 101 \neq 0, confirming the lines are skew.

If the lines are parallel (d1d2\vec{d}_1 \parallel \vec{d}_2), use d=(a2a1)×d1/d1d = |(\vec{a}_2 - \vec{a}_1) \times \vec{d}_1| / |\vec{d}_1| instead. JEE often gives a parallel-lines variant to trick students.

Common Mistake

Students sometimes forget the absolute value in the numerator and report a negative distance. Distances are always non-negative — wrap the scalar triple product in |\cdot| before dividing.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next