Example 1
Question: Find the angle between the pair of lines \(\vec{r} = 3\hat{i} + \hat{j} - 2\hat{k} + \lambda(\hat{i} - \hat{j} - 2\hat{k})\) and \(\vec{r} = 2\hat{i} - \hat{j} - 5\hat{k} + \mu(3\hat{i} - 5\hat{j} - 4\hat{k})\).
Solution: The direction vector of the first line is \(\vec{b_1} = \hat{i} - \hat{j} - 2\hat{k}\), so its components are \((1,\,-1,\,-2)\). The direction vector of the second line is \(\vec{b_2} = 3\hat{i} - 5\hat{j} - 4\hat{k}\), so its components are \((3,\,-5,\,-4)\). Step 1: Compute the dot product \(\vec{b_1} \cdot \vec{b_2}\). \[\vec{b_1} \cdot \vec{b_2} = (1)(3) + (-1)(-5) + (-2)(-4) = 3 + 5 + 8 = 16\] Step 2: Compute the magnitudes. \[|\vec{b_1}| = \sqrt{1^2 + (-1)^2 + (-2)^2} = \sqrt{1 + 1 + 4} = \sqrt{6}\] \[|\vec{b_2}| = \sqrt{3^2 + (-5)^2 + (-4)^2} = \sqrt{9 + 25 + 16} = \sqrt{50} = 5\sqrt{2}\] Step 3: Apply the formula. \[\cos\theta = \left|\frac{\vec{b_1} \cdot \vec{b_2}}{|\vec{b_1}||\vec{b_2}|}\right| = \frac{16}{\sqrt{6} \cdot 5\sqrt{2}} = \frac{16}{5\sqrt{12}} = \frac{16}{10\sqrt{3}} = \frac{8}{5\sqrt{3}}\] Rationalising the denominator: \[\cos\theta = \frac{8}{5\sqrt{3}} = \frac{8\sqrt{3}}{15}\] Therefore, the angle between the lines is \[\theta = \cos^{-1}\!\left(\frac{8\sqrt{3}}{15}\right)\]
Answer: \(\theta = \cos^{-1}\!\left(\dfrac{8\sqrt{3}}{15}\right)\)
Example 2
Question: Find the angle between the pair of lines \(\vec{r} = \hat{i} + 2\hat{j} - 3\hat{k} + \lambda(2\hat{i} + 3\hat{j} + 6\hat{k})\) and \(\vec{r} = 3\hat{i} - \hat{j} + \hat{k} + \mu(6\hat{i} - 2\hat{j} - 3\hat{k})\).
Solution: The direction vector of the first line is \(\vec{b_1} = 2\hat{i} + 3\hat{j} + 6\hat{k}\), so its components are \((2,\,3,\,6)\). The direction vector of the second line is \(\vec{b_2} = 6\hat{i} - 2\hat{j} - 3\hat{k}\), so its components are \((6,\,-2,\,-3)\). Step 1: Compute the dot product \(\vec{b_1} \cdot \vec{b_2}\). \[\vec{b_1} \cdot \vec{b_2} = (2)(6) + (3)(-2) + (6)(-3) = 12 - 6 - 18 = -12\] Step 2: Compute the magnitudes. \[|\vec{b_1}| = \sqrt{2^2 + 3^2 + 6^2} = \sqrt{4 + 9 + 36} = \sqrt{49} = 7\] \[|\vec{b_2}| = \sqrt{6^2 + (-2)^2 + (-3)^2} = \sqrt{36 + 4 + 9} = \sqrt{49} = 7\] Step 3: Apply the formula. \[\cos\theta = \left|\frac{\vec{b_1} \cdot \vec{b_2}}{|\vec{b_1}||\vec{b_2}|}\right| = \frac{|-12|}{7 \times 7} = \frac{12}{49}\] Therefore, the angle between the lines is \[\theta = \cos^{-1}\!\left(\frac{12}{49}\right)\]
Answer: \(\theta = \cos^{-1}\!\left(\dfrac{12}{49}\right)\)