Cross Product
Cross Product
Cross Product
Overview
The cross product is a binary operation on two vectors in three-dimensional space. Unlike the dot product which returns a scalar, the cross product returns a vector that is perpendicular (orthogonal) to both of the input vectors. This makes it a powerful tool for finding surface normals, calculating torque, and determining the area of parallelograms in 3D space.
Definition
Algebraic Form
If u = (ux, uy, uz) and v = (vx, vy, vz), the cross product u × v is defined as:
This can also be expressed as the determinant of a formal 3×3 matrix where the first row contains the standard basis vectors i, j, and k.
Geometric Form
Geometrically, the cross product u × v is a vector w whose magnitude is given by:
where θ is the angle between u and v. The direction of w is perpendicular to both u and v, and its exact orientation is determined by the right-hand rule.
Key Concepts
Right-Hand Rule
To find the direction of u × v, point the index finger of your right hand in the direction of u, and your middle finger in the direction of v. Your thumb will then point in the direction of the cross product u × v. This establishes a "right-handed" coordinate system.
Anti-commutativity
Unlike the dot product or regular multiplication, the cross product is not commutative. Swapping the order of the vectors reverses the direction of the resulting vector:
Area of a Parallelogram
The magnitude of the cross product, ||u × v||, is exactly equal to the area of the parallelogram formed by the vectors u and v. If the vectors are collinear (parallel or anti-parallel), their cross product is the zero vector, and the area is zero.
Historical Context
The cross product was developed in the late 19th century by Josiah Willard Gibbs and Oliver Heaviside, who independently created vector analysis by simplifying William Rowan Hamilton's earlier theory of quaternions. Gibbs introduced the notation u × v and called it the "skew product" to distinguish it from the "direct product" (dot product).
The distinction between the two types of products was crucial for physics and engineering, allowing for a much more concise formulation of physical laws, such as Maxwell's equations of electromagnetism.
Applications
- Physics (Torque and Angular Momentum): Torque is calculated as the cross product of the position vector and the force vector (τ = r × F). It determines the rotational force applied to an object.
- Electromagnetism: The magnetic force on a moving charge is proportional to the cross product of the charge's velocity and the magnetic field vector (Lorentz force law).
- Computer Graphics: The cross product is essential for calculating surface normals—vectors perpendicular to the faces of 3D models. These normals are required for proper lighting and shading calculations.
- Computational Geometry: Used to determine if a polygon is convex or concave, and to check if a point lies inside a triangle (by checking the orientation of points).
Related Concepts
- Dot Product: While the cross product returns a vector and involves the sine of the angle, the dot product returns a scalar and involves the cosine.
- Determinants: The cross product is deeply tied to the determinant of 3×3 matrices, and calculating the scalar triple product (u · (v × w)) gives the volume of a parallelepiped.
- Exterior Algebra: In higher dimensions, the cross product generalizes to the wedge product, which operates on multivectors rather than simple vectors.
Experience it interactively
Adjust parameters, observe in real time, and build deep intuition with Riano’s interactive Cross Product module.
Try Cross Product on Riano →