The Cross Product
The cross product is another way of multiplying two vectors in three-dimensional space, and its result is still a vector (as against the scalar produced by the dot product):
Geometric meaning:
- Direction: perpendicular to the plane spanned by and , determined by the right-hand rule
- Length: equal to the area of the parallelogram spanned by and
With the four fingers of your right hand turning from towards (through the smaller angle), the direction your thumb points in is the direction of .
Right hand, four fingers: v → w (through the smaller angle)
Thumb: points along v×w
- (the x-axis × the y-axis = the z-axis)
- The cross product is anti-commutative:
The three-dimensional cross product can be remembered with a “pseudo-determinant”:
Expanding along the first row:
Example: v = (1, 0, 0), w = (0, 1, 0)
v×w = (0×0 − 0×1, 0×0 − 1×0, 1×1 − 0×0) = (0, 0, 1) = k ✓
Verifying the length formula: , , , and ✓ (the area of the unit square).
On the two-dimensional plane, regard the two vectors as three-dimensional vectors with zero -component, and the cross product is left with only its -component:
This number (which is signed) is exactly the signed area of the parallelogram spanned by the two vectors!
Example: v = (2, 1), w = (1, 3)
cross product = 2×3 − 1×1 = 5 (positive, the turn from v to w is counterclockwise)
The connection with the determinant
The two-dimensional cross product = the determinant of the matrix having the two vectors as columns:
Geometric intuition: this is precisely the determinant’s “area scaling” meaning, applied to two vectors.
A Useful Test with the Two-Dimensional Cross Product
| Sign | Meaning |
|---|---|
| The turn from to is counterclockwise (a left turn) | |
| The turn from to is clockwise (a right turn) | |
| The two vectors are collinear (parallel) |
This is used in geometric algorithms to decide “which side of a line a point is on”.
| Field | Application |
|---|---|
| Computer graphics | finding the normal vector of a plane (the cross product of two points gives the plane’s normal) |
| Physics | the torque ; the angular momentum |
| Geometric algorithms | deciding which side of a segment a point is on, polygon areas, collision detection |
| Computer graphics | lighting calculations, computing the orientation of a camera |
An example from computer graphics: given the three vertices of a triangle, taking the cross product of two of its edges gives a normal vector to the plane of the triangle — and the normal vector is the basis of lighting calculations.
| Comparison | Dot product v·w | Cross product v×w |
|---|---|---|
| Result | a scalar (a number) | a vector |
| Depends on the angle through | (largest when aligned) | (largest when perpendicular) |
| Commutativity | symmetric | anti-commutative |
| Geometry | length of the projection | the spanned area |
| When perpendicular | the dot product = 0 | the cross product has the largest norm |
Symbols Used in This Article
| Symbol | Type | Pronunciation/Explanation | Meaning in This Article |
|---|---|---|---|
| Mathematical symbol | v cross w | The cross product: a vector perpendicular to both and | |
| Mathematical symbol | norm of v cross w | The length of the cross product , that is, the area of the spanned parallelogram | |
| Greek letter | Theta | The angle between the two vectors | |
| Mathematical symbol | i-hat cross j-hat equals k-hat | The cross product of the standard basis vectors, whose direction is fixed by the right-hand rule | |
| Mathematical symbol | anti-commutative | The cross product is anti-commutative: swapping the order changes the sign | |
| Mathematical symbol | pseudo-determinant | The “pseudo-determinant” used to remember the formula for the cross product | |
| Mathematical symbol | v1 w2 minus v2 w1 | The two-dimensional cross product, equal to the signed area spanned by the two vectors | |
| Mathematical symbol | determinant | The two-dimensional cross product is the determinant of the matrix having the two vectors as columns |
