Why Direction Determines the Sign of Work
Work is not always positive. A force can assist an object's motion, oppose it, or act at right angles to it. The direction of the force relative to the displacement determines whether the work is positive, negative, or zero.
For a variable force along a line, the work accumulated as position changes from \(a\) to \(b\) is represented by an oriented integral. The limits matter: if an object moves toward decreasing \(x\), its displacement is negative, and the limits of integration must reflect that direction.
When the force changes direction during motion, positive and negative contributions can cancel in the net work. If instead the question asks for the sum of the magnitudes of work along the path, the contributions do not cancel. Keeping these two quantities separate is essential.
Work and the Direction of Displacement
For a constant force \(\mathbf{F}\) acting through a displacement \(\Delta\mathbf{r}\), the work is the dot product \(\mathbf{F}\cdot\Delta\mathbf{r}\). If \(\theta\) is the angle between the force and displacement, this is \(|\mathbf{F}|\,|\Delta\mathbf{r}|\cos\theta\). Thus work is positive when the angle is acute, negative when it is obtuse, and zero when the directions are perpendicular.
In one-dimensional motion, choose a positive direction along the \(x\)-axis. Write \(F(x)\) for the signed force component in that direction. A small displacement \(dx\) has the same sign as the direction of motion, so the small amount of work is \(dW=F(x)\,dx\). The work from \(x=a\) to \(x=b\) is therefore \(\int_a^b F(x)\,dx\), with the bounds in the order the object travels.
The sign rule follows directly from the product \(F(x)\,dx\). If the force points in the direction of motion, \(F(x)\) and \(dx\) have the same sign, so the work contribution is positive. If the force points against the motion, their signs differ and the contribution is negative. If the force is zero, the contribution is zero.
Signed Net Work and Work Magnitudes
Signed net work is the algebraic total: positive contributions are added and negative contributions are subtracted. To find the total magnitude accumulated along a path, take the absolute value of each small work contribution before adding. For motion parameterized by time, this accumulated quantity is \(\int_{t_0}^{t_1}|F(x(t))x'(t)|\,dt\).
For motion that proceeds monotonically from \(a\) to \(b\), the accumulated magnitude is equivalently \(\int_{\min(a,b)}^{\max(a,b)}|F(x)|\,dx\). If motion reverses, split the path into monotone pieces and add the magnitude accumulated on each piece. If the force changes sign, split at its zeros as well, so the sign and magnitude on each part are clear.
In particular, taking an absolute value only after evaluating the signed integral does not usually give the accumulated magnitude. Positive and negative parts may already have canceled. The inequality \(|W_{\mathrm{net}}|\le W_{\mathrm{mag}}\) expresses this distinction: the magnitude of a signed sum cannot exceed the sum of the magnitudes of its contributions.
Worked Examples
Worked Example: A Force That Reverses Direction
An object moves in the positive \(x\)-direction from \(x=0\ \mathrm{m}\) to \(x=4\ \mathrm{m}\) under the force \(F(x)=(3-x)\ \mathrm{N}\), where \(x\) is measured in metres. Find its signed net work and accumulated work magnitude.
The force is positive for \(0\le x<3\), zero at \(x=3\), and negative for \(3<x\le4\). The motion is in the positive direction throughout, so the force first assists the motion and then opposes it.
For signed net work, integrate with the travel bounds:
The positive part is the integral from \(0\) to \(3\), and the negative part is the integral from \(3\) to \(4\):
Therefore the accumulated magnitude is \(\frac{9}{2}+\frac{1}{2}=5\ \mathrm{J}\). As a check, the signed parts add to \(\frac{9}{2}-\frac{1}{2}=4\ \mathrm{J}\), agreeing with the direct evaluation of the full integral.
Worked Example: Motion Opposite to a Constant Force
A constant force of \(5\ \mathrm{N}\) points in the positive \(x\)-direction. An object moves from \(x=6\ \mathrm{m}\) to \(x=2\ \mathrm{m}\). Find the work done by the force.
The object moves toward decreasing \(x\), so its displacement is in the negative direction while the force is positive. The force opposes the motion. Use the starting position as the lower integration limit in the path order, even though it is numerically larger:
The negative sign confirms that the force acts against the displacement. The magnitude accumulated is \(20\ \mathrm{J}\), because the force remains opposed to the motion throughout. As a check, the displacement is \(2-6=-4\ \mathrm{m}\), and the constant-force product is \((5\ \mathrm{N})(-4\ \mathrm{m})=-20\ \mathrm{J}\), matching the integral.
Worked Example: A Reversing Path with a Changing Force
An object travels from \(x=0\ \mathrm{m}\) to \(x=2\ \mathrm{m}\), then returns to \(x=0\ \mathrm{m}\). Throughout, the force is \(F(x)=(x-1)\ \mathrm{N}\), with \(x\) measured in metres. Find the net work over the complete trip and the accumulated work magnitude.
First consider the outward trip. The force is negative on \(0<x<1\) and positive on \(1<x<2\), so split the integral at \(x=1\):
The two signed pieces show why the result is zero:
On the return trip, the limits reverse. The work is
For accumulated magnitude, do not let the signs cancel. On the outward path, the two pieces have magnitudes \(\frac12\ \mathrm{J}\) and \(\frac12\ \mathrm{J}\), giving \(1\ \mathrm{J}\). On the return path, the same two position intervals are traversed in reverse; their signed works change sign, but their magnitudes remain \(\frac12\ \mathrm{J}\) each. The return contributes another \(1\ \mathrm{J}\). Thus the net work is \(0+0=0\ \mathrm{J}\), whereas the accumulated magnitude is \(1+1=2\ \mathrm{J}\).
As a check, the complete trip has zero signed work because each return contribution cancels the corresponding outward contribution. The accumulated magnitude is positive because it adds all four segment magnitudes rather than canceling any of them.
Why the Two Quantities Differ
The integral for net work adds signed contributions. The integral for accumulated magnitude adds their absolute values. The inequality between them follows from the integral triangle inequality:
This is the continuous version of the fact that \(|a+b|\le |a|+|b|\): cancellation can make the magnitude of a sum smaller, but cannot make it larger than the sum of the magnitudes. Equality holds when the work contributions do not oppose one another, apart from portions where they are zero. When positive and negative contributions both occur, the inequality is strict.
The calculation method follows from the same idea. Begin with the direction of motion and the sign of the force component. Then use oriented bounds for signed work, splitting the path at reversals or force zeros when needed. For accumulated magnitude, calculate each segment’s work and add its absolute value.
Write the positions in the order the object visits them. A return trip has reversed integration bounds.
Find where the force is zero and where the motion reverses, because either change can alter the sign of the work contribution.
Use the oriented integral \(\int F(x)\,dx\) on each piece, then add the signed results for net work.
Take the absolute value of each piece’s work before adding; do not take the absolute value only after summing.
A Common Sign Error
A frequent mistake is to replace travel bounds with increasing bounds without changing the sign. In the constant-force example, writing \(\int_2^6 5\,dx=20\ \mathrm{J}\) gives the work for motion from \(2\) to \(6\), not from \(6\) to \(2\). The object actually moves in the decreasing-\(x\) direction, so the correct integral is \(\int_6^2 5\,dx=-20\ \mathrm{J}\).
Another related mistake is to report the absolute value of net work as the total work magnitude. In the first example, \(|W_{\mathrm{net}}|=4\ \mathrm{J}\), but the accumulated magnitude is \(5\ \mathrm{J}\). The difference comes from cancellation between the positive \(4.5\ \mathrm{J}\) and negative \(0.5\ \mathrm{J}\) contributions.
Check Your Understanding
For each question, track the direction of both the force and the motion before deciding which integral to use.
- A force points in the positive \(x\)-direction while an object moves toward decreasing \(x\). Is the work positive, negative, or zero?
- For \(F(x)=2-x\), an object moves from \(x=0\) to \(x=3\). At what position does the force reverse direction?
- Why must the bounds be written in travel order when calculating signed work?
- If a path has signed work \(3\ \mathrm{J}\) on one segment and \(-3\ \mathrm{J}\) on another, what is the net work and what is the sum of the two work magnitudes?
- What inequality relates the magnitude of net work to accumulated work magnitude?