Shortest Distance and Foot of Common Perpendicular on Skew Lines

Board: JEE Foundation | Grade: Class 12 | Chapter: Vectors and 3D Geometry

Problem

Consider the two skew lines in $\mathbb{R}^3$: $$L_1: \frac{x - 1}{2} = \frac{y - 2}{3} = \frac{z - 3}{4}, \qquad L_2: \frac{x - 2}{3} = \frac{y - 4}{4} = \frac{z - 5}{5}.$$ Find the shortest distance between $L_1$ and $L_2$, and find the coordinates of the point $A \in L_1$ where the common perpendicular meets $L_1$.

Step-by-Step Textbook Solution

Step 1: Compute the shortest distance
Points and direction vectors are $\vec{a}_1 = (1, 2, 3)$, $\vec{d}_1 = (2, 3, 4)$ and $\vec{a}_2 = (2, 4, 5)$, $\vec{d}_2 = (3, 4, 5)$.
Then $\vec{a}_2 - \vec{a}_1 = (1, 2, 2)$, and: $$\vec{n} = \vec{d}_1 \times \vec{d}_2 = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \ 2 & 3 & 4 \ 3 & 4 & 5 \end{vmatrix} = (-1, 2, -1).$$ Shortest distance: $$d = \frac{\big|(\vec{a}_2 - \vec{a}_1)\cdot \vec{n}\big|}{|\vec{n}|} = \frac{|1(-1) + 2(2) + 2(-1)|}{\sqrt{(-1)^2 + 2^2 + (-1)^2}} = \frac{1}{\sqrt{6}}.$$

Step 2: Locate the foot $A \in L_1$
Let $A(1 + 2s, 2 + 3s, 3 + 4s) \in L_1$ and $B(2 + 3t, 4 + 4t, 5 + 5t) \in L_2$.
Since $\vec{AB} = (\vec{a}_2 - \vec{a}_1) + t\vec{d}_2 - s\vec{d}_1$ is parallel to $\vec{n} = (-1, 2, -1)$ and $\vec{AB}\cdot\vec{n} = (\vec{a}_2 - \vec{a}_1)\cdot\vec{n} = 1$, we must have: $$\vec{AB} = \frac{1}{|\vec{n}|^2}\vec{n} = \left(-\frac{1}{6}, \frac{1}{3}, -\frac{1}{6}\right).$$ Comparing components of $\vec{AB}$: $$1 + 3t - 2s = -\frac{1}{6} \implies 3t - 2s = -\frac{7}{6},$$ $$2 + 4t - 3s = \frac{1}{3} \implies 4t - 3s = -\frac{5}{3}.$$ Solving this $2 \times 2$ system gives $t = -\frac{1}{6}$ and $s = \frac{1}{3}$ (which also satisfies the $z$-equation $2 + 5t - 4s = -\frac{1}{6}$).
Substituting $s = \frac{1}{3}$ into $A$: $$A = \left(\frac{5}{3},\ 3,\ \frac{13}{3}\right).$$

Final Answer: Shortest distance $= \frac{1}{\sqrt{6}}$, and foot on $L_1$ is $\left(\frac{5}{3}, 3, \frac{13}{3}\right)$.

NityaDhi Solution (Intuitive Method)

NityaDhi Signed-Projection Vector Trick:
Instead of solving two messy dot-product equations $\vec{AB}\cdot\vec{d}_1 = 0$ and $\vec{AB}\cdot\vec{d}_2 = 0$, note that $\vec{AB} = k,\vec{n}$ where $k = \frac{(\vec{a}_2 - \vec{a}_1)\cdot\vec{n}}{|\vec{n}|^2} = \frac{1}{6}$ directly! Equating two coordinates of $\vec{AB}$ gives $s$ and $t$ in seconds, and the third coordinate acts as an automatic error check!

Common Mistakes to Avoid

  • Using the wrong sign in $\vec{AB} = \pm \frac{d}{|\vec{n}|}\vec{n}$ — keeping the signed projection $k = \frac{(\vec{a}_2-\vec{a}_1)\cdot\vec{n}}{|\vec{n}|^2}$ eliminates sign ambiguity.
  • Reporting $s = 1/3$ instead of substituting it back into the parametric coordinates of $L_1$.