Hooke's law in 3D

A standing sign shows the Hooke's law equation F = -kx, with labels for restoring force, spring constant and displacement.Drag to turn

Hooke's law states that the restoring force of an ideal spring is proportional to its displacement from the natural length, F = -kx. A mass on such a spring moves in simple harmonic motion.

The linear restoring force of a spring

A spring has a natural length, the length at which it exerts no force. If it is stretched or compressed by a displacement x from that length, it pushes or pulls back with a force F = -kx. The constant k is the spring constant, measured in newtons per metre, and a larger k means a stiffer spring.

The minus sign shows that the force is a restoring force. It points opposite to the displacement and always acts toward the natural length.

How a mass on a spring oscillates

Attach a mass m to the spring and release it from a displaced position. Newton's second law gives ma = -kx, so the acceleration is proportional to the displacement and points the opposite way. This is the defining condition of simple harmonic motion.

The angular frequency is ω = √(k/m), and the period is T = 2π√(m/k). The period does not depend on the amplitude, provided Hooke's law holds. A heavier mass or a softer spring gives a longer period.

The energy stored in the spring is (1/2)kx². During oscillation, energy moves between this elastic potential energy and the kinetic energy of the mass. Without friction the total stays constant.

Worked example: a mass on a spring

Suppose k = 200 N/m and m = 2 kg. A static stretch of 0.05 m needs a force of F = kx = 200 × 0.05 = 10 N. The stored energy is (1/2) × 200 × 0.05² = 100 × 0.0025 = 0.25 J.

The period is T = 2π√(2/200) = 2π√0.01 = 2π × 0.1 ≈ 0.63 s. If the mass is released from rest at 0.05 m, the maximum speed at the natural length follows from 0.25 J = (1/2)(2)v². So v² = 0.25 and v = 0.5 m/s.

Common misconceptions and limits

Hooke's law is not a law of nature that every spring obeys. It holds only below the proportional limit. Beyond it the force no longer grows in proportion to the extension, and past the elastic limit the spring is permanently deformed.

Another error is thinking gravity changes the period of a vertical spring. Gravity shifts the equilibrium position, but the period is still 2π√(m/k). Real springs also have mass and friction, so the ideal result is an approximation.

Where springs appear

Springs are used in scales, vehicle suspensions, retractable pens and mattresses. Gas pistons and shock absorbers add damping, which makes oscillations die away. The same F = -kx model also approximates small vibrations of atoms in a solid and of many other systems near a stable equilibrium.

Key terms

Spring constant
The ratio k of force to extension for a spring, measured in newtons per metre.
Restoring force
A force that acts toward the equilibrium position, opposite to the displacement.
Simple harmonic motion
Oscillation in which acceleration is proportional to displacement and directed opposite to it.
Period
The time for one complete oscillation, T = 2π√(m/k) for a mass on a spring.
Elastic potential energy
Energy stored in a deformed spring, equal to (1/2)kx².
Proportional limit
The extension beyond which force is no longer proportional to displacement.

Common questions

Why does the period not depend on amplitude?

The restoring force grows in proportion to displacement. A larger amplitude means a larger force and a longer path, and these effects balance, so the period stays the same while Hooke's law holds.

What happens when two springs are combined?

Springs side by side, sharing the load, add their constants, so k = k1 + k2. Springs joined end to end give 1/k = 1/k1 + 1/k2, which is a softer combination.

Does Hooke's law apply to compression?

Yes, within the elastic range. A compressed spring pushes back with the same F = -kx, with x now measured in the compressing direction.

Learn this with a tutor

Sidechair's AI tutor will teach this topic in 3D. Join the waitlist for early access.

We'll only email you about Sidechair. Read our privacy policy.