The Cross Product

I. What the Cross Product Is

The cross product is another way of multiplying two vectors in three-dimensional space, and its result is still a vector (as against the scalar produced by the dot product):

v×w\mathbf{v} \times \mathbf{w}

Geometric meaning:

  1. Direction: perpendicular to the plane spanned by v\mathbf{v} and w\mathbf{w}, determined by the right-hand rule
  2. Length: equal to the area of the parallelogram spanned by v\mathbf{v} and w\mathbf{w}
∥v×w∥=∥v∥∥w∥sin⁡θ\|\mathbf{v} \times \mathbf{w}\| = \|\mathbf{v}\|\|\mathbf{w}\|\sin\theta

II. The Right-Hand Rule

With the four fingers of your right hand turning from v\mathbf{v} towards w\mathbf{w} (through the smaller angle), the direction your thumb points in is the direction of v×w\mathbf{v} \times \mathbf{w}.

Right hand, four fingers: v → w (through the smaller angle)
Thumb: points along v×w
  • ı^×ȷ^=k^\hat{\imath} \times \hat{\jmath} = \hat{k} (the x-axis × the y-axis = the z-axis)
  • ȷ^×k^=ı^\hat{\jmath} \times \hat{k} = \hat{\imath}
  • k^×ı^=ȷ^\hat{k} \times \hat{\imath} = \hat{\jmath}
  • The cross product is anti-commutative: v×w=−(w×v)\mathbf{v} \times \mathbf{w} = -(\mathbf{w} \times \mathbf{v})

III. The Computational Formula for the Cross Product

The three-dimensional cross product can be remembered with a “pseudo-determinant”:

v×w=∣ı^ȷ^k^v1v2v3w1w2w3∣\mathbf{v} \times \mathbf{w} = \begin{vmatrix} \hat{\imath} & \hat{\jmath} & \hat{k} \\ v_1 & v_2 & v_3 \\ w_1 & w_2 & w_3 \end{vmatrix}

Expanding along the first row:

v×w=(v2w3−v3w2v3w1−v1w3v1w2−v2w1)\mathbf{v} \times \mathbf{w} = \begin{pmatrix} v_2 w_3 - v_3 w_2 \\ v_3 w_1 - v_1 w_3 \\ v_1 w_2 - v_2 w_1 \end{pmatrix}
Example: v = (1, 0, 0), w = (0, 1, 0)
v×w = (0×0 − 0×1, 0×0 − 1×0, 1×1 − 0×0) = (0, 0, 1) = k ✓

Verifying the length formula: ∥v∥=1\|v\| = 1, ∥w∥=1\|w\| = 1, θ=90°\theta = 90°, and ∥v×w∥=1×1×sin⁡90°=1\|v\times w\| = 1\times1\times\sin90° = 1 ✓ (the area of the unit square).

IV. The Two-Dimensional Cross Product: A Signed Number

On the two-dimensional plane, regard the two vectors as three-dimensional vectors with zero zz-component, and the cross product is left with only its zz-component:

v1w2−v2w1v_1 w_2 - v_2 w_1

This number (which is signed) is exactly the signed area of the parallelogram spanned by the two vectors!

Example: v = (2, 1), w = (1, 3)
cross product = 2×3 − 1×1 = 5 (positive, the turn from v to w is counterclockwise)

The connection with the determinant

The two-dimensional cross product = the determinant of the matrix having the two vectors as columns:

v1w2−v2w1=det⁡(v1w1v2w2)v_1 w_2 - v_2 w_1 = \det\begin{pmatrix} v_1 & w_1 \\ v_2 & w_2 \end{pmatrix}

Geometric intuition: this is precisely the determinant’s “area scaling” meaning, applied to two vectors.

V. Applications of the Cross Product

FieldApplication
Computer graphicsfinding the normal vector of a plane (the cross product of two points gives the plane’s normal)
Physicsthe torque τ=r×F\boldsymbol{\tau} = \mathbf{r} \times \mathbf{F}; the angular momentum L=r×p\mathbf{L} = \mathbf{r} \times \mathbf{p}
Geometric algorithmsdeciding which side of a segment a point is on, polygon areas, collision detection
Computer graphicslighting calculations, computing the orientation of a camera

An example from computer graphics: given the three vertices of a triangle, taking the cross product of two of its edges gives a normal vector to the plane of the triangle — and the normal vector is the basis of lighting calculations.

VI. Dot Product versus Cross Product

ComparisonDot product v·wCross product v×w
Resulta scalar (a number)a vector
Depends on the angle throughcos⁡θ\cos\theta (largest when aligned)sin⁡θ\sin\theta (largest when perpendicular)
Commutativitysymmetricanti-commutative
Geometrylength of the projectionthe spanned area
When perpendicularthe dot product = 0the cross product has the largest norm

Summary

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
v×w\mathbf{v} \times \mathbf{w}Mathematical symbolv cross wThe cross product: a vector perpendicular to both v\mathbf{v} and w\mathbf{w}
∥v×w∥\|\mathbf{v} \times \mathbf{w}\|Mathematical symbolnorm of v cross wThe length of the cross product =∥v∥∥w∥sin⁡θ=\|\mathbf{v}\|\|\mathbf{w}\|\sin\theta, that is, the area of the spanned parallelogram
θ\thetaGreek letterThetaThe angle between the two vectors
ı^×ȷ^=k^\hat{\imath} \times \hat{\jmath} = \hat{k}Mathematical symboli-hat cross j-hat equals k-hatThe cross product of the standard basis vectors, whose direction is fixed by the right-hand rule
v×w=−(w×v)\mathbf{v} \times \mathbf{w} = -(\mathbf{w} \times \mathbf{v})Mathematical symbolanti-commutativeThe cross product is anti-commutative: swapping the order changes the sign
∣ı^ȷ^k^v1v2v3w1w2w3∣\begin{vmatrix} \hat{\imath} & \hat{\jmath} & \hat{k} \\ v_1 & v_2 & v_3 \\ w_1 & w_2 & w_3 \end{vmatrix}Mathematical symbolpseudo-determinantThe “pseudo-determinant” used to remember the formula for the cross product
v1w2−v2w1v_1 w_2 - v_2 w_1Mathematical symbolv1 w2 minus v2 w1The two-dimensional cross product, equal to the signed area spanned by the two vectors
det⁡(v1w1v2w2)\det\begin{pmatrix} v_1 & w_1 \\ v_2 & w_2 \end{pmatrix}Mathematical symboldeterminantThe two-dimensional cross product is the determinant of the matrix having the two vectors as columns

Found an issue with this content?

Tell us what could be improved.