Show solutionHide solution
Let \(\vec a=3\hat i+\hat j+2\hat k\) and \(\vec b=2\hat i-2\hat j+4\hat k\).
First compute the cross product \(\vec a\times\vec b\):
\[\vec a\times\vec b=\begin{vmatrix}\hat i&\hat j&\hat k\\3&1&2\\2&-2&4\end{vmatrix}\]
\[=\hat i(1\cdot4-2\cdot(-2))-\hat j(3\cdot4-2\cdot2)+\hat k(3\cdot(-2)-1\cdot2)\]
\[=\hat i(4+4)-\hat j(12-4)+\hat k(-6-2)=8\hat i-8\hat j-8\hat k.\]
Hence
\[|\vec a\times\vec b|=\sqrt{8^2+(-8)^2+(-8)^2}=\sqrt{64+64+64}=\sqrt{192}=8\sqrt3.\]
Now compute the magnitudes:
\[|\vec a|=\sqrt{3^2+1^2+2^2}=\sqrt{9+1+4}=\sqrt{14},\]
\[|\vec b|=\sqrt{2^2+(-2)^2+4^2}=\sqrt{4+4+16}=\sqrt{24}=2\sqrt6.\]
If \(\theta\) is the angle between \(\vec a\) and \(\vec b\), then
\[\sin\theta=\frac{|\vec a\times\vec b|}{|\vec a|\,|\vec b|}=\frac{8\sqrt3}{\sqrt{14}\cdot2\sqrt6}.\]
Since \(\sqrt{14}\cdot\sqrt6=\sqrt{84}=2\sqrt{21}\), we get
\[\sin\theta=\frac{8\sqrt3}{4\sqrt{21}}=\frac{2\sqrt3}{\sqrt{21}}=\frac{2\sqrt3}{\sqrt3\sqrt7}=\frac{2}{\sqrt7}.\]
Therefore, the sine of the angle between the vectors is
\[\boxed{\sin\theta=\frac{2}{\sqrt7}=\frac{2\sqrt7}{7}}.\]
As a check, the dot product is \(\vec a\cdot\vec b=3(2)+1(-2)+2(4)=6-2+8=12\), so \(\cos\theta=\dfrac{12}{\sqrt{14}\,\sqrt{24}}=\dfrac{12}{4\sqrt{21}}=\dfrac{3}{\sqrt{21}}=\dfrac{\sqrt3}{\sqrt7}\). Then \(\sin^2\theta+\cos^2\theta=\dfrac{4}{7}+\dfrac{3}{7}=1\), confirming the result.