Dot Product vs Cross Product
Subtopic: Vector Operations
The dot product and cross product are two ways to multiply vectors, yielding completely different results. The dot product gives a scalar measuring alignment; the cross product gives a vector perpendicular to both inputs. Understanding when to use each is essential for physics, graphics, and geometry.
Introduction
Multiplying numbers is straightforward. But how do you multiply vectors? There's no single answer—different products serve different purposes. The two most important are the dot product (inner product) and the cross product.
The dot product asks: how much do these vectors point in the same direction? The cross product asks: what's perpendicular to both?
The Dot Product
Definition
For vectors and in :
The result is a scalar (a number), not a vector.
Geometric Form
where is the angle between and . This shows: the dot product measures how aligned the vectors are.
Key Properties
(commutative)
(gives squared length)
(perpendicular vectors have zero dot product)
means the angle is ;
means the angle is
The Cross Product
Definition
For vectors and in only:
The result is a vector, perpendicular to both and .
Geometric Form
The magnitude equals the area of the parallelogram spanned by and . The direction is given by the right-hand rule.
Key Properties
(anti-commutative)
(a vector crossed with itself is zero)
(parallel vectors have zero cross product)
and
Comparison Table
| | |
|---|
| | |
|---|
| Any | |
|---|
| | |
|---|
| Alignment | Perpendicular area |
|---|
| | |
|---|
Worked Example
Let and .
Dot Product
Since , the angle between them is acute ().
Cross Product
Verify perpendicularity:
When to Use Which
Use the DOT product to:
Find the angle between vectors
Check if vectors are perpendicular
Project one vector onto another
Compute work (force · displacement)
Use the CROSS product to:
Find a vector perpendicular to two others
Compute area of a parallelogram
Determine orientation (left/right, clockwise/counterclockwise)
Compute torque
Applications
In physics, work is force dot displacement: . Torque is position cross force: .
In graphics, the dot product determines lighting (surface normal light direction), while the cross product computes surface normals from triangle vertices.
In navigation, the cross product determines whether to turn left or right; the dot product determines whether you're facing toward or away from a target.
Summary
The dot product gives a scalar measuring alignment (via ); it is zero for perpendicular vectors. The cross product gives a perpendicular vector with magnitude proportional to and equal to the area of the parallelogram; it is zero for parallel vectors. Dot products work in any dimension, while cross products are specific to . Both are essential tools in geometry, physics, and graphics.