Sub topic 8
Work as a Dot Product of Force and Displacement
Prerequisites and the central idea
This chapter assumes that you can represent vectors with components, use basic trigonometry, and apply Newton’s second law. You should also know that displacement describes a change in position, not the total path length.
Mechanical work measures energy transferred by a force while an object moves. For a constant force and a straight displacement, work is
\[ W = \mathbf{F}\cdot\mathbf{d} \]
The dot means a dot product. A dot product combines two vectors and produces a scalar, which is a number with units but no direction.
For vectors with magnitudes \(F\) and \(d\), and with angle \(\theta\) between them,
\[ W = Fd\cos\theta \]
The cosine selects the part of the force that points along the displacement.
Why only one component does work
Suppose a box moves horizontally to the right. A force can point right, left, upward, or downward. Only its horizontal component transfers energy through the horizontal motion.
If the force makes an angle \(\theta\) above the displacement, its parallel component is
\[ F_{\parallel}=F\cos\theta \]
The work is therefore
\[ W=F_{\parallel}d=(F\cos\theta)d=Fd\cos\theta \]
The perpendicular component does no work because it does not move the object in its own direction. For example, the normal force on a book sliding across a level table points upward, while the book’s displacement is horizontal. Their dot product is zero.
Reading the sign of the dot product
The sign of work comes from \(\cos\theta\).
| Angle between force and displacement | Cosine | Work | Meaning |
|---|---|---|---|
| \(0^\circ\) | \(1\) | Positive | Force helps the motion |
| \(90^\circ\) | \(0\) | Zero | Force is perpendicular to motion |
| \(180^\circ\) | \(-1\) | Negative | Force opposes the motion |
Positive work transfers energy to the object’s motion. Negative work removes energy from the object’s motion. Zero work means that the force does not change the object’s kinetic energy through that displacement.
For example, a \(50\text{ N}\) force pulls an object \(10\text{ m}\) at \(30^\circ\) above the horizontal:
\[ W=(50)(10)\cos30^\circ\approx433\text{ J} \]
The force does positive work because its horizontal component points in the direction of motion.
A friction force of \(4\text{ N}\) acting over the same \(10\text{ m}\) in the opposite direction does
\[ W=(4)(10)\cos180^\circ=-40\text{ J} \]
The negative sign records the energy removed by friction.
Component form of the dot product
You can calculate the dot product without finding the angle. In two dimensions,
\[ \mathbf{F}\cdot\mathbf{d}=Fxdx+Fydy \]
In three dimensions, add the third component:
\[ \mathbf{F}\cdot\mathbf{d}=Fxdx+Fydy+Fzdz \]
This form is useful when vectors are already given in component notation.
Consider
\[ \mathbf{F}=(6\hat{\mathbf{i}}+8\hat{\mathbf{j}})\text{ N} \]
and
\[ \mathbf{d}=(5\hat{\mathbf{i}}+2\hat{\mathbf{j}})\text{ m} \]
Then
\[ W=(6)(5)+(8)(2)=46\text{ J} \]
The units are newton-meters, which are joules:
\[ 1\text{ J}=1\text{ N}\cdot\text{m} \]
A common error is to multiply the magnitudes \(F\) and \(d\) without including the angle or component signs. Another is to use the angle between the force and a coordinate axis instead of the angle between the force and the displacement. The dot product requires the angle between the two vectors themselves.
import math
force = 50.0 # newtons
distance = 10.0 # meters
angle_deg = 30.0 # angle between force and displacement
work = force * distance * math.cos(math.radians(angle_deg))
print(f"{work:.1f} J")A reliable procedure
- Identify the displacement vector.
- Identify the force vector being considered.
- Find the angle between those vectors, or write both in components.
- Use \(W=Fd\cos\theta\) or \(W=Fxdx+Fydy\).
- Check the sign and units.
If several forces act, calculate the work done by each force separately. Their sum is the net work.
Exercise
A \(20\text{ N}\) force acts at \(120^\circ\) to a \(3\text{ m}\) displacement. What work does the force do?
Show answer
\(W=Fd\cos\theta=(20)(3)\cos120^\circ=-30\text{ J}\). The work is negative because the force has a component opposite the displacement.