3D Geometry: Application Problems (7)

easy 2 min read

Question

Find the shortest distance between the two skew lines:

L1:r=(1,2,3)+t(2,1,1)L_1: \vec{r} = (1, 2, 3) + t(2, 1, -1) and L2:r=(2,1,1)+s(1,2,1)L_2: \vec{r} = (2, -1, 1) + s(1, 2, 1).

Solution — Step by Step

Point on L1L_1: a1=(1,2,3)\vec{a}_1 = (1, 2, 3). Direction: b1=(2,1,1)\vec{b}_1 = (2, 1, -1).

Point on L2L_2: a2=(2,1,1)\vec{a}_2 = (2, -1, 1). Direction: b2=(1,2,1)\vec{b}_2 = (1, 2, 1).

b1×b2=i^j^k^211121\vec{b}_1 \times \vec{b}_2 = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 2 & 1 & -1 \\ 1 & 2 & 1 \end{vmatrix}

=i^(11(1)2)j^(21(1)1)+k^(2211)= \hat{i}(1 \cdot 1 - (-1) \cdot 2) - \hat{j}(2 \cdot 1 - (-1) \cdot 1) + \hat{k}(2 \cdot 2 - 1 \cdot 1)

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

b1×b2=9+9+9=33|\vec{b}_1 \times \vec{b}_2| = \sqrt{9 + 9 + 9} = 3\sqrt{3}.

a2a1=(21,12,13)=(1,3,2)\vec{a}_2 - \vec{a}_1 = (2-1, -1-2, 1-3) = (1, -3, -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|}

(a2a1)(b1×b2)=(1)(3)+(3)(3)+(2)(3)=3+96=6(\vec{a}_2 - \vec{a}_1) \cdot (\vec{b}_1 \times \vec{b}_2) = (1)(3) + (-3)(-3) + (-2)(3) = 3 + 9 - 6 = 6.

d=6/(33)=2/3=23/3d = |6|/(3\sqrt{3}) = 2/\sqrt{3} = 2\sqrt{3}/3.

Final answer: Shortest distance = 23/31.155 units\mathbf{2\sqrt{3}/3 \approx 1.155 \text{ units}}.

Why This Works

The shortest distance between two skew lines is along the direction perpendicular to both of them — that’s exactly b1×b2\vec{b}_1 \times \vec{b}_2. We then project the connecting vector (a2a1)(\vec{a}_2 - \vec{a}_1) onto this perpendicular direction.

If the lines intersect, (a2a1)(b1×b2)=0(\vec{a}_2 - \vec{a}_1) \cdot (\vec{b}_1 \times \vec{b}_2) = 0 — the connecting vector lies in the plane of both directions, so its component along the perpendicular is zero.

Alternative Method

We can parametrize both lines and minimize r1(t)r2(s)2|\vec{r}_1(t) - \vec{r}_2(s)|^2 by setting partial derivatives w.r.t. tt and ss to zero. This gives two linear equations, more work but no need to memorize the formula.

Common Mistake

Students often forget the absolute value in the numerator. The dot product can be negative, but distance is always non-negative. Also, watch for sign errors in the determinant expansion — write each 2×22 \times 2 minor carefully.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next