Detailed Explanation
The two given lines are parallel because they have the same direction ratios \( (2, 3, 6) \). These form one pair of opposite sides of a square. The distance between these two parallel lines equals the side of the square. The other pair of sides has direction ratios \( (-3, 6, p) \); since adjacent sides of a square are perpendicular, this direction must be perpendicular to \( (2, 3, 6) \). We use the perpendicularity condition (dot product equals zero) to find \( p \), and the shortest distance between parallel lines to find the side, then square it for the area.
Formula Used
Perpendicularity: \( a_1 a_2 + b_1 b_2 + c_1 c_2 = 0 \). Distance between parallel lines \( \vec{r} = \vec{a_1} + \lambda \vec{b} \) and \( \vec{r} = \vec{a_2} + \mu \vec{b} \) is \[ d = \frac{|(\vec{a_2} - \vec{a_1}) \times \vec{b}|}{|\vec{b}|}. \] Area of square \( = d^2 \).
Solution
- Step 1: Identify the direction of the given sides. Both lines have direction vector \( \vec{b} = 2\hat{i} + 3\hat{j} + 6\hat{k} \), so they are parallel and form one pair of opposite sides.
- Step 2: Find \( p \) using perpendicularity. The other pair of sides has direction \( (-3, 6, p) \) and must be perpendicular to \( (2, 3, 6) \). So their dot product is zero: \[ (2)(-3) + (3)(6) + (6)(p) = 0. \] This gives \[ -6 + 18 + 6p = 0 \Rightarrow 6p = -12 \Rightarrow p = -2. \]
- Step 3: Set up the distance between the parallel lines. Take \( \vec{a_1} = \hat{i} + 2\hat{j} - 4\hat{k} \) and \( \vec{a_2} = 3\hat{i} + 3\hat{j} - 5\hat{k} \). Then \[ \vec{a_2} - \vec{a_1} = 2\hat{i} + \hat{j} - \hat{k}. \]
- Step 4: Compute the cross product \( (\vec{a_2} - \vec{a_1}) \times \vec{b} \): \[ \begin{vmatrix} \hat{i} & \hat{j} & \hat{k} \\ 2 & 1 & -1 \\ 2 & 3 & 6 \end{vmatrix}. \] The \( \hat{i} \) part is \( (1)(6) - (-1)(3) = 9 \); the \( \hat{j} \) part is \( -[(2)(6) - (-1)(2)] = -14 \); the \( \hat{k} \) part is \( (2)(3) - (1)(2) = 4 \). So \[ (\vec{a_2} - \vec{a_1}) \times \vec{b} = 9\hat{i} - 14\hat{j} + 4\hat{k}. \]
- Step 5: Find the magnitudes. \[ |(\vec{a_2} - \vec{a_1}) \times \vec{b}| = \sqrt{9^2 + (-14)^2 + 4^2} = \sqrt{81 + 196 + 16} = \sqrt{293}. \] Also \[ |\vec{b}| = \sqrt{2^2 + 3^2 + 6^2} = \sqrt{4 + 9 + 36} = \sqrt{49} = 7. \]
- Step 6: Compute the side (distance) and then the area. \[ d = \frac{\sqrt{293}}{7}. \] Area of the square is \[ d^2 = \frac{293}{49} \text{ square units}. \]
Final Answer
The value of \( p = -2 \), the side of the square is \( \dfrac{\sqrt{293}}{7} \), and the area of the square is \( \dfrac{293}{49} \) square units.
Common Mistake
A common mistake is to compute the area as the distance itself instead of squaring it, or to forget to divide by \( |\vec{b}| \) when finding the perpendicular distance between the parallel lines. Always use the full formula \( d = \dfrac{|(\vec{a_2} - \vec{a_1}) \times \vec{b}|}{|\vec{b}|} \) and then square \( d \) for the area.