SOLVER7 Study. Nothing Else.
Chapter 11 Examples Q10

Find the distance between the lines \(l_1\) and \(l_2\) given by \(\overrightarrow{r}=\overset{\frown}{i}+2\overset{\frown}{j}-4\overset{\frown}{k}+\lambda(2\overset{\frown}{i}+3\overset{\frown}{j}+6\overset{\frown}{k})\)
and \(\overrightarrow{r}=3\overset{\frown}{i}+3\overset{\frown}{j}-5\overset{\frown}{k}+\mu(2\overset{\frown}{i}+3\overset{\frown}{j}+6\overset{\frown}{k})\)

CBSE Class 12 Maths · Three Dimensional Geometry

Solution

👶 Simple Explanation

Simple Explanation

Imagine two train tracks running perfectly parallel — they never meet. Now pick any point on one track and drop a perpendicular to the other track. That shortest gap is the distance between the tracks. In maths, two lines can point in the same direction but sit at different spots in space. We find the straight-line gap between them using a special rule involving a cross product. The answer tells us exactly how far apart the two lines are.

Answer: The distance between the two parallel lines is \[ d = \frac{\sqrt{293}}{7} \text{ units} \approx 2.446 \text{ units}. \]

📖 Distance Between Two Parallel Lines

Detailed Explanation

A line in vector form is written as \( \vec{r} = \vec{a} + \lambda \vec{b} \), where \( \vec{a} \) is a point on the line (position vector) and \( \vec{b} \) is the direction vector. Two lines are parallel if their direction vectors are the same or scalar multiples of each other. Here, both lines have the direction vector \( 2\hat{i} + 3\hat{j} + 6\hat{k} \), so the lines are parallel. For parallel lines the usual shortest-distance formula for skew lines does not apply directly; instead we use the special formula for the distance between two parallel lines, which is based on the perpendicular distance from a point on one line to the other line.

Formula Used

For two parallel lines \( \vec{r} = \vec{a_1} + \lambda \vec{b} \) and \( \vec{r} = \vec{a_2} + \mu \vec{b} \), the distance is \[ d = \frac{|\vec{b} \times (\vec{a_2} - \vec{a_1})|}{|\vec{b}|} \]

Solution

  1. Step 1: Identify the position vectors and the common direction vector. From line \( l_1 \): \( \vec{a_1} = \hat{i} + 2\hat{j} - 4\hat{k} \). From line \( l_2 \): \( \vec{a_2} = 3\hat{i} + 3\hat{j} - 5\hat{k} \). Both lines share the same direction vector \( \vec{b} = 2\hat{i} + 3\hat{j} + 6\hat{k} \), confirming the lines are parallel.
  2. Step 2: Find the vector joining the two given points. Compute \( \vec{a_2} - \vec{a_1} \): \[ \vec{a_2} - \vec{a_1} = (3-1)\hat{i} + (3-2)\hat{j} + (-5-(-4))\hat{k} \] \[ \vec{a_2} - \vec{a_1} = 2\hat{i} + \hat{j} - \hat{k} \]
  3. Step 3: Compute the cross product \( \vec{b} \times (\vec{a_2} - \vec{a_1}) \) using the determinant form. \[ \vec{b} \times (\vec{a_2} - \vec{a_1}) = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 2 & 3 & 6 \\ 2 & 1 & -1 \end{vmatrix} \]
  4. Step 4: Expand the determinant term by term. \[ \hat{i}\big((3)(-1) - (6)(1)\big) - \hat{j}\big((2)(-1) - (6)(2)\big) + \hat{k}\big((2)(1) - (3)(2)\big) \] \[ = \hat{i}(-3 - 6) - \hat{j}(-2 - 12) + \hat{k}(2 - 6) \] \[ = -9\hat{i} + 14\hat{j} - 4\hat{k} \]
  5. Step 5: Find the magnitude of the cross product. \[ |\vec{b} \times (\vec{a_2} - \vec{a_1})| = \sqrt{(-9)^2 + (14)^2 + (-4)^2} \] \[ = \sqrt{81 + 196 + 16} = \sqrt{293} \]
  6. Step 6: Find the magnitude of the direction vector \( \vec{b} \). \[ |\vec{b}| = \sqrt{2^2 + 3^2 + 6^2} = \sqrt{4 + 9 + 36} = \sqrt{49} = 7 \]
  7. Step 7: Substitute into the distance formula. \[ d = \frac{|\vec{b} \times (\vec{a_2} - \vec{a_1})|}{|\vec{b}|} = \frac{\sqrt{293}}{7} \]

Final Answer

The distance between the two parallel lines is \[ d = \frac{\sqrt{293}}{7} \text{ units} \approx 2.446 \text{ units}. \]

Common Mistake

A common mistake is using the skew-line formula \( \frac{|(\vec{b_1} \times \vec{b_2}) \cdot (\vec{a_2} - \vec{a_1})|}{|\vec{b_1} \times \vec{b_2}|} \). Since the lines are parallel, \( \vec{b_1} \times \vec{b_2} = \vec{0} \), which makes that formula undefined. You must recognise the lines are parallel and use \( d = \frac{|\vec{b} \times (\vec{a_2} - \vec{a_1})|}{|\vec{b}|} \) instead.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Read off the position vectors and the direction vector from each line. From line \( l_1 \): the position vector is \( \vec{a_1} = \hat{i} + 2\hat{j} - 4\hat{k} \). From line \( l_2 \): the position vector is \( \vec{a_2} = 3\hat{i} + 3\hat{j} - 5\hat{k} \). Both lines share the direction vector \( \vec{b} = 2\hat{i} + 3\hat{j} + 6\hat{k} \). — Reason: We need to identify all three vectors before applying the parallel-line distance formula.
  2. Step 2: Compute the vector joining the two points, \( \vec{a_2} - \vec{a_1} \): \[ \vec{a_2} - \vec{a_1} = (3-1)\hat{i} + (3-2)\hat{j} + (-5+4)\hat{k} = 2\hat{i} + \hat{j} - \hat{k} \] — Reason: This displacement vector connects one point on \( l_1 \) to one point on \( l_2 \), and it feeds directly into the cross-product calculation.
  3. Step 3: Set up the cross product \( \vec{b} \times (\vec{a_2} - \vec{a_1}) \) using the determinant form: \[ \vec{b} \times (\vec{a_2} - \vec{a_1}) = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 2 & 3 & 6 \\ 2 & 1 & -1 \end{vmatrix} \] — Reason: The cross product gives a vector perpendicular to both \( \vec{b} \) and the joining vector, whose magnitude equals the area of the parallelogram spanned by them, which is exactly what the distance formula needs.
  4. Step 4: Expand the determinant row by row. The \( \hat{i} \) component is \( (3 \cdot (-1) - 6 \cdot 1) = -3 - 6 = -9 \). The \( \hat{j} \) component is \( -(2 \cdot (-1) - 6 \cdot 2) = -(-2 - 12) = 14 \). The \( \hat{k} \) component is \( (2 \cdot 1 - 3 \cdot 2) = 2 - 6 = -4 \). Therefore \[ \vec{b} \times (\vec{a_2} - \vec{a_1}) = -9\hat{i} + 14\hat{j} - 4\hat{k} \] — Reason: Carefully expanding each cofactor prevents the common sign error in the \( \hat{j} \) term.
  5. Step 5: Find the magnitude of the cross product: \[ |\vec{b} \times (\vec{a_2} - \vec{a_1})| = \sqrt{(-9)^2 + 14^2 + (-4)^2} = \sqrt{81 + 196 + 16} = \sqrt{293} \] — Reason: The numerator of the distance formula is this magnitude, so we compute it before dividing.
  6. Step 6: Find the magnitude of the direction vector \( \vec{b} \): \[ |\vec{b}| = \sqrt{2^2 + 3^2 + 6^2} = \sqrt{4 + 9 + 36} = \sqrt{49} = 7 \] — Reason: This forms the denominator of the distance formula.
  7. Step 7: Substitute both magnitudes into the parallel-line distance formula: \[ d = \frac{|\vec{b} \times (\vec{a_2} - \vec{a_1})|}{|\vec{b}|} = \frac{\sqrt{293}}{7} \] Evaluating numerically, \( \sqrt{293} \approx 17.117 \), so \( d \approx \frac{17.117}{7} \approx 2.446 \) units. — Reason: Dividing the cross-product magnitude by \( |\vec{b}| \) converts the parallelogram area into the perpendicular height, which is the required shortest distance.

Final Answer

The distance between the two parallel lines is \[ d = \frac{\sqrt{293}}{7} \text{ units} \approx 2.446 \text{ units}. \]

Common Mistake

One common mistake: When expanding the determinant for the cross product, students forget to negate the \( \hat{j} \) cofactor, writing \( (2 \cdot (-1) - 6 \cdot 2) \) instead of \( -(2 \cdot (-1) - 6 \cdot 2) \), which gives a wrong \( \hat{j} \) component and an incorrect final distance.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Given: \( \vec{a_1} = \hat{i} + 2\hat{j} - 4\hat{k} \), \( \vec{a_2} = 3\hat{i} + 3\hat{j} - 5\hat{k} \), \( \vec{b} = 2\hat{i} + 3\hat{j} + 6\hat{k} \). \[ \vec{a_2} - \vec{a_1} = 2\hat{i} + \hat{j} - \hat{k} \]
  2. Step 2: \[ \vec{b} \times (\vec{a_2} - \vec{a_1}) = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 2 & 3 & 6 \\ 2 & 1 & -1 \end{vmatrix} = \hat{i}(3 \cdot (-1) - 6 \cdot 1) - \hat{j}(2 \cdot (-1) - 6 \cdot 2) + \hat{k}(2 \cdot 1 - 3 \cdot 2) \] \[ = -9\hat{i} + 14\hat{j} - 4\hat{k} \]
  3. Step 3: \[ |\vec{b} \times (\vec{a_2} - \vec{a_1})| = \sqrt{(-9)^2 + 14^2 + (-4)^2} = \sqrt{81 + 196 + 16} = \sqrt{293} \] \[ |\vec{b}| = \sqrt{4 + 9 + 36} = \sqrt{49} = 7 \]
  4. Step 4: \[ d = \frac{\sqrt{293}}{7} \]

Answer: The distance between the two parallel lines is \[ d = \frac{\sqrt{293}}{7} \text{ units} \approx 2.446 \text{ units}. \]

➕ More Examples

More Examples

Example 1

Question: Find the distance between the parallel lines \(l_1\) and \(l_2\) given by \[\vec{r} = 2\hat{i} - \hat{j} + 3\hat{k} + \lambda(\hat{i} + 2\hat{j} - 2\hat{k})\] and \[\vec{r} = 4\hat{i} + 3\hat{j} - \hat{k} + \mu(\hat{i} + 2\hat{j} - 2\hat{k})\]

Solution: Both lines have the same direction vector, confirming they are parallel. Identify the vectors: \[\vec{a_1} = 2\hat{i} - \hat{j} + 3\hat{k}, \quad \vec{a_2} = 4\hat{i} + 3\hat{j} - \hat{k}, \quad \vec{b} = \hat{i} + 2\hat{j} - 2\hat{k}\] Compute \(\vec{a_2} - \vec{a_1}\): \[\vec{a_2} - \vec{a_1} = (4-2)\hat{i} + (3-(-1))\hat{j} + (-1-3)\hat{k} = 2\hat{i} + 4\hat{j} - 4\hat{k}\] Compute \((\vec{a_2} - \vec{a_1}) \times \vec{b}\): \[(\vec{a_2} - \vec{a_1}) \times \vec{b} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 2 & 4 & -4 \\ 1 & 2 & -2 \end{vmatrix}\] Expanding along the first row: \[= \hat{i}\left[(4)(-2) - (-4)(2)\right] - \hat{j}\left[(2)(-2) - (-4)(1)\right] + \hat{k}\left[(2)(2) - (4)(1)\right]\] \[= \hat{i}(-8 + 8) - \hat{j}(-4 + 4) + \hat{k}(4 - 4)\] \[= 0\hat{i} - 0\hat{j} + 0\hat{k} = \vec{0}\] Since the cross product is \(\vec{0}\), observe that \(\vec{a_2} - \vec{a_1} = 2\hat{i} + 4\hat{j} - 4\hat{k} = 2(\hat{i} + 2\hat{j} - 2\hat{k}) = 2\vec{b}\). This means the two points both lie on the same line — so these two equations actually represent the SAME line. The distance is 0. To create a proper distinct example, instead let \(\vec{a_2} = 5\hat{i} + \hat{j} + \hat{k}\). So recompute with \(\vec{a_2} = 5\hat{i} + \hat{j} + \hat{k}\): \[\vec{a_2} - \vec{a_1} = (5-2)\hat{i} + (1-(-1))\hat{j} + (1-3)\hat{k} = 3\hat{i} + 2\hat{j} - 2\hat{k}\] Compute \((\vec{a_2} - \vec{a_1}) \times \vec{b}\): \[(3\hat{i} + 2\hat{j} - 2\hat{k}) \times (\hat{i} + 2\hat{j} - 2\hat{k}) = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 3 & 2 & -2 \\ 1 & 2 & -2 \end{vmatrix}\] Expanding: \[= \hat{i}\left[(2)(-2) - (-2)(2)\right] - \hat{j}\left[(3)(-2) - (-2)(1)\right] + \hat{k}\left[(3)(2) - (2)(1)\right]\] \[= \hat{i}(-4 + 4) - \hat{j}(-6 + 2) + \hat{k}(6 - 2)\] \[= 0\hat{i} + 4\hat{j} + 4\hat{k}\] Magnitude of cross product: \[|(\vec{a_2} - \vec{a_1}) \times \vec{b}| = \sqrt{0^2 + 4^2 + 4^2} = \sqrt{0 + 16 + 16} = \sqrt{32} = 4\sqrt{2}\] Magnitude of direction vector: \[|\vec{b}| = \sqrt{1^2 + 2^2 + (-2)^2} = \sqrt{1 + 4 + 4} = \sqrt{9} = 3\] Distance: \[d = \frac{4\sqrt{2}}{3}\]

Answer: \(\dfrac{4\sqrt{2}}{3}\) units

Example 2

Question: Find the distance between the lines \(l_1\) and \(l_2\) given by \[\vec{r} = \hat{i} + 3\hat{j} - \hat{k} + \lambda(3\hat{i} + 4\hat{j} + 0\hat{k})\] and \[\vec{r} = -2\hat{i} + \hat{j} + 2\hat{k} + \mu(3\hat{i} + 4\hat{j} + 0\hat{k})\]

Solution: Both lines have the same direction vector \(\vec{b} = 3\hat{i} + 4\hat{j}\), so they are parallel. Identify: \[\vec{a_1} = \hat{i} + 3\hat{j} - \hat{k}, \quad \vec{a_2} = -2\hat{i} + \hat{j} + 2\hat{k}, \quad \vec{b} = 3\hat{i} + 4\hat{j} + 0\hat{k}\] Compute \(\vec{a_2} - \vec{a_1}\): \[\vec{a_2} - \vec{a_1} = (-2-1)\hat{i} + (1-3)\hat{j} + (2-(-1))\hat{k} = -3\hat{i} - 2\hat{j} + 3\hat{k}\] Compute \((\vec{a_2} - \vec{a_1}) \times \vec{b}\): \[(-3\hat{i} - 2\hat{j} + 3\hat{k}) \times (3\hat{i} + 4\hat{j} + 0\hat{k}) = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ -3 & -2 & 3 \\ 3 & 4 & 0 \end{vmatrix}\] Expanding along the first row: \[= \hat{i}\left[(-2)(0) - (3)(4)\right] - \hat{j}\left[(-3)(0) - (3)(3)\right] + \hat{k}\left[(-3)(4) - (-2)(3)\right]\] \[= \hat{i}(0 - 12) - \hat{j}(0 - 9) + \hat{k}(-12 + 6)\] \[= -12\hat{i} + 9\hat{j} - 6\hat{k}\] Magnitude of cross product: \[|(-12\hat{i} + 9\hat{j} - 6\hat{k})| = \sqrt{(-12)^2 + 9^2 + (-6)^2} = \sqrt{144 + 81 + 36} = \sqrt{261} = 3\sqrt{29}\] Magnitude of direction vector: \[|\vec{b}| = \sqrt{3^2 + 4^2 + 0^2} = \sqrt{9 + 16} = \sqrt{25} = 5\] Distance between the lines: \[d = \frac{|(\vec{a_2} - \vec{a_1}) \times \vec{b}|}{|\vec{b}|} = \frac{3\sqrt{29}}{5}\]

Answer: \(\dfrac{3\sqrt{29}}{5}\) units

🎯 Try a Similar Question

Try a Similar Question

Question: Find the distance between the parallel lines \(l_1\) and \(l_2\) given by \[\vec{r} = 2\hat{i} + 3\hat{j} - \hat{k} + \lambda(\hat{i} + 2\hat{j} + 2\hat{k})\] and \[\vec{r} = 4\hat{i} + \hat{j} + 3\hat{k} + \mu(\hat{i} + 2\hat{j} + 2\hat{k})\]

Solution

  1. Step 1: Identify the vectors: From the two lines, identify: \(\vec{a_1} = 2\hat{i} + 3\hat{j} - \hat{k}\), \(\vec{a_2} = 4\hat{i} + \hat{j} + 3\hat{k}\), and the common direction vector \(\vec{b} = \hat{i} + 2\hat{j} + 2\hat{k}\). Since both lines share the same direction vector \(\vec{b}\), the lines are indeed parallel.
  2. Step 2: Compute the vector joining the two points: Find \(\vec{a_2} - \vec{a_1}\): \[\vec{a_2} - \vec{a_1} = (4 - 2)\hat{i} + (1 - 3)\hat{j} + (3 - (-1))\hat{k} = 2\hat{i} - 2\hat{j} + 4\hat{k}\]
  3. Step 3: Compute the cross product: Compute \((\vec{a_2} - \vec{a_1}) \times \vec{b}\) where \(\vec{a_2} - \vec{a_1} = 2\hat{i} - 2\hat{j} + 4\hat{k}\) and \(\vec{b} = \hat{i} + 2\hat{j} + 2\hat{k}\): \[\left(\vec{a_2} - \vec{a_1}\right) \times \vec{b} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 2 & -2 & 4 \\ 1 & 2 & 2 \end{vmatrix}\] Expanding: \[= \hat{i}\left[(-2)(2) - (4)(2)\right] - \hat{j}\left[(2)(2) - (4)(1)\right] + \hat{k}\left[(2)(2) - (-2)(1)\right]\] \[= \hat{i}(-4 - 8) - \hat{j}(4 - 4) + \hat{k}(4 + 2)\] \[= -12\hat{i} - 0\hat{j} + 6\hat{k}\] \[= -12\hat{i} + 6\hat{k}\]
  4. Step 4: Find the magnitude of the cross product: \[|( \vec{a_2} - \vec{a_1}) \times \vec{b}| = \sqrt{(-12)^2 + 0^2 + 6^2} = \sqrt{144 + 0 + 36} = \sqrt{180} = 6\sqrt{5}\]
  5. Step 5: Find the magnitude of the direction vector: \[|\vec{b}| = \sqrt{1^2 + 2^2 + 2^2} = \sqrt{1 + 4 + 4} = \sqrt{9} = 3\]
  6. Step 6: Apply the distance formula: The distance between the two parallel lines is: \[d = \frac{|(\vec{a_2} - \vec{a_1}) \times \vec{b}|}{|\vec{b}|} = \frac{6\sqrt{5}}{3} = 2\sqrt{5}\] Hence, the distance between the two parallel lines is \(2\sqrt{5}\) units.

Answer: The distance between the two parallel lines is \[d = 2\sqrt{5} \text{ units} \approx 4.47 \text{ units.}\]

Everything you get with Solver7

More questions in Three Dimensional Geometry