AcademyVectors

Academy

Cross Product

Level 1 - Math II (Physics) topic page in Vectors.

Principle

The cross product, also called the vector product, combines two vectors in \(\mathbb R^3\) and outputs another vector in \(\mathbb R^3\). For vectors \(\mathbf a\) and \(\mathbf b\), the cross product is written \(\mathbf a\times\mathbf b\).

When \(\mathbf a\) and \(\mathbf b\) are non-zero and not parallel, they span a plane: the flat two-dimensional surface containing all combinations \(s\mathbf a+t\mathbf b\), where \(s\) and \(t\) are scalars. The vector \(\mathbf a\times\mathbf b\) is perpendicular to this spanned plane.

If \(\theta\) is the angle between \(\mathbf a\) and \(\mathbf b\), with \(0\le\theta\le\pi\), then the magnitude is

Cross-product magnitude
\[|\mathbf a\times\mathbf b|=|\mathbf a||\mathbf b|\sin\theta\]

This magnitude is also the area of the parallelogram whose adjacent side vectors are \(\mathbf a\) and \(\mathbf b\). The right-hand rule chooses between the two possible perpendicular directions: curl the fingers of your right hand from \(\mathbf a\) toward \(\mathbf b\) through the smaller angle \(\theta\); your thumb points in the direction of \(\hat{\mathbf n}\).

If \(\hat{\mathbf n}\) is the unit normal selected by the right-hand rule, then

Vector product
\[\mathbf a\times\mathbf b=|\mathbf a||\mathbf b|\sin\theta\,\hat{\mathbf n}\]

The unit normal \(\hat{\mathbf n}\) has magnitude \(1\) and is perpendicular to the plane spanned by \(\mathbf a\) and \(\mathbf b\).

Notation

\(\mathbf a\times\mathbf b\)
the cross product of vectors \mathbf a and \mathbf b in \mathbb R^3
\(\mathbf c\)
an additional vector in \mathbb R^3
\(\lambda,\mu\)
scalars
\(\hat{\mathbf n}\)
a unit normal vector perpendicular to the plane spanned by \mathbf a and \mathbf b
\(\theta\)
the angle between \mathbf a and \mathbf b, with 0\le\theta\le\pi
\(|\mathbf a\times\mathbf b|\)
the magnitude of the cross product
\(\mathbf i,\mathbf j,\mathbf k\)
Cartesian unit basis vectors in the x, y, and z directions
\(a_1,a_2,a_3\)
the components of \mathbf a in a Cartesian basis
\(b_1,b_2,b_3\)
the components of \mathbf b in the same Cartesian basis
\(\mathbf 0\)
the zero vector

A normal vector to a plane is a vector perpendicular to every direction in that plane. A unit normal has magnitude \(1\). The cross product gives one of the two unit normal directions after it is divided by its own magnitude, provided the cross product is non-zero.

Method

Step 1: Determine the normal direction

Identify the plane spanned by \(\mathbf a\) and \(\mathbf b\). Use the right-hand rule: curl from \(\mathbf a\) to \(\mathbf b\), and let your thumb choose the positive normal direction \(\hat{\mathbf n}\).

If \(\mathbf a\) and \(\mathbf b\) are parallel or one of them is \(\mathbf 0\), the parallelogram has zero area and \(\mathbf a\times\mathbf b=\mathbf 0\). In that case there is no unique unit normal from the cross product.

Step 2: Calculate the magnitude

When magnitudes and the angle are known, use

Magnitude from angle
\[|\mathbf a\times\mathbf b|=|\mathbf a||\mathbf b|\sin\theta\]

Then attach the direction from Step 1:

Start with the magnitude
\[|\mathbf a\times\mathbf b|=|\mathbf a||\mathbf b|\sin\theta\]
Name the right-hand-rule unit normal
\[\hat{\mathbf n}=\text{unit normal chosen by the right-hand rule}\]
Attach the normal direction
\[\mathbf a\times\mathbf b=|\mathbf a||\mathbf b|\sin\theta\,\hat{\mathbf n}\]

The same magnitude gives the parallelogram area:

Parallelogram area
\[A=|\mathbf a\times\mathbf b|=|\mathbf a||\mathbf b|\sin\theta\]

Step 3: Use components when coordinates are given

If \(\mathbf a=(a_1,a_2,a_3)\) and \(\mathbf b=(b_1,b_2,b_3)\) in the same Cartesian basis, compute

Component formula
\[\mathbf a\times\mathbf b=(a_2b_3-a_3b_2,\;a_3b_1-a_1b_3,\;a_1b_2-a_2b_1)\]

This formula gives the vector directly. Its magnitude gives the parallelogram area, and its direction gives the right-hand-rule normal.

Rules

Bilinearity in the first input
\[(\lambda\mathbf a+\mu\mathbf c)\times\mathbf b=\lambda(\mathbf a\times\mathbf b)+\mu(\mathbf c\times\mathbf b)\]
Bilinearity in the second input
\[\mathbf a\times(\lambda\mathbf b+\mu\mathbf c)=\lambda(\mathbf a\times\mathbf b)+\mu(\mathbf a\times\mathbf c)\]
Anti-commutativity
\[\mathbf a\times\mathbf b=-\mathbf b\times\mathbf a\]
Self cross product
\[\mathbf a\times\mathbf a=\mathbf 0\]
Unit normal from a non-zero cross product
\[\hat{\mathbf n}=\frac{\mathbf a\times\mathbf b}{|\mathbf a\times\mathbf b|}\quad\text{when }\mathbf a\times\mathbf b\ne\mathbf 0\]
Cross product in components
\[\mathbf a\times\mathbf b=(a_2b_3-a_3b_2,\;a_3b_1-a_1b_3,\;a_1b_2-a_2b_1)\]

The Cartesian basis products are

Positive cyclic products
\[\mathbf i\times\mathbf j=\mathbf k,\quad \mathbf j\times\mathbf k=\mathbf i,\quad \mathbf k\times\mathbf i=\mathbf j\]
Reversed products
\[\mathbf j\times\mathbf i=-\mathbf k,\quad \mathbf k\times\mathbf j=-\mathbf i,\quad \mathbf i\times\mathbf k=-\mathbf j\]
Repeated basis products
\[\mathbf i\times\mathbf i=\mathbf j\times\mathbf j=\mathbf k\times\mathbf k=\mathbf 0\]

Component formula from bilinearity

Let \(\mathbf a=a_1\mathbf i+a_2\mathbf j+a_3\mathbf k\) and \(\mathbf b=b_1\mathbf i+b_2\mathbf j+b_3\mathbf k\). Use bilinearity and the basis cross-product table:

Start from Cartesian expansions
\[\mathbf a\times\mathbf b=(a_1\mathbf i+a_2\mathbf j+a_3\mathbf k)\times(b_1\mathbf i+b_2\mathbf j+b_3\mathbf k)\]
Distribute over the second input
\[\mathbf a\times\mathbf b=(a_1\mathbf i+a_2\mathbf j+a_3\mathbf k)\times b_1\mathbf i+(a_1\mathbf i+a_2\mathbf j+a_3\mathbf k)\times b_2\mathbf j+(a_1\mathbf i+a_2\mathbf j+a_3\mathbf k)\times b_3\mathbf k\]
Move scalars out of the second input
\[\mathbf a\times\mathbf b=b_1(a_1\mathbf i+a_2\mathbf j+a_3\mathbf k)\times\mathbf i+b_2(a_1\mathbf i+a_2\mathbf j+a_3\mathbf k)\times\mathbf j+b_3(a_1\mathbf i+a_2\mathbf j+a_3\mathbf k)\times\mathbf k\]
Distribute over the first input
\[\mathbf a\times\mathbf b=b_1(a_1\mathbf i\times\mathbf i+a_2\mathbf j\times\mathbf i+a_3\mathbf k\times\mathbf i)+b_2(a_1\mathbf i\times\mathbf j+a_2\mathbf j\times\mathbf j+a_3\mathbf k\times\mathbf j)+b_3(a_1\mathbf i\times\mathbf k+a_2\mathbf j\times\mathbf k+a_3\mathbf k\times\mathbf k)\]
Use basis products
\[\mathbf a\times\mathbf b=b_1(a_1\mathbf 0-a_2\mathbf k+a_3\mathbf j)+b_2(a_1\mathbf k+a_2\mathbf 0-a_3\mathbf i)+b_3(-a_1\mathbf j+a_2\mathbf i+a_3\mathbf 0)\]
Multiply by scalar coefficients
\[\mathbf a\times\mathbf b=-a_2b_1\mathbf k+a_3b_1\mathbf j+a_1b_2\mathbf k-a_3b_2\mathbf i-a_1b_3\mathbf j+a_2b_3\mathbf i\]
Collect i components
\[\mathbf a\times\mathbf b=(a_2b_3-a_3b_2)\mathbf i+a_3b_1\mathbf j-a_1b_3\mathbf j-a_2b_1\mathbf k+a_1b_2\mathbf k\]
Collect j components
\[\mathbf a\times\mathbf b=(a_2b_3-a_3b_2)\mathbf i+(a_3b_1-a_1b_3)\mathbf j-a_2b_1\mathbf k+a_1b_2\mathbf k\]
Collect k components
\[\mathbf a\times\mathbf b=(a_2b_3-a_3b_2)\mathbf i+(a_3b_1-a_1b_3)\mathbf j+(a_1b_2-a_2b_1)\mathbf k\]
Write as a coordinate triple
\[\mathbf a\times\mathbf b=(a_2b_3-a_3b_2,\;a_3b_1-a_1b_3,\;a_1b_2-a_2b_1)\]

Examples

Question
Compute
\[(0,3,-4)\times(1,-1,2)\]
Answer
Use
\[(a_2b_3-a_3b_2,\;a_3b_1-a_1b_3,\;a_1b_2-a_2b_1)\]
Here
\[a_1=0\]
\[a_2=3\]
\[a_3=-4\]
\[b_1=1\]
\[b_2=-1\]
and
\[b_3=2\]
The first component is
\[a_2b_3-a_3b_2=3\cdot2-(-4)(-1)=6-4=2\]
The second component is
\[a_3b_1-a_1b_3=(-4)\cdot1-0\cdot2=-4-0=-4\]
The third component is
\[a_1b_2-a_2b_1=0\cdot(-1)-3\cdot1=0-3=-3\]
Therefore
\[(0,3,-4)\times(1,-1,2)=(2,-4,-3)\]

Checks

  • The cross product in this form exists only in three dimensions for this course.
  • The result \(\mathbf a\times\mathbf b\) is perpendicular to both input vectors \(\mathbf a\) and \(\mathbf b\).
  • Reversing the input order reverses the output: \(\mathbf b\times\mathbf a=-(\mathbf a\times\mathbf b)\).