1. Home
  2. Explore
  3. Mathematics
  4. Vector Cross Product

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Vector Cross Product

✖️ The 3D Cross Product: Computation & Geometry

The 3D cross product of two vectors, v\mathbf{v}v and w\mathbf{w}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\mathbf{v} \times \mathbf{w}v×w is computed by constructing a special 3×33 \times 33×3 matrix and finding its determinant.

The matrix is formed as follows:

  • The first column contains the symbolic basis vectors: i^\hat{\mathbf{i}}i^, j^\hat{\mathbf{j}}j^​, and k^\hat{\mathbf{k}}k^.

  • The second column contains the coordinates of vector v\mathbf{v}v.

  • The third column contains the coordinates of vector w\mathbf{w}w.

v×w=det⁡(i^vxwxj^vywyk^vzwz)\mathbf{v} \times \mathbf{w} = \det \begin{pmatrix} \hat{\mathbf{i}} & v_x & w_x \\ \hat{\mathbf{j}} & v_y & w_y \\ \hat{\mathbf{k}} & v_z & w_z \end{pmatrix}v×w=det​i^j^​k^​vx​vy​vz​​wx​wy​wz​​​

When computing this determinant, treat i^\hat{\mathbf{i}}i^, j^\hat{\mathbf{j}}j^​, and k^\hat{\mathbf{k}}k^ as if they were numbers. The result will be an expression of the form:

(C1)i^+(C2)j^+(C3)k^(C_1)\hat{\mathbf{i}} + (C_2)\hat{\mathbf{j}} + (C_3)\hat{\mathbf{k}}(C1​)i^+(C2​)j^​+(C3​)k^

where C1,C2,C3C_1, C_2, C_3C1​,C2​,C3​ are constants derived from the components of v\mathbf{v}v and w\mathbf{w}w. These constants C1,C2,C3C_1, C_2, C_3C1​,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\mathbf{v} \times \mathbf{w}v×w has distinct geometric properties:

  • Length (Magnitude): The length of the cross product vector, ∥v×w∥\|\mathbf{v} \times \mathbf{w}\|∥v×w∥, is equal to the area of the parallelogram formed by vectors v\mathbf{v}v and w\mathbf{w}w when they share a common origin.

  • Direction: The cross product vector is perpendicular (orthogonal) to both v\mathbf{v}v and w\mathbf{w}w.

  • Orientation (Right-Hand Rule): The direction of the cross product vector follows the right-hand rule. If you point your forefinger along v\mathbf{v}v and your middle finger along w\mathbf{w}w, your thumb will point in the direction of v×w\mathbf{v} \times \mathbf{w}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×n1 \times n1×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\mathbf{v}v and w\mathbf{w}w. The dual vector of this transformation will then be the cross product v×w\mathbf{v} \times \mathbf{w}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\mathbf{v}v and w\mathbf{w}w is simply the determinant of a 2×22 \times 22×2 matrix formed by their coordinates:

det⁡(vxwxvywy)\det \begin{pmatrix} v_x & w_x \\ v_y & w_y \end{pmatrix}det(vx​vy​​wx​wy​​)
  • This determinant returns a scalar value.

  • Geometrically, this scalar represents the signed area of the parallelogram spanned by v\mathbf{v}v and w\mathbf{w}w. The sign depends on the orientation of v\mathbf{v}v relative to w\mathbf{w}w.

📦 The Determinant as a Volume Function in 3D

If we consider three 3D vectors, u\mathbf{u}u, v\mathbf{v}v, and w\mathbf{w}w, the determinant of the 3×33 \times 33×3 matrix formed by their coordinates as columns:

det⁡(uxvxwxuyvywyuzvzwz)\det \begin{pmatrix} u_x & v_x & w_x \\ u_y & v_y & w_y \\ u_z & v_z & w_z \end{pmatrix}det​ux​uy​uz​​vx​vy​vz​​wx​wy​wz​​​
  • Geometrically, this gives the signed volume of the parallelepiped spanned by u\mathbf{u}u, v\mathbf{v}v, and w\mathbf{w}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)L(\mathbf{u})L(u) from 3D space to the number line.

  • We fix two vectors, v\mathbf{v}v and w\mathbf{w}w.

  • We let the third vector, u\mathbf{u}u, be a variable input vector u=(x,y,z)\mathbf{u} = (x, y, z)u=(x,y,z).

  • The transformation L(u)L(\mathbf{u})L(u) is defined as the signed volume of the parallelepiped formed by u\mathbf{u}u, v\mathbf{v}v, and w\mathbf{w}w:

    L(x,y,z)=det⁡(xvxwxyvywyzvzwz)L(x, y, z) = \det \begin{pmatrix} x & v_x & w_x \\ y & v_y & w_y \\ z & v_z & w_z \end{pmatrix}L(x,y,z)=det​xyz​vx​vy​vz​​wx​wy​wz​​​

🔑 Linearity of the Transformation

This function L(u)L(\mathbf{u})L(u) is linear. This is a fundamental property of determinants:

  • Scaling any column by a scalar ccc scales the determinant by ccc.

  • Adding two vectors in a column results in the sum of two determinants. Because L(u)L(\mathbf{u})L(u) is linear, by the principle of duality, there must exist a unique 3D vector p\mathbf{p}p such that:

    L(u)=p⋅uL(\mathbf{u}) = \mathbf{p} \cdot \mathbf{u}L(u)=p⋅u

🤝 Connecting Computation and Geometry via Duality

1. 🔢 Computational Approach to Finding p\mathbf{p}p

We are looking for a vector p=(px,py,pz)\mathbf{p} = (p_x, p_y, p_z)p=(px​,py​,pz​) such that:

pxx+pyy+pzz=det⁡(xvxwxyvywyzvzwz)p_x x + p_y y + p_z z = \det \begin{pmatrix} x & v_x & w_x \\ y & v_y & w_y \\ z & v_z & w_z \end{pmatrix}px​x+py​y+pz​z=det​xyz​vx​vy​vz​​wx​wy​wz​​​

When you expand the determinant on the right side using cofactor expansion along the first column, you get:

xdet⁡(vywyvzwz)−ydet⁡(vxwxvzwz)+zdet⁡(vxwxvywy)x \det \begin{pmatrix} v_y & w_y \\ v_z & w_z \end{pmatrix} - y \det \begin{pmatrix} v_x & w_x \\ v_z & w_z \end{pmatrix} + z \det \begin{pmatrix} v_x & w_x \\ v_y & w_y \end{pmatrix}xdet(vy​vz​​wy​wz​​)−ydet(vx​vz​​wx​wz​​)+zdet(vx​vy​​wx​wy​​)

By comparing the coefficients of xxx, yyy, and zzz on both sides, we find the components of p\mathbf{p}p:

  • px=det⁡(vywyvzwz)=vywz−vzwyp_x = \det \begin{pmatrix} v_y & w_y \\ v_z & w_z \end{pmatrix} = v_y w_z - v_z w_ypx​=det(vy​vz​​wy​wz​​)=vy​wz​−vz​wy​

  • py=−det⁡(vxwxvzwz)=vzwx−vxwzp_y = - \det \begin{pmatrix} v_x & w_x \\ v_z & w_z \end{pmatrix} = v_z w_x - v_x w_zpy​=−det(vx​vz​​wx​wz​​)=vz​wx​−vx​wz​

  • pz=det⁡(vxwxvywy)=vxwy−vywxp_z = \det \begin{pmatrix} v_x & w_x \\ v_y & w_y \end{pmatrix} = v_x w_y - v_y w_xpz​=det(vx​vy​​wx​wy​​)=vx​wy​−vy​wx​

These are precisely the components obtained by the symbolic determinant computation of the cross product:

v×w=(vywz−vzwy)i^+(vzwx−vxwz)j^+(vxwy−vywx)k^\mathbf{v} \times \mathbf{w} = (v_y w_z - v_z w_y)\hat{\mathbf{i}} + (v_z w_x - v_x w_z)\hat{\mathbf{j}} + (v_x w_y - v_y w_x)\hat{\mathbf{k}}v×w=(vy​wz​−vz​wy​)i^+(vz​wx​−vx​wz​)j^​+(vx​wy​−vy​wx​)k^

The symbolic i^\hat{\mathbf{i}}i^, j^\hat{\mathbf{j}}j^​, k^\hat{\mathbf{k}}k^ in the determinant computation are just a notational trick to indicate that the coefficients found are the components of the dual vector p\mathbf{p}p.

2. 🌍 Geometric Approach to Finding p\mathbf{p}p

We need to find a vector p\mathbf{p}p such that its dot product with any vector u=(x,y,z)\mathbf{u} = (x, y, z)u=(x,y,z) yields the signed volume of the parallelepiped formed by u\mathbf{u}u, v\mathbf{v}v, and w\mathbf{w}w.

Recall the geometric interpretation of the dot product p⋅u\mathbf{p} \cdot \mathbf{u}p⋅u: it is the length of the projection of u\mathbf{u}u onto p\mathbf{p}p, multiplied by the length of p\mathbf{p}p.

p⋅u=∥p∥∥u∥cos⁡θ\mathbf{p} \cdot \mathbf{u} = \|\mathbf{p}\| \|\mathbf{u}\| \cos \thetap⋅u=∥p∥∥u∥cosθ

Consider the volume of the parallelepiped defined by u\mathbf{u}u, v\mathbf{v}v, and w\mathbf{w}w:

  • The base area is given by the area of the parallelogram formed by v\mathbf{v}v and w\mathbf{w}w. This area is ∥v×w∥\|\mathbf{v} \times \mathbf{w}\|∥v×w∥.

  • The height of the parallelepiped is the component of u\mathbf{u}u that is perpendicular to the plane containing v\mathbf{v}v and w\mathbf{w}w.

If we define a vector p\mathbf{p}p such that:

  1. Its magnitude ∥p∥\|\mathbf{p}\|∥p∥ is equal to the area of the parallelogram formed by v\mathbf{v}v and w\mathbf{w}w.

  2. Its direction is perpendicular to the plane containing v\mathbf{v}v and w\mathbf{w}w (and thus perpendicular to both v\mathbf{v}v and w\mathbf{w}w).

  3. Its orientation follows the right-hand rule with respect to v\mathbf{v}v and w\mathbf{w}w to match the sign of the determinant.

Then, the dot product p⋅u\mathbf{p} \cdot \mathbf{u}p⋅u will be equal to the magnitude of p\mathbf{p}p times the component of u\mathbf{u}u parallel to p\mathbf{p}p. This is exactly the base area times the height, which gives the signed volume of the parallelepiped.

Therefore, the dual vector p\mathbf{p}p must possess these geometric properties:

  • Perpendicularity: p\mathbf{p}p is perpendicular to both v\mathbf{v}v and w\mathbf{w}w.

  • Magnitude: ∥p∥\|\mathbf{p}\|∥p∥ equals the area of the parallelogram spanned by v\mathbf{v}v and w\mathbf{w}w.

  • Orientation: p\mathbf{p}p follows the right-hand rule relative to v\mathbf{v}v and w\mathbf{w}w.

🎯 Conclusion: The Unified Definition

Since both the computational and geometric approaches lead to the same unique dual vector p\mathbf{p}p for the linear transformation L(u)L(\mathbf{u})L(u), these two seemingly different definitions of the cross product are inherently linked. The cross product v×w\mathbf{v} \times \mathbf{w}v×w is precisely this dual vector p\mathbf{p}p.


📝 Summary of the Cross Product

The cross product v×w\mathbf{v} \times \mathbf{w}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\mathbf{u}u, and the two fixed vectors v\mathbf{v}v and w\mathbf{w}w.

  • Computationally, this dual vector's components are found by expanding the determinant of the matrix with i^\hat{\mathbf{i}}i^, j^\hat{\mathbf{j}}j^​, k^\hat{\mathbf{k}}k^ in the first column.

  • Geometrically, this dual vector is perpendicular to v\mathbf{v}v and w\mathbf{w}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.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent