Focus mode — press again to cycle through zoom levels
Esc
Close search / index, exit focus mode, or clear result highlights
Cross Product
The cross product is an operation defined for two vectors in R3 that produces a third vector perpendicular to both. Unlike the inner 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
which matches the definition once the minus on the e2 term is distributed, turning u1v3−u3v1 into u3v1−u1v3.
Cross-Product Matrix
There is another shortcut for computing u×v that avoids both the 3×3 determinant and the cyclic memorization: package u into a skew-symmetric matrix and let ordinary matrix-vector multiplication do the rest.
The cross-product matrix (or skew-symmetric matrix associated with u) of u=(u1,u2,u3)⊤∈R3 is:
u^=0u3−u2−u30u1u2−u10
It satisfies u^⊤=−u^ — exactly the skew-symmetric condition — and turns the cross product into a matrix-vector product:
u×v=u^v
Reading u^ off u is a quick pattern: the diagonal is zeros (forced by skew-symmetry), and each component ui appears off-diagonal with alternating signs — u1 in the (2,3)/(3,2) slots, u2 in the (1,3)/(3,1) slots, u3 in the (1,2)/(2,1) slots. The minus sign always sits in the upper triangle for u1 and u3, and in the lower triangle for u2 — the same alternating-sign pattern as the determinant cofactors.
Multiplying u^ against v recovers the original definition entry by entry:
This form is especially handy when the same u is crossed against many different v‘s — build u^ once and multiply by each v in turn. It also makes linearity in v — that is, u×(αv+w)=α(u×v)+(u×w) — fall out as a one-liner from the linearity of matrix-vector multiplication.
Geometric Interpretation
The result u×v is perpendicular to both u and v, with magnitude:
∥u×v∥=∥u∥∥v∥sinθ
where θ∈[0,π] is the angle between u and v. This magnitude equals the area of the parallelogram spanned by u and v.
The direction follows the right-hand rule: curl the fingers of the right hand from u toward v; the thumb points in the direction of u×v.
Key Properties
For u,v,w∈R3 and α∈R:
Anti-commutativity:u×v=−(v×u)
Linearity:(αu+w)×v=α(u×v)+(w×v)
Self-cross-product:v×v=0
Parallel vectors:u×v=0 if and only if u and v are parallel (or one is zero)