Multiplying two vectors to get a number
There are two ways to multiply vectors. The first gives a scalar (a plain number), so it is called the scalar product. It is written with a dot, A · B, so it is also called the dot product:
where θ is the angle between the two vectors.
Work: the dot product in action
In the 3D model a barge moves along a canal while a rope from the bank pulls it with a force F at an angle θ.
- Only the part of the pull along the canal, F cos θ, helps the barge move. That part does work.
- The part across the canal, F sin θ, only presses the barge sideways and does no work.
| Angle θ | cos θ | Work |
|---|---|---|
| 0° | 1 | W = Fs (largest) |
| 60° | 0.5 | W = Fs/2 |
| 90° | 0 | W = 0 (no work) |
| 135° | −0.707 | negative: the force works against the motion |
| 180° | −1 | W = −Fs (like friction) |
Dot product from components
If the vectors are written with unit vectors, multiply like components and add:
This works because î · î = 1 (same direction) and î · ĵ = 0 (at 90°), and so on.
Finding an angle. Combine the two formulas: . In the model, and give , and , so and .
Properties
- Commutative: .
- Distributive: .
- , so .
- Perpendicular vectors: .
Worked example
A force N moves an object through m. Find the work done.
- .
Remember: dot product = sum of the products of matching components, and the answer is always a scalar.
Formulas and where to use them
Dot product
- where
- magnitudes of A and B
- angle between A and B
The answer is a scalar (a plain number with no direction).
Use it when: Work done by a force (W = F · s), power (P = F · v), and finding the angle between two vectors.
Dot product from components
- where
- matching components of the two vectors
Use it when: When the vectors are given with î, ĵ, k̂.
Angle between two vectors
- where
- angle between the vectors; A · B = 0 means θ = 90°
Use it when: Finding the angle between two vectors from their components; A · B = 0 means they are perpendicular.
Unit vectors
Parallel unit vectors give 1 (cos 0° = 1); perpendicular ones give 0 (cos 90° = 0).
Use it when: Multiplying out vectors written with î, ĵ, k̂.
Common mistakes
- Giving the dot product a direction. is a plain number (a scalar), like work or power.
- Using sin instead of cos. The dot product uses the part of one vector along the other: cos θ.
- Thinking a force always does work. A force at 90° to the motion (like the pull of a string on a whirling stone) does no work.
Quick check
Test yourself — pick an answer to see if you got it.
1. A force of 10 N moves a box 5 m. The force is at 60° to the motion. The work done is…
.
2. If (and neither vector is zero), the vectors are…
means , so .
3. and . is…
(a number, not a vector).
4. What is ?
.
5. A force does negative work when the angle between the force and the displacement is…
For , is negative, so is negative: the force acts against the motion (like friction).