# General Mechanics/Cross Product

There are two ways to multiply two vectors together, the dot product and the cross product. We have already studied the dot product of two vectors, which results in a scalar or single number.

The cross product of two vectors results in a third vector, and is written symbolically as follows:

$\mathbf{A}\times \mathbf{B}$

The cross product of two vectors is defined to be perpendicular to the plane defined by these vectors. However, this doesn't tell us whether the resulting vector points upward out of the plane or downward. This ambiguity is resolved using the right-hand rule:

1. Point the uncurled fingers of your right hand along the direction of the first vector A.
2. Rotate your arm until you can curl your fingers in the direction of the second vector B.
3. Your stretched out thumb now points in the direction of the cross product vector A×B.

The magnitude of the cross product is given by

$|\mathbf{A}\times \mathbf{B}|=|\mathbf{A}||\mathbf{B}|\sin \theta$

where |A| and |B| are the magnitudes of A and B, and θ is the angle between these two vectors. Note that the magnitude of the cross product is zero when the vectors are parallel or anti-parallel, and maximum when they are perpendicular. This contrasts with the dot product, which is maximum for parallel vectors and zero for perpendicular vectors.

Notice that the cross product does not commute, i. e., the order of the vectors is important. In particular, it is easy to show using the right-hand rule that

$\mathbf{A}\times \mathbf{B}= -\mathbf{B}\times \mathbf{A}$

An alternate way to compute the cross product is most useful when the two vectors are expressed in terms of components,

$\mathbf{C}= \mathbf{A}\times \mathbf{B}= \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ A_x & A_y & A_z \\ B_x & B_y & B_z \end{vmatrix}$

where the determinant is expanded as if all the components were numbers, giving

$C_x=A_y B_z -A_z B_y$
$C_y=A_z B_x -A_x B_z$
$C_z=A_x B_y -A_y B_z\ .$

Note how the positive terms possess a forward alphabetical direction, xyzxyzx... (with x following z):

With the cross product we can also multiply three vectors together, in two different ways.

We can take the dot product of a vector with a cross product, a triple scalar product,

$\mathbf{A} \cdot (\mathbf{B} \times \mathbf{C}) = (\mathbf{A} \times \mathbf{B}) \cdot \mathbf{C}$

The absolute value of this product is the volume of the parallelpiped defined by the three vectors, A, B, and C

Alternately, we can take the cross product of a vector with a cross product, a triple vector product, which can be simplified to a combination of dot products.

$\mathbf{A} \times (\mathbf{B} \times \mathbf{C}) =(\mathbf{A} \cdot \mathbf{C}) \mathbf{B} -(\mathbf{A} \cdot \mathbf{B}) \mathbf{C}$

This form is easier to do calculations with.

The triple vector product is not associative.

$\mathbf{A} \times (\mathbf{B} \times \mathbf{C}) \ne (\mathbf{A} \times \mathbf{B}) \times \mathbf{C}$

A nice as well as a useful way to denote the cross product is using the indicial notation

$\mathbf{C = A \times B} = \; \epsilon^{ijk} \, A_j \, B_k \, \hat e_i$,

where $\epsilon^{ijk}$ is the Levi-Civita alternating symbol and $\hat e_i$ is either of the unit vectors $\hat i, \hat j, \hat k$. (A good exercise to convince yourself would be to use this expression and see if you can get C = A x B as defined before.)