SOLVER7 Study. Nothing Else.
2023 Board Paper Q34(a)

Find the vector and the Cartesian equations of a line passing through the point \((1, 2, - 4)\) and parallel to the line joining the points \(A(3, 3, - 5)\) and \(B(1, 0,- 11).\) Hence, find the distance between the two lines.

CBSE Class 12 Maths · Three Dimensional Geometry

Solution

👶 Simple Explanation

Simple Explanation

Imagine two straight train tracks running in exactly the same direction but never meeting — those are parallel lines in space. To describe a track, you just need one point on it and which way it goes. The direction is found by looking at two points on a related line and measuring how far apart they are in each direction. Even though the tracks never cross, we can measure the shortest gap between them using a clever formula. That shortest gap is the perpendicular distance between the two parallel lines.

Answer: Vector equation: \( \vec{r} = (\hat{i} + 2\hat{j} - 4\hat{k}) + \lambda(-2\hat{i} - 3\hat{j} - 6\hat{k}) \). Cartesian equation: \( \dfrac{x - 1}{2} = \dfrac{y - 2}{3} = \dfrac{z + 4}{6} \). Distance between the two lines: \( \dfrac{\sqrt{293}}{7} \) units.

📖 Line Parallel to a Given Line and Distance Between Two Lines

Detailed Explanation

A line in space is determined by a point on it and a direction (its direction ratios). If a line is parallel to another line, it shares the same direction ratios. The direction ratios of the line joining two points \( A(x_1, y_1, z_1) \) and \( B(x_2, y_2, z_2) \) are \( (x_2 - x_1, \ y_2 - y_1, \ z_2 - z_1) \). Once we know a point and a direction, we can write the vector form \( \vec{r} = \vec{a} + \lambda \vec{b} \) and the Cartesian form. Since both lines here have the SAME direction vector, they are parallel. For two parallel lines \( \vec{r} = \vec{a_1} + \lambda \vec{b} \) and \( \vec{r} = \vec{a_2} + \mu \vec{b} \), the shortest (perpendicular) distance is found using the formula involving the cross product of the connecting vector and the common direction.

Formula Used

Direction ratios of AB: \( (x_2 - x_1, \ y_2 - y_1, \ z_2 - z_1) \). Vector form of line: \( \vec{r} = \vec{a} + \lambda \vec{b} \). Cartesian form: \( \dfrac{x - x_0}{a} = \dfrac{y - y_0}{b} = \dfrac{z - z_0}{c} \). Distance between two parallel lines: \( d = \dfrac{|\vec{b} \times (\vec{a_2} - \vec{a_1})|}{|\vec{b}|} \).

Solution

  1. Step 1: Find the direction ratios of the line joining \( A(3, 3, -5) \) and \( B(1, 0, -11) \). Subtract the coordinates: \[ (1 - 3, \ 0 - 3, \ -11 - (-5)) = (-2, \ -3, \ -6). \] So the direction vector is \( \vec{b} = -2\hat{i} - 3\hat{j} - 6\hat{k} \). We may also use \( 2\hat{i} + 3\hat{j} + 6\hat{k} \) since direction ratios can be scaled by any nonzero constant.
  2. Step 2: The required line passes through \( (1, 2, -4) \) and is parallel to \( AB \), so it has the same direction \( \vec{b} \). The position vector of the given point is \( \vec{a} = \hat{i} + 2\hat{j} - 4\hat{k} \). Write the vector equation: \[ \vec{r} = (\hat{i} + 2\hat{j} - 4\hat{k}) + \lambda(-2\hat{i} - 3\hat{j} - 6\hat{k}). \]
  3. Step 3: Write the Cartesian equation using the point \( (1, 2, -4) \) and direction ratios \( (-2, -3, -6) \): \[ \frac{x - 1}{-2} = \frac{y - 2}{-3} = \frac{z + 4}{-6}. \] Equivalently, using \( (2, 3, 6) \): \[ \frac{x - 1}{2} = \frac{y - 2}{3} = \frac{z + 4}{6}. \]
  4. Step 4: Now identify the two lines to find the distance between them. The required line has point \( \vec{a_1} = \hat{i} + 2\hat{j} - 4\hat{k} \), and the line \( AB \) passes through \( A(3, 3, -5) \), i.e. \( \vec{a_2} = 3\hat{i} + 3\hat{j} - 5\hat{k} \). Both share direction \( \vec{b} = 2\hat{i} + 3\hat{j} + 6\hat{k} \), so they are parallel.
  5. Step 5: Find the connecting vector \( \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}. \]
  6. Step 6: Compute the cross product \( \vec{b} \times (\vec{a_2} - \vec{a_1}) \) with \( \vec{b} = 2\hat{i} + 3\hat{j} + 6\hat{k} \) and \( 2\hat{i} + \hat{j} - \hat{k} \): \[ \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}. \] Expanding: \[ \hat{i}(3(-1) - 6(1)) - \hat{j}(2(-1) - 6(2)) + \hat{k}(2(1) - 3(2)). \] This gives \[ \hat{i}(-3 - 6) - \hat{j}(-2 - 12) + \hat{k}(2 - 6) = -9\hat{i} + 14\hat{j} - 4\hat{k}. \]
  7. Step 7: Find the magnitudes needed for the formula. Magnitude of the cross product: \[ |{-9\hat{i} + 14\hat{j} - 4\hat{k}}| = \sqrt{(-9)^2 + 14^2 + (-4)^2} = \sqrt{81 + 196 + 16} = \sqrt{293}. \] Magnitude of \( \vec{b} \): \[ |\vec{b}| = \sqrt{2^2 + 3^2 + 6^2} = \sqrt{4 + 9 + 36} = \sqrt{49} = 7. \]
  8. Step 8: Apply the distance formula for parallel lines: \[ d = \frac{|\vec{b} \times (\vec{a_2} - \vec{a_1})|}{|\vec{b}|} = \frac{\sqrt{293}}{7}. \] This is the shortest distance between the two lines.

Final Answer

Vector equation: \( \vec{r} = (\hat{i} + 2\hat{j} - 4\hat{k}) + \lambda(-2\hat{i} - 3\hat{j} - 6\hat{k}) \). Cartesian equation: \( \dfrac{x - 1}{2} = \dfrac{y - 2}{3} = \dfrac{z + 4}{6} \). Distance between the two lines: \( \dfrac{\sqrt{293}}{7} \) units.

Common Mistake

A common mistake is to use the shortest distance formula for skew lines, \( \dfrac{|(\vec{a_2} - \vec{a_1}) \cdot (\vec{b_1} \times \vec{b_2})|}{|\vec{b_1} \times \vec{b_2}|} \), even though the lines are parallel. Since parallel lines have the same direction, \( \vec{b_1} \times \vec{b_2} = \vec{0} \) and that formula gives \( \tfrac{0}{0} \), which is undefined. For parallel lines you must use \( d = \dfrac{|\vec{b} \times (\vec{a_2} - \vec{a_1})|}{|\vec{b}|} \).

🪜 Step-by-step Solution

Step-by-step Solution

  1. Step 1: Compute the direction vector from point \( A(3, 3, -5) \) to point \( B(1, 0, -11) \) by subtracting coordinates: \[ (1-3,\; 0-3,\; -11-(-5)) = (-2,\; -3,\; -6). \] So the direction vector is \( \vec{b} = -2\hat{i} - 3\hat{j} - 6\hat{k} \). — Reason: The direction ratios of the line through two points are simply the differences of their corresponding coordinates, giving us the vector along which the line travels.
  2. Step 2: Write the vector equation of the line passing through \( P(1, 2, -4) \) with direction vector \( \vec{b} = -2\hat{i} - 3\hat{j} - 6\hat{k} \). Take \( \vec{a} = \hat{i} + 2\hat{j} - 4\hat{k} \), so the vector form is \[ \vec{r} = (\hat{i} + 2\hat{j} - 4\hat{k}) + \lambda(-2\hat{i} - 3\hat{j} - 6\hat{k}). \] — Reason: The standard vector equation \( \vec{r} = \vec{a} + \lambda\vec{b} \) requires only the position vector of any point on the line and the direction vector.
  3. Step 3: Convert to Cartesian form using the point \( (1, 2, -4) \) and direction ratios \( (-2, -3, -6) \). Note that dividing by a negative throughout is equivalent to using magnitudes \( (2, 3, 6) \), so the Cartesian equation is \[ \dfrac{x-1}{2} = \dfrac{y-2}{3} = \dfrac{z+4}{6}. \] — Reason: Cartesian form \( \dfrac{x - x_0}{a} = \dfrac{y - y_0}{b} = \dfrac{z - z_0}{c} \) is obtained directly from the point and the direction ratios; scaling direction ratios by \(-1\) gives an equivalent line.
  4. Step 4: Identify the second parallel line. It passes through \( A(3, 3, -5) \) with the same direction vector \( \vec{b} = -2\hat{i} - 3\hat{j} - 6\hat{k} \). Define \( \vec{a_1} = \hat{i} + 2\hat{j} - 4\hat{k} \) (for the first line) and \( \vec{a_2} = 3\hat{i} + 3\hat{j} - 5\hat{k} \) (for the second line). Then compute: \[ \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: The distance formula for parallel lines requires the vector connecting a point on each line.
  5. Step 5: Compute the cross product \( \vec{b} \times (\vec{a_2} - \vec{a_1}) \) where \( \vec{b} = -2\hat{i} - 3\hat{j} - 6\hat{k} \) and \( \vec{a_2} - \vec{a_1} = 2\hat{i} + \hat{j} - \hat{k} \): \[ \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}. \] Expanding: the \( \hat{i} \) component is \( (-3)(-1) - (-6)(1) = 3 + 6 = 9 \), the \( \hat{j} \) component is \( -((-2)(-1) - (-6)(2)) = -(2 + 12) = -14 \), and the \( \hat{k} \) component is \( (-2)(1) - (-3)(2) = -2 + 6 = 4 \). So \[ \vec{b} \times (\vec{a_2} - \vec{a_1}) = 9\hat{i} - 14\hat{j} + 4\hat{k}. \] — Reason: The cross product gives a vector perpendicular to both \( \vec{b} \) and the connecting segment; its magnitude measures the perpendicular spread between the two parallel lines.
  6. Step 6: Find the magnitude of the cross product: \[ |9\hat{i} - 14\hat{j} + 4\hat{k}| = \sqrt{9^2 + (-14)^2 + 4^2} = \sqrt{81 + 196 + 16} = \sqrt{293}. \] — Reason: The magnitude of a vector \( a\hat{i} + b\hat{j} + c\hat{k} \) is \( \sqrt{a^2 + b^2 + c^2} \); this forms the numerator of the distance formula.
  7. Step 7: Find the magnitude of the direction vector \( \vec{b} = -2\hat{i} - 3\hat{j} - 6\hat{k} \): \[ |\vec{b}| = \sqrt{(-2)^2 + (-3)^2 + (-6)^2} = \sqrt{4 + 9 + 36} = \sqrt{49} = 7. \] Now apply the distance formula: \[ d = \dfrac{|\vec{b} \times (\vec{a_2} - \vec{a_1})|}{|\vec{b}|} = \dfrac{\sqrt{293}}{7}. \] — Reason: Dividing by \( |\vec{b}| \) normalises the result so that the distance is independent of the length of the direction vector chosen.

Final Answer

Vector equation: \( \vec{r} = (\hat{i} + 2\hat{j} - 4\hat{k}) + \lambda(-2\hat{i} - 3\hat{j} - 6\hat{k}) \). Cartesian equation: \( \dfrac{x - 1}{2} = \dfrac{y - 2}{3} = \dfrac{z + 4}{6} \). Distance between the two lines: \( \dfrac{\sqrt{293}}{7} \) units.

Common Mistake

One common mistake: when computing the cross product, students sometimes swap the order of the two vectors in \( \vec{b} \times (\vec{a_2} - \vec{a_1}) \) to \( (\vec{a_2} - \vec{a_1}) \times \vec{b} \), which reverses the sign of the result — however, since we only need the magnitude for the distance formula, the final answer is unaffected; but in other contexts this sign error can lead to wrong answers, so always maintain the correct order.

✍️ Exam-ready Answer

Exam-ready Answer

  1. Step 1: Direction vector and line equations: Direction ratios of line through \( A(3,3,-5) \) and \( B(1,0,-11) \): \( \vec{b} = (1-3)\hat{i} + (0-3)\hat{j} + (-11+5)\hat{k} = -2\hat{i} - 3\hat{j} - 6\hat{k} \). Point on required line: \( \vec{a_1} = \hat{i} + 2\hat{j} - 4\hat{k} \). Vector form: \( \vec{r} = (\hat{i} + 2\hat{j} - 4\hat{k}) + \lambda(-2\hat{i} - 3\hat{j} - 6\hat{k}) \). Cartesian form: \( \dfrac{x-1}{2} = \dfrac{y-2}{3} = \dfrac{z+4}{6} \).
  2. Step 2: Connecting vector: Second line passes through \( \vec{a_2} = 3\hat{i} + 3\hat{j} - 5\hat{k} \). So \( \vec{a_2} - \vec{a_1} = 2\hat{i} + \hat{j} - \hat{k} \).
  3. Step 3: Cross product: \( \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)(-1) - (-6)(1)) - \hat{j}((-2)(-1) - (-6)(2)) + \hat{k}((-2)(1) - (-3)(2)) = \hat{i}(3+6) - \hat{j}(2+12) + \hat{k}(-2+6) = 9\hat{i} - 14\hat{j} + 4\hat{k} \). Magnitude: \( |9\hat{i} - 14\hat{j} + 4\hat{k}| = \sqrt{81 + 196 + 16} = \sqrt{293} \).
  4. Step 4: Distance: \( |\vec{b}| = \sqrt{4 + 9 + 36} = 7 \). Distance \( d = \dfrac{\sqrt{293}}{7} \) units.

Answer: Vector equation: \( \vec{r} = (\hat{i} + 2\hat{j} - 4\hat{k}) + \lambda(-2\hat{i} - 3\hat{j} - 6\hat{k}) \). Cartesian equation: \( \dfrac{x - 1}{2} = \dfrac{y - 2}{3} = \dfrac{z + 4}{6} \). Distance between the two lines: \( \dfrac{\sqrt{293}}{7} \) units.

➕ More Examples

More Examples

Example 1

Question: Find the vector and Cartesian equations of the line passing through the point \((2, -1, 3)\) and parallel to the line joining \(A(4, 2, 1)\) and \(B(1, -1, 7)\). Hence, find the distance between the two parallel lines.

Solution: Step 1: Find the direction vector of line AB. The direction vector \(\vec{b}\) is: \[\vec{b} = \vec{AB} = B - A = (1-4)\hat{i} + (-1-2)\hat{j} + (7-1)\hat{k}\] \[\vec{b} = -3\hat{i} - 3\hat{j} + 6\hat{k}\] We can simplify by taking \(\vec{b} = -\hat{i} - \hat{j} + 2\hat{k}\) (dividing by 3), so direction ratios are \((-1, -1, 2)\). Step 2: Write the vector equation of the required line. The line passes through \(P(2, -1, 3)\), so \(\vec{a} = 2\hat{i} - \hat{j} + 3\hat{k}\). Vector equation: \[\vec{r} = (2\hat{i} - \hat{j} + 3\hat{k}) + \lambda(-\hat{i} - \hat{j} + 2\hat{k})\] Step 3: Write the Cartesian equation. \[\frac{x - 2}{-1} = \frac{y + 1}{-1} = \frac{z - 3}{2}\] Step 4: Find the distance between the two parallel lines. Line 1 passes through \(A(4, 2, 1)\) and Line 2 passes through \(P(2, -1, 3)\), both with direction \(\vec{b} = -\hat{i} - \hat{j} + 2\hat{k}\). Vector \(\vec{AP}\): \[\vec{AP} = (2-4)\hat{i} + (-1-2)\hat{j} + (3-1)\hat{k} = -2\hat{i} - 3\hat{j} + 2\hat{k}\] Compute \(\vec{AP} \times \vec{b}\): \[\vec{AP} \times \vec{b} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ -2 & -3 & 2 \\ -1 & -1 & 2 \end{vmatrix}\] Expanding: \[= \hat{i}[(-3)(2) - (2)(-1)] - \hat{j}[(-2)(2) - (2)(-1)] + \hat{k}[(-2)(-1) - (-3)(-1)]\] \[= \hat{i}[-6 + 2] - \hat{j}[-4 + 2] + \hat{k}[2 - 3]\] \[= -4\hat{i} + 2\hat{j} - \hat{k}\] Magnitude: \[|\vec{AP} \times \vec{b}| = \sqrt{(-4)^2 + (2)^2 + (-1)^2} = \sqrt{16 + 4 + 1} = \sqrt{21}\] Magnitude of \(\vec{b}\): \[|\vec{b}| = \sqrt{(-1)^2 + (-1)^2 + (2)^2} = \sqrt{1 + 1 + 4} = \sqrt{6}\] Distance: \[d = \frac{|\vec{AP} \times \vec{b}|}{|\vec{b}|} = \frac{\sqrt{21}}{\sqrt{6}} = \sqrt{\frac{21}{6}} = \sqrt{\frac{7}{2}} = \frac{\sqrt{14}}{2}\]

Answer: Vector equation: \(\vec{r} = (2\hat{i} - \hat{j} + 3\hat{k}) + \lambda(-\hat{i} - \hat{j} + 2\hat{k})\); Cartesian equation: \(\frac{x-2}{-1} = \frac{y+1}{-1} = \frac{z-3}{2}\); Distance \(= \frac{\sqrt{14}}{2}\) units.

Example 2

Question: Find the vector and Cartesian equations of the line passing through the point \((0, 3, -2)\) and parallel to the line joining \(P(2, 1, 4)\) and \(Q(-2, 5, 0)\). Hence, find the distance between the two parallel lines.

Solution: Step 1: Find the direction vector of line PQ. \[\vec{b} = \vec{PQ} = Q - P = (-2-2)\hat{i} + (5-1)\hat{j} + (0-4)\hat{k}\] \[\vec{b} = -4\hat{i} + 4\hat{j} - 4\hat{k}\] Simplifying by dividing by \(-4\): \(\vec{b} = \hat{i} - \hat{j} + \hat{k}\), so direction ratios are \((1, -1, 1)\). Step 2: Write the vector equation of the required line. The line passes through \(R(0, 3, -2)\), so \(\vec{a} = 3\hat{j} - 2\hat{k}\). Vector equation: \[\vec{r} = (3\hat{j} - 2\hat{k}) + \lambda(\hat{i} - \hat{j} + \hat{k})\] Step 3: Write the Cartesian equation. \[\frac{x - 0}{1} = \frac{y - 3}{-1} = \frac{z + 2}{1}\] Step 4: Find the distance between the two parallel lines. Line 1 passes through \(P(2, 1, 4)\) and Line 2 passes through \(R(0, 3, -2)\), both with direction \(\vec{b} = \hat{i} - \hat{j} + \hat{k}\). Vector \(\vec{PR}\): \[\vec{PR} = (0-2)\hat{i} + (3-1)\hat{j} + (-2-4)\hat{k} = -2\hat{i} + 2\hat{j} - 6\hat{k}\] Compute \(\vec{PR} \times \vec{b}\): \[\vec{PR} \times \vec{b} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ -2 & 2 & -6 \\ 1 & -1 & 1 \end{vmatrix}\] Expanding: \[= \hat{i}[(2)(1) - (-6)(-1)] - \hat{j}[(-2)(1) - (-6)(1)] + \hat{k}[(-2)(-1) - (2)(1)]\] \[= \hat{i}[2 - 6] - \hat{j}[-2 + 6] + \hat{k}[2 - 2]\] \[= -4\hat{i} - 4\hat{j} + 0\hat{k}\] Magnitude: \[|\vec{PR} \times \vec{b}| = \sqrt{(-4)^2 + (-4)^2 + 0^2} = \sqrt{16 + 16} = 4\sqrt{2}\] Magnitude of \(\vec{b}\): \[|\vec{b}| = \sqrt{1^2 + (-1)^2 + 1^2} = \sqrt{3}\] Distance: \[d = \frac{|\vec{PR} \times \vec{b}|}{|\vec{b}|} = \frac{4\sqrt{2}}{\sqrt{3}} = \frac{4\sqrt{2} \cdot \sqrt{3}}{3} = \frac{4\sqrt{6}}{3}\]

Answer: Vector equation: \(\vec{r} = (3\hat{j} - 2\hat{k}) + \lambda(\hat{i} - \hat{j} + \hat{k})\); Cartesian equation: \(\frac{x}{1} = \frac{y-3}{-1} = \frac{z+2}{1}\); Distance \(= \frac{4\sqrt{6}}{3}\) units.

🎯 Try a Similar Question

Try a Similar Question

Question: Find the vector and Cartesian equations of a line passing through the point \( (2, -1, 3) \) and parallel to the line joining the points \( P(4, 0, 1) \) and \( Q(1, 3, -2) \). Hence, find the shortest distance between the two lines.

Solution

  1. Step 1: Find the Direction Vector of the Reference Line PQ: The direction vector of the line joining \( P(4, 0, 1) \) and \( Q(1, 3, -2) \) is \( \vec{b} = \overrightarrow{PQ} = Q - P \). So \( \vec{b} = (1-4)\hat{i} + (3-0)\hat{j} + (-2-1)\hat{k} = -3\hat{i} + 3\hat{j} - 3\hat{k} \). We can simplify by taking the common factor: the simplified direction vector is \( \vec{b} = -\hat{i} + \hat{j} - \hat{k} \) (dividing by \(-3\)). For the equations, we use \( \vec{b} = -3\hat{i} + 3\hat{j} - 3\hat{k} \) (or equivalently \( -1, 1, -1 \)).
  2. Step 2: Write the Vector Equation of the Required Line: The required line passes through \( A(2, -1, 3) \) and has direction vector \( \vec{b} = -\hat{i} + \hat{j} - \hat{k} \). Let \( \vec{a_1} = 2\hat{i} - \hat{j} + 3\hat{k} \). The vector equation is \[ \vec{r} = (2\hat{i} - \hat{j} + 3\hat{k}) + \lambda(-\hat{i} + \hat{j} - \hat{k}) \]
  3. Step 3: Write the Cartesian Equation of the Required Line: Using direction ratios \( (-1, 1, -1) \) and point \( (2, -1, 3) \), the Cartesian equation is \[ \frac{x - 2}{-1} = \frac{y + 1}{1} = \frac{z - 3}{-1} \] This can also be written as \( \dfrac{x-2}{1} = \dfrac{y+1}{-1} = \dfrac{z-3}{1} \) by multiplying numerator and denominator by \(-1\).
  4. Step 4: Identify the Two Parallel Lines and Points on Them: The required line passes through \( A(2, -1, 3) \) with direction \( \vec{b} = -\hat{i} + \hat{j} - \hat{k} \). The reference line PQ passes through \( P(4, 0, 1) \) with the same direction vector \( \vec{b} \). So \( \vec{a_1} = 2\hat{i} - \hat{j} + 3\hat{k} \) and \( \vec{a_2} = 4\hat{i} + 0\hat{j} + \hat{k} \).
  5. Step 5: Compute the Vector Connecting the Two Points: \[ \vec{a_2} - \vec{a_1} = (4-2)\hat{i} + (0-(-1))\hat{j} + (1-3)\hat{k} = 2\hat{i} + \hat{j} - 2\hat{k} \]
  6. Step 6: Compute the Cross Product \( (\vec{a_2} - \vec{a_1}) \times \vec{b} \): With \( \vec{a_2} - \vec{a_1} = 2\hat{i} + \hat{j} - 2\hat{k} \) and \( \vec{b} = -\hat{i} + \hat{j} - \hat{k} \), the cross product is \[ (\vec{a_2} - \vec{a_1}) \times \vec{b} = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 2 & 1 & -2 \\ -1 & 1 & -1 \end{vmatrix} \] Expanding: \( \hat{i}[(1)(-1) - (-2)(1)] - \hat{j}[(2)(-1) - (-2)(-1)] + \hat{k}[(2)(1) - (1)(-1)] \). Computing each component: \( \hat{i}[-1 + 2] - \hat{j}[-2 - 2] + \hat{k}[2 + 1] = \hat{i}(1) - \hat{j}(-4) + \hat{k}(3) = \hat{i} + 4\hat{j} + 3\hat{k} \).
  7. Step 7: Find the Magnitude of the Cross Product: \[ |(\vec{a_2} - \vec{a_1}) \times \vec{b}| = \sqrt{1^2 + 4^2 + 3^2} = \sqrt{1 + 16 + 9} = \sqrt{26} \]
  8. Step 8: Find the Magnitude of the Direction Vector: \[ |\vec{b}| = \sqrt{(-1)^2 + 1^2 + (-1)^2} = \sqrt{1 + 1 + 1} = \sqrt{3} \]
  9. Step 9: Calculate the Shortest Distance: The shortest distance between the two parallel lines is \[ d = \frac{|(\vec{a_2} - \vec{a_1}) \times \vec{b}|}{|\vec{b}|} = \frac{\sqrt{26}}{\sqrt{3}} = \sqrt{\frac{26}{3}} = \frac{\sqrt{78}}{3} \] So the shortest distance is \( \dfrac{\sqrt{78}}{3} \) units.

Answer: Vector equation of the required line: \( \vec{r} = (2\hat{i} - \hat{j} + 3\hat{k}) + \lambda(-\hat{i} + \hat{j} - \hat{k}) \). Cartesian equation: \( \dfrac{x - 2}{-1} = \dfrac{y + 1}{1} = \dfrac{z - 3}{-1} \). Shortest distance between the two parallel lines: \( \dfrac{\sqrt{78}}{3} \) units.

Everything you get with Solver7

More questions in Three Dimensional Geometry