A mass bouncing on a spring is the classic example of simple harmonic motion (SHM), but it’s far from the only one. A pendulum swinging at small angles, a vibrating guitar string, the quartz crystal inside a wristwatch, and even the atoms within a molecule all demonstrate SHM under the right conditions. The key requirement is simple: the restoring force pulling the object back toward its resting position must be directly proportional to how far it’s been displaced. That relationship, described by the equation F = −kx, is what separates true SHM from other types of repetitive motion.
What Makes Motion “Simple Harmonic”
Not every back-and-forth motion counts as SHM. Two conditions must be met. First, a restoring force pushes or pulls the object toward an equilibrium position. Second, that force scales linearly with displacement. Double the displacement, double the force. The negative sign in F = −kx means the force always opposes the direction of displacement, constantly working to drag the object back to center.
This proportional relationship produces a specific, predictable pattern. The object accelerates fastest at the extremes of its motion (where displacement is greatest) and coasts through the middle (where displacement is zero) at maximum speed. The timing of each cycle stays perfectly constant regardless of how far the object swings, a property called isochronism. That regularity is why SHM shows up in timekeeping devices and frequency standards.
Mass on a Spring
The most straightforward example of SHM is a mass attached to a spring. Pull the mass away from its resting position and release it, and the spring’s restoring force obeys Hooke’s Law exactly: the further you stretch or compress it, the harder it pulls or pushes back, in perfect proportion. The frequency of the oscillation depends on two things: the stiffness of the spring (its spring constant, k) and the mass of the object. A stiffer spring or a lighter mass means faster oscillations. The period of one complete cycle is 2π times the square root of mass divided by spring constant.
Energy in this system trades back and forth between two forms. At maximum displacement, the mass momentarily stops, and all the energy is stored as potential energy in the stretched or compressed spring. As the mass passes through the equilibrium point at peak speed, all that energy has converted to kinetic energy. The total energy stays constant throughout the cycle, continuously swapping between potential and kinetic with every half-oscillation.
Pendulums at Small Angles
A pendulum swinging through a small arc is another common example, but with an important caveat. A pendulum only approximates SHM when the initial angle of displacement is about 20 degrees or less. Within that range, the restoring force (a component of gravity pulling the bob back toward the lowest point) is nearly proportional to the displacement, satisfying the core requirement. Push the angle much beyond 20 degrees and the relationship between force and displacement becomes nonlinear, meaning the motion is still periodic but no longer truly “simple harmonic.”
This is why pendulum clocks are designed to swing through very small arcs. At larger swings, the period starts to depend on amplitude, and the clock loses its accuracy.
Vibrating Strings and Sound
When you pluck a guitar string or draw a bow across a violin, the string vibrates in a pattern called a standing wave. Each small segment of the string moves back and forth perpendicular to the string’s length, and for a single pure tone, that motion is simple harmonic. The tension in the string provides the restoring force, pulling each displaced segment back toward its resting position.
In practice, a plucked string vibrates with many frequencies at once, producing a complex waveform. The sharp, bright attack of a freshly plucked guitar note comes from higher-frequency components that die out quickly, leaving the more mellow fundamental frequency behind. That fundamental mode, where the string vibrates as a single smooth arc, is the purest example of SHM in a stringed instrument.
Your eardrum responds to these vibrations in a related way. At low frequencies below about 1 kHz, the entire eardrum surface moves roughly in phase, oscillating back and forth in a pattern that closely resembles simple harmonic motion. The largest displacement occurs in the posterior (back) half of the membrane. Above 5 kHz, the motion becomes far more complex, with different sections vibrating out of phase in intricate patterns.
Quartz Crystals in Clocks and Electronics
The quartz crystal inside a wristwatch or smartphone is a tiny mechanical oscillator. When voltage is applied, the crystal physically vibrates at a precise frequency, typically 32,768 Hz for wristwatches. This vibration is simple harmonic motion at the molecular level: the crystal’s internal structure acts like an incredibly stiff spring, and the restoring forces between atoms keep the oscillation frequency stable. Commercial quartz crystals range from 30 kHz to 30 MHz and maintain accuracy within 50 to 100 parts per million across normal temperature ranges. That stability is why quartz replaced pendulums as the standard for affordable, accurate timekeeping.
Vibrating Molecules
At the atomic scale, the chemical bond between two atoms in a molecule behaves like a tiny spring. The bond has an equilibrium length, and displacing the atoms (pushing them closer together or pulling them apart) creates a restoring force that pulls them back. For small displacements around equilibrium, this force is proportional to the displacement, making the vibration simple harmonic.
Physicists model this using a “reduced mass,” which combines the masses of both atoms into a single effective mass, turning the two-body problem into something mathematically identical to a single mass on a spring. The harmonic oscillator model matches the real behavior of molecular bonds remarkably well near equilibrium. It only breaks down at large displacements, where the bond can stretch enough to break, something the simple spring model doesn’t account for. The average position of the atoms across all their vibrations is exactly the equilibrium bond length, confirming that the oscillation is symmetric, just as SHM predicts.
What Doesn’t Count as SHM
A bouncing ball is a common trick question. It moves up and down repeatedly, which makes it oscillatory, but it is not simple harmonic. The forces involved during a bounce come from the ball’s deformation against the ground, and those forces are not proportional to displacement. Gravity pulls the ball down constantly rather than scaling with how far the ball is from some equilibrium point. Energy is also lost with every bounce through heat and sound, so the motion dies out rather than cycling at constant amplitude.
Similarly, a car driving over a series of bumps experiences periodic jolts, but the vehicle’s suspension system is specifically designed to prevent sustained oscillation. Shock absorbers add damping forces that drain energy from each oscillation cycle, bringing the car body back to rest as quickly as possible. This is damped harmonic motion, a close relative of SHM, but not the same thing. The damping force depends on velocity rather than displacement, which means the system no longer satisfies the strict F = −kx requirement. Without the shock absorbers, though, the springs in a car’s suspension would bounce in something very close to SHM, which is exactly why shock absorbers exist.
The essential test is always the same: is the restoring force proportional to displacement and directed toward equilibrium? If yes, the motion is simple harmonic. If the force is more complex, depends on velocity, or involves energy loss, the motion may be periodic or oscillatory but falls outside the definition of SHM.

