Vector Cross Product
✖️ The 3D Cross Product: Computation & Geometry
The 3D cross product of two vectors, v and w, results in a new vector. Its computation often seems arbitrary, but its geometric properties are fundamental in linear algebra.
📐 Computational Definition of the Cross Product
The cross product v×w is computed by constructing a special 3×3 matrix and finding its determinant.
The matrix is formed as follows:
The first column contains the symbolic basis vectors: i^, j^, and k^.
The second column contains the coordinates of vector v.
The third column contains the coordinates of vector w.
When computing this determinant, treat i^, j^, and k^ as if they were numbers. The result will be an expression of the form:
where C1,C2,C3 are constants derived from the components of v and w. These constants C1,C2,C3 are the coordinates of the resulting cross product vector.
🌐 Geometric Properties of the Cross Product
The vector resulting from the cross product v×w has distinct geometric properties:
Length (Magnitude): The length of the cross product vector, ∥v×w∥, is equal to the area of the parallelogram formed by vectors v and w when they share a common origin.
Direction: The cross product vector is perpendicular (orthogonal) to both v and w.
Orientation (Right-Hand Rule): The direction of the cross product vector follows the right-hand rule. If you point your forefinger along v and your middle finger along w, your thumb will point in the direction of v×w.
💡 Duality and Linear Transformations
To understand the connection between the computational and geometric definitions, we leverage the concept of duality.
🔄 Reminder on Duality
Duality states that any linear transformation from a vector space to the number line (i.e., a function that outputs a scalar) can be uniquely associated with a dual vector in that space.
Performing the linear transformation is equivalent to taking the dot product of the input vector with this dual vector.
Numerically, a linear transformation to the number line is represented by a 1×n matrix. This matrix can be "turned on its side" to form a column vector, which is the dual vector. The matrix multiplication is computationally identical to a dot product with this dual vector.
🎯 The Cross Product as a Dual Vector
The core idea is to define a specific linear transformation from 3D space to the number line, based on vectors v and w. The dual vector of this transformation will then be the cross product v×w. Understanding this transformation clarifies the link between computation and geometry.
↔️ The 2D vs. 3D Cross Product
🌎 2D "Cross Product" (Determinant)
In two dimensions, the "cross product" of two vectors v and w is simply the determinant of a 2×2 matrix formed by their coordinates:
This determinant returns a scalar value.
Geometrically, this scalar represents the signed area of the parallelogram spanned by v and w. The sign depends on the orientation of v relative to w.
📦 The Determinant as a Volume Function in 3D
If we consider three 3D vectors, u, v, and w, the determinant of the 3×3 matrix formed by their coordinates as columns:
Geometrically, this gives the signed volume of the parallelepiped spanned by u, v, and w. The sign depends on their right-hand rule orientation.
This is not the 3D cross product, as it takes three vectors and outputs a scalar, whereas the 3D cross product takes two vectors and outputs a vector. However, this concept is crucial for understanding the cross product.
🧮 Defining the Linear Transformation for the Cross Product
Let's define a linear transformation L(u) from 3D space to the number line.
We fix two vectors, v and w.
We let the third vector, u, be a variable input vector u=(x,y,z).
The transformation L(u) is defined as the signed volume of the parallelepiped formed by u, v, and w:
L(x,y,z)=detxyzvxvyvzwxwywz
🔑 Linearity of the Transformation
This function L(u) is linear. This is a fundamental property of determinants:
Scaling any column by a scalar c scales the determinant by c.
Adding two vectors in a column results in the sum of two determinants. Because L(u) is linear, by the principle of duality, there must exist a unique 3D vector p such that:
L(u)=p⋅u
🤝 Connecting Computation and Geometry via Duality
1. 🔢 Computational Approach to Finding p
We are looking for a vector p=(px,py,pz) such that:
When you expand the determinant on the right side using cofactor expansion along the first column, you get:
By comparing the coefficients of x, y, and z on both sides, we find the components of p:
px=det(vyvzwywz)=vywz−vzwy
py=−det(vxvzwxwz)=vzwx−vxwz
pz=det(vxvywxwy)=vxwy−vywx
These are precisely the components obtained by the symbolic determinant computation of the cross product:
The symbolic i^, j^, k^ in the determinant computation are just a notational trick to indicate that the coefficients found are the components of the dual vector p.
2. 🌍 Geometric Approach to Finding p
We need to find a vector p such that its dot product with any vector u=(x,y,z) yields the signed volume of the parallelepiped formed by u, v, and w.
Recall the geometric interpretation of the dot product p⋅u: it is the length of the projection of u onto p, multiplied by the length of p.
Consider the volume of the parallelepiped defined by u, v, and w:
The base area is given by the area of the parallelogram formed by v and w. This area is ∥v×w∥.
The height of the parallelepiped is the component of u that is perpendicular to the plane containing v and w.
If we define a vector p such that:
Its magnitude ∥p∥ is equal to the area of the parallelogram formed by v and w.
Its direction is perpendicular to the plane containing v and w (and thus perpendicular to both v and w).
Its orientation follows the right-hand rule with respect to v and w to match the sign of the determinant.
Then, the dot product p⋅u will be equal to the magnitude of p times the component of u parallel to p. This is exactly the base area times the height, which gives the signed volume of the parallelepiped.
Therefore, the dual vector p must possess these geometric properties:
Perpendicularity: p is perpendicular to both v and w.
Magnitude: ∥p∥ equals the area of the parallelogram spanned by v and w.
Orientation: p follows the right-hand rule relative to v and w.
🎯 Conclusion: The Unified Definition
Since both the computational and geometric approaches lead to the same unique dual vector p for the linear transformation L(u), these two seemingly different definitions of the cross product are inherently linked. The cross product v×w is precisely this dual vector p.
📝 Summary of the Cross Product
The cross product v×w is a vector that serves as the dual vector to the linear transformation that computes the signed volume of a parallelepiped formed by an arbitrary vector u, and the two fixed vectors v and w.
Computationally, this dual vector's components are found by expanding the determinant of the matrix with i^, j^, k^ in the first column.
Geometrically, this dual vector is perpendicular to v and w, has a magnitude equal to the area of the parallelogram they span, and its direction is determined by the right-hand rule.
This duality provides a powerful and elegant explanation for why the algebraic computation of the cross product yields a vector with such specific and useful geometric properties.

Ask anything
We've read this whole study set, so questions about it get the best answers.