Jump to content

Cross product

From Wikibase

Languages: English · français · Esperanto

The cross product is a product of two vectors in $\mathbb{R}^3$ whose result is again a vector, hence the alternative name vector product. It differs from the dot product, which maps a pair of vectors to a scalar.

Formal definition

Let $\vec{u}=(u_1,u_2,u_3),\vec{v}=(v_1,v_2,v_3)$ be vectors in $\mathbb{R}^3$,

then is defined their cross product: $$ \vec{u}\times\vec{v}=(u_2v_3-u_3v_2,\; u_3v_1-u_1v_3,\; u_1v_2-u_2v_1). $$ [1][2][3]

The cross product is specific to $\mathbb{R}^3$.

Geometric interpretation

Orthogonality

For all $\vec{u},\vec{v}\in\mathbb{R}^3$,

$$ \begin{cases} (\vec{u}\times\vec{v})\cdot\vec{u}=0\\ (\vec{u}\times\vec{v})\cdot\vec{v}=0 \end{cases} $$

Magnitude and direction

Let $\theta\in[0,\pi]$ be the angle between $\vec{u}$ and $\vec{v}$.

$$ |\vec{u}\times\vec{v}|=|\vec{u}|\,|\vec{v}|\sin\theta . $$ [2]

The direction is fixed by the right-hand rule: curling the fingers of the right hand from $\vec{u}$ towards $\vec{v}$ leaves the thumb pointing along $\vec{u}\times\vec{v}$, so that $(\vec{u},\vec{v},\vec{u}\times\vec{v})$ is a right-handed triple.

Areas

With $\vec{u}$ and $\vec{v}$ as adjacent sides,

$$ A_{\text{parallelogram}}=|\vec{u}\times\vec{v}|, \qquad A_{\text{triangle}}=\frac{1}{2}|\vec{u}\times\vec{v}|. $$

Taking $|\vec{u}|$ as the base, the height of the parallelogram is $h=|\vec{v}|\sin\theta$, hence

$$ A_{\text{parallelogram}}=|\vec{u}|\,h=|\vec{u}|\,|\vec{v}|\sin\theta=|\vec{u}\times\vec{v}|, $$

and a triangle on the same two sides is half of that parallelogram.

Properties

For all $\vec{u},\vec{v},\vec{w}\in\mathbb{R}^3$ and $a\in\mathbb{R}$:[1]

  • Anti-commutativity: $\vec{u}\times\vec{v}=-\vec{v}\times\vec{u}$
  • Distributivity: $\vec{u}\times(\vec{v}+\vec{w})=\vec{u}\times\vec{v}+\vec{u}\times\vec{w}$ and $(\vec{u}+\vec{v})\times\vec{w}=\vec{u}\times\vec{w}+\vec{v}\times\vec{w}$
  • Homogeneity: $(a\vec{u})\times\vec{v}=\vec{u}\times(a\vec{v})=a(\vec{u}\times\vec{v})$
  • Vanishing: $\vec{u}\times\vec{u}=\vec{0}$ and $\vec{u}\times\vec{0}=\vec{0}$
  • Parallelism: $\vec{u}\times\vec{v}=\vec{0}\iff\vec{u}\parallel\vec{v}$
  • Lagrange identity: $|\vec{u}\times\vec{v}|^2=|\vec{u}|^2|\vec{v}|^2-(\vec{u}\cdot\vec{v})^2$

The cross product is neither commutative nor associative:

$$ (\vec{i}\times\vec{i})\times\vec{j}=\vec{0}\times\vec{j}=\vec{0}, \qquad \vec{i}\times(\vec{i}\times\vec{j})=\vec{i}\times\vec{k}=-\vec{j}, $$

so the position of the parentheses changes the result.

Standard basis

Applying the definition to the standard basis vectors, for instance

$$ \vec{i}\times\vec{j}=(0\cdot 0-0\cdot 1,\; 0\cdot 0-1\cdot 0,\; 1\cdot 1-0\cdot 0)=(0,0,1)=\vec{k}, $$

and the remaining products follow by anti-commutativity and by cyclic permutation of the axes:

$$ \begin{aligned} \vec{i}\times\vec{j}&=\vec{k}, & \vec{j}\times\vec{k}&=\vec{i}, & \vec{k}\times\vec{i}&=\vec{j},\\ \vec{j}\times\vec{i}&=-\vec{k}, & \vec{k}\times\vec{j}&=-\vec{i}, & \vec{i}\times\vec{k}&=-\vec{j}. \end{aligned} $$

Scalar triple product

For $\vec{u},\vec{v},\vec{w}\in\mathbb{R}^3$, the scalar triple product is the determinant of the matrix of components,

$$ \vec{u}\cdot(\vec{v}\times\vec{w}) = \begin{vmatrix} u_1 & u_2 & u_3\\ v_1 & v_2 & v_3\\ w_1 & w_2 & w_3 \end{vmatrix}. $$ [1][2]

It is invariant under cyclic permutation of the three vectors,

$$ \vec{u}\cdot(\vec{v}\times\vec{w})=\vec{w}\cdot(\vec{u}\times\vec{v})=\vec{v}\cdot(\vec{w}\times\vec{u}), $$

whereas transposing any two of them changes its sign. Geometrically it gives the volume of the parallelepiped spanned by the three vectors, since with base area $|\vec{v}\times\vec{w}|$ and height $h=|\vec{u}|\,|\cos\varphi|$, where $\varphi$ is the angle between $\vec{u}$ and $\vec{v}\times\vec{w}$,

$$ V=|\vec{v}\times\vec{w}|\,h=|\vec{v}\times\vec{w}|\,|\vec{u}|\,|\cos\varphi|=|\vec{u}\cdot(\vec{v}\times\vec{w})|. $$

A vanishing volume means the three vectors are coplanar,

$$ \vec{u}\cdot(\vec{v}\times\vec{w})=0 \iff \vec{u},\vec{v},\vec{w}\text{ coplanar}. $$

Vector triple product

For $\vec{u},\vec{v},\vec{w}\in\mathbb{R}^3$,

$$ \vec{u}\times(\vec{v}\times\vec{w})=(\vec{u}\cdot\vec{w})\vec{v}-(\vec{u}\cdot\vec{v})\vec{w}, $$

a combination of $\vec{v}$ and $\vec{w}$ only, hence a vector in the plane they span. The parentheses cannot be moved: $\vec{u}\times(\vec{v}\times\vec{w})\neq(\vec{u}\times\vec{v})\times\vec{w}$ in general.

Examples

Area of a triangle

Unit vector orthogonal to two vectors

Coplanarity

Applications

Torque of a force $\vec{F}$ applied at position $\vec{r}$ relative to an axis:

$$ \vec{\tau}=\vec{r}\times\vec{F}, \qquad |\vec{\tau}|=|\vec{r}|\,|\vec{F}|\sin\theta . $$ [2]

Magnetic force on a charge $q$ moving with velocity $\vec{v}$ in a magnetic field $\vec{B}$:

$$ \vec{F}=q\,\vec{v}\times\vec{B}. $$

Angular momentum of a particle at position $\vec{r}$ with linear momentum $\vec{p}$:

$$ \vec{L}=\vec{r}\times\vec{p}. $$

See also