Oscillations

Pendulums, guitar strings, car suspensions, the atoms in a crystal and the swaying of a skyscraper all oscillate. Most of them follow the same simple rule, simple harmonic motion, and once you understand that one rule you can predict their periods, their speeds and their energies. Then we look at what happens when oscillations are damped, and when something pushes them at just the right frequency.

What makes motion simple harmonic?

Every oscillator has an equilibrium position where it would happily sit still. Pull it away and a restoring force pushes it back. It arrives back at equilibrium moving fast, overshoots because of its inertia, slows down on the other side, and comes back again.

The motion is simple harmonic when the restoring force is proportional to the displacement: pull twice as far, get twice the force back. That is exactly what a spring obeying Hooke's law does.

Formula sheet

The condition for simple harmonic motion

\[ F = -kx \]
\(F\): restoring force / N\(k\): constant (the stiffness) / N m⁻¹\(x\): displacement from equilibrium / m

The minus sign is the important part: the force always points the opposite way to the displacement, back towards equilibrium. Since \(F = ma\), the acceleration behaves in the same way: it is proportional to the displacement and always directed towards the equilibrium position.

Simple harmonic motion

Simple harmonic motion (SHM) is an oscillation in which the acceleration of the object is directly proportional to its displacement from the equilibrium position and is always directed towards the equilibrium position.

Spotting SHM

To decide whether something moves with SHM, work out the resultant force on it at a displacement \(x\). If it comes out as \(F = -(\text{a constant}) \times x\), the motion is simple harmonic.

SystemSHM?Why
mass on a springyesHooke's law gives \(F = -kx\), as long as the spring stays within its limit of proportionality
simple pendulumyes, for small swingsthe restoring force is \(-mg\sin\theta\), which is close to proportional to \(x\) only when \(\theta\) is small
a floating block pushed down and releasedyesthe extra upthrust is proportional to how far it is pushed down
a ball bouncing on the floornowhile it is in the air the force on it is \(mg\), the same at every height, not proportional to its displacement

The equations of SHM

Combining \(F = -kx\) with \(F = ma\) gives \(a = -(k/m)x\). The constant \(k/m\) is always positive, so we write it as \(\omega^2\), and \(\omega\) turns out to be the angular frequency of the oscillation.

Formula sheet

Defining equation of SHM

\[ a = -\omega^2 x \]
\(a\): acceleration / m s⁻²\(\omega\): angular frequency / rad s⁻¹
Formula sheet

Period, frequency and ω

\[ T = \frac{1}{f} = \frac{2\pi}{\omega}, \qquad \omega = 2\pi f \]
\(T\): period / s\(f\): frequency / Hz

If you let go of the oscillator at \(x = A\) (its amplitude, the maximum displacement) at \(t = 0\), its displacement, velocity and acceleration at any time are:

Formula sheet

Displacement

\[ x = A\cos\omega t \]
Formula sheet

Velocity

\[ v = -A\omega\sin\omega t \]
Formula sheet

Acceleration

\[ a = -A\omega^2\cos\omega t \]

Compare the first and last: \(a = -\omega^2(A\cos\omega t) = -\omega^2x\), the defining equation again. The biggest speed is \(v_\text{max} = A\omega\), reached as the object passes through equilibrium. The biggest acceleration is \(a_\text{max} = A\omega^2\), at the two ends of the motion.

Where the cosine and the ω come from

Picture a point moving steadily round a circle of radius \(A\) with angular velocity \(\omega\) (as in circular motion). After time \(t\) it has turned through an angle \(\theta = \omega t\). Shine a light so that its shadow falls on a diameter: the shadow moves back and forth with displacement \(A\cos\omega t\), which is SHM. The point's speed round the circle is \(A\omega\), and its centripetal acceleration \(A\omega^2\) points to the centre. Take the components of these along the diameter and you get exactly \(v = -A\omega\sin\omega t\) and \(a = -A\omega^2\cos\omega t\). So SHM is “circular motion seen side-on”, and \(\omega\) is the angular velocity of that imaginary point.

Put your calculator in radians for \(\cos\omega t\) and \(\sin\omega t\): \(\omega t\) is an angle in radians. Also, \(x = A\cos\omega t\) only applies if timing starts at maximum displacement. If timing starts as the object passes through equilibrium, the displacement is \(x = A\sin\omega t\) instead.

Displacement, velocity and acceleration graphs

The three graphs are linked by gradients, just as in the Motion topic:

All three are sine or cosine curves with the same period. The velocity is a quarter of a cycle out of step with the displacement, and the acceleration is exactly half a cycle out of step: it is the displacement graph turned upside down and stretched by \(\omega^2\), because \(a = -\omega^2x\).

PositionDisplacementVelocityAcceleration
at either end\(\pm A\) (maximum)zeromaximum, \(\mp A\omega^2\), pointing to the middle
passing through equilibriumzeromaximum, \(\pm A\omega\)zero

Mass–spring systems and pendulums

For a particular oscillator, \(\omega\) comes from comparing its force equation with \(a = -\omega^2x\). That gives the two standard results.

A mass \(m\) on a spring of stiffness \(k\) feels a restoring force \(F = -kx\). Newton's second law, \(F = ma\), gives

\[ ma = -kx \quad\Rightarrow\quad a = -\frac{k}{m}\,x \]

This has the form \(a = -\omega^2x\), so the motion is SHM with

\[ \omega^2 = \frac{k}{m} \quad\Rightarrow\quad \omega = \sqrt{\frac{k}{m}} \]

Use \(T = 2\pi/\omega\):

\[ \boxed{T = 2\pi\sqrt{\frac{m}{k}}} \]

A heavier mass has more inertia, so it oscillates more slowly. A stiffer spring pulls back harder, so it oscillates faster. The amplitude doesn't appear at all.

Formula sheet

Mass–spring oscillator

\[ T = 2\pi\sqrt{\frac{m}{k}} \]
\(m\): oscillating mass / kg\(k\): spring constant / N m⁻¹

The same formula works for a spring hanging vertically. Gravity just moves the equilibrium position down; the extra force for each extra bit of stretch is still \(kx\).

θ l x T mg mg cos θ mg sin θ
The component of the weight along the arc, \(mg\sin\theta\), pulls the bob back towards equilibrium. The tension and \(mg\cos\theta\) act along the string and don't change its speed along the arc.

A bob of mass \(m\) on a string of length \(l\) is pulled aside by an angle \(\theta\). The component of its weight along the arc pulls it back towards equilibrium:

\[ F = -mg\sin\theta \]

For small angles (in radians), \(\sin\theta \approx \theta\). The bob's displacement along the arc is \(x = l\theta\), so \(\theta = x/l\):

\[ F \approx -mg\theta = -\frac{mg}{l}\,x \]

At 10°, \(\sin\theta\) and \(\theta\) differ by only 0.5%, so this works well for swings of up to about 10°.

Divide by \(m\) to get the acceleration. The mass cancels:

\[ a = -\frac{g}{l}\,x \quad\Rightarrow\quad \omega^2 = \frac{g}{l} \]

Use \(T = 2\pi/\omega\):

\[ \boxed{T = 2\pi\sqrt{\frac{l}{g}}} \]

The period depends only on the length and on \(g\): not on the mass of the bob, and not on the amplitude while the swing stays small.

Formula sheet

Simple pendulum

\[ T = 2\pi\sqrt{\frac{l}{g}} \]
\(l\): length from pivot to centre of bob / m\(g\): gravitational field strength / N kg⁻¹

When you time a pendulum, time 10 or 20 complete oscillations and divide, so the reaction-time error is shared out. Start and stop the timer as the bob passes the centre, where it moves fastest, using a marker behind it.

Worked example

A 0.40 kg mass hangs on a spring with \(k = 60\ \text{N m}^{-1}\). It is pulled down 5.0 cm and released at \(t = 0\). Calculate (a) the period, (b) the maximum speed, (c) the maximum acceleration, and (d) the displacement and velocity at \(t = 0.10\ \text{s}\).

Show solution

(a) \(T = 2\pi\sqrt{m/k} = 2\pi\sqrt{0.40/60} = 0.513\ \text{s}\), and \(\omega = \sqrt{k/m} = \sqrt{150} = 12.2\ \text{rad s}^{-1}\).

(b) \(v_\text{max} = A\omega = 0.050 \times 12.25 = 0.61\ \text{m s}^{-1}\)

(c) \(a_\text{max} = A\omega^2 = 0.050 \times 150 = 7.5\ \text{m s}^{-2}\)

(d) \(\omega t = 12.25 \times 0.10 = 1.225\ \text{rad}\) (radians!), so

\[ x = A\cos\omega t = 0.050\cos(1.225) = 0.017\ \text{m} = 1.7\ \text{cm} \] \[ v = -A\omega\sin\omega t = -0.612 \times \sin(1.225) = -0.58\ \text{m s}^{-1} \]

The minus sign means it is moving back towards (and about to pass through) the equilibrium position, which makes sense: 0.10 s is just under a quarter of a period.

Worked example

A student times 20 oscillations of a pendulum of length 0.800 m and gets 35.9 s. Calculate a value for \(g\).

Show solution

\(T = 35.9 / 20 = 1.795\ \text{s}\). Squaring \(T = 2\pi\sqrt{l/g}\) and rearranging:

\[ g = \frac{4\pi^2 l}{T^2} = \frac{4\pi^2 \times 0.800}{1.795^2} = 9.80\ \text{N kg}^{-1} \]

A better method is to use several lengths and plot \(T^2\) against \(l\): the gradient is \(4\pi^2/g\).

Energy in SHM

As an oscillator moves, energy keeps changing form. For a mass on a spring it swaps between kinetic energy of the mass and elastic potential energy stored in the spring (for a pendulum, gravitational potential energy). If nothing dissipates energy, the total stays constant: the oscillation is undamped.

The elastic potential energy stored in a spring is \(\tfrac{1}{2}F\Delta x\). With \(F = kx\), at displacement \(x\) it stores

\[ E_\text{p} = \tfrac{1}{2}kx^2 \]

At the end of the swing, \(x = A\) and the mass is at rest, so all the energy is potential:

\[ \boxed{E_\text{total} = \tfrac{1}{2}kA^2} \]

Check at equilibrium, where all of it is kinetic. Using \(v_\text{max} = A\omega\) and \(\omega^2 = k/m\):

\[ \tfrac{1}{2}mv_\text{max}^2 = \tfrac{1}{2}mA^2\omega^2 = \tfrac{1}{2}mA^2\frac{k}{m} = \tfrac{1}{2}kA^2 \]

The two agree, as energy conservation says they must. The energy is proportional to \(A^2\): double the amplitude and the oscillator holds four times as much energy.

At any point in between, \(E_\text{k} + E_\text{p} = \tfrac{1}{2}kA^2\). Because both depend on squares, each one goes through two maxima per oscillation: kinetic and potential energy oscillate at twice the frequency of the motion.

Worked example

For the 0.40 kg mass on the 60 N m⁻¹ spring with amplitude 5.0 cm, find (a) the total energy and (b) the speed of the mass when its displacement is 3.0 cm.

Show solution

(a) \(E = \tfrac{1}{2}kA^2 = 0.5 \times 60 \times 0.050^2 = 0.075\ \text{J}\)

(b) At \(x = 0.030\ \text{m}\): \(E_\text{p} = 0.5 \times 60 \times 0.030^2 = 0.027\ \text{J}\), so \(E_\text{k} = 0.075 - 0.027 = 0.048\ \text{J}\).

\[ v = \sqrt{\frac{2E_\text{k}}{m}} = \sqrt{\frac{2 \times 0.048}{0.40}} = 0.49\ \text{m s}^{-1} \]

Damping

Real oscillations die away. Air resistance, friction and the slight heating of the spring as it flexes all do work against the motion, so energy is transferred out of the oscillator, mostly as thermal energy in the surroundings. Forces like this cause damping, and the amplitude gets smaller and smaller.

Damping

Damping is the effect of dissipative forces (such as friction and air resistance) that transfer energy away from an oscillating system, so the amplitude of the oscillations decreases.

Energy is still conserved in a damped oscillator. It is just shared with the surroundings: kinetic + potential energy of the oscillator + energy dissipated = the energy it started with, \(\tfrac{1}{2}kA_0^2\). Each cycle the oscillator loses a fraction of its energy, which is why the amplitude keeps falling.

Plastic deformation as a damper

A ductile material such as steel, lead or copper can be stretched or bent permanently (plastic deformation). When that happens, the work done to deform it is not given back when the force is removed: it ends up as thermal energy inside the material. On a force–extension graph, the energy dissipated in each loading and unloading cycle is the area enclosed between the two curves.

Engineers use this to protect buildings in earthquake zones. Dampers made of ductile metal (and bearings with lead cores) are built into the structure so that they deform plastically as the building sways. Each sway takes energy out of the oscillation, so the amplitude falls quickly instead of building up to a level that would damage the main structure.

Free and forced oscillations: resonance

Free and forced oscillations

A free oscillation happens when a system is displaced and then left alone, with no external periodic force. It oscillates at its own natural frequency, \(f_0\).

A forced oscillation happens when a periodic driving force acts on the system. Once it has settled, the system oscillates at the driving frequency, whatever its natural frequency is.

Resonance occurs when the driving frequency equals the natural frequency of the system. The amplitude of the oscillations is then a maximum, because energy is transferred from the driver to the oscillator most efficiently.

Think of pushing a child on a swing. Push once per swing, at the right moment, and every push is in the same direction as the swing is moving. Each push does positive work, so energy builds up cycle after cycle. The amplitude only stops growing when the energy lost to damping in each cycle equals the energy the pushes add. Push at the wrong frequency and some pushes act against the motion, taking energy back out, so the swing never gets far.

How the amplitude of a forced oscillation depends on the driving frequency:

Damping changes the shape of this resonance curve. More damping makes the peak lower and broader (the system responds over a wider range of frequencies, but never very strongly), and the peak moves slightly below \(f_0\). Very light damping gives a tall, sharp peak.

Resonance in real life

Resonance is useful in musical instruments (the air in a guitar body or a flute resonates), in tuning a radio to one station, and in the quartz crystal that keeps a watch on time. It can also be destructive. A building whose natural frequency matches the shaking of an earthquake can sway with a huge amplitude, which is why tall buildings are fitted with dampers. In 2000 the Millennium Bridge in London began swaying sideways as soon as it opened, because the walkers fell into step with its natural frequency, and it had to be closed until dampers were fitted.

Worked example

A tall building in an earthquake zone has a natural frequency of 0.8 Hz. Explain why it could be badly damaged by an earthquake with ground vibrations of about 0.8 Hz, and why engineers fit dampers.

Show solution

The ground shaking is a periodic driving force, so the building performs forced oscillations. When the driving frequency (0.8 Hz) equals the building's natural frequency, resonance occurs: energy is transferred to the building most efficiently, so the amplitude of its sway becomes very large and can exceed what the structure can withstand.

Dampers dissipate energy from the oscillations (for example by plastic deformation of ductile metal, or by friction in fluid dampers). This makes the resonance peak much lower, so the maximum amplitude is smaller, and it makes the oscillations die away quickly once the shaking stops.

Core Practical 16: finding an unknown mass

Determine the value of an unknown mass using the resonant frequencies of the oscillation of known masses

Hang a spring from a vibration generator connected to a signal generator, and attach a known mass \(m\). Slowly increase the driving frequency and find the frequency at which the mass oscillates with the largest amplitude. That is resonance, so the driving frequency equals the natural frequency of the mass–spring system. Repeat for several known masses.

From \(T = 2\pi\sqrt{m/k}\), squaring gives

\[ T^2 = \frac{4\pi^2}{k}\,m \]

So with \(T = 1/f\), a graph of \(T^2\) against \(m\) is a straight line with gradient \(4\pi^2/k\). Now hang the unknown mass, find its resonant frequency, work out \(T^2\), and read its mass from the graph (or calculate \(m = T^2 / \text{gradient}\)).

  • Find each resonant frequency by approaching it from below and from above, and take the mean. Fine-tune the frequency in small steps near the peak.
  • Keep the driving amplitude small, so the spring stays within its limit of proportionality and never goes slack.
  • The spring has mass too, and part of it oscillates. This is a systematic error that gives the line a small intercept, but using the graph (rather than a single calculation) deals with it, because the unknown mass is read from the same line.
  • Safety: clamp the stand firmly to the bench (or use a counterweight) so it can't topple, and keep your feet clear in case a mass falls.
Worked example

A student's graph of \(T^2\) against \(m\) has a gradient of 1.58 s² kg⁻¹. An unknown mass on the same spring resonates at 1.40 Hz. Calculate (a) the spring constant and (b) the unknown mass.

Show solution

(a) The gradient is \(4\pi^2/k\), so

\[ k = \frac{4\pi^2}{1.58} = 25.0\ \text{N m}^{-1} \]

(b) \(T = 1/f = 1/1.40 = 0.714\ \text{s}\), so \(T^2 = 0.510\ \text{s}^2\) and

\[ m = \frac{T^2}{\text{gradient}} = \frac{0.510}{1.58} = 0.32\ \text{kg} \]

Quick checks

Which equation describes an object moving with simple harmonic motion?

The acceleration must be proportional to the displacement (\(x\), not \(x^2\)) and opposite to it, hence the minus sign. \(a = -g\) is a constant acceleration, like a bouncing ball in the air, which is not SHM.

An object in SHM passes through its equilibrium position. Which statement is correct?

At \(x = 0\), \(a = -\omega^2 x = 0\): there is no restoring force there. All of the energy is kinetic, so the speed is at its greatest, \(A\omega\).

A pendulum clock is taken to the Moon, where \(g\) is one sixth of its value on Earth. By what factor does the period change?

\(T = 2\pi\sqrt{l/g}\), so \(T \propto 1/\sqrt{g}\). Dividing \(g\) by 6 multiplies \(T\) by \(\sqrt{6} = 2.45\). The period doesn't depend on the bob's mass, but it does depend on \(g\).

The amplitude of a mass–spring oscillator is doubled. What happens to its period and to its total energy?

\(T = 2\pi\sqrt{m/k}\) has no \(A\) in it. The total energy is \(\tfrac{1}{2}kA^2\), so doubling \(A\) multiplies it by 4.

The damping of a driven oscillator is increased. How does its resonance curve (amplitude against driving frequency) change?

More damping dissipates more energy per cycle, so the amplitude at resonance is smaller and the response is spread over a wider range of frequencies. The peak also moves slightly below the natural frequency, not above it.

A mass on a spring has a period of 0.50 s. The mass is replaced by one four times as heavy. What is the new period?

\(T \propto \sqrt{m}\), so four times the mass gives \(\sqrt{4} = 2\) times the period: 1.0 s.

Interactive diagrams

Watch the shadow on the vertical line, then double the frequency. The shadow is fastest in the middle and stops at the top and bottom; \(\omega\) doubles, so \(v_\text{max}\) doubles and \(a_\text{max}\) goes up four times.
Tick “Show gradients”: the orange tangent on the x–t graph is flat exactly when the v–t graph crosses zero. Then add damping: the energy bars show the total falling as energy is dissipated, but the period hardly changes.
Take the pendulum to the Moon, then back to Earth and make the length four times bigger. On the Moon \(g\) is about a sixth of Earth's, so the period is \(\sqrt{6} \approx 2.4\) times longer; four times the length doubles it.
Set the driving frequency to 1.00 Hz with light damping and watch the amplitude build up to the top of the curve. Move away from 1.00 Hz and the amplitude falls; add damping and the whole peak flattens.
Pick a mass, move the frequency slider until the amplitude meter peaks, then press Record resonant frequency. Repeat for four or five masses, then do the unknown mass: dashed lines read its mass off the graph.