3.2 Work by a variable forceWhen the force changes: areas and integrals

In one dimension, with the force along the x-axis, the work from $x_1$ to $x_2$ is
$$W = \int_{x_1}^{x_2} F(x)\,dx$$
which is the area under the force-versus-position graph. Area above the axis is positive work, area below is negative. If you have a graph made of straight pieces, add up triangles and rectangles. If you have a formula, integrate it.
?Wait, how do I evaluate a definite integral?
- (a) Areas: triangle 0 to 2 m, $\frac12(2)(8) = 8\ \text{J}$; rectangle 2 to 5 m, $(3)(8) = 24\ \text{J}$; triangle 5 to 7 m, $\frac12(2)(8) = 8\ \text{J}$; triangle 7 to 8 m, $\frac12(1)(-4) = -2\ \text{J}$. Total 38 J.
Why?
Split the area where the graph changes shape or crosses zero. The last piece is below the axis, so it is negative work. - (b) At 5.0 m: $W = 32\ \text{J} = \frac12(2.0)v^2$, so $v = 5.7\ \text{m/s}$. At 8.0 m: $38 = \frac12(2.0)v^2$, so $v = 6.2\ \text{m/s}$.
Why?
It starts from rest, so the net work so far equals its kinetic energy. - (c) The speed grows as long as the force is positive and shrinks once it turns negative, so it peaks where $F = 0$: $x = 7.0\ \text{m}$, with $K = 40\ \text{J}$ and $v = 6.3\ \text{m/s}$.
Why?
Maximum speed means dK/dx = F = 0. The same idea comes back on U(x) graphs.
Answer: (a) 38 J (b) 5.7 m/s and 6.2 m/s (c) at x = 7.0 m, about 6.3 m/s
Stuck? Get a hint
- Split the area at x = 2, 5 and 7 m.
- Work from rest equals K, so v = √(2W/m).
- Speed is greatest where the force changes sign.
The spring, the most famous variable force
A spring exerts $F_s = -kx$. As you stretch it from $x_1$ to $x_2$, the spring does work $W_s = \int_{x_1}^{x_2}(-kx)\,dx = -\frac12 k(x_2^2 - x_1^2)$. It's negative because the spring pulls back while you stretch it. If you stretch it slowly (no change in K), your hand does the opposite: $W_{you} = +\frac12 k(x_2^2 - x_1^2)$.
I thought about it. Show me
?Wait, why can't I just do force times distance for a spring?
- A7 J
- B12 J
- C21 J
- D9 J
Show the answer
B. $W = \int_0^3 (2x + 1)\,dx = \left[x^2 + x\right]_0^3 = 9 + 3 = 12\ \text{J}$. Choice C is the final force, 7 N, times 3 m, which treats a changing force as constant. Choice A is just $F(3)$, which isn't work at all.

When a free-response question gives you $F(x)$, write $W = \int_{x_1}^{x_2}F\,dx$ with the limits on the first line, then the antiderivative, then the numbers. If it gives a graph, say "work equals the area under the curve" and show the shapes you added.
- $W = \int_{x_1}^{x_2} F(x)\,dx$: the signed area under F(x).
- Never multiply the final force by the distance when the force changes.
- Spring: $W_{spring} = -\frac12 k(x_2^2 - x_1^2)$; stretching slowly, you do the positive version.
- From rest, the net work so far is the kinetic energy.