3D Geometry: Common Mistakes and Fixes (3)

hard 3 min read

Question

Find the shortest distance between the lines

L1:x12=y23=z34andL2:x23=y44=z55L_1: \frac{x-1}{2} = \frac{y-2}{3} = \frac{z-3}{4} \quad\text{and}\quad L_2: \frac{x-2}{3} = \frac{y-4}{4} = \frac{z-5}{5}

Then check whether these lines are skew, parallel, or intersecting.

Solution — Step by Step

L1L_1: passes through a1=(1,2,3)\vec a_1 = (1, 2, 3), direction b1=(2,3,4)\vec b_1 = (2, 3, 4). L2L_2: passes through a2=(2,4,5)\vec a_2 = (2, 4, 5), direction b2=(3,4,5)\vec b_2 = (3, 4, 5).

b1×b2=ijk234345=i(1516)j(1012)+k(89)\vec b_1 \times \vec b_2 = \begin{vmatrix} \vec i & \vec j & \vec k \\ 2 & 3 & 4 \\ 3 & 4 & 5 \end{vmatrix} = \vec i(15 - 16) - \vec j(10 - 12) + \vec k(8 - 9) b1×b2=(1,2,1)\vec b_1 \times \vec b_2 = (-1, 2, -1)

Magnitude: b1×b2=1+4+1=6|\vec b_1 \times \vec b_2| = \sqrt{1 + 4 + 1} = \sqrt{6}.

a2a1=(1,2,2)\vec a_2 - \vec a_1 = (1, 2, 2).

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|}

Dot product: (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}}

Since d0d \ne 0 and b1,b2\vec b_1, \vec b_2 are not parallel (their cross product is nonzero), the lines are skew.

Shortest distance =16= \dfrac{1}{\sqrt{6}} units; lines are skew.

Why This Works

The cross product b1×b2\vec b_1 \times \vec b_2 is perpendicular to both lines. The shortest distance between two skew lines is the projection of any vector connecting one line to the other onto this common perpendicular — that is exactly what the formula computes.

If d=0d = 0, the lines either intersect or coincide, and we then check direction proportionality. If b1×b2=0\vec b_1 \times \vec b_2 = \vec 0, the lines are parallel.

Alternative Method

Find the foot of the common perpendicular by parameterising both lines, setting up two scalar conditions (perpendicularity), and solving. Slower but conceptually cleaner — useful when the question asks for the foot, not just the distance.

Common Mistake

Using a2a1|\vec a_2 - \vec a_1| as the shortest distance. That gives the distance between two specific points on the lines, not the minimum distance. The cross-product formula projects the connecting vector onto the only direction that can give a true minimum.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next