The Cross Product is an operation between two vectors that returns a vector:
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 vectors, you usually calculate the Cross Product in 3d space.
The Cross Product operation works as follows:
Line up the vectors, as you would when taking the Dot Product.
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.
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 to .
Perform a 2d determinate operation, excluding the input vector's last rows for the final component.
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 , adjust you right-hand so you can place your index finger in the direction of and your middle finger in the direction of . 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.