The Dot Product
Multiply two arrows, get a number: how much one points along the other.
Lesson at a glanceShow the key points
- a·b = ab cos θ is a scalar: the length of one vector times the projection of the other on it.
- a·b = 0 for non-zero vectors means they are perpendicular; it is negative for obtuse angles.
- The dot product is commutative and distributive.
- In components, a·b = aₓbₓ + a_yb_y + a_zb_z, since î·î = 1 and î·ĵ = 0.
- Work is a dot product, W = F·r, so it can be positive, negative or zero.
Two arrows go in, a single number comes out. The dot product measures how much two vectors agree about direction.
Definition
The dot product (or scalar product) of and is
Read it as “the length of times the shadow of on ” (or the other way round, since the formula is symmetric). Explore it:
Acute angle: b leans along a, so a · b is positive.
Three cases are worth fixing in memory:
- Same direction (θ = 0): , the largest possible value.
- Perpendicular (θ = 90°): , so the dot product is zero. This is the standard test for perpendicularity.
- Opposite (θ = 180°): .
Algebraic rules
The dot product behaves like ordinary multiplication in two important ways:
A crane pulls a crate upward with a force of 15 N, but the crate still moves 3.0 m downward. How much work does the crane’s force do?
The dot product from components
Write and similarly for . Expanding the product with the distributive law gives nine terms, each a dot product of two unit vectors. Those are easy, because the unit vectors have length 1 and are mutually perpendicular:
| · | |||
|---|---|---|---|
| 1 | 0 | 0 | |
| 0 | 1 | 0 | |
| 0 | 0 | 1 |
Six of the nine terms vanish, leaving a formula you will use constantly:
Find the angle between and .
- 1 is a scalar: length of one × shadow of the other.
- 2Zero dot product (for non-zero vectors) means perpendicular.
- 3In components: . Use it to find angles.
- 4Work is a dot product, so it can be positive, negative or zero.
Check yourself
Keep exploring
Hand-picked videos, simulations and readings that explain this idea from a different angle.