What Is the Cross Product?
The cross product (also called the vector product) is an operation on two vectors in three-dimensional space that produces a third vector â unlike the dot product, which produces a scalar.
a and b in â³, the cross product a à b is a vector that is perpendicular to both a and b, with a magnitude equal to the area of the parallelogram spanned by a and b, and a direction given by the right-hand rule.The cross product is fundamental in physics and engineering: torque, angular momentum, magnetic force (F = qv à B), and the curl of a vector field all involve cross products. In computer graphics and computational geometry, cross products compute normal vectors to polygons, determine orientation of three points, and test whether points are on the same side of a plane.
Two crucial properties
A crucial property: the cross product is defined only in three dimensions (and, with extensions, in seven). In 2D or 4D, there's no operation with all the same properties.
Another crucial property: the cross product is not commutative. In fact, a à b = â(b à a). Order matters, and reversing it flips the direction.
This is geometrically obvious from the right-hand rule â pointing your fingers the other way reverses the thumb's direction.
The Cross Product Formula
a = (aâ, aâ, aâ) and b = (bâ, bâ, bâ), the cross product is: a à b = (aâbâ â aâbâ, aâbâ â aâbâ, aâbâ â aâbâ).Memorizing this coordinate-by-coordinate is error-prone; most students use the determinant method instead. Set up a 3Ã3 determinant with i, j, k (the standard unit vectors) in the top row, a's components in the second row, and b's components in the third: a à b = | i j k | | aâ aâ aâ | | bâ bâ bâ |.
Expand along the top row using cofactors: a à b = i · (aâbâ â aâbâ) â j · (aâbâ â aâbâ) + k · (aâbâ â aâbâ). Note the alternating signs: +, â, +. The negative sign on the j component is the most common source of errors.
Compute a à b for a = (2, 3, 4), b = (5, 6, 7).
i-component = 3·7 â 4·6 = 21 â 24 = â3.
j-component = â(2·7 â 4·5) = â(14 â 20) = â(â6) = 6.
k-component = 2·6 â 3·5 = 12 â 15 = â3.
a à b = (â3, 6, â3)Verification: Check perpendicularity via the dot product. (a à b) · a = (â3)·2 + 6·3 + (â3)·4 = â6 + 18 â 12 = 0. â (a à b) · b = (â3)·5 + 6·6 + (â3)·7 = â15 + 36 â 21 = 0. â The cross product is indeed perpendicular to both.
Geometric Interpretation and Magnitude
|a à b| = |a| · |b| · sin(θ), where θ is the angle between a and b. This equals the area of the parallelogram with sides a and b. Half of this gives the area of the triangle with those two sides: Area of triangle = ½|a à b|.Contrast with the dot product: a · b = |a| · |b| · cos(θ). The dot product measures how much a and b point in the same direction; the cross product measures how much they don't.
Point the fingers of your right hand in the direction of a, then curl them toward b through the angle between them. Your thumb points in the direction of a à b.
Special cases
| Case | Condition | Result | Why |
|---|---|---|---|
| Parallel | θ = 0° or 180° | a à b = 0 (zero vector) | sin(θ) = 0 |
| Perpendicular | θ = 90° | |a à b| = |a| · |b| | sin(θ) = 1 |
Find the area of the triangle with vertices P(1, 2, 3), Q(4, 5, 6), R(7, 1, 2).
Form two edge vectors: PQ = Q â P = (3, 3, 3), PR = R â P = (6, â1, â1).
Cross product: PQ à PR = i(3·(â1) â 3·(â1)) â j(3·(â1) â 3·6) + k(3·(â1) â 3·6) = i(â3 + 3) â j(â3 â 18) + k(â3 â 18) = (0, 21, â21).
Magnitude: |(0, 21, â21)| = â(0 + 441 + 441) = â882 â 29.70.
Triangle area: ½ · 29.70 â 14.85Properties of the Cross Product
The cross product obeys several important algebraic rules that you'll use in proofs and computations:
a à b = â(b à a). Reversing order reverses direction.a à (b + c) = (a à b) + (a à c). Works with vector addition.(ka) à b = a à (kb) = k(a à b). Scalars can be pulled out.a à a = 0 for any vector a. A vector is always parallel to itself.In general, (a à b) à c â a à (b à c). This is a common mistake; cross products must be parenthesized carefully.
Standard basis relations
Standard basis relations: i à j = k, j à k = i, k à i = j. Reversing order negates each: j à i = âk, etc. A mnemonic: cycling forward through i, j, k gives positives; cycling backward gives negatives.
a · (b à c) produces a scalar equal to the signed volume of the parallelepiped spanned by a, b, c. It equals the determinant of the matrix whose rows are a, b, c. If the scalar triple product is zero, the three vectors are coplanar (lie in a common plane).a à (b à c) = b(a · c) â c(a · b). This identity is used heavily in electromagnetics and mechanics.Applications in Physics and Engineering
The cross product isn't just an abstract operation â it encodes fundamental physical laws.
| Application | Formula | Meaning |
|---|---|---|
| Torque | Ï = r à F | The torque Ï produced by a force F applied at position r from a pivot. Magnitude |Ï| = |r| · |F| · sin(θ) â which is why leverage depends on where and how you push. |
| Angular momentum | L = r à p | Where p is linear momentum. Critical for understanding rotation in any system from spinning tops to planetary orbits. |
| Magnetic force | F = qv à B | The force on a moving charge in a magnetic field. The cross product explains why the force is perpendicular to both velocity and field â which gives rise to circular motion in uniform fields, used in cyclotrons and mass spectrometers. |
| Normal vectors (graphics) | n = (Q â P) Ã (R â P) | To compute the normal to a triangle with vertices P, Q, R for lighting calculations. Normalize if you need a unit normal. |
A wrench is 0.3 m long, and you apply 50 N of force perpendicular to it.
Torque magnitude: |Ï| = 0.3 · 50 · sin(90°).
|Ï| = 15 N·mFor a polygon with vertices vâ, vâ, ..., vâ in 3D, the area is ½|Σ(váµ¢ à váµ¢ââ)| â a generalization of the shoelace formula using cross products.
Common Mistakes and Worked Example
Common mistakes
Forgetting the negative sign on the j-component when expanding the determinant.
Confusing a à b with b à a â they have opposite directions.
Trying to take a cross product of 2D vectors â convert them to 3D by appending a zero: (aâ, aâ) â (aâ, aâ, 0).
Treating the cross product as associative in multi-step computations.
Using cos in the magnitude formula â it's sin.
Complete worked example
Find (a) the area of the triangle with vertices A(1, 0, 0), B(0, 2, 0), C(0, 0, 3), and (b) a unit vector normal to the plane containing these three points.
- Step 1 â Form two edge vectors from A
AB = (â1, 2, 0),AC = (â1, 0, 3). - Step 2 â Cross product
AB à AC = i(2·3 â 0·0) â j((â1)·3 â 0·(â1)) + k((â1)·0 â 2·(â1)) = i(6) â j(â3) + k(2) = (6, 3, 2). - Step 3 â Area
|(6, 3, 2)| = â(36 + 9 + 4) = â49 = 7. Triangle area =½ · 7 = 3.5square units. - Step 4 â Unit normal
nÌ = (6, 3, 2)/7 = (6/7, 3/7, 2/7). This vector is perpendicular to the plane through A, B, C, with length 1.
Area = 3.5 sq units; nÌ = (6/7, 3/7, 2/7)Verification: nÌ Â· AB = â6/7 + 6/7 + 0 = 0. â nÌ Â· AC = â6/7 + 0 + 6/7 = 0. â
If you're working through cross-product problems â area calculations, normal vectors, torques, or proving vector identities â scan them with Solver AI for every computational step.