# Cross product

The cross product, also known as the "vector product", is a vector associated with a pair of vectors in 3-dimensional space.

 Subject classification: this is a mathematics resource.
 Subject classification: this is a physics resource.
 Educational level: this is a secondary education resource.
 Educational level: this is a tertiary (university) resource.

## Geometric Definition

The cross-product is perpendicular to the vectors a and b, and points in the direction of the thumb of the right hand when the fingers curl in the direction to move a to b. If the order of the vectors were reversed, the fingers would curl in the opposite direction, so the cross product would point in the opposite direction.

The cross product is written with a "times sign"[1] between the vectors. Letting ${\displaystyle {\vec {C}}}$  be the cross product of ${\displaystyle {\vec {A}}}$  "times" ${\displaystyle {\vec {B}}}$ , we have:

${\displaystyle {\vec {C}}={\vec {A}}\times {\vec {B}}}$

The magnitude of ${\displaystyle {\vec {C}}}$  is product of the lengths of the two vectors times the sine of the angle between them:

${\displaystyle ||{\vec {A}}\times {\vec {B}}||=AB\sin \theta }$ ,

where ${\displaystyle A=||{\vec {A}}||}$  and ${\displaystyle B=||{\vec {B}}||}$ , and pointing in the direction perpendicular to the plane formed by the two vectors:

This leaves an ambiguity—it could point in either of two opposite directions. The ambiguity is resolved by the "right hand rule"—if the fingers of the right hand (except the thumb) are curled as if to depict the rotation of the first vector into the second (following the angular direction of the smallest angle between them), then the thumb points in the direction of the cross product.

A few properties can be deduced from this definition:

• It is homogeneous in each argument: ${\displaystyle (\lambda {\vec {A}})\times {\vec {B}}={\vec {A}}\times (\lambda {\vec {B}})=\lambda ({\vec {A}}\times {\vec {B}})\,}$ .
• If the two vectors point in the same direction, or opposite directions, their cross product is zero. This is because the sine of 0° or 180° is zero. It is fortunate that this is so, because the right hand rule couldn't be applied in that case.
• The cross product of two vectors is perpendicular to each of those vectors.
• It is anticommutative: ${\displaystyle {\vec {A}}\times {\vec {B}}=-{\vec {B}}\times {\vec {A}}}$ .
• The cross product has an intrinsic "handedness" or chirality, due to the use of the right hand rule. If one looks in a mirror at two vectors and their cross product, the cross product will appear to point in the wrong direction.

## Algebraic Definition

The cross product has a remarkable, convenient, and elegant algebraic formulation. If the components of a vector in 3-dimensional Cartesian space are given with subscripts: ${\displaystyle A_{x}}$ , ${\displaystyle A_{y}}$ , and ${\displaystyle A_{z}}$ , then the cross product of vectors ${\displaystyle {\vec {A}}}$  and ${\displaystyle {\vec {B}}}$  is given by:

${\displaystyle ({\vec {A}}\times {\vec {B}})_{x}=(A_{y}B_{z}-A_{z}B_{y})}$
${\displaystyle ({\vec {A}}\times {\vec {B}})_{y}=(A_{z}B_{x}-A_{x}B_{z})}$
${\displaystyle ({\vec {A}}\times {\vec {B}})_{z}=(A_{x}B_{y}-A_{y}B_{x})}$
It needs to be emphasized that this formula only works if the components of the vectors are described in Cartesian space. In other coordinate systems, it may be necessary to use other, more complicated formulas.

This can be put into a particularly convenient and easy-to-remember form through the use of determinants. Letting ${\displaystyle {\hat {x}}}$ , ${\displaystyle {\hat {y}}}$ , and ${\displaystyle {\hat {z}}}$  be the Cartesian unit basis vectors, and taking a slight liberty in the meaning of multiplication, we have:

${\displaystyle {\vec {A}}\times {\vec {B}}={\begin{vmatrix}{\hat {x}}&{\hat {y}}&{\hat {z}}\\A_{x}&A_{y}&A_{z}\\B_{x}&B_{y}&B_{z}\end{vmatrix}}}$

The theory of determinants tells us that the determinant changes sign if any two rows of the matrix are exchanged, so swapping the two vectors changes the sign—the cross product is anticommutative. The theory of determinants also tells us that it is homogeneous. One can also work out that it is distributive:

${\displaystyle ({\vec {A}}+{\vec {B}})\times {\vec {C}}=({\vec {A}}\times {\vec {C}})+({\vec {B}}\times {\vec {C}})}$

## Equivalence of the two Definitions

Figure 1. The "star" operation is the projection of a vector onto the plane ${\displaystyle P\,}$ .

It is important to prove that the geometric and algebraic definitions of the cross product are the same. The proof is somewhat difficult. First, we need a few lemmas, that is, preliminary theorems.

Notation: We will use a fixed vector ${\displaystyle {\vec {C}}}$  throughout. Consider the plane ${\displaystyle P\,}$  perpendicular to ${\displaystyle {\vec {C}}}$ . The projection of any other vector (say ${\displaystyle {\vec {A}}}$ ) onto ${\displaystyle P\,}$  will be denoted ${\displaystyle {\vec {A}}^{*}}$ . See Figure 1.

What if ${\displaystyle {\vec {C}}}$  is zero? Its perpendicular plane is undefined. But in that case the lemma we are trying to prove (distributivity) will be trivially true.

Figure 2. ${\displaystyle {\vec {A}}}$  and ${\displaystyle {\vec {A}}^{*}}$  give the same cross product.

Lemma 1: Using the geometric definition of the cross product:

${\displaystyle {\vec {A}}\times {\vec {C}}={\vec {A}}^{*}\times {\vec {C}}}$

Proof: Let ${\displaystyle \theta \,}$  be the angle between ${\displaystyle {\vec {A}}}$  and ${\displaystyle {\vec {C}}}$ . We have:

${\displaystyle \|{\vec {A}}^{*}\|=\|{\vec {A}}\|\sin \theta }$

Since ${\displaystyle {\vec {A}}^{*}}$  is perpendicular to ${\displaystyle {\vec {C}}}$ , we have:

${\displaystyle \|{\vec {A}}\times {\vec {C}}\|=\|{\vec {A}}\|\|{\vec {C}}\|\sin \theta =\|{\vec {A}}^{*}\|\|{\vec {C}}\|=\|{\vec {A}}^{*}\|\|{\vec {C}}\|\sin 90^{\circ }=\|{\vec {A}}^{*}\times {\vec {C}}\|}$

So they have the same length. Also, ${\displaystyle {\vec {A}}\times {\vec {C}}}$  and ${\displaystyle {\vec {A}}^{*}\times {\vec {C}}}$  point in the same direction, the direction perpendicular to the plane formed by ${\displaystyle {\vec {C}}}$  and ${\displaystyle {\vec {A}}}$ . See Figure 2.

Q.E.D.

Lemma 2: Letting ${\displaystyle {\vec {B}}}$  be another vector:

${\displaystyle ({\vec {A}}+{\vec {B}})^{*}={\vec {A}}^{*}+{\vec {B}}^{*}}$

Proof: We use the "parallelogram rule" for vector addition. In perspective, the vectors might look like Figures 3 and 4.

Figure 3. Two vectors, with their "star" projection vectors.

Figure 4. Addition of the two vectors.

Figure 5, showing the parallelogram rule when viewed directly down on the plane. The green dot symbolizes vector C pointing directly toward the viewer.

But if we look directly down on the plane, ${\displaystyle {\vec {A}}}$  and ${\displaystyle {\vec {A}}^{*}}$  are the same, as are ${\displaystyle {\vec {B}}}$  and ${\displaystyle {\vec {B}}^{*}}$ , and ${\displaystyle ({\vec {A}}+{\vec {B}})}$  and ${\displaystyle ({\vec {A}}+{\vec {B}})^{*}}$ .

Q.E.D.

Figure 6, showing various vectors and their cross products with C. All of these vectors lie in the plane perpendicular to C.

Lemma 3: The cross product, using the geometric definition, obeys the distributive law:

${\displaystyle ({\vec {A}}+{\vec {B}})\times {\vec {C}}=({\vec {A}}\times {\vec {C}})+({\vec {B}}\times {\vec {C}})}$

Proof:

If we look directly down on the plane perpendicular to C, we can once again see the addition of ${\displaystyle {\vec {A}}^{*}}$  and ${\displaystyle {\vec {B}}^{*}}$  as shown in Figure 5. If we rotate that diagram clockwise by 90° and scale by the length of ${\displaystyle {\vec {C}}}$ , we get the cross products of all those vectors with C, as shown in Figure 6. Those cross products all lie in the plane perpendicular to C, and the addition of ${\displaystyle {\vec {A}}^{*}+{\vec {B}}^{*}}$ , by the parallelogram rule, is faithfully carried over into the addition of ${\displaystyle {\vec {A}}^{*}\times {\vec {C}}+{\vec {B}}^{*}\times {\vec {C}}}$ .

This shows that

${\displaystyle {\vec {A}}^{*}\times {\vec {C}}+{\vec {B}}^{*}\times {\vec {C}}=({\vec {A}}^{*}+{\vec {B}}^{*})\times {\vec {C}}}$

By lemma 2, this becomes

${\displaystyle {\vec {A}}^{*}\times {\vec {C}}+{\vec {B}}^{*}\times {\vec {C}}=({\vec {A}}+{\vec {B}})^{*}\times {\vec {C}}}$

And by lemma 1, this becomes

${\displaystyle {\vec {A}}\times {\vec {C}}+{\vec {B}}\times {\vec {C}}=({\vec {A}}+{\vec {B}})\times {\vec {C}}}$

Q.E.D.

By the antisymmetry of the cross product, it is also distributive in the second argument:

${\displaystyle {\vec {C}}\times ({\vec {A}}+{\vec {B}})=({\vec {C}}\times {\vec {A}})+({\vec {C}}\times {\vec {B}})}$

Theorem: The geometric and algebraic definitions of the cross product are the same.

Proof: Let the vectors ${\displaystyle {\vec {A}}}$  and ${\displaystyle {\vec {B}}}$  be expressed as linear combinations of the Cartesian unit basis vectors ${\displaystyle {\hat {x}}}$ , ${\displaystyle {\hat {y}}}$ , and ${\displaystyle {\hat {z}}}$ :

${\displaystyle {\vec {A}}=A_{x}{\hat {x}}+A_{y}{\hat {y}}+A_{z}{\hat {z}}}$
${\displaystyle {\vec {B}}=B_{x}{\hat {x}}+B_{y}{\hat {y}}+B_{z}{\hat {z}}}$

(The numbers ${\displaystyle A_{x}\dots B_{z}}$  are the components of the two vectors.)

By lemma 3, and linearity, we can expand the cross product:

${\displaystyle {\vec {A}}\times {\vec {B}}=A_{x}\ ({\hat {x}}\times {\vec {B}})+A_{y}\ ({\hat {y}}\times {\vec {B}})+A_{z}\ ({\hat {z}}\times {\vec {B}})}$
${\displaystyle =A_{x}\ ({\hat {x}}\times (B_{x}{\hat {x}}+B_{y}{\hat {y}}+B_{z}{\hat {z}}))}$
${\displaystyle +\ A_{y}\ ({\hat {y}}\times (B_{x}{\hat {x}}+B_{y}{\hat {y}}+B_{z}{\hat {z}}))}$
${\displaystyle +\ A_{z}\ ({\hat {z}}\times (B_{x}{\hat {x}}+B_{y}{\hat {y}}+B_{z}{\hat {z}}))}$
${\displaystyle =A_{x}B_{x}\ ({\hat {x}}\times {\hat {x}})+A_{x}B_{y}\ ({\hat {x}}\times {\hat {y}})+A_{x}B_{z}\ ({\hat {x}}\times {\hat {z}})}$
${\displaystyle +\ A_{y}B_{x}\ ({\hat {y}}\times {\hat {x}})+A_{y}B_{y}\ ({\hat {y}}\times {\hat {y}})+A_{y}B_{z}\ ({\hat {y}}\times {\hat {z}})}$
${\displaystyle +\ A_{z}B_{x}\ ({\hat {z}}\times {\hat {x}})+A_{z}B_{y}\ ({\hat {z}}\times {\hat {y}})+A_{z}B_{z}\ ({\hat {z}}\times {\hat {z}})}$

Now inspection of the cross products of the basis vectors, using the geometric definition and the right hand rule, shows that:

Figure 7. Cartesian basis vectors. The system is right handed.
${\displaystyle {\hat {x}}\times {\hat {x}}=0\ \ \ \ \ \ \ \ {\hat {x}}\times {\hat {y}}={\hat {z}}\ \ \ \ \ \ \ \ {\hat {x}}\times {\hat {z}}=-{\hat {y}}}$
${\displaystyle {\hat {y}}\times {\hat {x}}=-{\hat {z}}\ \ \ \ \ \ {\hat {y}}\times {\hat {y}}=0\ \ \ \ \ \ \ \ {\hat {y}}\times {\hat {z}}={\hat {x}}}$
${\displaystyle {\hat {z}}\times {\hat {x}}={\hat {y}}\ \ \ \ \ \ \ \ {\hat {z}}\times {\hat {y}}=-{\hat {x}}\ \ \ \ \ \ {\hat {z}}\times {\hat {z}}=0}$

So

${\displaystyle {\vec {A}}\times {\vec {B}}=(A_{y}B_{z}-A_{z}B_{y})\ {\hat {x}}+(A_{z}B_{x}-A_{x}B_{z})\ {\hat {y}}+(A_{x}B_{y}-A_{y}B_{x})\ {\hat {z}}}$

which is the same as the algebraic definition.

Q.E.D.

## Footnotes and References

1. A real, old-fashioned, times sign. Not an asterisk.