The points [tex]A(-3, 5, -2)[/tex], [tex]B(-4, 3, 1)[/tex] and the vector [tex]\vec{a}=(-1, -1, 2)[/tex] are given. Find the cross product [tex]\left(\vec{a}-2\overrightarrow{AB}\right)×\left(3\vec{a}+\overrightarrow{BA}\right)[/tex].
Solution: We have [tex]\overrightarrow{AB}=(-1, -2, 3)[/tex] and [tex]\overrightarrow{BA}=-\overrightarrow{AB}[/tex]. Put [tex]\vec{u}=\overrightarrow{AB}[/tex]. The cross product is bilinear, [tex]\vec{a}×\vec{a}=\vec{u}×\vec{u}=\vec{0}[/tex] and [tex]\vec{u}×\vec{a}=-\vec{a}×\vec{u}[/tex], hence
[tex]\left(\vec{a}-2\vec{u}\right)×\left(3\vec{a}-\vec{u}\right)=3\,\vec{a}×\vec{a}-\vec{a}×\vec{u}-6\,\vec{u}×\vec{a}+2\,\vec{u}×\vec{u}=-\vec{a}×\vec{u}+6\,\vec{a}×\vec{u}=5\,\vec{a}×\vec{u}[/tex]
We compute
[tex]\vec{a}×\vec{u}=\begin{vmatrix}\vec{i}&\vec{j}&\vec{k}\\-1&-1&2\\-1&-2&3\end{vmatrix}=\left((-1)\times 3-2\times (-2), \ 2\times (-1)-(-1)\times 3, \ (-1)\times (-2)-(-1)\times (-1)\right)=(1, 1, 1)[/tex]
Hence the required product is [tex]5\,(1, 1, 1)=(5, 5, 5)[/tex]. Direct check: [tex]\vec{a}-2\overrightarrow{AB}=(1, 3, -4)[/tex], [tex]3\vec{a}+\overrightarrow{BA}=(-2, -1, 3)[/tex] and
[tex](1, 3, -4)×(-2, -1, 3)=(9-4, \ 8-3, \ -1+6)=(5, 5, 5)[/tex]