Visual walkthrough — Hooke's law — spring force F = −kx
Step 1 — Draw the spring and name its "home"
WHAT. A real spring, lying flat, no one touching it. It has a length it likes — its natural length. Mark that resting position as the number line's zero.
WHY. Every measurement below is "how far from home." Before we can say "how far," we need to agree where home is. Home .
PICTURE. In the figure, the grey block sits at the tick labelled . Pull it right and the pointer moves to positive numbers; push it left and it moves to negative numbers.

Step 2 — Energy lives in a valley
WHAT. Instead of forces, start with energy. Call the energy stored in the spring . Plot how much energy the spring holds for each position . That plot is a smooth U-shaped valley with its lowest point at .
WHY. A spring at home stores nothing; stretch OR compress it and it stores more. "More energy on both sides, least in the middle" is exactly the shape of a valley. Starting from energy (not force) lets us prove that any spring must be linear — we'll cash that in by Step 5.
PICTURE. The green curve dips to a minimum at . A marble placed on this curve rolls downhill — toward the bottom, toward home. Remember that marble; it is the restoring force.

Step 3 — Force is the steepness of the valley
WHAT. Before any formula, name the thing we are after. Then turn "the marble rolls downhill" into a formula: the force is minus the steepness of the energy curve.
WHY this tool — the derivative . We need a number that says how tilted the valley is right where the block sits. A single ratio "rise over run" only describes a straight line — but our valley curves. The derivative is the tool built exactly for this: it is the slope of the tangent line touching the curve at one point — the steepness right here. No other tool measures local steepness of a curve; that is why it enters.
Term by term:
- — the spring's force on the block, just defined above.
- — the slope of the energy curve at position (how fast energy climbs as you move right).
- the minus sign — makes force point downhill: where the curve rises to the right, the marble is pushed left.
PICTURE. On the right wall of the valley the tangent tilts up (positive slope), so points left — back toward home. On the left wall the tangent tilts down (negative slope), so points right — again toward home. At the very bottom the tangent is flat: slope , force .

Step 4 — Zoom into the bottom: every valley looks like a parabola
WHAT. Take any smooth valley and zoom in on its lowest point. Up close, it stops looking special — it looks like the simplest possible valley: a parabola, the curve .
WHY this tool — the Taylor expansion. We want to know the shape near the bottom, not far away. The Taylor expansion is the tool that rebuilds a smooth curve near one point as a sum of simple powers of : a constant piece, a straight-line piece (), a bowl piece (), a gentler-bending piece (), and so on:
Term by term, and why most terms vanish or fade:
- — the energy at the bottom. A constant. Shifting all energy up or down changes nothing about forces, so we drop it (set the bottom to ).
- — the tilt at the bottom. But the bottom of a valley is flat: its slope is . So and this whole term disappears. (This is what "equilibrium" means: no force, so no slope.)
- — the curviness. This is the first term that survives, and it is proportional to : a parabola.
- — the higher powers. Here is the key intuition: for small , a bigger power is a smaller number. If , then but — ten times tinier, and tinier still. So the moment you are close enough to home, the bowl towers over every higher term. ("Smooth" is precisely the promise that these higher pieces exist and shrink like this — no sudden kinks.) That is why keeping only up to is not laziness; near the bottom it is the whole story.
PICTURE. The figure overlays a bumpy real energy curve (blue) and the parabola (yellow) that hugs it near . Inside the shaded band close to home they are indistinguishable; only far out, where and beyond wake up, do they peel apart. That is why every small wobble is a spring.

Step 5 — Slide down the parabola to get
WHAT. We now have the energy and the rule . Combine them.
WHY. Step 3 gave us the machine (force = −steepness). Step 4 gave us the valley (a parabola). Feeding one into the other must spit out the force law. This is the payoff.
Differentiate — the slope of a parabola at position is :
Term by term:
- — the parabola's steepness grows straight-line with : twice as far out, twice as steep.
- the minus — inherited from Step 3: force points back down the wall.
- result — a straight line through the origin with slope .
PICTURE. The figure plots against : a straight line sloping downward. Its slope is . Cross the vertical axis and the force flips sign exactly as flips sign — the fingerprint of "restoring."

Step 6 — All four sign-cases on one line (nothing is skipped)
WHAT. Check every sign of against the line — a large stretch, a small stretch, the degenerate rest point, and a large compression.
WHY. A law you only tested for "stretched to the right" is a law you don't trust. Walk each sign scenario so the reader never meets an unshown case. The far-out cases ( large) also show the "farther = harder" magnitude, but their real job here is to confirm the sign still behaves.
| Case | gives | Direction of | Meaning | |
|---|---|---|---|---|
| Big stretch | negative (large) | points left | strong pull back home | |
| Small stretch | negative | points left | pulls block back home | |
| At rest | no force | equilibrium, bottom of valley | ||
| Big compression | positive (large) | points right | strong push back home |
PICTURE. Four little blocks on one number line, each with its force arrow. Notice: every arrow points at the zero mark, and the far-out arrows are the longest. That, drawn, is what "restoring" means.

Step 7 — The energy is the triangle, not the rectangle
WHAT. How much energy do you store by stretching from home () out to some positive stretch ? It is the area under the stretching-force line — a triangle, giving .
WHY this tool — the integral (area under a curve). The stretching force grows from to as you go out; it is never constant, so plain (force distance) is wrong — that would be the rectangle of the maximum force. To add up a force that changes at every position, you accumulate across the trip: that accumulation is the integral, and geometrically it is the area under the graph.
Term by term:
- — the outward (positive) force your hand applies at each intermediate position , with .
- — glue up all the thin slivers of (force tiny step) from home out to (limits to , both non-negative).
- — the area of the triangle: base , height , so .
PICTURE. The blue triangle (correct, ) sits inside the dashed red rectangle (the wrong ). The rectangle is exactly twice the triangle — that's the famous factor of .

The one-picture summary
Everything above, compressed: the valley on the left () and the line on the right () are the same object seen two ways — the line is the slope of the valley, negated. Read left-to-right: shape of energy its steepness the restoring force.

Recall Feynman retelling — the whole walk in plain words
A spring lives at the bottom of a valley made of energy. Sitting at the bottom, it's happy — nothing pushing. If you drag it up either wall, it wants to roll back down, and the steepness of the wall right under it is how hard it's shoved. Zoom into the bottom of any valley and it always looks like the same smooth bowl — a parabola, — because up close the tiny higher-power wiggles (, , …) shrink faster than the bowl and simply don't matter. The steepness of that bowl at position works out to , and "roll downhill" flips the sign, so the spring's push-back is : twice as far, twice as hard, always aimed at home — whether you stretched it or squished it. And to store the energy up you add your hand's growing outward push over the whole trip — that's the triangle under the line, , half of what you'd naively guess, because the force started from nothing.
Where does the minus sign in come from, pictorially?
Why does every stable system look like a spring near rest?
On an – graph, what is ?
Why do we integrate (not ) to get the stored energy?
Connections
- Parent topic — the full statement and examples.
- Conservative forces and potential energy — the rule used in Step 3.
- Work done by a variable force — the integral behind the triangle in Step 7.
- Elastic potential energy — the reservoir.
- Simple Harmonic Motion — feed into motion and you get oscillation, .
- Conservation of mechanical energy — the valley trades height (PE) for speed (KE).
- Interatomic forces — the "generic valley" argument applied to atomic bonds.