# 21A: Vectors - The Cross Product & Torque

$$\newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$

$$\newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$

$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$

( \newcommand{\kernel}{\mathrm{null}\,}\) $$\newcommand{\range}{\mathrm{range}\,}$$

$$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$

$$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}[1]{\| #1 \|}$$

$$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$

$$\newcommand{\Span}{\mathrm{span}}$$

$$\newcommand{\id}{\mathrm{id}}$$

$$\newcommand{\Span}{\mathrm{span}}$$

$$\newcommand{\kernel}{\mathrm{null}\,}$$

$$\newcommand{\range}{\mathrm{range}\,}$$

$$\newcommand{\RealPart}{\mathrm{Re}}$$

$$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$

$$\newcommand{\Argument}{\mathrm{Arg}}$$

$$\newcommand{\norm}[1]{\| #1 \|}$$

$$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$

$$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\AA}{\unicode[.8,0]{x212B}}$$

$$\newcommand{\vectorA}[1]{\vec{#1}} % arrow$$

$$\newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow$$

$$\newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$

$$\newcommand{\vectorC}[1]{\textbf{#1}}$$

$$\newcommand{\vectorD}[1]{\overrightarrow{#1}}$$

$$\newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}}$$

$$\newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}}$$

$$\newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$

$$\newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$

$$\newcommand{\avec}{\mathbf a}$$ $$\newcommand{\bvec}{\mathbf b}$$ $$\newcommand{\cvec}{\mathbf c}$$ $$\newcommand{\dvec}{\mathbf d}$$ $$\newcommand{\dtil}{\widetilde{\mathbf d}}$$ $$\newcommand{\evec}{\mathbf e}$$ $$\newcommand{\fvec}{\mathbf f}$$ $$\newcommand{\nvec}{\mathbf n}$$ $$\newcommand{\pvec}{\mathbf p}$$ $$\newcommand{\qvec}{\mathbf q}$$ $$\newcommand{\svec}{\mathbf s}$$ $$\newcommand{\tvec}{\mathbf t}$$ $$\newcommand{\uvec}{\mathbf u}$$ $$\newcommand{\vvec}{\mathbf v}$$ $$\newcommand{\wvec}{\mathbf w}$$ $$\newcommand{\xvec}{\mathbf x}$$ $$\newcommand{\yvec}{\mathbf y}$$ $$\newcommand{\zvec}{\mathbf z}$$ $$\newcommand{\rvec}{\mathbf r}$$ $$\newcommand{\mvec}{\mathbf m}$$ $$\newcommand{\zerovec}{\mathbf 0}$$ $$\newcommand{\onevec}{\mathbf 1}$$ $$\newcommand{\real}{\mathbb R}$$ $$\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}$$ $$\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}$$ $$\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}$$ $$\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}$$ $$\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}$$ $$\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}$$ $$\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}$$ $$\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}$$ $$\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}$$ $$\newcommand{\laspan}[1]{\text{Span}\{#1\}}$$ $$\newcommand{\bcal}{\cal B}$$ $$\newcommand{\ccal}{\cal C}$$ $$\newcommand{\scal}{\cal S}$$ $$\newcommand{\wcal}{\cal W}$$ $$\newcommand{\ecal}{\cal E}$$ $$\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}$$ $$\newcommand{\gray}[1]{\color{gray}{#1}}$$ $$\newcommand{\lgray}[1]{\color{lightgray}{#1}}$$ $$\newcommand{\rank}{\operatorname{rank}}$$ $$\newcommand{\row}{\text{Row}}$$ $$\newcommand{\col}{\text{Col}}$$ $$\renewcommand{\row}{\text{Row}}$$ $$\newcommand{\nul}{\text{Nul}}$$ $$\newcommand{\var}{\text{Var}}$$ $$\newcommand{\corr}{\text{corr}}$$ $$\newcommand{\len}[1]{\left|#1\right|}$$ $$\newcommand{\bbar}{\overline{\bvec}}$$ $$\newcommand{\bhat}{\widehat{\bvec}}$$ $$\newcommand{\bperp}{\bvec^\perp}$$ $$\newcommand{\xhat}{\widehat{\xvec}}$$ $$\newcommand{\vhat}{\widehat{\vvec}}$$ $$\newcommand{\uhat}{\widehat{\uvec}}$$ $$\newcommand{\what}{\widehat{\wvec}}$$ $$\newcommand{\Sighat}{\widehat{\Sigma}}$$ $$\newcommand{\lt}{<}$$ $$\newcommand{\gt}{>}$$ $$\newcommand{\amp}{&}$$ $$\definecolor{fillinmathshade}{gray}{0.9}$$

Do not use your left hand when applying either the right-hand rule for the cross product of two vectors (discussed in this chapter) or the right-hand rule for “something curly something straight” discussed in the preceding chapter.

There is a relational operator for vectors that allows us to bypass the calculation of the moment arm. The relational operator is called the cross product. It is represented by the symbol “×” read “cross.” The torque $$\vec{\tau}$$ can be expressed as the cross product of the position vector $$\vec{r}$$ for the point of application of the force, and the force vector $$\vec{F}$$ itself:

$\vec{\tau}=\vec{r} \times \vec{F} \label{21-1}$

Before we begin our mathematical discussion of what we mean by the cross product, a few words about the vector $$\vec{r}$$ are in order. It is important for you to be able to distinguish between the position vector $$\vec{r}$$ for the force, and the moment arm, so we present them below in one and the same diagram. We use the same example that we have used before:

in which we are looking directly along the axis of rotation (so it looks like a dot) and the force lies in a plane perpendicular to that axis of rotation. We use the diagramatic convention that, the point at which the force is applied to the rigid body is the point at which one end of the arrow in the diagram touches the rigid body. Now we add the line of action of the force and the moment arm $$r_{\bot}$$ to the diagram, as well as the position vector $$\vec{r}$$ of the point of application of the force.

The moment arm can actually be defined in terms of the position vector for the point of application of the force. Consider a tilted $$x$$-$$y$$ coordinate system, having an origin on the axis of rotation, with one axis parallel to the line of action of the force and one axis perpendicular to the line of action of the force. We label the $$x$$ axis $$\bot$$ for “perpendicular” and the $$y$$ axis $$\|$$ for “parallel.”

Now we break up the position vector $$\vec{r}$$ into its component vectors along the $$\bot$$ and $$\|$$ axes.

From the diagram it is clear that the moment arm $$r_{\bot}$$ is just the magnitude of the component vector, in the perpendicular-to-the-force direction, of the position vector of the point of application of the force.

Now let’s discuss the cross product in general terms. Consider two vectors, $$\vec{A}$$ and (\vec{B}\) that are neither parallel nor anti-parallel to each other. Two such vectors define a plane. Let that plane be the plane of the page and define $$\theta$$ to be the smaller of the two angles between the two vectors when the vectors are drawn tail to tail.

The magnitude of the cross product vector $$\vec{A}\times \vec{B}$$ is given by

$|\vec{A}\times\vec{B}|=AB sin\theta \label{21-2}$

Keeping your fingers aligned with your forearm, point your fingers in the direction of the first vector (the one that appears before the “$$\times$$” in the mathematical expression for the cross product; e.g. the $$\vec{A}$$ in $$vec{A}\times\vec{B}$$ ).

Now rotate your hand, as necessary, about an imaginary axis extending along your forearm and along your middle finger, until your hand is oriented such that, if you were to close your fingers, they would point in the direction of the second vector.

Your thumb is now pointing in the direction of the cross product vector. $$\vec{C}=\vec{A}\times\vec{B}$$. The cross product vector $$\vec{C}$$ is always perpendicular to both of the vectors that are in the cross product (the $$\vec{A}$$ and the $$\vec{B}$$ in the case at hand). Hence, if you draw them so that both of the vectors that are in the cross product are in the plane of the page, the cross product vector will always be perpendicular to the page, either straight into the page, or straight out of the page. In the case at hand, it is straight out of the page.

When we use the cross product to calculate the torque due to a force $$\vec{F}$$ whose point of application has a position vector $$\vec{r}$$, relative to the point about which we are calculating the torque, we get an axial torque vector $$\vec{\tau}$$. To determine the sense of rotation that such a torque vector would correspond to, about the axis defined by the torque vector itself, we use The Right Hand Rule For Something Curly Something Straight. Note that we are calculating the torque with respect to a point rather than an axis—the axis about which the torque acts, comes out in the answer.

## Calculating the Cross Product of Vectors that are Given in $$\hat{i}$$, $$\hat{j}$$, $$\hat{k}$$ Notation

Unit vectors allow for a straightforward calculation of the cross product of two vectors under even the most general circumstances, e.g. circumstances in which each of the vectors is pointing in an arbitrary direction in a three-dimensional space. To take advantage of the method, we need to know the cross product of the Cartesian coordinate axis unit vectors $$\hat{i}$$, $$\hat{j}$$ and $$\hat{k}$$ with each other.

First off, we should note that any vector crossed into itself gives zero. This is evident from Equation $$\ref{21-2}$$:

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

because if A and B are in the same direction, then $$\theta=0^{\circ}$$, and since $$sin0^{\circ}=0$$, we have $$|\vec{A}\times\vec{B}|=0$$. Regarding the unit vectors, this means that:

$\hat{i}\times\hat{i}=0 \nonumber$

$\hat{j}\times\hat{j}=0 \nonumber$

$\hat{k}\times\hat{k}=0 \nonumber$

Next we note that the magnitude of the cross product of two vectors that are perpendicular to each other is just the ordinary product of the magnitudes of the vectors. This is also evident from equation $$\ref{21-2}$$:

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

because if $$\vec{A}$$ is perpendicular to $$\vec{B}$$ then $$\theta=90^{\circ}$$ and $$sin90^{\circ}=1$$ so

$|\vec{A}\times\vec{B}|=AB \nonumber$

Now if $$\vec{A}$$ and $$\vec{B}$$ are unit vectors, then their magnitudes are both 1, so, the product of their magnitudes is also 1. Furthermore, the unit vectors $$\hat{i}$$, $$\hat{j}$$ and $$\hat{k}$$ are all perpendicular to each other so the magnitude of the cross product of any one of them with any other one of them is the product of the two magnitudes, that is, 1.

Now how about the direction? Let’s use the right hand rule to get the direction of $$\hat{i} \times \hat{j}$$:

With the fingers of the right hand pointing directly away from the right elbow, and in the same direction as $$hat{i}$$, (the first vector in '$$\hat{i}\times\hat{j}$$' ) to make it so that if one were to close the fingers, they would point in the same direction as $$\hat{j}$$, the palm must be facing in the +y direction. That being the case, the extended thumb must be pointing in the +z direction. Putting the magnitude (the magnitude of each unit vector is 1) and direction (+z) information together we see that $$\hat{i}\times\hat{j}=\hat{k}$$. Similarly: $$\hat{j}\times\hat{k}=\hat{i}$$, $$\hat{k}\times\hat{i}=\hat{j}$$, $$\hat{j}\times\hat{i}=-\hat{k}$$, $$\hat{k}\times\hat{j}=-\hat{i}$$, and $$\hat{i}\times\hat{k}=-\hat{j}$$. One way of remembering this is to write $$\hat{i}$$, $$\hat{j}$$, $$\hat{k}$$ twice in succession:

$\hat{i},\hat{j},\hat{k},\hat{i},\hat{j},\hat{k} \nonumber$

Then, crossing any one of the first three vectors into the vector immediately to its right yields the next vector to the right. But crossing any one of the last three vectors into the vector immediately to its left yields the negative of the next vector to the left (left-to-right “+“, but right-to-left “-“).

Now we’re ready to look at the general case. Any vector $$\vec{A}$$ can be expressed in terms of unit vectors:

$\vec{A}=A_x \hat{i}+A_y \hat{j}+ A_z \hat{k} \nonumber$

Doing the same for a vector $$\vec{B}$$ then allows us to write the cross product as:

$\vec{A}\times\vec{B}=(A_x \hat{i}+A_y \hat{j} +A_z \hat{k}) \times (B_x \hat{i}+B_y \hat{j} +B_z \hat{k}) \nonumber$

Using the distributive rule for multiplication we can write this as:

$\vec{A}\times\vec{B}=A_x \hat{i} \times (B_x \hat{i}+B_y \hat{j} +B_z \hat{k}) + A_y \hat{j} \times (B_x \hat{i}+B_y \hat{j} +B_z \hat{k}) + A_z \hat{k}\times (B_x \hat{i}+B_y \hat{j} +B_z \hat{k}) \nonumber$

$\vec{A}\times\vec{B}=A_x \hat{i} \times B_x \hat{i}+A_x \hat{i} \times B_y \hat{j} +A_x \hat{i} \times B_z \hat{k} + A_y \hat{j} \times B_x \hat{i}+A_y \hat{j} \times B_y \hat{j} +A_y \hat{j} \times B_z \hat{k} + A_z \hat{k} \times B_x \hat{i}+A_z \hat{k} \times B_y \hat{j} +A_z \hat{k} \times B_z \hat{k} \nonumber$

Using, in each term, the commutative rule and the associative rule for multiplication we can write this as:

$\vec{A}\times\vec{B}=A_x B_x (\hat{i} \times \hat{i})+A_x B_y (\hat{i} \times \hat{j}) +A_x B_z (\hat{i} \times \hat{k}) + A_y B_x (\hat{j} \times \hat{i})+A_y B_y (\hat{j} \times \hat{j}) +A_y B_z (\hat{j} \times \hat{k}) + A_z B_x (\hat{k} \times \hat{i})+A_z B_y (\hat{k} \times \hat{j}) +A_z B_z (\hat{k} \times \hat{k}) \nonumber$

Now we evaluate the cross product that appears in each term:

$\vec{A}\times\vec{B}=A_x B_x (0)+A_x B_y (\hat{k}) +A_x B_z (-\hat{j}) + A_y B_x (-\hat{k})+A_y B_y (0) +A_y B_z (\hat{i}) + A_z B_x (\hat{j})+A_z B_y (-\hat{i}) +A_z B_z (0) \nonumber$

Eliminating the zero terms and grouping the terms with $$\hat{i}$$ together, the terms with $$\hat{j}$$ together, and the terms with $$\hat{k}$$ together yields:

$\vec{A}\times\vec{B}=A_y B_z(\hat{i})+A_z B_y (-\hat{i})+ A_z B_x (\hat{j}) + A_x B_z (-\hat{j})+ A_x B_y (\hat{k}) + A_y B_x (-\hat{k}) \nonumber$

Factoring out the unit vectors yields:

$\vec{A}\times\vec{B}=(A_y B_z- A_z B_y)\hat{i}+(A_z B_x - A_x B_z) \hat{j}+ (A_x B_y- A_y B_x) \hat{k} \nonumber$

which can be written on one line as:

$\vec{A}\times\vec{B}=(A_y B_z- A_z B_y)\hat{i}+(A_z B_x - A_x B_z) \hat{j}+(A_x B_y- A_y B_x) \hat{k} \label{21-3}$

This is our end result. We can arrive at this result much more quickly if we borrow a tool from that branch of mathematics known as linear algebra (the mathematics of matrices).

We form the $$3\times 3$$ matrix

$\begin{bmatrix} \hat{i}&\hat{j}&\hat{k} \\ A_x & A_y & A_z \\ B_x&B_y&B_z \end{bmatrix} \nonumber$

by writing \hat{i}, \hat{j}, \hat{k} as the first row, then the components of the first vector that appears in the cross product as the second row, and finally the components of the second vector that appears in the cross product as the last row. It turns out that the cross product is equal to the determinant of that matrix. We use absolute value signs on the entire matrix to signify “the determinant of the matrix.” So we have:

$\vec{A} \times \vec{B}=\begin{vmatrix} \hat{i}&\hat{j}&\hat{k} \\ A_x & A_y & A_z \\ B_x&B_y&B_z \end{vmatrix} \label{21-4}$

To take the determinant of a $$3\times 3$$ matrix you work your way across the top row. For each element in that row you take the product of the elements along the diagonal that extends down and to the right, minus the product of the elements down and to the left; and you add the three results (one result for each element in the top row) together. If there are no elements down and to the appropriate side, you move over to the other side of the matrix (see below) to complete the diagonal.

For the first element of the first row, the $$\hat{i}$$, take the product down and to the right,

( this yields $$\hat{i} A_yB_z$$ )

minus the product down and to the left

( the product down-and-to-the-left is $$\hat{i} A_zB_y$$ )

For the first element in the first row, we thus have: $$\hat{i} A_yB_z-\hat{i} A_zB_y$$ which can be written as: $$(A_yB_z-A_zB_y) \hat{i}$$. Repeating the process for the second and third elements in the first row (the $$\hat{j}$$ and the $$\hat{k}$$ ) we get $$(A_zB_x - A_xB_z) \hat{j}$$ and $$(A_xB_y - A_yB_x) \hat{k}$$ respectively. Adding the three results, to form the determinant of the matrix results in:

$\vec{A}\times\vec{B}=(A_y B_z- A_z B_y)\hat{i}+(A_z B_x - A_x B_z) \hat{j}+(A_x B_y- A_y B_x) \hat{k} \nonumber$

as we found before, “the hard way.”

This page titled 21A: Vectors - The Cross Product & Torque is shared under a CC BY-SA 2.5 license and was authored, remixed, and/or curated by Jeffrey W. Schnick via source content that was edited to the style and standards of the LibreTexts platform.