Work by a constant force
When a constant force moves a body through a displacement along its own direction, the work done is
(more generally , the dot product ). Its unit is the joule: . On a force–displacement graph a constant force is a flat line, and is the area of the rectangle under it.
When the force changes
Many forces change as the body moves. In the 3D model a hand slowly stretches a spring with . The pull needed is : 5 N at 0.1 m, 10 N at 0.2 m, 20 N at 0.4 m. Which F should go into ? None of them on its own.
Thin strips
Cut the stretch into many small steps . Over one tiny step the force hardly changes, so its work is about : the area of a thin strip on the F–x graph. Add them all:
Press the button and watch 4, 8, then 20 strips. Their total settles on 4 J. In the limit of infinitely thin strips the sum becomes an integral:
Stretching a spring
For a spring the graph is a straight line through the origin, so the area is a triangle:
For the model: . The average force over the stretch is half the final force, which is why simply multiplying the final force by the stretch would give twice the right answer.
Worked example
The force on a body changes with position as F = 3x² N (x in metres). Find the work done from x = 1 m to x = 2 m.
.
Remember: a constant force does ; a variable force does , the area under the F–x graph. For a spring, .
Formulas and where to use them
Work by a constant force
- where
- work done (J)
- size of the force (N)
- displacement (m)
- angle between the force and the displacement
Use it when: Only when the force stays the same in size and direction during the motion.
Work by a variable force
- where
- force along the motion, which changes with position (N)
- start and end positions (m)
Use it when: Springs, rubber bands, gravity over large distances, forces read from a graph.
Work to stretch a spring
- where
- spring constant: force per metre of stretch (N/m)
- stretch or compression from the natural length (m)
Use it when: Stretching or compressing a spring from its natural length (F = kx).
Common mistakes
- Using W = Fd with the final force. For a spring that gives kx × x, twice the true answer; the average force is only ½kx.
- Forgetting units. On an F–x graph, area is N × m = J; read the scales carefully.
- Counting area below the axis as positive. Where F is negative (opposing the motion), that area counts as negative work.
Quick check
Test yourself — pick an answer to see if you got it.
1. The work done by a variable force is equal to…
, the area under the force–displacement graph.
2. A spring with k = 200 N/m is stretched by 0.1 m from its natural length. The work done is…
.
3. Doubling the stretch of a spring makes the work needed…
.
4. A force rises steadily from 0 to 10 N over 2 m. The work done is…
The graph is a triangle: .
5. Why can W = Fd not be used directly when stretching a spring?
needs a constant force. The spring's pull grows with the stretch.