Springs and graphs: work as the area under a force–displacement curve, and ½kx² for Hooke’s law.
Core syllabus1 linked experiment
01
Learning objectives
By the end of this lesson, you should be able to:
Compute work as the area under an F–d graph
Derive W = ½kx² for a spring obeying Hooke’s law
Interpret loading and unloading curves
Set up simple integral reasoning without formal calculus
02
Lesson
Stretch a spring and the first centimetre is easy, the tenth is a struggle. The force you exert grows as the spring extends, so no single value of F can be dropped into W = F d cos θ. The same difficulty appears when a rocket burns fuel and gets lighter, or when a pile driver meets increasing resistance as a post sinks into the ground.
The fix is graphical. If you plot force against displacement, the work done by the force is the area under the curve — a rule so general that it survives into calculus as the integral. For the straight line of an ideal spring the area is a triangle, which is where the famous ½kx² of spring energy comes from. The interactive experiment below lets you stretch a spring and watch that triangle grow shaded joule by shaded joule.
Work as area under the force–displacement graph
Divide the motion into small stretches in each of which the force is nearly constant, compute F Δx cos θ for each strip, and add them up. On a graph of force (in N, vertical) against displacement (in m, horizontal) each strip contributes a tall thin rectangle, and the sum of the rectangles approaches the area under the curve. The rule to memorise: for any force that depends on position, the work is the area under the F–x graph, with areas below the axis counted as negative.
A quick special case confirms the rule: for a constant force the “curve” is a horizontal line and the area is a rectangle, F × d, which is exactly W = F d cos θ when the force acts along the motion. For a force that ramps linearly from F₁ to F₂ over a distance d, the area is a trapezium and the work is the average force times distance: W = ½(F₁ + F₂) d.
Springs and Hooke’s law
An ideal spring pulls back with a force proportional to its extension: F = k x, where k is the spring constant in newtons per metre (a stiffness — a 200 N/m spring needs 200 N to hold it stretched by 1 m) and x is the extension from the natural length. The force you must apply to stretch it slowly grows along the straight line F = k x on the force–extension graph.
The work needed to stretch from 0 to x is the area under that line: a right triangle with base x and height k x. Triangle area = ½ base × height, so W = ½ k x². That work is stored reversibly in the spring as elastic potential energy, and the ideal spring returns every joule when it relaxes. Note the square: twice the stretch costs four times the work, which is why the last centimetre of a chest expander feels so much worse than the first.
Loading, unloading and the elastic limit
Real springs obey Hooke’s law only up to the elastic limit (or proportional limit). Beyond it the force–extension curve bends over — the material yields, and each extra centimetre costs less force than Hooke’s law predicts. If you release the spring it no longer retraces the loading curve: the unloading line sits below it, and the loop of area between loading and unloading is energy that never came back. It left as heat in the metal.
This loop, called hysteresis, is the signature of a non-ideal (non-conservative) spring. Below the limit the loop collapses to zero width and the spring is effectively a perfect energy store. The interactive experiment demonstrates both regimes: within the limit the shaded triangle and the ½kx² formula agree exactly; past it the curve flattens and the formula — like the spring — stops being trustworthy.
A taste of integration
Mathematically, summing F(x) Δx over ever smaller strips is exactly what a definite integral does: W = ∫ F dx from the start position to the end position. You do not need calculus notation to use the idea — counting graph squares or splitting the curve into trapeziums gives the same answer to any accuracy you like — but you should recognise the symbol when it appears later.
The area rule also handles forces that change sign along the way. A bouncing ball’s contact force rises, falls and reverses the work’s direction within milliseconds; the net work is still the total signed area. Keep the bookkeeping signed and the graph does the rest.
03
Worked example
A spring with stiffness k = 200 N/m is stretched slowly from its natural length to x = 0.30 m (within its elastic limit). (a) What force is needed at the end? (b) How much work is done? (c) How much additional work stretches it from 0.30 m to 0.60 m?
Step 1 — final force: F = k x = 200 × 0.30 = 60 N.
Step 2 — work from 0 to 0.30 m: W = ½ k x² = ½ × 200 × (0.30)² = ½ × 200 × 0.09 = 9.0 J.
Step 3 — total work to 0.60 m: W = ½ × 200 × (0.60)² = ½ × 200 × 0.36 = 36 J.
Step 4 — additional work for the second 0.30 m: 36 − 9 = 27 J.
Answer: F = 60 N, W(0→0.30 m) = 9.0 J, and the next 0.30 m costs another 27 J. Reasonableness check: the extra stretch happens against forces between 60 N and 120 N, so roughly 90 N × 0.30 m ≈ 27 J — the average-force shortcut agrees.
04
Equations
Graphical workW = area under F–d curve
Spring workW = ½ k x² (F = kx)
05
Key points
For a variable force, W = area under the F–x graph (signed: below the axis counts negative).
Linear ramp of force: W = ½(F₁ + F₂) d — average force times distance.
Ideal spring: F = k x (Hooke’s law), so W = ½ k x² to stretch it from the natural length.
Elastic energy is stored reversibly: U_s = ½ k x² below the elastic limit.
Past the limit the curve flattens and loading/unloading form a hysteresis loop whose area is heat.
The area rule is the graph form of the integral W = ∫ F dx.
06
Common misconceptions
Common mistake
To stretch a spring 0.30 m with k = 200 N/m I multiply final force by distance: 60 × 0.3 = 18 J.
Correct understanding
That uses the final force for the whole journey. The force starts at zero, so the average is 30 N and the work is 30 × 0.30 = 9 J — the triangular area ½kx².
Common mistake
The spring stores k x² of energy.
Correct understanding
The stored energy is ½ k x². The missing ½ is exactly the triangle factor, because the force grows from zero to k x rather than acting at full strength throughout.
Common mistake
A stiffer spring stores less energy because it is harder to stretch.
Correct understanding
At the same extension x, a stiffer spring (larger k) stores more energy: ½kx² grows with k. It is harder to stretch precisely because you are loading more energy into it per metre.
07
Check your understanding
1. A spring with k = 200 N/m is stretched 0.30 m from its natural length (within the elastic limit). The work done is:
2. A force ramps linearly from 10 N to 50 N while the body moves 4.0 m in the force’s direction. The work done is:
3. Doubling the extension of an ideal spring changes the stored energy by a factor of:
08
Frequently asked questions
What does the spring constant k really measure?
Stiffness. k = F/x in N/m: the force needed per metre of extension. A soft pen spring might be 20 N/m; a car suspension spring tens of thousands of N/m. Same formula, different scales.
Why does the unloading curve not retrace the loading curve for a real spring?
Because some energy was converted to heat through internal friction in the material. The gap between the curves is the hysteresis loop, and its area equals the energy lost per cycle — the same physics that warms a repeatedly bent paperclip.
Do I need calculus for variable-force problems?
Not for the shapes in this course. Straight lines give triangles and trapeziums; other curves can be handled by counting squares or splitting into strips. Calculus generalises the same area idea, but the physics is already complete.