The math optional, made finite. Daily Practice

Shortest distance between two skew lines

At a Glance

Why This Chapter Matters

Shortest-distance questions appear in Section A (Q1 or Q2) in four of the last ten years, always for 10 marks. Every question uses exactly one formula — the scalar triple product divided by the cross-product magnitude. The only variation is how the direction vectors are extracted from the given line forms, and whether the lines turn out to intersect (numerator =0= 0). Master the formula and the sign-extraction step, and these questions take under 7 minutes.

Minimum Theory

Skew lines. Two lines in 3D that are neither parallel nor intersecting are skew. They have a unique shortest connecting segment, perpendicular to both line directions.

Formula. Let line L1L_1 pass through P1P_1 with direction d1\mathbf{d}_1, and L2L_2 through P2P_2 with direction d2\mathbf{d}_2: d=(P2P1)(d1×d2)d1×d2.d = \frac{\bigl|(\mathbf{P}_2 - \mathbf{P}_1)\cdot(\mathbf{d}_1 \times \mathbf{d}_2)\bigr|}{|\mathbf{d}_1 \times \mathbf{d}_2|}.

Intersection condition. The lines intersect if and only if the numerator equals zero.

Common perpendicular between two skew lines

Question Archetypes

ArchetypeRecognition
shortest-distanceGiven two lines; compute the shortest distance and/or find a parameter value that makes them intersect

shortest-distance (4 question(s); 2016, 2017, 2018, 2025)

Compute (P2P1)(d1×d2)/d1×d2\bigl|(\mathbf{P_2}-\mathbf{P_1})\cdot(\mathbf{d_1}\times\mathbf{d_2})\bigr|\,/\,|\mathbf{d_1}\times\mathbf{d_2}|

Recognition Cues

Solution Template

  1. Extract P1P_1, d1\mathbf{d}_1 and P2P_2, d2\mathbf{d}_2. Rewrite any "aya-y" ratio as ”yay-a over 1-1” to get the correct sign.
  2. Cross product d1×d2\mathbf{d}_1\times\mathbf{d}_2 via 3×33\times3 determinant; compute its magnitude.
  3. Joining vector P2P1\mathbf{P}_2-\mathbf{P}_1.
  4. Scalar triple product (P2P1)(d1×d2)(\mathbf{P}_2-\mathbf{P}_1)\cdot(\mathbf{d}_1\times\mathbf{d}_2).
  5. Divide and rationalize any surd.
  6. Intersection test (if asked): set numerator =0= 0 and solve for the parameter.

Worked Example 1

2017 Paper 1, 2017-P1-Q1e (10 marks)

Find the shortest distance between x33=8y1=z31\dfrac{x-3}{3}=\dfrac{8-y}{1}=\dfrac{z-3}{1} and x+33=y+72=z64\dfrac{x+3}{-3}=\dfrac{y+7}{2}=\dfrac{z-6}{4}.

Step 1. Rewrite 8y1=y81\dfrac{8-y}{1}=\dfrac{y-8}{-1}; the yy-direction ratio is 1-1. P1=(3,8,3),  d1=(3,1,1);P2=(3,7,6),  d2=(3,2,4).P_1=(3,8,3),\;\mathbf{d}_1=(3,-1,1);\quad P_2=(-3,-7,6),\;\mathbf{d}_2=(-3,2,4).

Step 2. d1×d2=i^j^k^311324=(42,  123,  63)=(6,15,3),=270=330.\mathbf{d}_1\times\mathbf{d}_2 = \begin{vmatrix}\hat{i}&\hat{j}&\hat{k}\\3&-1&1\\-3&2&4\end{vmatrix} = (-4-2,\;-12-3,\;6-3) = (-6,-15,3),\quad |\cdot| = \sqrt{270}=3\sqrt{30}.

Step 3. P2P1=(6,15,3)\mathbf{P}_2-\mathbf{P}_1 = (-6,-15,3).

Step 4. (6)(6)+(15)(15)+33=36+225+9=270(-6)(-6)+(-15)(-15)+3\cdot3 = 36+225+9 = 270.

Step 5. d=270330=9030=33016.43.\boxed{d = \frac{270}{3\sqrt{30}} = \frac{90}{\sqrt{30}} = 3\sqrt{30} \approx 16.43.}

Worked Example 2

2016 Paper 1, 2016-P1-Q1e (10 marks)

Find the shortest distance between x12=y24=z31\dfrac{x-1}{2}=\dfrac{y-2}{4}=\dfrac{z-3}{1} and ymx=z=0y-mx=z=0. For what value of mm do they intersect?

Step 1. Line L2L_2: set x=tx=t in z=0,y=mxz=0,\,y=mx to get point (0,0,0)(0,0,0), direction (1,m,0)(1,m,0). P1=(1,2,3),  d1=(2,4,1);P2=(0,0,0),  d2=(1,m,0).P_1=(1,2,3),\;\mathbf{d}_1=(2,4,1);\quad P_2=(0,0,0),\;\mathbf{d}_2=(1,m,0).

Step 2. d1×d2=(m,  1,  2m4),=m2+1+(2m4)2=5m216m+17.\mathbf{d}_1\times\mathbf{d}_2 = (-m,\;1,\;2m-4),\quad |\cdot|=\sqrt{m^2+1+(2m-4)^2}=\sqrt{5m^2-16m+17}.

Step 3–4. P2P1=(1,2,3)\mathbf{P}_2-\mathbf{P}_1=(-1,-2,-3); triple product =m26m+12=105m= m-2-6m+12 = 10-5m.

Step 5. d=52m5m216m+17.\boxed{d = \frac{5|2-m|}{\sqrt{5m^2-16m+17}}.}

Step 6. Intersection: 105m=0m=210-5m=0 \Rightarrow \boxed{m=2}.

Common Traps

Marks-Aware Writing

Write the cross product as a displayed 3×33\times3 determinant, state each factor of the formula explicitly, and show the final rationalization. The formula itself earns 2 marks; working out each intermediate vector earns 3–4 more; the final division earns the last marks. Skipping the determinant display and just writing the answer costs 4–5 marks.

Practice Set

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.