krit.club logo

Three Dimensional Geometry - Distance between parallel lines

Grade 12CBSE

Review the key concepts, formulae, and examples before starting your quiz.

🔑Concepts

•

Two lines are parallel if their direction vectors are proportional. In vector form, parallel lines are represented as L1:r⃗=a⃗1+λb⃗L_1: \vec{r} = \vec{a}_1 + \lambda \vec{b} and L2:r⃗=a⃗2+μb⃗L_2: \vec{r} = \vec{a}_2 + \mu \vec{b}. Both lines share the same (or parallel) direction vector b⃗\vec{b}.

Diagram showing two parallel lines L1 and L2 with a perpendicular distance d between them.
•

The shortest distance dd between parallel lines is the perpendicular distance from any point PP on line L1L_1 to line L2L_2. It is calculated using the cross product of the direction vector b⃗\vec{b} and the vector connecting the two position vectors (a⃗2−a⃗1)(\vec{a}_2 - \vec{a}_1).

Visual representation of the vector difference between points on two parallel lines.
•

If the lines are given in Cartesian form x−x1a=y−y1b=z−z1c\frac{x-x_1}{a} = \frac{y-y_1}{b} = \frac{z-z_1}{c} and x−x2a=y−y2b=z−z2c\frac{x-x_2}{a} = \frac{y-y_2}{b} = \frac{z-z_2}{c}, the direction ratios (a,b,c)(a, b, c) are identical, confirming they are parallel.

•

The formula involves the magnitude of the cross product: d=∣b⃗×(a⃗2−a⃗1)∣∣b⃗∣d = \frac{|\vec{b} \times (\vec{a}_2 - \vec{a}_1)|}{|\vec{b}|}. Note that the order (a⃗2−a⃗1)(\vec{a}_2 - \vec{a}_1) or (a⃗1−a⃗2)(\vec{a}_1 - \vec{a}_2) does not change the result due to the absolute value.

📐Formulae

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

∣b⃗∣=b12+b22+b32|\vec{b}| = \sqrt{b_1^2 + b_2^2 + b_3^2}

💡Examples

Problem 1:

Find the distance between the parallel lines L1:r⃗=(i^+2j^−4k^)+λ(2i^+3j^+6k^)L_1: \vec{r} = (\hat{i} + 2\hat{j} - 4\hat{k}) + \lambda(2\hat{i} + 3\hat{j} + 6\hat{k}) and L2:r⃗=(3i^+3j^−5k^)+μ(2i^+3j^+6k^)L_2: \vec{r} = (3\hat{i} + 3\hat{j} - 5\hat{k}) + \mu(2\hat{i} + 3\hat{j} + 6\hat{k}).

Solution:

Step 1: Identify vectors from the equations: a⃗1=i^+2j^−4k^\vec{a}_1 = \hat{i} + 2\hat{j} - 4\hat{k} a⃗2=3i^+3j^−5k^\vec{a}_2 = 3\hat{i} + 3\hat{j} - 5\hat{k} b⃗=2i^+3j^+6k^\vec{b} = 2\hat{i} + 3\hat{j} + 6\hat{k}

Step 2: Calculate a⃗2−a⃗1\vec{a}_2 - \vec{a}_1: a⃗2−a⃗1=(3−1)i^+(3−2)j^+(−5+4)k^=2i^+j^−k^\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}

Step 3: Calculate the cross product b⃗×(a⃗2−a⃗1)\vec{b} \times (\vec{a}_2 - \vec{a}_1): b⃗×(a⃗2−a⃗1)=∣i^j^k^23621−1∣\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} =i^(−3−6)−j^(−2−12)+k^(2−6)= \hat{i}(-3 - 6) - \hat{j}(-2 - 12) + \hat{k}(2 - 6) =−9i^+14j^−4k^= -9\hat{i} + 14\hat{j} - 4\hat{k}

Step 4: Calculate magnitudes: ∣b⃗×(a⃗2−a⃗1)∣=(−9)2+(14)2+(−4)2=81+196+16=293|\vec{b} \times (\vec{a}_2 - \vec{a}_1)| = \sqrt{(-9)^2 + (14)^2 + (-4)^2} = \sqrt{81 + 196 + 16} = \sqrt{293} ∣b⃗∣=22+32+62=4+9+36=49=7|\vec{b}| = \sqrt{2^2 + 3^2 + 6^2} = \sqrt{4 + 9 + 36} = \sqrt{49} = 7

Step 5: Apply the distance formula: d=2937d = \frac{\sqrt{293}}{7} units.

Explanation:

First, we extract the position vectors of points on the lines and the common direction vector. We find the vector connecting the two points, calculate its cross product with the direction vector to find the perpendicular component, and divide by the magnitude of the direction vector to normalize the result.

Problem 2:

Calculate the magnitude of the vector v⃗=125i^+200j^\vec{v} = 125\hat{i} + 200\hat{j} and subtract the scalar value 7575 from its x-component calculation.

Solution:

To demonstrate the subtraction of components: 125−7550\begin{array}{r} 125 \\ - 75 \\ \hline 50 \end{array} The new x-component is 5050.

Explanation:

This example demonstrates vertical arithmetic for component subtraction as per the required formatting.

Problem 3:

Determine the distance between the parallel lines L1:r⃗=(2i^−j^+k^)+λ(3i^−4j^+5k^)L_1: \vec{r} = (2\hat{i} - \hat{j} + \hat{k}) + \lambda(3\hat{i} - 4\hat{j} + 5\hat{k}) and L2:r⃗=(i^+j^−k^)+μ(3i^−4j^+5k^)L_2: \vec{r} = (\hat{i} + \hat{j} - \hat{k}) + \mu(3\hat{i} - 4\hat{j} + 5\hat{k}).

Geometric representation of the specific parallel lines and the calculated perpendicular distance.

Solution:

  1. Identify vectors: a⃗1=2i^−j^+k^\vec{a}_1 = 2\hat{i} - \hat{j} + \hat{k} a⃗2=i^+j^−k^\vec{a}_2 = \hat{i} + \hat{j} - \hat{k} b⃗=3i^−4j^+5k^\vec{b} = 3\hat{i} - 4\hat{j} + 5\hat{k}
  2. Calculate (a⃗2−a⃗1)(\vec{a}_2 - \vec{a}_1): a⃗2−a⃗1=(1−2)i^+(1−(−1))j^+(−1−1)k^=−i^+2j^−2k^\vec{a}_2 - \vec{a}_1 = (1-2)\hat{i} + (1 - (-1))\hat{j} + (-1-1)\hat{k} = -\hat{i} + 2\hat{j} - 2\hat{k}
  3. Calculate b⃗×(a⃗2−a⃗1)\vec{b} \times (\vec{a}_2 - \vec{a}_1): b⃗×(a⃗2−a⃗1)=∣i^j^k^3−45−12−2∣\vec{b} \times (\vec{a}_2 - \vec{a}_1) = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 3 & -4 & 5 \\ -1 & 2 & -2 \end{vmatrix} =i^(8−10)−j^(−6−(−5))+k^(6−4)=−2i^+j^+2k^= \hat{i}(8-10) - \hat{j}(-6 - (-5)) + \hat{k}(6-4) = -2\hat{i} + \hat{j} + 2\hat{k}
  4. Find Magnitudes: ∣b⃗×(a⃗2−a⃗1)∣=(−2)2+12+22=4+1+4=3|\vec{b} \times (\vec{a}_2 - \vec{a}_1)| = \sqrt{(-2)^2 + 1^2 + 2^2} = \sqrt{4+1+4} = 3 ∣b⃗∣=32+(−4)2+52=9+16+25=50=52|\vec{b}| = \sqrt{3^2 + (-4)^2 + 5^2} = \sqrt{9+16+25} = \sqrt{50} = 5\sqrt{2}
  5. Final Distance: d=352=3210d = \frac{3}{5\sqrt{2}} = \frac{3\sqrt{2}}{10} units.

Explanation:

To find the distance, we first find the vector connecting a point on each line, then find the component of that vector perpendicular to the common direction vector using the cross product.

Problem 4:

Find the distance between the parallel lines given by x−12=y−21=z−3−2\frac{x-1}{2} = \frac{y-2}{1} = \frac{z-3}{-2} and x−32=y−41=z−5−2\frac{x-3}{2} = \frac{y-4}{1} = \frac{z-5}{-2}.

Coordinate plot showing the points P1 and P2 used to calculate the distance between the two lines.

Solution:

  1. Convert to vector form: L1:a⃗1=i^+2j^+3k^,b⃗=2i^+j^−2k^L_1: \vec{a}_1 = \hat{i} + 2\hat{j} + 3\hat{k}, \vec{b} = 2\hat{i} + \hat{j} - 2\hat{k} L2:a⃗2=3i^+4j^+5k^,b⃗=2i^+j^−2k^L_2: \vec{a}_2 = 3\hat{i} + 4\hat{j} + 5\hat{k}, \vec{b} = 2\hat{i} + \hat{j} - 2\hat{k}
  2. Calculate (a⃗2−a⃗1)(\vec{a}_2 - \vec{a}_1): a⃗2−a⃗1=(3−1)i^+(4−2)j^+(5−3)k^=2i^+2j^+2k^\vec{a}_2 - \vec{a}_1 = (3-1)\hat{i} + (4-2)\hat{j} + (5-3)\hat{k} = 2\hat{i} + 2\hat{j} + 2\hat{k}
  3. Calculate b⃗×(a⃗2−a⃗1)\vec{b} \times (\vec{a}_2 - \vec{a}_1): b⃗×(a⃗2−a⃗1)=∣i^j^k^21−2222∣\vec{b} \times (\vec{a}_2 - \vec{a}_1) = \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 2 & 1 & -2 \\ 2 & 2 & 2 \end{vmatrix} =i^(2−(−4))−j^(4−(−4))+k^(4−2)=6i^−8j^+2k^= \hat{i}(2 - (-4)) - \hat{j}(4 - (-4)) + \hat{k}(4 - 2) = 6\hat{i} - 8\hat{j} + 2\hat{k}
  4. Calculate Magnitudes: ∣b⃗×(a⃗2−a⃗1)∣=62+(−8)2+22=36+64+4=104=226|\vec{b} \times (\vec{a}_2 - \vec{a}_1)| = \sqrt{6^2 + (-8)^2 + 2^2} = \sqrt{36 + 64 + 4} = \sqrt{104} = 2\sqrt{26} ∣b⃗∣=22+12+(−2)2=4+1+4=3|\vec{b}| = \sqrt{2^2 + 1^2 + (-2)^2} = \sqrt{4+1+4} = 3
  5. Distance: d=2263d = \frac{2\sqrt{26}}{3} units.

Explanation:

Since the denominators (direction ratios) are the same for both lines, they are parallel. We pick points (1,2,3)(1,2,3) and (3,4,5)(3,4,5) from the equations to form the vector difference and apply the distance formula.