Rippling water waves showing interference patterns

Mass-spring system

PHYS 210 · Simple Harmonic Motion

A mass attached to an ideal spring is the standard physical model of SHM. This lesson derives the motion, period, and energy behavior of the spring oscillator.

Key equations

F_s=-kxF=ma-kx=m\frac{d^2x}{dt^2}\frac{d^2x}{dt^2}+\frac{k}{m}x=0\omega=\sqrt{\frac{k}{m}}T=2\pi\sqrt{\frac{m}{k}}kx_0=mgx(t)=A\cos(\omega t+\phi)v(t)=-A\omega\sin(\omega t+\phi)U_s=\frac{1}{2}kx^2E=\frac{1}{2}mv^2+\frac{1}{2}kx^2v_{max}=A\omega

Learning objectives

  • Derive the mass-spring equation of motion from Hooke's law.
  • Calculate angular frequency and period for an ideal spring oscillator.
  • Explain the effect of vertical equilibrium shift due to gravity.
  • Analyze energy exchange in a mass-spring system.
  • Relate amplitude to maximum speed.

The ideal spring oscillator

A mass-spring system consists of a mass mm attached to a spring with spring constant kk. In the ideal model, the spring is massless, obeys Hooke's law, and there is no friction or air resistance. The mass moves along one axis, and displacement xx is measured from equilibrium.

Hooke's law says the spring force is

Fs=kxF_s=-kx

The negative sign means the force points opposite the displacement. If the spring is stretched to positive xx, the force pulls back toward equilibrium. If compressed to negative xx, the force pushes toward equilibrium.

Deriving the equation of motion

Apply Newton's second law:

F=maF=ma

For the spring force,

-kx=m rac{d^2x}{dt^2}

Rearrange:

rac{d^2x}{dt^2}+ rac{k}{m}x=0

This has the SHM form

rac{d^2x}{dt^2}+omega^2x=0

so

omega=sqrt{ rac{k}{m}}

The angular frequency depends on the stiffness of the spring and the mass attached to it. A stiffer spring gives faster oscillation. A larger mass gives slower oscillation.

Period of a mass-spring oscillator

The period is

T= rac{2pi}{omega}

Substitute omega=sqrtk/momega=sqrt{k/m}:

T=2pisqrt{ rac{m}{k}}

This equation says the period increases with mass and decreases with spring stiffness. Doubling the mass does not double the period; the dependence is through a square root.

Horizontal and vertical springs

For a horizontal frictionless spring, equilibrium is usually the natural length of the spring. For a vertical spring, gravity stretches the spring to a new equilibrium position. The equilibrium stretch satisfies

kx0=mgkx_0=mg

If displacement is measured from this new equilibrium, the motion is still SHM with the same angular frequency:

omega=sqrt{ rac{k}{m}}

Gravity shifts the equilibrium but does not change the oscillation frequency in the ideal linear model.

Solution and phase

The displacement can be written

x(t)=Acos(omegat+phi)x(t)=Acos(omega t+phi)

The velocity is

v(t)=Aomegasin(omegat+phi)v(t)=-Aomegasin(omega t+phi)

The constants AA and phiphi depend on how the mass is released. If the mass is pulled to x=Ax=A and released from rest, then phi=0phi=0 is convenient. If the mass passes through equilibrium at t=0t=0 with maximum positive velocity, a sine form may be simpler.

Energy in the spring system

The spring potential energy is

U_s= rac{1}{2}kx^2

The kinetic energy is

K= rac{1}{2}mv^2

In the ideal system, total mechanical energy is conserved:

E= rac{1}{2}mv^2+ rac{1}{2}kx^2

At maximum displacement, v=0v=0 and

E= rac{1}{2}kA^2

At equilibrium, x=0x=0 and speed is maximum:

E= rac{1}{2}mv_{max}^2

Thus

v_{max}=Asqrt{ rac{k}{m}}=Aomega

Physical interpretation

The mass does not move fastest at the endpoints. It stops there momentarily before reversing direction. It moves fastest at equilibrium, where all the energy is kinetic. The acceleration is greatest at the endpoints because the spring force has greatest magnitude there.

The big idea

The mass-spring oscillator is the cleanest physical example of simple harmonic motion. Hooke's law supplies a linear restoring force, Newton's second law produces the SHM differential equation, and energy conservation reveals how kinetic and spring potential energy trade back and forth throughout the cycle.

Ask your AI physics guide

AI Physics Chat· Waves and Oscillations — Mass-spring system

Ask anything about Waves and Oscillations — Mass-spring system, or choose a suggested question below.

AI responses are educational and may not be perfectly accurate. Press Enter to send, Shift+Enter for new line.