Jump to content

Cross product: Difference between revisions

From Wikibase
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
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.
The '''cross product''' maps two vectors in $\mathbb{R}^3$ to a vector [[orthogonal]] to both.
 
It differs from the [[dot product]], which maps a pair of vectors to a scalar.


== Formal definition ==
== Formal definition ==
Line 9: Line 11:
\vec{u}\times\vec{v}=(u_2v_3-u_3v_2,\; u_3v_1-u_1v_3,\; u_1v_2-u_2v_1).
\vec{u}\times\vec{v}=(u_2v_3-u_3v_2,\; u_3v_1-u_1v_3,\; u_1v_2-u_2v_1).
$$
$$
<blockquote>
Since the result of a cross product is a vector, the cross product is sometimes referred to as the '''vector product''' for $\mathbb{R}^3$.
</blockquote>
<ref>{{#cite:Q2329}}</ref><ref>{{#cite:Q2330}}</ref><ref>{{#cite:Q2331}}</ref>
<ref>{{#cite:Q2329}}</ref><ref>{{#cite:Q2330}}</ref><ref>{{#cite:Q2331}}</ref>


Line 25: Line 32:
<blockquote>
<blockquote>
The cross product is specific to $\mathbb{R}^3$.
The cross product is specific to $\mathbb{R}^3$.
</blockquote>
== Standard basis ==
With the '''standard''' [[orthonormality#Orthonormal_vector_list|orthonormal vector list]]: $\vec{i}=(1,0,0)$, $\vec{j}=(0,1,0)$, and $\vec{k}=(0,0,1)$:
$$
\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}
$$
{{Hidden proof}}
$$
\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}
$$
All other propositions can be similarly proven.
{{End hidden}}
== Properties ==
$\forall \vec{u},\vec{v}\in\mathbb{R}^3,\, a\in\mathbb{R}$:<ref>{{#cite:Q2329}}</ref>
* '''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}$
{{Hidden proof}}
For '''Anti-commutativity''':
$$
\begin{aligned}
\vec{u}\times\vec{v}
&=(u_2v_3-u_3v_2,\; u_3v_1-u_1v_3,\; u_1v_2-u_2v_1)\\
&=-(v_2u_3-v_3u_2,\; v_3u_1-v_1u_3,\; v_1u_2-v_2u_1)\\
&=-\vec{v}\times\vec{u}.
\end{aligned}
$$
For '''distributivity, homogeneity, vanishing''', similarly expand the product.
For '''parallelism''', note $\vec{u}\parallel\vec{v} \iff \vec{u}=a\vec{v},\, a \in \mathbb{R}$
Hence $\vec u \times \vec v = \vec u \times a \vec v = a(\vec u \times \vec u)=0$ by '''vanishing'''.
{{End hidden}}
<blockquote>
'''Warning''':The cross product is neither commutative nor associative:
$$
(\vec{i}\times\vec{i})\times\vec{j}=\vec{0}\times\vec{j}=\vec{0}\
\ne\
\vec{i}\times(\vec{i}\times\vec{j})=\vec{i}\times\vec{k}=-\vec{j},
$$


In $\mathbb{R}^2$, two non-parallel vectors admit no nonzero vector [[orthogonality|orthogonal]] to both, so no such product can exist.
</blockquote>
</blockquote>


Line 106: Line 170:
$$
$$


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


Line 113: Line 178:


and a triangle on the same two sides is half of that parallelogram.
and a triangle on the same two sides is half of that parallelogram.
{{End hidden}}


== Properties ==
== Relationship to matrices ==
 
For all $\vec{u},\vec{v},\vec{w}\in\mathbb{R}^3$ and $a\in\mathbb{R}$:<ref>{{#cite:Q2329}}</ref>
 
* '''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$
 
{{Hidden proof}}
Anti-commutativity follows by reversing the sign of each component,


$$
$$
\begin{aligned}
\vec{u}\times\vec{v}
\vec{u}\times\vec{v}
&=(u_2v_3-u_3v_2,\; u_3v_1-u_1v_3,\; u_1v_2-u_2v_1)\\
&=-(v_2u_3-v_3u_2,\; v_3u_1-v_1u_3,\; v_1u_2-v_2u_1)\\
&=-\vec{v}\times\vec{u}.
\end{aligned}
$$
{{End hidden}}
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}
\det\begin{pmatrix}
\vec{i} & \vec{j} & \vec{k}\\
u_1 & u_2 & u_3\\
u_1 & u_2 & u_3\\
v_1 & v_2 & v_3\\
v_1 & v_2 & v_3
w_1 & w_2 & w_3
\end{pmatrix}
\end{vmatrix}.
=
$$
\det\begin{pmatrix}u_2 & u_3\\v_2 & v_3\end{pmatrix}\vec{i}
<ref>{{#cite:Q2329}}</ref><ref>{{#cite:Q2330}}</ref>
-\det\begin{pmatrix}u_1 & u_3\\v_1 & v_3\end{pmatrix}\vec{j}
 
+\det\begin{pmatrix}u_1 & u_2\\v_1 & v_2\end{pmatrix}\vec{k},
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 ==
== Examples ==
Line 266: Line 252:
{{End hidden}}
{{End hidden}}


== Applications ==
== Applications in physics ==


'''Torque''' of a force $\vec{F}$ applied at position $\vec{r}$ relative to an axis:
'''Torque''' of a force $\vec{F}$ applied at position $\vec{r}$ relative to an axis:
Line 272: Line 258:
$$
$$
\vec{\tau}=\vec{r}\times\vec{F},
\vec{\tau}=\vec{r}\times\vec{F},
\qquad
|\vec{\tau}|=|\vec{r}|\,|\vec{F}|\sin\theta .
$$
$$
<ref>{{#cite:Q2330}}</ref>
<ref>{{#cite:Q2330}}</ref>
Line 303: Line 287:
* [[Orthogonality]]
* [[Orthogonality]]
* [[Vector space]]
* [[Vector space]]
== See also ==
* [[Vector triple product]]
* [[Scalar triple product]]
* [[Dot product]]

Latest revision as of 15:08, 21 October 2026

Languages: English · français · Esperanto

The cross product maps two vectors in $\mathbb{R}^3$ to a vector orthogonal to both.

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). $$

Since the result of a cross product is a vector, the cross product is sometimes referred to as the vector product for $\mathbb{R}^3$.

[1][2][3]

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

Standard basis

With the standard orthonormal vector list: $\vec{i}=(1,0,0)$, $\vec{j}=(0,1,0)$, and $\vec{k}=(0,0,1)$:

$$ \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} $$

Properties

$\forall \vec{u},\vec{v}\in\mathbb{R}^3,\, 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}$

Warning:The cross product is neither commutative nor associative:

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

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}|. $$

Relationship to matrices

$$ \vec{u}\times\vec{v} = \det\begin{pmatrix} \vec{i} & \vec{j} & \vec{k}\\ u_1 & u_2 & u_3\\ v_1 & v_2 & v_3 \end{pmatrix} = \det\begin{pmatrix}u_2 & u_3\\v_2 & v_3\end{pmatrix}\vec{i} -\det\begin{pmatrix}u_1 & u_3\\v_1 & v_3\end{pmatrix}\vec{j} +\det\begin{pmatrix}u_1 & u_2\\v_1 & v_2\end{pmatrix}\vec{k}, $$

Examples

Area of a triangle

Unit vector orthogonal to two vectors

Coplanarity

Applications in physics

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

$$ \vec{\tau}=\vec{r}\times\vec{F}, $$ [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

See also