SOLVER7 Study. Nothing Else.
2026 Board Paper Q35

Find the shortest distance between the lines :
\(\overrightarrow{r}=(\overset{\frown}{i}+2\overset{\frown}{j}+3\overset{\frown}{k})+\lambda(\overset{\frown}{i}-3\overset{\frown}{j}+2\overset{\frown}{k}),\) and
\(\overrightarrow{r}=(4\overset{\frown}{i}+5\overset{\frown}{j}+6\overset{\frown}{k})+\mu(2\overset{\frown}{i}+3\overset{\frown}{j}+\overset{\frown}{k}).\)

CBSE Class 12 Maths · Three Dimensional Geometry

Solution

👶 Simple Explanation

Simple Explanation

Imagine two train tracks floating in the air, neither crossing nor running side by side. The shortest gap between them is like a tiny bridge connecting them at the closest points. We find that bridge length using the directions of both tracks and where they start. The math tells us exactly how far apart they are at their nearest points. For these two lines, that closest distance works out to a little less than one unit.

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

📖 Shortest Distance Between Two Skew Lines

Detailed Explanation

Two lines in space may intersect, be parallel, or be skew (neither parallel nor intersecting). For two lines written as \( \vec{r} = \vec{a_1} + \lambda \vec{b_1} \) and \( \vec{r} = \vec{a_2} + \mu \vec{b_2} \), the shortest distance is measured along the common perpendicular. The vector \( \vec{b_1} \times \vec{b_2} \) is perpendicular to both lines, so it points along this common perpendicular. Projecting the vector joining the two given points \( (\vec{a_2} - \vec{a_1}) \) onto this perpendicular direction gives the shortest distance.

Formula Used

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

Solution

  1. Step 1: Identify the position vectors and direction vectors from each line. From the first line, the point is \( \vec{a_1} = \hat{i} + 2\hat{j} + 3\hat{k} \) and the direction is \( \vec{b_1} = \hat{i} - 3\hat{j} + 2\hat{k} \). From the second line, the point is \( \vec{a_2} = 4\hat{i} + 5\hat{j} + 6\hat{k} \) and the direction is \( \vec{b_2} = 2\hat{i} + 3\hat{j} + \hat{k} \).
  2. Step 2: Find the vector joining the two given points. \[ \vec{a_2} - \vec{a_1} = (4-1)\hat{i} + (5-2)\hat{j} + (6-3)\hat{k} \] \[ \vec{a_2} - \vec{a_1} = 3\hat{i} + 3\hat{j} + 3\hat{k} \]
  3. Step 3: Compute the cross product \( \vec{b_1} \times \vec{b_2} \), which is perpendicular to both lines. \[ \vec{b_1} \times \vec{b_2} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 1 & -3 & 2 \\ 2 & 3 & 1 \end{vmatrix} \] Expanding this determinant: \[ \hat{i}((-3)(1)-(2)(3)) - \hat{j}((1)(1)-(2)(2)) + \hat{k}((1)(3)-(-3)(2)) \] \[ = \hat{i}(-3-6) - \hat{j}(1-4) + \hat{k}(3+6) \] \[ = -9\hat{i} + 3\hat{j} + 9\hat{k} \]
  4. Step 4: Find the magnitude of the cross product, which is needed in the denominator. \[ |\vec{b_1} \times \vec{b_2}| = \sqrt{(-9)^2 + 3^2 + 9^2} \] \[ = \sqrt{81 + 9 + 81} = \sqrt{171} \] \[ = \sqrt{9 \times 19} = 3\sqrt{19} \]
  5. Step 5: Compute the dot product \( (\vec{b_1} \times \vec{b_2}) \cdot (\vec{a_2} - \vec{a_1}) \). \[ (-9)(3) + (3)(3) + (9)(3) \] \[ = -27 + 9 + 27 = 9 \]
  6. Step 6: Substitute into the shortest distance formula and simplify. \[ d = \left| \frac{9}{3\sqrt{19}} \right| = \frac{3}{\sqrt{19}} \] Rationalising the denominator: \[ d = \frac{3}{\sqrt{19}} \times \frac{\sqrt{19}}{\sqrt{19}} = \frac{3\sqrt{19}}{19} \]

Final Answer

The shortest distance between the two lines is \( d = \dfrac{3}{\sqrt{19}} = \dfrac{3\sqrt{19}}{19} \) units.

Common Mistake

A common mistake is to forget the modulus (absolute value) in the numerator, giving a negative distance, or to use \( \vec{a_1} - \vec{a_2} \) and \( \vec{a_2} - \vec{a_1} \) inconsistently. Distance is always non-negative, so the absolute value must be applied. Students also often make errors while expanding the cross-product determinant, especially with the sign of the middle term.

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Extract the position vectors and direction vectors from each line. From the first line: position vector \( \vec{a_1} = \hat{i} + 2\hat{j} + 3\hat{k} \) and direction vector \( \vec{b_1} = \hat{i} - 3\hat{j} + 2\hat{k} \). From the second line: position vector \( \vec{a_2} = 4\hat{i} + 5\hat{j} + 6\hat{k} \) and direction vector \( \vec{b_2} = 2\hat{i} + 3\hat{j} + \hat{k} \). — Reason: The formula needs one point and one direction from each line, so we read them off directly from the vector form of the equations.
  2. Step 2: Compute the vector joining the two base points: \[ \vec{a_2} - \vec{a_1} = (4-1)\hat{i} + (5-2)\hat{j} + (6-3)\hat{k} = 3\hat{i} + 3\hat{j} + 3\hat{k} \] — Reason: The shortest distance formula requires the displacement vector from a point on line 1 to a point on line 2, so we subtract the two position vectors component-wise.
  3. Step 3: Calculate 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} \\ 1 & -3 & 2 \\ 2 & 3 & 1 \end{vmatrix} \] Expanding along the first row: the \( \hat{i} \) component is \( (-3)(1) - (2)(3) = -3 - 6 = -9 \), the \( \hat{j} \) component is \( -[(1)(1) - (2)(2)] = -[1 - 4] = 3 \), and the \( \hat{k} \) component is \( (1)(3) - (-3)(2) = 3 + 6 = 9 \). So \[ \vec{b_1} \times \vec{b_2} = -9\hat{i} + 3\hat{j} + 9\hat{k} \] — Reason: The cross product gives a vector perpendicular to both lines, which points exactly along the common perpendicular — the direction we want to measure the shortest distance in.
  4. Step 4: Find the magnitude of the cross product: \[ |\vec{b_1} \times \vec{b_2}| = \sqrt{(-9)^2 + (3)^2 + (9)^2} = \sqrt{81 + 9 + 81} = \sqrt{171} \] Simplify: \[ \sqrt{171} = \sqrt{9 \times 19} = 3\sqrt{19} \] — Reason: We need the magnitude to normalise the cross product vector so that the projection gives an actual distance rather than a scaled value.
  5. Step 5: Compute the dot product of \( \vec{b_1} \times \vec{b_2} \) with \( \vec{a_2} - \vec{a_1} \): \[ (-9\hat{i} + 3\hat{j} + 9\hat{k}) \cdot (3\hat{i} + 3\hat{j} + 3\hat{k}) = (-9)(3) + (3)(3) + (9)(3) \] \[ = -27 + 9 + 27 = 9 \] — Reason: The dot product projects the joining vector onto the perpendicular direction, measuring how far apart the lines are along that common perpendicular.
  6. Step 6: Substitute into the shortest distance formula: \[ d = \left| \frac{(\vec{b_1} \times \vec{b_2}) \cdot (\vec{a_2} - \vec{a_1})}{|\vec{b_1} \times \vec{b_2}|} \right| = \left| \frac{9}{3\sqrt{19}} \right| = \frac{3}{\sqrt{19}} \] Rationalising the denominator: \[ d = \frac{3}{\sqrt{19}} \times \frac{\sqrt{19}}{\sqrt{19}} = \frac{3\sqrt{19}}{19} \] — Reason: Dividing the dot product by the magnitude gives the scalar projection, which is exactly the shortest distance. We rationalise the denominator to express the answer in standard simplified form.

Final Answer

The shortest distance between the two lines is \( d = \dfrac{3}{\sqrt{19}} = \dfrac{3\sqrt{19}}{19} \) units.

Common Mistake

One common mistake: When expanding the determinant for the cross product, students often forget to negate the \( \hat{j} \) component (it picks up a minus sign from cofactor expansion), leading to a sign error that changes the final answer.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Given: \( \vec{a_1} = \hat{i} + 2\hat{j} + 3\hat{k} \), \( \vec{b_1} = \hat{i} - 3\hat{j} + 2\hat{k} \), \( \vec{a_2} = 4\hat{i} + 5\hat{j} + 6\hat{k} \), \( \vec{b_2} = 2\hat{i} + 3\hat{j} + \hat{k} \); so \( \vec{a_2} - \vec{a_1} = 3\hat{i} + 3\hat{j} + 3\hat{k} \).
  2. Step 2: Compute \( \vec{b_1} \times \vec{b_2} \): \[ \vec{b_1} \times \vec{b_2} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 1 & -3 & 2 \\ 2 & 3 & 1 \end{vmatrix} = \hat{i}((-3)(1)-(2)(3)) - \hat{j}((1)(1)-(2)(2)) + \hat{k}((1)(3)-(-3)(2)) \] \[ = \hat{i}(-3-6) - \hat{j}(1-4) + \hat{k}(3+6) = -9\hat{i} + 3\hat{j} + 9\hat{k} \]
  3. Step 3: \( |\vec{b_1} \times \vec{b_2}| = \sqrt{(-9)^2 + 3^2 + 9^2} = \sqrt{81 + 9 + 81} = \sqrt{171} = 3\sqrt{19} \); dot product: \( (-9\hat{i} + 3\hat{j} + 9\hat{k}) \cdot (3\hat{i} + 3\hat{j} + 3\hat{k}) = -27 + 9 + 27 = 9 \).
  4. Step 4: \[ d = \left| \frac{9}{3\sqrt{19}} \right| = \frac{3}{\sqrt{19}} = \frac{3\sqrt{19}}{19} \]

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

➕ More Examples

More Examples

Example 1

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

Solution: We identify the vectors from the two lines. Here \(\vec{a_1} = 2\hat{i} + 3\hat{j} + \hat{k}\), \(\vec{b_1} = \hat{i} - \hat{j} + 3\hat{k}\), \(\vec{a_2} = 5\hat{i} + 2\hat{j} - 4\hat{k}\), \(\vec{b_2} = 3\hat{i} + 2\hat{j} - \hat{k}\). Step 1: Find \(\vec{a_2} - \vec{a_1}\). \[\vec{a_2} - \vec{a_1} = (5-2)\hat{i} + (2-3)\hat{j} + (-4-1)\hat{k} = 3\hat{i} - \hat{j} - 5\hat{k}\] Step 2: Find \(\vec{b_1} \times \vec{b_2}\). \[\vec{b_1} \times \vec{b_2} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 1 & -1 & 3 \\ 3 & 2 & -1 \end{vmatrix}\] Expanding the determinant: \[\vec{b_1} \times \vec{b_2} = \hat{i}[(-1)(-1) - (3)(2)] - \hat{j}[(1)(-1) - (3)(3)] + \hat{k}[(1)(2) - (-1)(3)]\] \[= \hat{i}[1 - 6] - \hat{j}[-1 - 9] + \hat{k}[2 + 3]\] \[= -5\hat{i} + 10\hat{j} + 5\hat{k}\] Step 3: Find \(|\vec{b_1} \times \vec{b_2}|\). \[|\vec{b_1} \times \vec{b_2}| = \sqrt{(-5)^2 + (10)^2 + (5)^2} = \sqrt{25 + 100 + 25} = \sqrt{150} = 5\sqrt{6}\] Step 4: Find \((\vec{a_2} - \vec{a_1}) \cdot (\vec{b_1} \times \vec{b_2})\). \[(\vec{a_2} - \vec{a_1}) \cdot (\vec{b_1} \times \vec{b_2}) = (3)(-5) + (-1)(10) + (-5)(5)\] \[= -15 - 10 - 25 = -50\] Step 5: 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{|-50|}{5\sqrt{6}} = \frac{50}{5\sqrt{6}} = \frac{10}{\sqrt{6}}\] Rationalising: \[d = \frac{10}{\sqrt{6}} \times \frac{\sqrt{6}}{\sqrt{6}} = \frac{10\sqrt{6}}{6} = \frac{5\sqrt{6}}{3}\]

Answer: The shortest distance is \(\dfrac{5\sqrt{6}}{3}\) units.

Example 2

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

Solution: We identify the vectors from the two lines. Here \(\vec{a_1} = -\hat{i} + 2\hat{j} + 4\hat{k}\), \(\vec{b_1} = 2\hat{i} + \hat{j} - 2\hat{k}\), \(\vec{a_2} = 3\hat{i} + \hat{j} - \hat{k}\), \(\vec{b_2} = \hat{i} - 2\hat{j} + 3\hat{k}\). Step 1: Find \(\vec{a_2} - \vec{a_1}\). \[\vec{a_2} - \vec{a_1} = (3-(-1))\hat{i} + (1-2)\hat{j} + (-1-4)\hat{k} = 4\hat{i} - \hat{j} - 5\hat{k}\] Step 2: Find \(\vec{b_1} \times \vec{b_2}\). \[\vec{b_1} \times \vec{b_2} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 2 & 1 & -2 \\ 1 & -2 & 3 \end{vmatrix}\] Expanding the determinant: \[\vec{b_1} \times \vec{b_2} = \hat{i}[(1)(3) - (-2)(-2)] - \hat{j}[(2)(3) - (-2)(1)] + \hat{k}[(2)(-2) - (1)(1)]\] \[= \hat{i}[3 - 4] - \hat{j}[6 + 2] + \hat{k}[-4 - 1]\] \[= -\hat{i} - 8\hat{j} - 5\hat{k}\] Step 3: Find \(|\vec{b_1} \times \vec{b_2}|\). \[|\vec{b_1} \times \vec{b_2}| = \sqrt{(-1)^2 + (-8)^2 + (-5)^2} = \sqrt{1 + 64 + 25} = \sqrt{90} = 3\sqrt{10}\] Step 4: Find \((\vec{a_2} - \vec{a_1}) \cdot (\vec{b_1} \times \vec{b_2})\). \[(\vec{a_2} - \vec{a_1}) \cdot (\vec{b_1} \times \vec{b_2}) = (4)(-1) + (-1)(-8) + (-5)(-5)\] \[= -4 + 8 + 25 = 29\] Step 5: 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{|29|}{3\sqrt{10}} = \frac{29}{3\sqrt{10}}\] Rationalising: \[d = \frac{29}{3\sqrt{10}} \times \frac{\sqrt{10}}{\sqrt{10}} = \frac{29\sqrt{10}}{30}\]

Answer: The shortest distance is \(\dfrac{29\sqrt{10}}{30}\) units.

🎯 Try a Similar Question

Try a Similar Question

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

Solution

  1. Step 1: Identify the vectors: From the given lines, identify: \(\vec{a_1} = 2\hat{i} - \hat{j} + 3\hat{k}\), \(\vec{b_1} = \hat{i} + 2\hat{j} - \hat{k}\), \(\vec{a_2} = 3\hat{i} + \hat{j} - \hat{k}\), and \(\vec{b_2} = 2\hat{i} - \hat{j} + 3\hat{k}\).
  2. Step 2: Find the vector joining a point on each line: Compute \(\vec{a_2} - \vec{a_1}\): \[\vec{a_2} - \vec{a_1} = (3-2)\hat{i} + (1-(-1))\hat{j} + (-1-3)\hat{k} = \hat{i} + 2\hat{j} - 4\hat{k}\]
  3. Step 3: Compute the cross product of the direction vectors: Find \(\vec{b_1} \times \vec{b_2}\) where \(\vec{b_1} = \hat{i} + 2\hat{j} - \hat{k}\) and \(\vec{b_2} = 2\hat{i} - \hat{j} + 3\hat{k}\). Using the determinant formula: \[\vec{b_1} \times \vec{b_2} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 1 & 2 & -1 \\ 2 & -1 & 3 \end{vmatrix}\] Expanding: \[= \hat{i}(2 \cdot 3 - (-1)(-1)) - \hat{j}(1 \cdot 3 - (-1) \cdot 2) + \hat{k}(1 \cdot (-1) - 2 \cdot 2)\] \[= \hat{i}(6 - 1) - \hat{j}(3 + 2) + \hat{k}(-1 - 4)\] \[= 5\hat{i} - 5\hat{j} - 5\hat{k}\]
  4. Step 4: Find the magnitude of the cross product: \[|\vec{b_1} \times \vec{b_2}| = \sqrt{5^2 + (-5)^2 + (-5)^2} = \sqrt{25 + 25 + 25} = \sqrt{75} = 5\sqrt{3}\]
  5. Step 5: Compute the dot product: Find \((\vec{a_2} - \vec{a_1}) \cdot (\vec{b_1} \times \vec{b_2})\): \[(\hat{i} + 2\hat{j} - 4\hat{k}) \cdot (5\hat{i} - 5\hat{j} - 5\hat{k})\] \[= (1)(5) + (2)(-5) + (-4)(-5) = 5 - 10 + 20 = 15\]
  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{|15|}{5\sqrt{3}} = \frac{15}{5\sqrt{3}} = \frac{3}{\sqrt{3}} = \sqrt{3}\]

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

Everything you get with Solver7

More questions in Three Dimensional Geometry