Pull a mass on a spring aside and let go, and it oscillates back and forth with a steady rhythm. The same pattern shows up in a car's suspension, a vibrating guitar string, a swinging pendulum and the atoms in a solid. The reason is always the same: something pulls the object back toward a middle position, and pulls harder the further away it is. This topic starts with the spring force, finds the energy it stores, and ends with the motion it produces.
Hooke's law
Here is the displacement from the spring's natural (equilibrium) length, in metres, and is the spring constant in newtons per metre: a stiff spring has a large . The negative sign says the spring force always opposes the displacement: stretch it and it pulls back, compress it and it pushes out. That is why it is called a restoring force. The force you must apply to hold the spring at is equal and opposite, . Hooke's law holds only up to the elastic limit; stretch a spring beyond that and it is permanently deformed.
Why a half? The force you apply is not constant: it grows from to as you stretch. Work is the area under a force-displacement graph, and here that area is a triangle with base and height , so . That work is stored as elastic potential energy. Because is squared, doubling the stretch stores four times the energy, and a compression stores exactly as much as an equal stretch.
Energy in a mass-spring system
Attach a mass to a spring on a frictionless horizontal surface, pull it out to a distance (the amplitude) and release it. At the ends it stops for an instant, so all the energy is elastic. As it passes equilibrium () the spring is relaxed, so all the energy is kinetic. In between it is shared. Setting the total at the end equal to the total anywhere else gives , and at this gives the maximum speed, .
| Position | Speed | Spring force and acceleration | Energy |
|---|---|---|---|
| (the ends) | Zero | Maximum, pointing toward the centre | All elastic, |
| (equilibrium) | Maximum, | Zero | All kinetic, |
| In between | Between zero and maximum | Proportional to , toward the centre | Shared: |
Simple harmonic motion and the circle
Imagine a point moving at constant speed around a circle of radius , and look at its shadow on a line through the centre. The shadow moves back and forth between and , fastest in the middle and momentarily stopped at the ends, exactly like the mass on a spring. This comparison gives the period without calculus. The point covers the circumference in one period, so its speed is . At the centre the shadow moves at that full speed, which must equal . Setting and solving for gives the result below. A simple pendulum swinging through a small angle is also close to SHM, with .