Show solutionHide solution
Let the two lines have direction ratios
\[ \mathbf{u}=(a,\,b,\,c),\qquad \mathbf{v}=(b-c,\,c-a,\,a-b). \] If \(\theta\) is the angle between the lines, then \[ \cos\theta=\frac{\mathbf{u}\cdot\mathbf{v}}{|\mathbf{u}|\,|\mathbf{v}|}. \]Step 1: Compute the dot product.
\[ \mathbf{u}\cdot\mathbf{v} = a(b-c)+b(c-a)+c(a-b). \] Expanding, \[ =ab-ac+bc-ab+ca-bc=0. \] So the dot product is \(0\).Step 2: Interpret. Since
\[ \mathbf{u}\cdot\mathbf{v}=0, \] the direction vectors are perpendicular, provided neither line is degenerate (that is, provided \(\mathbf{u}\neq \mathbf{0}\) and \(\mathbf{v}\neq \mathbf{0}\)). Under this usual non-degeneracy assumption, \[ \cos\theta=0 \quad\Longrightarrow\quad \theta=90^\circ=\frac{\pi}{2}. \]Therefore the angle between the two lines is \(90^\circ\) (a right angle).
Note: If one of the direction-ratio triples were the zero triple, that would not define a line, so the question implicitly assumes both triples are nonzero.