3D Geometry: Numerical Problems Set (1)

easy 2 min read

Question

Find the shortest distance between the lines r1=i^+2j^+k^+λ(2i^+3j^+4k^)\vec{r}_1 = \hat{i} + 2\hat{j} + \hat{k} + \lambda(2\hat{i} + 3\hat{j} + 4\hat{k}) and r2=2i^+4j^+5k^+μ(3i^+4j^+5k^)\vec{r}_2 = 2\hat{i} + 4\hat{j} + 5\hat{k} + \mu(3\hat{i} + 4\hat{j} + 5\hat{k}).

Solution — Step by Step

a1=i^+2j^+k^\vec{a}_1 = \hat{i} + 2\hat{j} + \hat{k}, b1=2i^+3j^+4k^\vec{b}_1 = 2\hat{i} + 3\hat{j} + 4\hat{k}. a2=2i^+4j^+5k^\vec{a}_2 = 2\hat{i} + 4\hat{j} + 5\hat{k}, b2=3i^+4j^+5k^\vec{b}_2 = 3\hat{i} + 4\hat{j} + 5\hat{k}. a2a1=i^+2j^+4k^\vec{a}_2 - \vec{a}_1 = \hat{i} + 2\hat{j} + 4\hat{k}.

b1×b2=i^j^k^234345=i^(1516)j^(1012)+k^(89)=i^+2j^k^\vec{b}_1 \times \vec{b}_2 = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 2 & 3 & 4 \\ 3 & 4 & 5 \end{vmatrix} = \hat{i}(15-16) - \hat{j}(10-12) + \hat{k}(8-9) = -\hat{i} + 2\hat{j} - \hat{k}

Magnitude =1+4+1=6= \sqrt{1+4+1} = \sqrt{6}.

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

Numerator: (i^+2j^+4k^)(i^+2j^k^)=1+44=1(\hat{i}+2\hat{j}+4\hat{k})\cdot(-\hat{i}+2\hat{j}-\hat{k}) = -1 + 4 - 4 = -1. Magnitude =1= 1.

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

The shortest distance is 16\dfrac{1}{\sqrt{6}} units.

Why This Works

Two skew lines in 3D have a unique shortest distance, measured along the common perpendicular. The vector b1×b2\vec{b}_1\times\vec{b}_2 is perpendicular to both direction vectors, so projecting the joining vector a2a1\vec{a}_2-\vec{a}_1 onto this normal gives the perpendicular separation directly.

If b1×b2=0\vec{b}_1 \times \vec{b}_2 = \vec{0}, the lines are parallel and a different formula applies. If the scalar triple product in the numerator is zero, the lines are coplanar and intersect — distance is zero.

Alternative Method

Parameterise the points on each line, write the squared distance as a function of λ\lambda and μ\mu, and minimise. Tedious for 3D — the cross-product method is much faster.

For SD problems, write all four vectors first. The arithmetic is mechanical once the setup is clean. JEE Main accepts even a single sign mistake as wrong, so double-check the cross product.

Common Mistake

Forgetting the modulus on the numerator. The shortest distance is non-negative; if your scalar triple product comes out negative, just take its magnitude. CBSE 2024 had a four-mark question on exactly this setup.

Want to master this topic?

Read the complete guide with more examples and exam tips.

Go to full topic guide →

Try These Next