Skip to content

Simple harmonic motion of a spring and a pendulum

6 min read

Short answer

Simple harmonic motion happens when the restoring force is proportional to the displacement, F=−kxF=-kx. The motion is x(t)=Acos⁡(ωt+φ)x(t)=A\cos(\omega t+\varphi) with ω=k/m\omega=\sqrt{k/m} and period T=2πm/kT=2\pi\sqrt{m/k}. A pendulum behaves the same way for small angles, with T=2πL/gT=2\pi\sqrt{L/g}.

Position against time for simple harmonic motion with amplitude A and period TATtx(t)
Position of a mass on a spring over time: amplitude A, period T. The motion repeats exactly every T seconds.

Reading the formulas

  • Amplitude AA: the maximum displacement.
  • Angular frequency ω\omega (rad/s): T=2π/ωT=2\pi/\omega and f=1/Tf=1/T.
  • Maximum speed vmax⁡=Aωv_{\max}=A\omega, reached when passing the equilibrium.
  • Maximum acceleration amax⁡=Aω2a_{\max}=A\omega^2, reached at the ends.

For a spring, a stiffer spring (larger kk) or a lighter mass gives a faster oscillation. The period does not depend on the amplitude.

The pendulum

For small angles (roughly under 15∘15^\circ) a simple pendulum has T=2πL/gT=2\pi\sqrt{L/g}, independent of the mass and of the amplitude. It depends only on the length and on gg, and the angle must be handled in radians when using sin⁡θ≈θ\sin\theta\approx\theta.

Worked example

A 0.5 kg mass on a spring with k=200 N/mk=200\ \text{N/m} oscillates with amplitude 5 cm. Find ω\omega, the period, the maximum speed and the maximum acceleration. Also find the period of a 1 m pendulum.

ω=200/0.5=20 rad/s\omega=\sqrt{200/0.5}=20\ \text{rad/s}, so T=2π20≈0.314 sT=\dfrac{2\pi}{20}\approx0.314\ \text{s} (and f≈3.18 Hzf\approx3.18\ \text{Hz}).

vmax⁡=Aω=0.05(20)=1 m/sv_{\max}=A\omega=0.05(20)=1\ \text{m/s} and amax⁡=Aω2=0.05(400)=20 m/s2a_{\max}=A\omega^2=0.05(400)=20\ \text{m/s}^2.

Pendulum: T=2π1/9.8≈2.0 sT=2\pi\sqrt{1/9.8}\approx2.0\ \text{s}.

Try it yourself

How long must a simple pendulum be to have a period of 2 s on Earth?

Show the answer

L=gT24π2=9.8(4)39.48≈0.99 mL=\dfrac{gT^2}{4\pi^2}=\dfrac{9.8(4)}{39.48}\approx0.99\ \text{m}.

Keep going with practice

Oscillations are part of Vidi's Classical Mechanics course, with graded problems on springs and pendulums.