A spring pushes back toward its resting position with a force proportional to how far it is stretched or squashed.
Example
A spring pushes back toward its resting position with a force proportional to how far it is stretched or squashed. Exact arithmetic here means exact results for the stated model inputs; measured inputs still carry uncertainty and significant-figure limits.
highlighted = computed this step
The spring pulls back in proportion to the stretch
Stretch or squash a spring and it pushes back toward its resting position. The restoring force is the stiffness times the displacement, and the minus sign just means it always points back toward the middle. Stretch twice as far and it pulls twice as hard.
F=−kx
A worked value
With stiffness 2 newtons per metre, pulling the block out to 3 metres gives a restoring force of 2 times 3, or 6 newtons, pointing back toward the middle.
F=kx=2N/m⋅3m=6N
Same spring, more stretch, more restoring force
Hold stiffness fixed. Stretch farther and the spring pulls back harder in direct proportion to displacement.
k2N/m2N/m2N/mx1m2m3mF2N4N6N
Same stretch, stiffer spring, more restoring force
Hold stretch fixed. A stiffer spring gives a larger restoring force for the same displacement.
k1N/m2N/m3N/mx3m3m3mF3N6N9N
mechanicsA 2 N/m spring pulled to 3 m gives a clean 6 N restoring force.