3D Geometry: Conceptual Doubts Cleared (14)

medium 2 min read

Question

Find the shortest distance between the two skew lines:

L1:x12=y23=z34L_1: \frac{x - 1}{2} = \frac{y - 2}{3} = \frac{z - 3}{4}

L2:x23=y44=z55L_2: \frac{x - 2}{3} = \frac{y - 4}{4} = \frac{z - 5}{5}

Solution — Step by Step

From L1L_1: point A=(1,2,3)A = (1, 2, 3), direction b1=(2,3,4)\vec{b}_1 = (2, 3, 4).

From L2L_2: point B=(2,4,5)B = (2, 4, 5), direction b2=(3,4,5)\vec{b}_2 = (3, 4, 5).

The connecting vector is AB=(1,2,2)\vec{AB} = (1, 2, 2).

b1×b2=i^j^k^234345\vec{b}_1 \times \vec{b}_2 = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 2 & 3 & 4 \\ 3 & 4 & 5 \end{vmatrix}

=i^(3544)j^(2543)+k^(2433)= \hat{i}(3 \cdot 5 - 4 \cdot 4) - \hat{j}(2 \cdot 5 - 4 \cdot 3) + \hat{k}(2 \cdot 4 - 3 \cdot 3)

=i^(1)j^(2)+k^(1)=(1,2,1)= \hat{i}(-1) - \hat{j}(-2) + \hat{k}(-1) = (-1, 2, -1)

AB(b1×b2)=(1)(1)+(2)(2)+(2)(1)=1+42=1\vec{AB} \cdot (\vec{b}_1 \times \vec{b}_2) = (1)(-1) + (2)(2) + (2)(-1) = -1 + 4 - 2 = 1

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

The magnitude of the cross product:

b1×b2=1+4+1=6|\vec{b}_1 \times \vec{b}_2| = \sqrt{1 + 4 + 1} = \sqrt{6}

So:

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 b1×b2\vec{b}_1 \times \vec{b}_2 is perpendicular to both lines, so it is the direction of the shortest connecting segment. Projecting AB\vec{AB} onto this perpendicular direction gives the shortest distance.

If the cross product had been zero, the lines would be parallel (not skew), and we would use a different formula. If the dot product had come out to zero, the lines would intersect.

Alternative Method

Set up a parametric distance function:

d2(s,t)=A+sb1Btb22d^2(s, t) = |\vec{A} + s\vec{b}_1 - \vec{B} - t\vec{b}_2|^2

Differentiate with respect to ss and tt, set both partials to zero, solve the 2×2 system, and substitute. Same answer but ten times more algebra.

Common Mistake

Students forget to check whether the lines are skew before applying the formula. If they intersect, the shortest distance is zero — and the formula will correctly give zero, but only if you compute carefully. Always interpret the dot-product numerator: zero means intersecting, nonzero means skew.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next