Vector Perpendicularity Problem
Find \( a \) such that \( \mathbf{u} = 2\mathbf{i} - \mathbf{j} + a\mathbf{k} \) and \( \mathbf{v} = \mathbf{i} + 4\mathbf{j} + 2\mathbf{k} \) are perpendicular.
Solution
If \( \vec{u} \perp \vec{w} \), then \( \vec{u} \cdot \vec{w} = 0 \)
\[ \vec{u} \cdot \vec{w} = \langle 2, -1, a \rangle \cdot \langle 1, 4, 2 \rangle = 0 \]
\[ (2)(1) + (-1)(4) + (a)(2) = 0 \]
\[ 2 - 4 + 2a = 0 \]
\[ 2a = 2 \]
\[ a = 1 \]