← NSEP physics · Mechanics

NSEP preparation · Physics · Mechanics

Simple harmonic motion: springs, pendulums and resonance

Recognise SHM from a restoring force or an energy minimum, find periods of springs, pendulums, floating and accelerated systems, combine oscillations, and reason about damping and resonance.

What you’ll be able to do

  • Prove that a motion is simple harmonic by reducing it to x¨=−ω2x\ddot x = -\omega^2 x, or by expanding the potential energy about a minimum, and read off ω.
  • Find periods of spring combinations, simple and physical pendulums, floating bodies and liquid columns, including the effect of rolling.
  • Handle equilibrium shifts in accelerating frames and sudden changes of mass, force or support, finding the new amplitude and phase.
  • Superpose oscillations along one line and at right angles, and describe damped and driven oscillators near resonance.

Before you start: Newton's laws and pseudo-forces, energy conservation, circular motion, rotational dynamics (moment of inertia, rolling) and the elastic properties of springs. Basic calculus: derivatives of sin⁡\sin and cos⁡\cos and Taylor expansion to second order.

What makes a motion simple harmonic

SHM is the motion produced by a restoring force proportional to displacement from a stable equilibrium: x¨=−ω2x\ddot x = -\omega^2 x, with solution x = A sin⁡\sin (ωt + φ). Amplitude and phase come from the initial conditions; ω comes only from the system. Velocity and position satisfy v2v^{2} = ω²(A2A^{2} − x2x^{2}), so the v–x graph is an ellipse and the a–x graph a straight line of slope −ω² through the origin. Whenever you can show a quantity obeys this equation, whether a displacement, an angle or a charge, the period is 2π/ω.

Almost every system near a stable equilibrium executes SHM for small displacements, because any smooth potential energy can be expanded as U(x)≈U(x0)+12U′′(x0)(x−x0)2U(x) \approx U(x_0) + \frac{1}{2}U''(x_0)(x - x_0)^2, giving ω² = U''(x0x_{0})/m. More generally, if the energy can be written as 12μq˙2+12κq2\frac{1}{2}\mu\dot q^2 + \frac{1}{2}\kappa q^2 for some coordinate q, then ω² = κ/μ. This energy method handles pulleys, rolling bodies and fluids without drawing a single force, and it is usually the fastest route in olympiad problems.

Independence of the period from amplitude is a property of the linear force only. A pendulum's restoring torque is proportional to sin⁡θ\sin \theta , not θ, so its period grows with amplitude, by about θ02\theta _{0}^{2}/16 as a fraction for an amplitude θ0\theta _{0} in radians: about 2% at 30°. A ball bouncing elastically on the floor is periodic but not SHM at all, and its period does depend on the drop height. The test is always the form of the force, not whether the motion repeats.

Springs, pendulums and rigid bodies

Springs in parallel share the displacement, so stiffnesses add; in series they share the force, so compliances add: 1/k = 1/k1k_{1} + 1/k2k_{2}. Cutting a uniform spring into a piece of fractional length f makes its stiffness k/f, so halves are twice as stiff. A vertical spring has the same period as a horizontal one, because gravity, a constant force, only shifts the equilibrium by mg/k. A spring of mass msm_{s} adds about msm_{s}/3 to the oscillating mass, since its coils near the fixed end hardly move.

A rigid body swinging about a horizontal axis a distance d from its centre of mass is a physical pendulum: T=2πI/(Mgd)T = 2\pi\sqrt{I/(Mgd)}, the same as a simple pendulum of equivalent length I/(Md) = d + k2k^{2}/d, where k is the radius of gyration about the centre of mass. The period is infinite at d = 0 (a balanced body) and has a minimum at d = k. The point at distance k2k^{2}/d beyond the centre of mass, the centre of oscillation, gives the same period when used as the pivot; it is also the centre of percussion for that pivot. A torsion pendulum, with restoring torque −κθ, has T = 2π√(I/κ).

Adding rotation increases the effective inertia. A ball rolling without slipping in a bowl has kinetic energy (710\frac{7}{10})mv2mv^{2} rather than ½mv², so its period is √(75\frac{7}{5}) times that of a frictionless bead on the same track. Similarly, a cylinder rolling on a curved surface or a pulley with mass in a spring system adds I/R2R^{2} to the effective mass. Writing the energy and identifying μ and κ avoids any need to find the friction or tension forces.

Accelerating frames, sudden changes and fluids

In a frame with acceleration a⃗\vec a, every mass feels an extra constant force −ma⃗\vec a, which combines with gravity into g⃗eff=g⃗−a⃗\vec g_{\mathrm{eff}} = \vec g - \vec a. A constant force never changes ω; it only moves the equilibrium. So a pendulum in a lift has T = 2π√(L/(g + a)) when the lift accelerates upward and does not oscillate at all in free fall, while in a car accelerating horizontally it oscillates about a tilted equilibrium with geffg_{\mathrm{eff}} = √(g2g^{2} + a2a^{2}). A spring–block system on an accelerating support keeps its period but its equilibrium extension changes by ma/k.

Sudden changes are handled by asking what is continuous. If a force or the frame's acceleration changes abruptly, position and velocity are continuous but the equilibrium jumps, so the amplitude about the new equilibrium is found from x and v at that instant: A2=x2+v2/ω2A^2 = x^2 + v^2/\omega^2. If mass is added abruptly, momentum is conserved in the impact (energy usually is not) and ω changes. Adding putty at the extreme position changes nothing about the amplitude; adding it at the centre reduces the speed and therefore the amplitude.

Fluids provide restoring forces too. A body of uniform cross-section floating upright with depth d submerged has an extra buoyant force ρf\rho _{f} gAx when pushed down by x, and its mass equals ρf\rho _{f} Ad, so T = 2π√(d/g) whatever the densities. A liquid column of total length L in a U-tube has restoring force 2ρgAx on a mass ρAL, giving T = 2π√(L/(2g)). Both results ignore viscosity and the mass of surrounding fluid that is dragged along, so real periods are slightly longer.

Superposition, damping and resonance

Two SHMs of the same frequency along the same line add like vectors (phasors): the result has amplitude A12+A22+2A1A2cos⁡δ\sqrt{A_1^2 + A_2^2 + 2A_1A_2\cos\delta} and the same frequency. Different frequencies produce beats at the difference frequency |f1f_{1} − f2f_{2}|, heard as loudness rising and falling. At right angles, equal frequencies give a straight line (δ = 0 or π), a circle or an ellipse (δ = π/2), and a frequency ratio of 1:2 gives a figure of eight or a parabola, depending on phase. Such Lissajous figures read the frequency ratio and the phase directly.

A damping force −bv makes the amplitude decay as e−bt/(2m)e^{-bt/(2m)}, and the energy twice as fast; the oscillation frequency drops slightly to ω02−(b/2m)2\sqrt{\omega_0^2 - (b/2m)^2}. The quality factor Q = mω₀/b is about 2π times the energy stored divided by the energy lost per cycle, so a lightly damped oscillator rings for about Q/π cycles before its energy falls by a factor e2e^{2}. Heavy damping beyond b = 2mω₀ (critical damping) removes oscillation altogether; a car's shock absorbers sit near critical.

A driven oscillator settles, after transients die out, at the driving frequency, not at its own. Its amplitude peaks close to ω₀, with a resonance whose width is about ω₀/Q, so light damping means a tall, narrow peak. Below resonance the displacement follows the force in phase; at resonance it lags by π/2, so the velocity is in phase with the force and power input is greatest; well above resonance it lags by π and the amplitude falls as 1/ω². At resonance, the amplitude is limited only by damping, which is why soldiers break step on bridges.

Rules and when they apply

x¨=−ω2x,T=2πω\ddot x = -\omega^2 x, \quad T = \dfrac{2\pi}{\omega}
Defining equation of SHM: acceleration proportional and opposite to displacement x, with angular frequency ω and period T.

Linear restoring force; for real systems, small displacements from stable equilibrium.

ω2=U′′(x0)m=κμ\omega^2 = \dfrac{U''(x_0)}{m} = \dfrac{\kappa}{\mu}
Small-oscillation frequency from the curvature of the potential energy at equilibrium x0x_{0}, or from E = ½μq̇² + ½κq² in any coordinate q.

Stable equilibrium (U'' > 0) and amplitudes small enough for the quadratic approximation.

T=2πIMgdT = 2\pi\sqrt{\dfrac{I}{Mgd}}
Period of a physical pendulum with moment of inertia I about the pivot and centre of mass a distance d below it.

Small angular amplitude about a fixed horizontal axis.

kparallel=k1+k2,1kseries=1k1+1k2k_{\mathrm{parallel}} = k_1 + k_2, \quad \dfrac{1}{k_{\mathrm{series}}} = \dfrac{1}{k_1} + \dfrac{1}{k_2}
Combining spring constants: parallel springs share extension, series springs share force.

Light, ideal springs obeying Hooke's law.

T=2πLgeff,g⃗eff=g⃗−a⃗T = 2\pi\sqrt{\dfrac{L}{g_{\mathrm{eff}}}}, \quad \vec g_{\mathrm{eff}} = \vec g - \vec a
Period of a simple pendulum of length L in a frame with acceleration a; it swings about the direction of geffg_{\mathrm{eff}}.

Small amplitude and constant frame acceleration.

A=A12+A22+2A1A2cos⁡δA = \sqrt{A_1^2 + A_2^2 + 2A_1A_2\cos\delta}
Amplitude of the sum of two SHMs of equal frequency along one line, with amplitudes A1A_{1} and A2A_{2} and phase difference δ.

Same frequency and same direction of oscillation.

Follow the reasoning

Worked example 1

Where to drill the hole in a metre stick

A uniform metre stick (L = 1.0 m) swings in a vertical plane about a horizontal nail through a small hole a distance d from its centre. Find the period of small oscillations for d = 0.50 m (hole at one end), the value of d that gives the shortest period, and that period.

Step-by-step explanation
  1. I about the nail is M(L2L^{2}/12 + d2d^{2}), so T = 2π√((L2L^{2}/12 + d2d^{2})/(gd)). For d = 0.50 m: (112\frac{1}{12} + 14\frac{1}{4})/(10 × 0.5) = 0.0667 s2s^{2}, so T = 2π × 0.258 ≈ 1.62 s.
  2. The equivalent length L2L^{2}/(12d) + d is smallest when d = L/√12 = 0.289 m, the radius of gyration about the centre.
  3. Then the equivalent length is 2 × 0.289 = 0.577 m, and T = 2π√(0.0577) ≈ 1.51 s.

1.62 s with the hole at an end; the shortest period, about 1.51 s, occurs for d ≈ 0.29 m.

Check: A hole at d = k2k^{2}/d = (112\frac{1}{12})/0.50 = 0.167 m from the centre should give the same period as the end: (0.0833 + 0.0278)/(10 × 0.167) = 0.0667 s2s^{2}, which matches. As d → 0, T → ∞, as expected for a balanced stick.

Worked example 2

A lift that starts suddenly

A 0.50 kg block hangs at rest from a light spring of constant 50 N/m inside a lift at rest. The lift suddenly starts to accelerate upward at 2.0 m/s2s^{2} and keeps that acceleration. Describe the block's motion relative to the lift: find its amplitude, period and the maximum extension of the spring.

Step-by-step explanation
  1. In the lift's frame, geffg_{\mathrm{eff}} = 12 m/s2s^{2}, so the equilibrium extension moves from mg/k = 5.050\frac{5.0}{50} = 0.10 m to m(g + a)/k = 6.050\frac{6.0}{50} = 0.12 m.
  2. At the instant the lift starts, the block is still at 0.10 m extension and at rest relative to the lift, so it is 0.020 m from the new equilibrium with zero relative velocity: the amplitude is 0.020 m.
  3. The constant pseudo-force does not change ω = √(k/m) = 10 rad/s, so T = 2π/10 ≈ 0.63 s, and the extension oscillates between 0.10 m and 0.14 m.

SHM about the new equilibrium with amplitude 2.0 cm and period 0.63 s; the maximum extension is 0.14 m.

Check: Energy in the lift frame: moving from 0.10 m to 0.14 m, the effective weight does m geffg_{\mathrm{eff}} × 0.04 = 0.24 J of work, and the spring energy rises by ½ × 50 × (0.14214^{2} − 0.10210^{2}) = 0.24 J, so the block is momentarily at rest at 0.14 m, as claimed.

Worked example 3

A ball rolling in a bowl

A solid ball of radius 1.0 cm rolls without slipping near the bottom of a fixed hemispherical bowl of inner radius 15 cm. Find the period of small oscillations, and compare it with that of a small frictionless bead sliding on the same path.

Step-by-step explanation
  1. The ball's centre moves on a circle of radius R − r = 0.14 m. Let φ be its angle from the vertical, so v = 0.14 φ̇. Rolling on the bowl requires the ball to spin at v/r, so K=12mv2K=\frac12mv^2 + ½(25\frac{2}{5})mr2mr^{2}(v/r)² = (710\frac{7}{10})mv2mv^{2}.
  2. The centre's height is 0.14(1 − cos⁡\cos φ) ≈ 0.14ϕ214\phi ^{2}/2, so the energy is (710\frac{7}{10})m(0.14)²φ̇² + ½mg(0.14)ϕ2\phi ^{2}. Reading off μ = (75\frac{7}{5})m(0.14)² and κ = mg(0.14) gives ω² = 5g/(7 × 0.14) = 51 s−2s^{-2}.
  3. T = 2π√(7 × 0.14/(5 × 10)) = 2π√(0.0196) = 2π × 0.14 ≈ 0.88 s. A sliding bead has ω² = g/0.14, so T = 2π√(0.014) ≈ 0.74 s.

About 0.88 s rolling, compared with 0.74 s for frictionless sliding: rolling is slower by a factor √(75\frac{7}{5}) ≈ 1.18.

Check: The ratio 0.880.74\frac{0.88}{0.74} = 1.18 equals √(75\frac{7}{5}), which is exactly the ratio of effective masses, as the energy method predicts. For a thin hoop rolling in a trough of the same profile, the factor would be √2, and as r → 0 the path radius tends to the bowl's radius.

Mistakes worth catching

“Hanging a spring vertically changes its period, because gravity adds to the restoring force.”

Gravity is constant, so it only shifts the equilibrium by mg/k. The restoring force about the new equilibrium is still −kx, and the period is unchanged.

“Cutting a spring in half halves its spring constant.”

Each half stretches half as much under the same force, so its spring constant doubles. Stiffness is inversely proportional to length.

“A pendulum clock in a lift accelerating upward runs slow.”

The effective gravity g + a is larger, so the period is shorter and the clock runs fast. In free fall, the pendulum does not oscillate at all.

“At resonance the displacement is in phase with the driving force.”

At resonance the displacement lags the force by π/2, so the velocity is in phase with the force; that is why power input is greatest there.

“Any periodic motion is simple harmonic.”

SHM needs a restoring force proportional to displacement. A bouncing ball, or a pendulum at large amplitude, is periodic but not simple harmonic, and its period depends on amplitude.

Quick revision checklist
  • SHM ⇔ ẍ = −ω²x; near any stable equilibrium, ω² = U''/m, or κ/μ from the energy.
  • Constant forces shift equilibrium but never change ω.
  • Physical pendulum: T = 2π√(I/(Mgd)); rolling adds rotational inertia to the effective mass.
  • Sudden changes: x and v are continuous; recompute the equilibrium and then A2A^{2} = x2x^{2} + v2v^{2}/ω².
  • Driven oscillators move at the drive frequency; at resonance, velocity is in phase with the force.

Try it without the worked examples

Ten separately written NSEP-level questions. Your answers are saved on this browser; finish to see the score and explanations.

Take the chapter test →