16.4: Cross Product
- Page ID
- 55334
\( \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}\)The cross product is a mathematical operation that can be performed on any two three-dimensional vectors. The result of the cross product operation will be a third vector that is perpendicular to both of the original vectors and has a magnitude of the first vector times the magnitude of the second vector times the sine of the angle between the vectors.

When finding a cross product, you may notice that there are actually two directions that are perpendicular to both of your original vectors. These two directions will be in exact opposite directions. To find which of these two directions the cross product uses, we will use the right-hand rule.
To use the right-hand rule, hold out you right hand, point your index finger in the direction of the first vector, turn your middle finger in towards the direction of the second vector, and hold your thumb up. Your thumb should now point in the direction of the cross product vector.

One additional thing you can note with the right-hand rule is that switching the order of the two input vectors (switching \(\vec{A}\) and \(\vec{B}\)) would result in the cross product pointing in exactly the opposite direction. This is because the cross product operation is not commutative, meaning that order does matter. Specifically, switching the order of the inputs gives you a result that is exactly the opposite of what your original calculation.
Calculating the Cross Product
To find the cross product by hand, the easiest method is as follows.
- Write out the letters \(x \,\, y \,\, z \,\, x \,\, y\) in a row as shown in the diagram below.
- Write out the \(x\), \(y\), and \(z\) components of the first vector underneath the corresponding letters of the row of letters from Step 1. Repeat this for the second vector, writing out the second vector's components in a row under the first vector.
- Draw in diagonals as shown in the diagram. The diagonals that travel to the right as they move down represent positive quantities, while the diagonals that travel to the left as they move down represent negative quantities.
- Using the letters the diagonals travel through in the top row as a guide for which component of the result each quantity is part of, take the sum of the positive and negative diagonal products for each of the three components in the result. This should give you the final formula shown in the diagram.
![Vector A contains components [a, b, c], and Vector B contains components [d, e, f]. The letters x, y, z, x, y are written out in a horizontal row. In a second row, the components of A are written below their corresponding variables: a, b, c, a, b. In a third row, the components of B are written in the order d, e, f, d, e. Three diagonal lines run through the matrix, moving from the upper left to the lower right: one passes through x, b, f; another through y, c, d; the third through z, a, e. Moving from the upper right to the lower left, three other diagonal lines run through the matrix: one passes through y, a, f; another through x, c, e; the third through z, b, d. At the bottom of the diagram, the answer for the cross product of vector A and vector B is given in component form [(bf-ce), (cd-af), (ae-bd)].](https://eng.libretexts.org/@api/deki/files/44638/crossproductmatrix.png?revision=1)
In addition to calculating the cross product by hand, we can also use computer tools such as the "cross" command in MATLAB or web-based tools such as the Wolfram Alpha Vector Operation calculator. Access to these tools allows you to very easily and quickly calculate the cross product and is a major advantage to using vectors operations to analyze problems.
Example \(\PageIndex{1}\)
Calculate the cross product of force vectors \(\vec{A}\) and \(\vec{B}\) in the diagram below by hand.

- Solution:
-
Video \(\PageIndex{2}\): Worked solution to example problem \(\PageIndex{1}\), provided by Dr. Jacob Moore. YouTube source: https://youtu.be/KQhOkEflq9s.
Example \(\PageIndex{2}\)
Calculate the cross product of the vectors \(\vec{A}\) and \(\vec{B}\) in the diagram below by hand.
![Vector A has x, y, z components [1, 3, 5]. Vector B has x, y, z components [6, 4, 2]. What is their cross product?](https://eng.libretexts.org/@api/deki/files/44641/P2.png?revision=1)
- Solution:
-
Video \(\PageIndex{3}\): Worked solution to example problem \(\PageIndex{2}\), provided by Dr. Jacob Moore. YouTube source: https://youtu.be/oHLU_q3kVKc.
Example \(\PageIndex{3}\)
Calculate the cross product of the vectors \(\vec{A}\) and \(\vec{B}\) in the diagram below using MATLAB.
Figure \(\PageIndex{6}\): problem diagram for Example \(\PageIndex{3}\).
- Solution:
-
Video \(\PageIndex{4}\): Worked solution to example problem \(\PageIndex{3}\), provided by Dr. Jacob Moore. YouTube source: https://youtu.be/a9w6GWQJ96A.
Example \(\PageIndex{4}\)
Calculate the cross product of vectors \(\vec{A}\) and \(\vec{B}\) in the diagram below, using the Wolfram Vector Operation Calculator.
![Vector A has x, y, z components [1, 3, 5]. Vector B has x, y, z components [6, 4, 2]. What is their cross product?](https://eng.libretexts.org/@api/deki/files/44641/P2.png?revision=1)
- Solution:
-
Video \(\PageIndex{5}\): Worked solution to example problem \(\PageIndex{4}\), provided by Dr. Jacob Moore. YouTube source: https://youtu.be/24JCFHWWGG4.