Concept:
- Two lines are perpendicular when the dot product of their direction ratios is zero, and this condition is used first to find the unknown k.
- To find a line perpendicular to two given lines, set up its unknown direction ratios (a, b, c) so the dot product with each of the two given direction ratios is zero, then solve the resulting pair of equations using the cross-multiplication rule for two linear equations in three unknowns.
Step 1: Write the direction ratios of both lines.
Line 1: $\langle -3, 2k, 2 \rangle$, Line 2: $\langle 3k, 1, -7 \rangle$.
Step 2: Use the perpendicularity condition to find k.
$(-3)(3k) + (2k)(1) + (2)(-7) = 0$
$-9k + 2k - 14 = 0$
$-7k = 14 \Rightarrow k = -2$
Step 3: Write the actual direction ratios after substituting k = -2.
Line 1: $a_1 = -3,\ b_1 = -4,\ c_1 = 2$. Line 2: $a_2 = -6,\ b_2 = 1,\ c_2 = -7$.
Step 4: Set up equations for a line with direction ratios (a, b, c) perpendicular to both lines.
$-3a - 4b + 2c = 0$
$-6a + b - 7c = 0$
Solve this pair using the cross-multiplication rule:
$\dfrac{a}{b_1c_2 - b_2c_1} = \dfrac{b}{c_1a_2 - c_2a_1} = \dfrac{c}{a_1b_2 - a_2b_1}$
Step 5: Substitute the values and simplify.
$b_1c_2 - b_2c_1 = (-4)(-7) - (1)(2) = 28 - 2 = 26$
$c_1a_2 - c_2a_1 = (2)(-6) - (-7)(-3) = -12 - 21 = -33$
$a_1b_2 - a_2b_1 = (-3)(1) - (-6)(-4) = -3 - 24 = -27$
So $a : b : c = 26 : -33 : -27$.
Final Answer: $k = -2$ and the required line is $\vec{r} = (3\hat{i} - 4\hat{j} + 7\hat{k}) + \lambda(26\hat{i} - 33\hat{j} - 27\hat{k})$