Calculus · Grade 12 and undergraduate
Work: Springs, Ropes and Pumping Water
Quick answer
Work is force times distance when the force is constant. When the force changes along the way, cut the motion into short pieces, treat the force as constant on each, and add: the work is the integral of the force, W = ∫F dx. A spring obeys Hooke's law F = kx, so stretching it takes ½kx² of work. For ropes and tanks it is the distance that varies instead: each thin layer moves its own distance, and the integral adds up the work for every layer.
What you'll learn
- Compute work as the integral of a varying force
- Use Hooke's law to find the work done on a spring
- Find the work to lift a hanging rope or chain
- Set up and evaluate the work to pump liquid from a tank
Force times distance, one piece at a time
Push a box with a constant force of newtons for meters and you do joules of work. When the force changes as you go, that product no longer makes sense. Cut the path from to into short pieces of length . On each piece the force is nearly constant, so the work there is about . Adding the pieces gives a Riemann sum, and its limit is
Springs
A spring stretched meters past its natural length pulls back with force , which is Hooke’s law. The constant measures stiffness.
Why slicing works when distance varies
For a hanging rope or a tank of water, the force on each bit is its weight, which is constant. What changes is how far each bit travels. The top of a hanging rope barely moves while the bottom end rises the whole length.
So slice the object instead of the path. Each thin slice has a weight and a distance of its own, and its work is weight times distance. Adding the slices is again a Riemann sum, this time over the object, and its limit is an integral. The integration variable labels where the slice is, and the integrand is (weight of a slice per unit thickness) times (distance that slice moves).
Worked examples
Common mistakes
Practice problems
-
A spring has N/m. How much work stretches it m from its natural length?
Answer
joules
Full solution
.
-
A spring has N/m. How much work stretches it from m to m beyond natural length?
Answer
joules
Full solution
.
-
A force newtons acts from to m. Find the work.
Answer
joules
Full solution
.
-
A m rope of mass kg/m hangs from a ledge. How much work pulls it up?
Answer
joules
Full solution
.
-
The tank of Example 3 is half full. How much work pumps the water out over the top?
Answer
J
Full solution
The water fills : .
-
With N/m, compare the work for the first m of stretch with the work for the next m.
Answer
J and J
Full solution
and . The spring pulls harder the further it stretches.
-
Why is the half-full tank in Exercise 5 more than half the work of the full tank?
Answer
The water that remains is the lower half, which must be lifted farther.
Full solution
is of . The top half of the water, which was missing, needed the least work to remove.
-
A student computes the rope work in Example 2 as . What is missing?
Answer
The factor : mass must be turned into weight. The work is J.
Full solution
kg/m is a mass per meter. Its weight per meter is N/m, and .
Frequently asked questions
How do you compute work with calculus?
When the force F(x) changes with position, the work from x = a to x = b is the integral of F(x) dx from a to b.
What is Hooke's law?
The force needed to stretch or compress a spring a distance x from its natural length is F = kx, where k is the spring constant.
How much work does it take to stretch a spring?
From natural length to a stretch of x, the work is ∫₀ˣ ks ds = ½kx².
How do you set up a pumping problem?
Slice the liquid into thin horizontal layers. Each layer's weight is density × g × its volume, and it must be lifted its own distance to the outlet. Integrate weight × distance over all the layers.
What units does work have?
Force times distance: joules (newton-meters) in metric units, or foot-pounds in US customary units.