Mass-Spring Simple Harmonic Motion

Mechanics Intermediate Free
Mass-Spring Simple Harmonic Motion – Mechanics
Mass-Spring Simple Harmonic Motion – Mechanics

A mass on a spring is the standard model for every oscillation in physics. This simulation shows the mass bouncing while plotting displacement against time and tracking how energy shifts between kinetic and potential form.

How to use this simulation

What to look for

The physics behind it

The spring exerts a restoring force F = −kx proportional to displacement and directed back towards equilibrium, which is the defining condition for simple harmonic motion. The period is T = 2π√(m/k) and, notably, does not depend on the amplitude. Energy trades between elastic potential ½kx² and kinetic ½mv², with the total staying constant.

SHMoscillationspringperiodic motion