Cross Product

The Cross Product is an operation between two vectors that returns a vector: a×b=c\vec{a} \times \vec{b} = \vec{c}

The returned vector will be orthogonal to both input vectors and have a length equal to the area of the parallelogram the input vectors define.

Though the Cross Product can be generalized to multiple dimensions by taking the product of n1n - 1 vectors, you usually calculate the Cross Product in 3d space.

The Cross Product operation works as follows:

  1. Line up the vectors, as you would when taking the Dot Product.

    [a1a2a3]×[b1b2b3]=[???]\begin{bmatrix}a_1 \\ a_2 \\ a_3\end{bmatrix} \times \begin{bmatrix}b_1 \\ b_2 \\ b_3\end{bmatrix} = \begin{bmatrix} ? \\ ? \\ ? \end{bmatrix}

  2. For the first component of the new vector, exclude the top rows of the input vectors. Then, calculate the 2d Matrix Determinate of the matrix created by the bottom two rows of each matrix.

    det([a2a3]×[b2b3])=[a2b3a3b2]\det\left( \begin{bmatrix} \\ a_2 \\ a_3\end{bmatrix} \times \begin{bmatrix} \\ b_2 \\ b_3\end{bmatrix} \right) = \begin{bmatrix}\mathbf{a_2b_3 - a_3b_2} \\ \\ \end{bmatrix}

  3. For the 2nd component of the new vector, exclude the middle row of the input vectors. Then, we calculate the determinate; however, this time, you flip the order of the operations from adbcad - bc to bcadbc - ad.

    ([a1a3]×[b1b3])=[a2b3a3b2a3b1a1b3 ]\left( \begin{bmatrix} a_1 \\ \\ a_3\end{bmatrix} \times \begin{bmatrix} b_1 \\ \\ b_3\end{bmatrix} \right) = \begin{bmatrix}a_2b_3 - a_3b_2 \\ \mathbf{a_3b_1 - a_1b_3} \\ \ \end{bmatrix}

  4. Perform a 2d determinate operation, excluding the input vector's last rows for the final component.

    det([a1a2 ]×[b1b2 ])=[a2b3a3b2a3b1a1b3a1b2a2b1]\det\left( \begin{bmatrix} a_1 \\ a_2 \\ \ \end{bmatrix} \times \begin{bmatrix} b_1 \\ b_2 \\ \ \end{bmatrix} \right) = \begin{bmatrix}a_2b_3 - a_3b_2 \\ a_3b_1 - a_1b_3 \\ \mathbf{a_1b_2 - a_2b_1} \end{bmatrix}

For each pair of vectors, there will be two vectors that are perpendicular to both. To find out which direction the Cross Product's vector faces, use the right-hand rule. For a×b\vec{a} \times \vec{b}, adjust you right-hand so you can place your index finger in the direction of a\vec{a} and your middle finger in the direction of b\vec{b}. Whichever direction your thumb is pointing in is the direction of the cross product.

The cross product is helpful because it tells you if your vectors are parallel when the length of the vector returned by the Cross Product is 0.

KhanAcademyLabs (2009) 3Blue1Brown (2016)

References

3Blue1Brown. Cross products | chapter 10, essence of linear algebra. September 2016. URL: https://www.youtube.com/watch?v=eu6i7WJeinw.

Khan Academy Labs. Cross product introduction. October 2009. URL: https://www.youtube.com/watch?v=pJzmiywagfY.


Backlinks