SOLVER7 Study. Nothing Else.
Exercise 11.2 Q13

Find the shortest distance between the lines \(\dfrac{x+1}{7}=\dfrac{y+1}{-6}=\dfrac{z+1}{1}\) and \(\dfrac{x-3}{1}=\dfrac{y-5}{-2}=\dfrac{z-7}{1}\)

CBSE Class 12 Maths · Three Dimensional Geometry

Solution

👶 Simple Explanation

Simple Explanation

Imagine two train tracks floating in the air, going in different directions and never meeting. The shortest path between them is like dropping a tiny bridge straight across. We find two points, one on each track, then figure out the direction that is perfectly sideways to both tracks. Measuring along that sideways direction gives the closest gap. For these two lines, that smallest gap turns out to be \( 2\sqrt{29} \) units.

Answer: The shortest distance between the two lines is \( 2\sqrt{29} \) units.

📖 Shortest Distance Between Two Skew Lines

Detailed Explanation

Two lines in 3D that are not parallel and do not intersect are called skew lines. The shortest distance between them is measured along the common perpendicular. If the lines are written in vector form as \( \vec{r} = \vec{a_1} + \lambda \vec{b_1} \) and \( \vec{r} = \vec{a_2} + \mu \vec{b_2} \), then \( \vec{a_1} \) and \( \vec{a_2} \) are position vectors of points on the lines and \( \vec{b_1}, \vec{b_2} \) are their direction vectors. The vector \( \vec{b_1} \times \vec{b_2} \) is perpendicular to both lines, so projecting the joining vector \( \vec{a_2} - \vec{a_1} \) onto this common perpendicular gives the shortest distance.

Formula Used

\[ d = \left| \frac{(\vec{a_2} - \vec{a_1}) \cdot (\vec{b_1} \times \vec{b_2})}{|\vec{b_1} \times \vec{b_2}|} \right| \]

Solution

  1. Step 1: Read off a point and direction vector from each line. For the first line \( \dfrac{x+1}{7} = \dfrac{y+1}{-6} = \dfrac{z+1}{1} \), a point is \( (-1, -1, -1) \) and direction is \( \vec{b_1} = 7\hat{i} - 6\hat{j} + \hat{k} \). For the second line \( \dfrac{x-3}{1} = \dfrac{y-5}{-2} = \dfrac{z-7}{1} \), a point is \( (3, 5, 7) \) and direction is \( \vec{b_2} = \hat{i} - 2\hat{j} + \hat{k} \).
  2. Step 2: Write the position vectors: \( \vec{a_1} = -\hat{i} - \hat{j} - \hat{k} \) and \( \vec{a_2} = 3\hat{i} + 5\hat{j} + 7\hat{k} \). Find the joining vector \[ \vec{a_2} - \vec{a_1} = (3-(-1))\hat{i} + (5-(-1))\hat{j} + (7-(-1))\hat{k} = 4\hat{i} + 6\hat{j} + 8\hat{k}. \]
  3. Step 3: Compute \( \vec{b_1} \times \vec{b_2} \), the vector perpendicular to both lines: \[ \vec{b_1} \times \vec{b_2} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 7 & -6 & 1 \\ 1 & -2 & 1 \end{vmatrix}. \] Expanding gives \[ \hat{i}[(-6)(1)-(1)(-2)] - \hat{j}[(7)(1)-(1)(1)] + \hat{k}[(7)(-2)-(-6)(1)]. \]
  4. Step 4: Simplify each component: \[ \hat{i}(-6+2) - \hat{j}(7-1) + \hat{k}(-14+6) = -4\hat{i} - 6\hat{j} - 8\hat{k}. \] So \( \vec{b_1} \times \vec{b_2} = -4\hat{i} - 6\hat{j} - 8\hat{k} \).
  5. Step 5: Find the magnitude of the perpendicular vector: \[ |\vec{b_1} \times \vec{b_2}| = \sqrt{(-4)^2 + (-6)^2 + (-8)^2} = \sqrt{16 + 36 + 64} = \sqrt{116} = 2\sqrt{29}. \]
  6. Step 6: Take the dot product of the joining vector with the perpendicular vector: \[ (\vec{a_2} - \vec{a_1}) \cdot (\vec{b_1} \times \vec{b_2}) = (4)(-4) + (6)(-6) + (8)(-8) = -16 - 36 - 64 = -116. \]
  7. Step 7: Apply the shortest distance formula: \[ d = \left| \frac{-116}{2\sqrt{29}} \right| = \frac{116}{2\sqrt{29}} = \frac{58}{\sqrt{29}} = 2\sqrt{29}. \] Here we used \( \dfrac{58}{\sqrt{29}} = \dfrac{58\sqrt{29}}{29} = 2\sqrt{29} \).

Final Answer

The shortest distance between the two lines is \( 2\sqrt{29} \) units.

Common Mistake

A common mistake is to take the absolute value only of the numerator or to forget it entirely, giving a negative distance. Distance must always be non-negative, so the modulus is applied to the whole fraction. Another frequent error is mixing up the direction ratios with the point coordinates when reading the equations.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Extract a point and direction vector from each line. From \( \dfrac{x+1}{7} = \dfrac{y+1}{-6} = \dfrac{z+1}{1} \), the point is \( (-1, -1, -1) \) and the direction vector is \( \vec{b_1} = 7\hat{i} - 6\hat{j} + \hat{k} \). From \( \dfrac{x-3}{1} = \dfrac{y-5}{-2} = \dfrac{z-7}{1} \), the point is \( (3, 5, 7) \) and the direction vector is \( \vec{b_2} = \hat{i} - 2\hat{j} + \hat{k} \). — Reason: The symmetric form \( \frac{x - x_0}{l} = \frac{y - y_0}{m} = \frac{z - z_0}{n} \) directly reveals a point on the line and its direction ratios.
  2. Step 2: Write position vectors and compute the joining vector. We have \( \vec{a_1} = -\hat{i} - \hat{j} - \hat{k} \) and \( \vec{a_2} = 3\hat{i} + 5\hat{j} + 7\hat{k} \). Then: \[ \vec{a_2} - \vec{a_1} = (3-(-1))\hat{i} + (5-(-1))\hat{j} + (7-(-1))\hat{k} = 4\hat{i} + 6\hat{j} + 8\hat{k} \] — Reason: This vector connects a point on line 1 to a point on line 2, and its projection onto the common perpendicular gives the shortest distance.
  3. Step 3: Compute the cross product \( \vec{b_1} \times \vec{b_2} \) using the determinant method: \[ \vec{b_1} \times \vec{b_2} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 7 & -6 & 1 \\ 1 & -2 & 1 \end{vmatrix} \] Expanding: \( \hat{i}[(-6)(1) - (1)(-2)] - \hat{j}[(7)(1) - (1)(1)] + \hat{k}[(7)(-2) - (-6)(1)] \) gives \( \hat{i}(-6+2) - \hat{j}(7-1) + \hat{k}(-14+6) \), so \[ \vec{b_1} \times \vec{b_2} = -4\hat{i} - 6\hat{j} - 8\hat{k} \] — Reason: The cross product is perpendicular to both direction vectors, making it the direction of the common perpendicular along which the shortest distance is measured.
  4. Step 4: Find the magnitude of \( \vec{b_1} \times \vec{b_2} \): \[ |\vec{b_1} \times \vec{b_2}| = \sqrt{(-4)^2 + (-6)^2 + (-8)^2} = \sqrt{16 + 36 + 64} = \sqrt{116} = 2\sqrt{29} \] — Reason: This magnitude forms the denominator of the shortest distance formula and scales the projection correctly.
  5. Step 5: Compute the dot product \( (\vec{a_2} - \vec{a_1}) \cdot (\vec{b_1} \times \vec{b_2}) \): \[ (4\hat{i} + 6\hat{j} + 8\hat{k}) \cdot (-4\hat{i} - 6\hat{j} - 8\hat{k}) = (4)(-4) + (6)(-6) + (8)(-8) \] \[ = -16 - 36 - 64 = -116 \] — Reason: This dot product gives the signed projection of the joining vector onto the common perpendicular direction; the absolute value removes the sign.
  6. Step 6: Substitute into the formula to find the shortest distance: \[ d = \left| \frac{-116}{2\sqrt{29}} \right| = \frac{116}{2\sqrt{29}} = \frac{58}{\sqrt{29}} = \frac{58}{\sqrt{29}} \times \frac{\sqrt{29}}{\sqrt{29}} = \frac{58\sqrt{29}}{29} = 2\sqrt{29} \] — Reason: Rationalising the denominator gives the distance in simplest surd form.

Final Answer

The shortest distance between the two lines is \( 2\sqrt{29} \) units.

Common Mistake

One common mistake: Students often forget to take the absolute value of the numerator and may report a negative distance, or they confuse \( \vec{a_2} - \vec{a_1} \) with \( \vec{a_1} - \vec{a_2} \) — since the absolute value is applied, either order gives the same final distance, but forgetting the absolute value entirely can lead to a wrong sign.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Identify vectors: From the lines: \( \vec{a_1} = -\hat{i} - \hat{j} - \hat{k} \), \( \vec{b_1} = 7\hat{i} - 6\hat{j} + \hat{k} \); \( \vec{a_2} = 3\hat{i} + 5\hat{j} + 7\hat{k} \), \( \vec{b_2} = \hat{i} - 2\hat{j} + \hat{k} \); \( \vec{a_2} - \vec{a_1} = 4\hat{i} + 6\hat{j} + 8\hat{k} \)
  2. Step 2: Compute cross product: \[ \vec{b_1} \times \vec{b_2} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 7 & -6 & 1 \\ 1 & -2 & 1 \end{vmatrix} = (-6+2)\hat{i} - (7-1)\hat{j} + (-14+6)\hat{k} = -4\hat{i} - 6\hat{j} - 8\hat{k} \]
  3. Step 3: Compute dot product and magnitude: Dot product: \( (4)(-4) + (6)(-6) + (8)(-8) = -16 - 36 - 64 = -116 \); Magnitude: \( |\vec{b_1} \times \vec{b_2}| = \sqrt{16 + 36 + 64} = \sqrt{116} = 2\sqrt{29} \)
  4. Step 4: Apply formula: \[ d = \left| \frac{-116}{2\sqrt{29}} \right| = \frac{116}{2\sqrt{29}} = \frac{58}{\sqrt{29}} = \frac{58\sqrt{29}}{29} = 2\sqrt{29} \]

Answer: The shortest distance between the two lines is \( 2\sqrt{29} \) units.

➕ More Examples

More Examples

Example 1

Question: Find the shortest distance between the lines \[ \frac{x - 2}{3} = \frac{y + 1}{-4} = \frac{z - 2}{2} \] and \[ \frac{x - 1}{1} = \frac{y + 3}{2} = \frac{z - 4}{-1} \]

Solution: Step 1: Identify the points and direction vectors. From the first line, the point is \( A_1 = (2, -1, 2) \) and direction vector \( \vec{b_1} = 3\hat{i} - 4\hat{j} + 2\hat{k} \). From the second line, the point is \( A_2 = (1, -3, 4) \) and direction vector \( \vec{b_2} = \hat{i} + 2\hat{j} - \hat{k} \). Step 2: Compute \( \vec{a_2} - \vec{a_1} \). \[ \vec{a_2} - \vec{a_1} = (1 - 2)\hat{i} + (-3 - (-1))\hat{j} + (4 - 2)\hat{k} = -\hat{i} - 2\hat{j} + 2\hat{k} \] Step 3: Compute \( \vec{b_1} \times \vec{b_2} \). \[ \vec{b_1} \times \vec{b_2} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 3 & -4 & 2 \\ 1 & 2 & -1 \end{vmatrix} \] Expanding the determinant: \( \hat{i} \) component: \( (-4)(-1) - (2)(2) = 4 - 4 = 0 \) \( \hat{j} \) component: \( -[(3)(-1) - (2)(1)] = -[-3 - 2] = 5 \) \( \hat{k} \) component: \( (3)(2) - (-4)(1) = 6 + 4 = 10 \) So \( \vec{b_1} \times \vec{b_2} = 0\hat{i} + 5\hat{j} + 10\hat{k} \). Step 4: Compute \( |\vec{b_1} \times \vec{b_2}| \). \[ |\vec{b_1} \times \vec{b_2}| = \sqrt{0^2 + 5^2 + 10^2} = \sqrt{0 + 25 + 100} = \sqrt{125} = 5\sqrt{5} \] Step 5: Compute the scalar triple product \( (\vec{a_2} - \vec{a_1}) \cdot (\vec{b_1} \times \vec{b_2}) \). \[ (-\hat{i} - 2\hat{j} + 2\hat{k}) \cdot (0\hat{i} + 5\hat{j} + 10\hat{k}) = (-1)(0) + (-2)(5) + (2)(10) = 0 - 10 + 20 = 10 \] Step 6: Apply the shortest distance formula. \[ d = \frac{|10|}{5\sqrt{5}} = \frac{10}{5\sqrt{5}} = \frac{2}{\sqrt{5}} = \frac{2\sqrt{5}}{5} \]

Answer: The shortest distance between the two lines is \( \dfrac{2\sqrt{5}}{5} \) units.

Example 2

Question: Find the shortest distance between the lines \[ \frac{x + 3}{-1} = \frac{y - 1}{2} = \frac{z + 5}{3} \] and \[ \frac{x + 1}{3} = \frac{y - 2}{1} = \frac{z + 4}{-2} \]

Solution: Step 1: Identify the points and direction vectors. From the first line, the point is \( A_1 = (-3, 1, -5) \) and direction vector \( \vec{b_1} = -\hat{i} + 2\hat{j} + 3\hat{k} \). From the second line, the point is \( A_2 = (-1, 2, -4) \) and direction vector \( \vec{b_2} = 3\hat{i} + \hat{j} - 2\hat{k} \). Step 2: Compute \( \vec{a_2} - \vec{a_1} \). \[ \vec{a_2} - \vec{a_1} = (-1-(-3))\hat{i} + (2-1)\hat{j} + (-4-(-5))\hat{k} = 2\hat{i} + \hat{j} + \hat{k} \] Step 3: Compute \( \vec{b_1} \times \vec{b_2} \). \[ \vec{b_1} \times \vec{b_2} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ -1 & 2 & 3 \\ 3 & 1 & -2 \end{vmatrix} \] Expanding the determinant: \( \hat{i} \) component: \( (2)(-2) - (3)(1) = -4 - 3 = -7 \) \( \hat{j} \) component: \( -[(-1)(-2) - (3)(3)] = -[2 - 9] = -(-7) = 7 \) \( \hat{k} \) component: \( (-1)(1) - (2)(3) = -1 - 6 = -7 \) So \( \vec{b_1} \times \vec{b_2} = -7\hat{i} + 7\hat{j} - 7\hat{k} \). Step 4: Compute \( |\vec{b_1} \times \vec{b_2}| \). \[ |\vec{b_1} \times \vec{b_2}| = \sqrt{(-7)^2 + 7^2 + (-7)^2} = \sqrt{49 + 49 + 49} = \sqrt{147} = 7\sqrt{3} \] Step 5: Compute the scalar triple product \( (\vec{a_2} - \vec{a_1}) \cdot (\vec{b_1} \times \vec{b_2}) \). \[ (2\hat{i} + \hat{j} + \hat{k}) \cdot (-7\hat{i} + 7\hat{j} - 7\hat{k}) = (2)(-7) + (1)(7) + (1)(-7) = -14 + 7 - 7 = -14 \] Step 6: Apply the shortest distance formula. \[ d = \frac{|-14|}{7\sqrt{3}} = \frac{14}{7\sqrt{3}} = \frac{2}{\sqrt{3}} = \frac{2\sqrt{3}}{3} \]

Answer: The shortest distance between the two lines is \( \dfrac{2\sqrt{3}}{3} \) units.

🎯 Try a Similar Question

Try a Similar Question

Question: Find the shortest distance between the lines \(\dfrac{x-1}{2} = \dfrac{y-2}{3} = \dfrac{z-3}{4}\) and \(\dfrac{x-2}{3} = \dfrac{y-4}{4} = \dfrac{z-5}{5}\).

Solution

  1. Step 1: Identify the position vectors and direction vectors: From the given lines, we identify: Line 1 passes through \(A_1 = (1, 2, 3)\) with direction vector \(\vec{b_1} = 2\hat{i} + 3\hat{j} + 4\hat{k}\). Line 2 passes through \(A_2 = (2, 4, 5)\) with direction vector \(\vec{b_2} = 3\hat{i} + 4\hat{j} + 5\hat{k}\).
  2. Step 2: Compute the vector joining the two points: The vector joining \(A_1\) to \(A_2\) is: \[\vec{a_2} - \vec{a_1} = (2-1)\hat{i} + (4-2)\hat{j} + (5-3)\hat{k} = \hat{i} + 2\hat{j} + 2\hat{k}\]
  3. Step 3: Compute the cross product of the direction vectors: We compute \(\vec{b_1} \times \vec{b_2}\): \[\vec{b_1} \times \vec{b_2} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 2 & 3 & 4 \\ 3 & 4 & 5 \end{vmatrix}\] Expanding: \[\vec{b_1} \times \vec{b_2} = \hat{i}(3 \cdot 5 - 4 \cdot 4) - \hat{j}(2 \cdot 5 - 4 \cdot 3) + \hat{k}(2 \cdot 4 - 3 \cdot 3)\] \[= \hat{i}(15 - 16) - \hat{j}(10 - 12) + \hat{k}(8 - 9)\] \[= -\hat{i} + 2\hat{j} - \hat{k}\]
  4. Step 4: Compute the magnitude of the cross product: \[|\vec{b_1} \times \vec{b_2}| = \sqrt{(-1)^2 + (2)^2 + (-1)^2} = \sqrt{1 + 4 + 1} = \sqrt{6}\]
  5. Step 5: Compute the dot product of the joining vector with the cross product: \[(\vec{a_2} - \vec{a_1}) \cdot (\vec{b_1} \times \vec{b_2}) = (\hat{i} + 2\hat{j} + 2\hat{k}) \cdot (-\hat{i} + 2\hat{j} - \hat{k})\] \[= (1)(-1) + (2)(2) + (2)(-1) = -1 + 4 - 2 = 1\]
  6. Step 6: Apply the shortest distance formula: \[d = \frac{|(\vec{a_2} - \vec{a_1}) \cdot (\vec{b_1} \times \vec{b_2})|}{|\vec{b_1} \times \vec{b_2}|} = \frac{|1|}{\sqrt{6}} = \frac{1}{\sqrt{6}}\] Rationalising: \[d = \frac{1}{\sqrt{6}} \times \frac{\sqrt{6}}{\sqrt{6}} = \frac{\sqrt{6}}{6}\]

Answer: The shortest distance between the two lines is \(\dfrac{1}{\sqrt{6}} = \dfrac{\sqrt{6}}{6}\) units.

Everything you get with Solver7

More questions in Three Dimensional Geometry