The cross product is an operation defined for two vectors in R3 that produces a third vector perpendicular to both. Unlike the dot product, the cross product is specific to three dimensions and returns a vector, not a scalar.
Definition
The cross product of u=(u1,u2,u3)⊤ and v=(v1,v2,v3)⊤ in R3 is:
u×v=u2v3−u3v2u3v1−u1v3u1v2−u2v1
A convenient mnemonic: expand the formal determinant
u×v=dete1u1v1e2u2v2e3u3v3
where e1,e2,e3 are the standard basis vectors of R3. This “determinant” is symbolic (its first row contains vectors, not scalars), but cofactor-expanding along the first row gives exactly the formula above.
Concretely, for each basis vector ei cross out its row and column and take the determinant of the remaining 2×2 block:
Note the alternating signs+,−,+: the middle term carries a minus. Forgetting this sign flip is the most common mistake when computing a cross product by hand. Evaluating the 2×2 determinants then yields