The cross product is a special way to multiply two vectors in three-dimensional
space.
There is no useful way to “multiply” two vectors and obtain another vector in \(\R ^n\) for
arbitrary \(n\). However, in the special case of \(\R ^3\), there is an important multiplication
operation called “the cross product.”
The cross product is linked inextricably to the determinant, so we will first introduce
the determinant before introducing this new operation.
1 Determinants
Given a
\(2\times 2\) matrix, the
determinant is given by
\[ \det \begin{bmatrix} a & b\\ c & d \end{bmatrix} = \begin{vmatrix} a & b\\ c & d \end{vmatrix} = ad -bc. \]
Why would anyone ever be
interested in this? Well to start, given nonzero vectors
\[ \vec {v} = \vector {a,b}\quad \text {and}\quad \vec {w}=\vector {c,d} \]
we can form a parallelogram
as below.
The determinant
gives the (signed) area of this parallelogram, where the sign of the area is
given by the sign of the angle \(\theta \) (drawn counterclockwise) between \(\vec {v}\) and \(\vec {w}\). To
understand why this is true, make a rectangle around the parallelogram as below.
Now, we see that
the area of the parallelogram is
\[ \text {Area of rectangle} - \text {Area of other regions} \]
and this is
\begin{align*} (a+c)(b+d) - \left (cd + ab + 2bc \right )&= ab + ad + bc + cd - cd - ab-2bc\\ &= ad - bc\\ &= \det \begin{bmatrix} a & b\\ c & d \end{bmatrix}. \end{align*}
Typically, when one computes the determinant of a \(2\times 2\) matrix, we think of the terms as
follows.
Given a
\(3\times 3\) matrix, the
determinant is denoted by the following.
\[ \det \begin{bmatrix} a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \\ c_1 & c_2 & c_3 \end{bmatrix} = \begin{vmatrix} a_1 & a_2 & a_3 \\ b_1 & b_2 & b_3 \\ c_1 & c_2 & c_3 \end{vmatrix} \]
The determinant can be computed using the following pattern.
This equals
\[ a_1(b_2c_3-b_3c_2)- a_2(b_1c_3-b_3c_1)+ a_3(b_1c_2-b_2c_1). \]
Compute.
\[ \det \begin{bmatrix} 1 & 4 & 7\\ 2 & 5 & 8\\ 3 & 6 & 9\\ \end{bmatrix} \begin{prompt} = \answer {0} \end{prompt} \]
2 Cross products
Determinants in \(\R ^n\) have many uses. In \(\R ^3\), one of the uses is the definition of the cross
product.
The
cross product of two vectors is given by
\[ \vector {a_1,a_2,a_3} \cross \vector {b_1,b_2,b_3} = \det \begin{bmatrix} \veci & \vecj & \veck \\ a_1 & a_2 & a_3\\ b_1 & b_2 & b_3 \end{bmatrix}. \]
The first thing you should notice
about the the cross product is that
\[ \mathbf {vector}\cross \mathbf {vector} = \mathbf {vector}. \]
In particular, the cross product is not precisely a
determinant, since a determinant would be a number, not a vector. But, the
determinant provides us with a useful memory tool for computing the cross product.
The pattern
is efficient, because you immediately have the components of the desired vector
without additional simplification.
Compute
\(\vector {2,3,1} \cross \vector {1,1,1}\).
\begin{align*} \vector {2,3,1} \cross \vector {1,1,1} &= \det \begin{bmatrix} \veci & \vecj & \veck \\ \answer {2} & \answer {3} & \answer {1}\\ \answer {1} & \answer {1} & \answer {1} \end{bmatrix}\\ &= \vector {\answer {2},\answer {-1},\answer {-1}} \end{align*}
Compute
\(\vector {1,1,1}\cross \vector {2,3,1}\).
\begin{align*} \vector {1,1,1}\cross \vector {2,3,1} &=\det \begin{bmatrix} \veci & \vecj & \veck \\ \answer {1} & \answer {1} & \answer {1}\\ \answer {2} & \answer {3} & \answer {1} \end{bmatrix}\\ &= \vector {\answer {-2},\answer {1},\answer {1}} \end{align*}
Notice that the cross product is not commutative! In fact, it is anticommutative,
meaning the statement below.
The Cross Product is Anticommutative Given two vectors
\(\vec {a}\) and
\(\vec {b}\) in
\(\R ^3\) \[ \vec {a} \cross \vec {b} = -\vec {b}\cross \vec {a} \]
The
anticommutative property of the cross product demonstrates that \(\vec {a}\cross \vec {b}\) and \(\vec {b}\cross \vec {a}\) differ only
by a sign. These vectors have the same magnitude but point in opposite
directions.
Let’s examine the cross product on famous unit vectors.
Compute
\[ \veci \cross \vecj . \begin{prompt} = \vector {\answer {0},\answer {0},\answer {1}} \end{prompt} \]
Compute
\[ \vecj \cross \veck . \begin{prompt} = \vector {\answer {1},\answer {0},\answer {0}} \end{prompt} \]
Compute
\[ \veck \cross \veci . \begin{prompt} = \vector {\answer {0},\answer {1},\answer {0}} \end{prompt} \]
One way to remember the cross products of the unit vectors \(\veci \), \(\vecj \), and \(\veck \) is to use the
diagram below.
Since we see that the cross product of two basic unit vectors produces a vector
orthogonal to both unit vectors, we are led to our next theorem (which could be
verified through brute force computations).
The vector
\(\vec {a}\cross \vec {b}\) is orthogonal to both
\(\vec {a}\) and
\(\vec {b}\).
In three-dimensional space, when seeking a vector perpendicular to both \(\vec a\) and \(\vec b\), we
could choose one of two directions: the direction of \(\vec {a}\cross \vec {b}\), or the direction of \(\vec {b}\cross \vec {a}\). The
direction of the cross product is given by the right-hand rule. Given \(\vec {a}\) and \(\vec {b}\) in \(\R ^3\) with
the same initial point, point the index finger of your right hand in the direction of \(\vec {a}\)
and let your middle finger point in the direction of \(\vec {b}\) (much as we did when
establishing the right-hand rule for the 3-dimensional coordinate system).
Your thumb will naturally extend in the direction of \(\vec {a}\cross \vec {b}\). If you switch your
fingers, pointing the index finder in the direction of \(\vec {b}\) and the middle finger
in the direction of \(\vec {a}\), your thumb will now point in the opposite direction,
allowing you to “visualize” the anticommutative property of the cross product.
Consider the vectors below.
Does
\(\vec {a}\cross \vec {b}\) point toward you or away from you?
toward me away from me
3 The geometry of the cross product
Just as we related the angle between two vectors and their dot product, there is a
similar relationship relating the cross product of two vectors to the angle between
them. Before we get started, we need an identity.
Lagrange’s Idenitity Given two vectors
\(\vec {a}\) and
\(\vec {b}\),
\[ |\vec {a}\cross \vec {b}|^2 = |\vec {a}|^2 |\vec {b}|^2 - (\vec {a}\dotp \vec {b})^2. \]
Set
\(\vec {a}=\vector {a_1,a_2,a_3}\) and
\(\vec {b}=\vector {b_1,b_2,b_3}\). Computing the
left-hand side and the right-hand side separately, we see that they are equal. We
leave both of these computations to the intrepid young mathematician.
Geometric Interpretation of the Cross Product For any two vectors
\(\vec {a}\) and
\(\vec {b}\),
\[ |\vec {a} \cross \vec {b}| = |\vec {a}||\vec {b}|\sin (\theta ), \]
where
\(0\le \theta \le \pi \) is
the angle between
\(\vec {a}\) and
\(\vec {b}\).
By Lagrange’s identity, we have that
\[ |\vec {a}\cross \vec {b}|^2 = |\vec {a}|^2 |\vec {b}|^2 - (\vec {a}\dotp \vec {b})^2. \]
However, we also
know that
\[ \vec {a} \dotp \vec {b} = |\vec {a}| |\vec {b}|\cos (\theta ). \]
So, write with me.
\begin{align*} |\vec {a}\cross \vec {b}|^2 &= |\vec {a}|^2 |\vec {b}|^2 - (\vec {a}\dotp \vec {b})^2\\ &= |\vec {a}|^2 |\vec {b}|^2 - |\vec {a}|^2 |\vec {b}|^2\cos ^2(\theta )\\ &= |\vec {a}|^2 |\vec {b}|^2(1 - \cos ^2(\theta ))\\ &= |\vec {a}|^2 |\vec {b}|^2\sin ^2(\theta ) \end{align*}
Hence, \(|\vec {a} \cross \vec {b}| = |\vec {a}||\vec {b}|\sin (\theta )\).
The theorems above help us make a strong connection between the cross product and
geometry.
Given two vectors
\(\vec {a}\) and
\(\vec {b}\) in
\(\R ^3\),
\(|\vec {a}\cross \vec {b}|\)
computes the area of the parallelogram spanned by
\(\vec {a}\) and
\(\vec {b}\).
It is a fact from geometry
that the area of a parallelogram
is
\[ A= bh, \]
where
\(b\) is the
length of the base and
\(h\) is the height of the parallelogram. Two vectors
\(\vec {a}\) and
\(\vec {b}\)
define a parallelogram when drawn from the same initial point, as follows.
Trigonometry tells us that
\(h = |\vec {a}| \sin (\theta )\), and so the
area of the parallelogram is
\[ A = |\vec {a}||\vec {b}|\sin (\theta ) = |\vec {a}\cross \vec {b}|. \]
What is the area of the parallelogram
spanned by
\(\vector {1,2,4}\) and
\(\vector {2,3,1}\)?
\[ \text {Area} = \answer {\sqrt {150}} \]
What is the area of the triangle spanned by
\(\vector {1,2,4}\) and
\(\vector {2,3,1}\)?
\[ \text {Area} = \answer {\sqrt {150}/2} \]
This is half of the area of the parallelogram spanned by \(\vector {1,2,4}\) and \(\vector {2,3,1}\).
Note that if \(\vec {a}\) and \(\vec {b}\) are in \(\R ^2\), we can still use the cross product to compute the area of
the parallelogram spanned by \(\vec {a}\) and \(\vec {b}\). We just add a \(z\)-component of \(0\) to each
vector.
What is the area of the parallelogram spanned by
\(\vector {1,2}\) and
\(\vector {3,4}\)?
\[ \text {Area} = \answer {2} \]
If
\(\vec {a}\) and
\(\vec {b}\) are two nonzero vectors, and
\(\theta \) is the angle between them,
\[ \vec {a}\cross \vec {b} = \vec {0} \text { if and only if $\theta = 0$ or $\theta =\pi $}. \]
This follows from
our work with parallelograms, since the area of the parallelogram spanned by parallel
vectors is zero.
4 Applications
In addition to the geometric applications we have already seen, we can also use the
cross product in some physical applications.
4.1 Torque
Imagine turning a wrench. The wrench originates at a point \(O\) and terminates at a
point \(P\). Let \(\vec {r} = \overrightarrow {OP}\). You apply a force \(\vec {F}\) to the end of the wrench. If \(\vec {F}\) points in the same
direction as \(\vec {r}\), the bolt will not twist at all, since you will just be pulling on the
handle. If \(\vec {F}\) is perpendicular to the handle, then we expect quite a bit of twisting to
occur.
The torque
\(\vec {t}\) obtained by applying a force
\(\vec {F}\) to a lever arm with position vector
\(\vec {r}\) is
given by
\[ \vec {t} = \vec {r} \cross \vec {F}. \]
A pipe of length
\(3 \unit {m}\) has a force of magnitude
\(2 \unit {N}\) applied to it as shown below.
Assuming the
\(z\)-axis is coming towards you (out of the page), is the torque produced in the positive
or negative
\(z\) direction?
positive negative
\[ |\vec {t}| = \answer {3\sqrt {3}} \]
4.2 Magnetism
When a charged particle moves through a magnetic field, it experiences a force. If the
charge is \(q\), the velocity of the particle is \(\vec {v}\), and the magnetic field is \(\vec {B}\), then the force is
given by
\[ \vec {F} = q\vec {v} \cross \vec {B}. \]
A particle with negative charge
\(-2\) enters a constant magnetic field given by
\(\vec {B} = \veci +2\vecj \). The
velocity vector of the particle is
\(\vec {v} = \veck +\veci \). What is the force acting on the particle?
\[ \vec {F} = \answer {4}\veci +\answer {-2}\vecj +\answer {-4}\veck \]
5 The algebra of the cross product
Below, we summarize some rules for working with cross products.
The following are true for all scalars
\(s\) and
\(t\), and vectors
\(\vec {u}\),
\(\vec {v}\), and
\(\vec {w}\) in
\(\R ^3\).
-
Anticommutative:
-
\(\vec {v} \cross \vec {w} = -\vec {w} \cross \vec {v}\)
-
Left-distributive:
-
\(\vec {u} \cross (\vec {v} +\vec {w}) = \vec {u} \cross \vec {v}+\vec {u}\cross \vec {w}\)
-
Right-distributive:
-
\((\vec {v}+\vec {w}) \cross \vec {u} = \vec {v} \cross \vec {u}+\vec {w} \cross \vec {u}\)
-
Respects scalar multiplication:
-
\(s\vec {v} \cross t\vec {w} = st \vec {v} \cross \vec {w}\)
-
Relation to parallel vectors:
-
\(\vec {v} \cross \vec {v} = \vec {0}\)
-
Orientation:
-
\(\veci \cross \vecj = \veck \), \(\vecj \cross \veck = \veci \), and \(\veck \cross \veci = \vecj \).
Moreover, these properties determine the cross product uniquely.
We will not prove that the cross product is the only function with these properties,
but that is an important point. If you ever wondered where this crazy formula came
from, the uniqueness of the cross product is your explanation. If you want these
properties, there is only one operation which gives them to you, and it is the cross
product. We leave you with the following curious fact. The cross product
only exists in \(\R ^3\) and \(\R ^7\). While a proof of this fact is beyond the scope of this
course, we hope that this mystery encourages you to travel deeper into your
studies.
For some interesting extra reading check out: