5.4 Work
When a force F(x) varies continuously with position—as when stretching a spring according to Hooke's Law F(x) = kx, hauling up a heavy hanging cable, or pumping liquid out of a tank—the total work done moving from x = a to x = b is the definite integral W = ∫_a^b F(x) dx.
Core Concept & Mathematical Foundation
Over a tiny displacement Δx, the continuous force F(x) is nearly constant, doing elementary work ΔW ≈ F(x) Δx. For cables and tanks, we instead slice the material horizontally into thin layers at depth y so that every particle in the layer weighs ΔF = γ A(y) Δy and is lifted through the same vertical distance d(y).
Work by a Variable Force, Hooke's Law & Lifting/Pumping Integrals
Example 1: Stretching a Spring (Hooke's Law)
A force of \(40\text{ N}\) holds a spring stretched from its natural length of \(10\text{ cm}\) to \(15\text{ cm}\). How much work is required to stretch it from \(15\text{ cm}\) to \(18\text{ cm}\)?
Show solution
Displacements from natural length in meters are \(0.05\text{ m}\) and \(0.08\text{ m}\). Since \(F(0.05)=k(0.05)=40\implies k=800\text{ N/m}\):
Graphical & Numerical Behavior
Comparing a table of numerical values directly alongside the plotted curve reveals how the formula behaves across key points, zeros, and turning points.
| Displacement x from Natural Length (m) | Spring Force F(x) = 800x (N) | Cumulative Work W(x) = 400x² (J) |
|---|---|---|
| 0.00 m (10 cm natural) | 0 N | 0.00 J |
| 0.05 m (15 cm) | 40 N | 1.00 J |
| 0.08 m (18 cm) | 64 N | 2.56 J (Net work 0.05→0.08 = 1.56 J) |
| 0.10 m (20 cm) | 80 N | 4.00 J |
Hooke's Law force line F(x) = 800x N/m where area under the curve from x = 0.05 to 0.08 m is W = 1.56 J
Example 2: Lifting a Hanging Cable to the Roof
A \(50\text{-ft}\) cable weighing \(3\text{ lb/ft}\) hangs from the roof of a building. Find the work required to pull the entire cable to the roof.
Show solution
A thin slice of length \(dy\) located \(y\text{ ft}\) below the roof weighs \(3\,dy\text{ lb}\) and is lifted \(y\text{ ft}\):
Companion Function & Advanced Applications
The companion graph below illustrates the secondary curve (quadratic cumulative work curve w(x) = (1/2)kx^2 = 400x^2 j stored as elastic potential energy) and highlights the points where the analytical criterion takes effect.
Quadratic cumulative work curve W(x) = (1/2)kx^2 = 400x^2 J stored as elastic potential energy
Example 3: Pumping Water Out of a Cylindrical Tank
A cylindrical tank of radius \(2\text{ ft}\) and height \(5\text{ ft}\) is full of water (\(\gamma=62.5\text{ lb/ft}^3\)). Find the work required to pump all the water over the top rim.
Show solution
A horizontal disk of thickness \(dy\) at depth \(y\) has volume \(4\pi\,dy\), weight \(250\pi\,dy\), and lift distance \(y\):
Common Mistakes to Avoid
- Always measure spring displacement \(x\) from the natural unstretched length.
- Convert centimeters to meters (for joules) and inches to feet (for foot-pounds) before finding \(k\) or integrating.
Key Takeaways
- When a force F(x) varies continuously with position—as when stretching a spring according to Hooke's Law F(x) = kx, hauling up a heavy hanging cable, or pumping liquid out of a tank—the total work done moving from x = a to x = b is the definite integral W = ∫_a^b F(x) dx.
- Core Formula: \(W=\int_{a}^{b} F(x)\,dx,\qquad F_{\text{spring}}(x)=kx,\qquad W_{\text{pump}}=\int_{a}^{b}\gamma\,A(y)\,d(y)\,dy\).
- Over a tiny displacement Δx, the continuous force F(x) is nearly constant, doing elementary work ΔW ≈ F(x) Δx. For cables and tanks, we instead slice the material horizontally into thin layers at depth y so that every particle in the layer weighs ΔF = γ A(y) Δy and is lifted through the same vertical distance d(y).