Skip to content
Worked Examples · Example 9

Q.Find the shortest distance between the lines l1l_1 and l2l_2 whose vector equations are r⃗=i^+j^+λ(2i^−j^+k^)\vec{r} = \hat{i} + \hat{j} + \lambda(2\hat{i} - \hat{j} + \hat{k}) and r⃗=2i^+j^−k^+μ(3i^−5j^+2k^)\vec{r} = 2\hat{i} + \hat{j} - \hat{k} + \mu(3\hat{i} - 5\hat{j} + 2\hat{k}).

Punjab PsebTextbookSubjective· 3mImportance★★★★★
43% · 29/68 Questions
✓ Free question

The shortest distance between two skew lines is the length of the common perpendicular segment. Using the formula ∣(b⃗1×b⃗2)⋅(a⃗2−a⃗1)∣∣b⃗1×b⃗2∣\frac{|(\vec{b}_1 \times \vec{b}_2) \cdot (\vec{a}_2 - \vec{a}_1)|}{|\vec{b}_1 \times \vec{b}_2|}, we find the distance is 1059\frac{10}{\sqrt{59}} units.

Why This Works: The Concept of Skew Lines

Two lines in space that are neither parallel nor intersecting are called skew lines. They don't lie in the same plane, so the shortest distance between them is the length of the unique line segment that is perpendicular to both lines simultaneously — the common perpendicular.

Think of it this way: if you take a vector along each line (b⃗1\vec{b}_1 and b⃗2\vec{b}_2), their cross product b⃗1×b⃗2\vec{b}_1 \times \vec{b}_2 gives a direction perpendicular to both. The shortest distance is then the projection of the vector joining any point on one line to any point on the other line onto this common perpendicular direction.

Shortest distance between skew lines r⃗=a⃗1+λb⃗1\vec{r} = \vec{a}_1 + \lambda \vec{b}_1 and r⃗=a⃗2+μb⃗2\vec{r} = \vec{a}_2 + \mu \vec{b}_2 is:

d=∣(b⃗1×b⃗2)⋅(a⃗2−a⃗1)∣∣b⃗1×b⃗2∣d = \frac{|(\vec{b}_1 \times \vec{b}_2) \cdot (\vec{a}_2 - \vec{a}_1)|}{|\vec{b}_1 \times \vec{b}_2|}

Step-by-Step Solution

1. Identify the vectors from the given equations

From l1:r⃗=i^+j^+λ(2i^−j^+k^)l_1: \vec{r} = \hat{i} + \hat{j} + \lambda(2\hat{i} - \hat{j} + \hat{k}), we have:

  • a⃗1=i^+j^+0k^\vec{a}_1 = \hat{i} + \hat{j} + 0\hat{k} (a point on l1l_1)
  • b⃗1=2i^−j^+k^\vec{b}_1 = 2\hat{i} - \hat{j} + \hat{k} (direction vector of l1l_1)

From l2:r⃗=2i^+j^−k^+μ(3i^−5j^+2k^)l_2: \vec{r} = 2\hat{i} + \hat{j} - \hat{k} + \mu(3\hat{i} - 5\hat{j} + 2\hat{k}), we have:

  • a⃗2=2i^+j^−k^\vec{a}_2 = 2\hat{i} + \hat{j} - \hat{k}
  • b⃗2=3i^−5j^+2k^\vec{b}_2 = 3\hat{i} - 5\hat{j} + 2\hat{k}

2. Find the vector joining the two points

a⃗2−a⃗1=(2i^+j^−k^)−(i^+j^+0k^)=i^+0j^−k^\vec{a}_2 - \vec{a}_1 = (2\hat{i} + \hat{j} - \hat{k}) - (\hat{i} + \hat{j} + 0\hat{k}) = \hat{i} + 0\hat{j} - \hat{k}

So a⃗2−a⃗1=i^−k^\vec{a}_2 - \vec{a}_1 = \hat{i} - \hat{k}.

3. Compute the cross product b⃗1×b⃗2\vec{b}_1 \times \vec{b}_2

b⃗1×b⃗2=∣i^j^k^2−113−52∣\vec{b}_1 \times \vec{b}_2 = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 2 & -1 & 1 \\ 3 & -5 & 2 \end{vmatrix}

Expanding:

  • i^\hat{i} component: (−1)(2)−(1)(−5)=−2+5=3(-1)(2) - (1)(-5) = -2 + 5 = 3
  • j^\hat{j} component: −((2)(2)−(1)(3))=−(4−3)=−1-( (2)(2) - (1)(3) ) = -(4 - 3) = -1
  • k^\hat{k} component: (2)(−5)−(−1)(3)=−10+3=−7(2)(-5) - (-1)(3) = -10 + 3 = -7

Thus b⃗1×b⃗2=3i^−j^−7k^\vec{b}_1 \times \vec{b}_2 = 3\hat{i} - \hat{j} - 7\hat{k}.

Tip

When computing cross products, be careful with the minus sign on the j^\hat{j} term — it's a classic slip point. The determinant expansion is i^(b1yb2z−b1zb2y)−j^(b1xb2z−b1zb2x)+k^(b1xb2y−b1yb2x)\hat{i}(b_{1y}b_{2z} - b_{1z}b_{2y}) - \hat{j}(b_{1x}b_{2z} - b_{1z}b_{2x}) + \hat{k}(b_{1x}b_{2y} - b_{1y}b_{2x}).

4. Find the magnitude of this cross product

∣b⃗1×b⃗2∣=32+(−1)2+(−7)2=9+1+49=59|\vec{b}_1 \times \vec{b}_2| = \sqrt{3^2 + (-1)^2 + (-7)^2} = \sqrt{9 + 1 + 49} = \sqrt{59}

5. Compute the scalar triple product (b⃗1×b⃗2)⋅(a⃗2−a⃗1)(\vec{b}_1 \times \vec{b}_2) \cdot (\vec{a}_2 - \vec{a}_1)

(b⃗1×b⃗2)⋅(a⃗2−a⃗1)=(3i^−j^−7k^)⋅(i^+0j^−k^)(\vec{b}_1 \times \vec{b}_2) \cdot (\vec{a}_2 - \vec{a}_1) = (3\hat{i} - \hat{j} - 7\hat{k}) \cdot (\hat{i} + 0\hat{j} - \hat{k})

=3(1)+(−1)(0)+(−7)(−1)=3+0+7=10= 3(1) + (-1)(0) + (-7)(-1) = 3 + 0 + 7 = 10

6. Apply the shortest distance formula

d=∣(b⃗1×b⃗2)⋅(a⃗2−a⃗1)∣∣b⃗1×b⃗2∣=∣10∣59=1059d = \frac{|(\vec{b}_1 \times \vec{b}_2) \cdot (\vec{a}_2 - \vec{a}_1)|}{|\vec{b}_1 \times \vec{b}_2|} = \frac{|10|}{\sqrt{59}} = \frac{10}{\sqrt{59}}

Watch out

A common mistake is to forget the absolute value in the numerator. The scalar triple product can be negative depending on the orientation of vectors — distance is always positive, so we take the absolute value.

✓Final answer

The shortest distance between the lines is 1059\boxed{\frac{10}{\sqrt{59}}} units.

Unlock everything free for 14 days

  • Full step-by-step solutions
  • Concept-first explanations
  • Methods, shortcuts & mistakes
  • PYQ mapping + timed mock tests

Full access for 14 days. No credit card required.