← Laboratorium Physics · Laboratorium

Physics · oscillations

Oscillations and Resonance

everything that swings

A weight on a spring, a swing, a string, a bridge, a skyscraper, the crystal in a watch — they all oscillate by the same laws. Release springs and pendulums, watch friction damp out the motion, pump up a swing with nothing but pushes, sweep the frequency through resonance, pour energy back and forth between pendulums and excite standing waves.

F = −k·x T = 2π√m/k T = 2π√l/g f = 1/T
harmonic motion: the spring force always pulls back toward equilibrium
Laboratorium

A weight on a spring and a pendulum side by side — with an oscilloscope recording their motion.

Spring and pendulum

drag the weight or the bob and let go

Settings

Pendulum release angle
Spring — formula 2π√(m/k)0.993 s
Spring — measured period—
Pendulum — formula 2π√(l/g)1.554 s
Pendulum — measured period—
Pendulum amplitude · T/T₀— · —

Pull the weight down or swing the bob out and let go. The spring's period doesn't depend on how far you stretch it — check it.

Isochronism — and when it breaks

For small swings, a pendulum's period hardly depends on the amplitude. For large ones, it grows.

Curve: exact formula (elliptic integral). Dot: the period measured on the simulated pendulum above.

Shadow of a point on a circle

A point goes around at constant speed. Its shadow on the vertical axis moves exactly like a weight on a spring — that's harmonic motion.

The angle grows steadily: φ = ωt, and the height of the shadow is A sin ωt. More about the sine: Trigonometry.

How does it work?

Oscillation is motion back and forth around an equilibrium position. It needs a force that always pulls back, and inertia, which makes the body “overshoot” equilibrium. The simplest case is a weight on a spring. The spring pulls harder the more you stretch it — that's Hooke's law.

F = −k·xx(t) = A cos(ωt + φ)ω = 2πf = 2πTk — spring constant (N/m) · A — amplitude · T — period · f — frequency (Hz = oscillations per second) · φ — phase

This kind of motion is simple harmonic motion. Its period doesn't depend on the amplitude: a weight pulled twice as far has twice as far to go, but also twice the force, so it comes back in the same time. Gravity only shifts the equilibrium position of a vertical spring (by mg/k) and doesn't change the period.

T = 2π√m/kT₀ = 2π√l/gT ≈ T₀(1 + θ₀²/16 + …)simple pendulum: for small swings; exactly T = T₀ / AGM(1, cos(θ₀/2)), e.g. at 60° T ≈ 1.073·T₀

In a pendulum, the restoring force is the component of the weight mg sin θ. For small angles sin θ ≈ θ, and the pendulum also oscillates harmonically. The mass cancels out, so the period depends only on the length and on g. On the Moon the same pendulum swings about 2.5 times slower. At large angles sin θ is noticeably smaller than θ, the restoring force weakens and the period grows.

Damping

Air resistance, friction and the oil in a shock absorber take energy away. The simplest model is a damping force proportional to velocity:

mx″ + cx′ + kx = 0ccr = 2√kmζ = c/ccrQ = 1/(2ζ)
  • ζ < 1 — underdamped: oscillation with an exponentially decaying amplitude, like e−ζω₀t.
  • ζ = 1 — critically damped: the fastest return without overshooting. Instrument needles, among other things, are tuned this way.
  • ζ > 1 — overdamped: the body creeps toward equilibrium, the more slowly the greater the damping.

Driven oscillations and resonance

When something pushes a system periodically at frequency f, after a while the system oscillates at exactly f, not at its own natural frequency f₀. The amplitude depends on how close f is to f₀:

A(ω) = F₀/m√((ω₀² − ω²)² + (2ζω₀ω)²)ωr = ω₀√1 − 2ζ²at the peak, the amplitude is about 1/(2ζ) = Q times larger than with slow pushing; the response's phase lags from 0° through 90° (exactly at f₀) to 180°

At resonance, the driving force is in step with the body's velocity, so it adds energy every cycle — until the damping losses equal what the drive supplies. Hence the rule of the swing: push in rhythm with its own swings, at the moment it starts moving away from you.

Coupled oscillations, beats and modes

Two identical pendulums connected by a spring have two modes of oscillation: in-phase (the spring doesn't deform, ω₁ = √(g/l)) and anti-phase (the spring works, ω₂ = √(g/l + 2κ)). Any other motion is a sum of these two. When you swing one pendulum, the two modes run slightly differently and take turns reinforcing and canceling each other, and the energy flows from pendulum to pendulum. You hear the same thing as beats between two tones.

Texch = 2πω₂ − ω₁fbeat = |f₁ − f₂|fn = ωcπ sin nπ2(N + 1)f = 12π√LClast two: modes of a chain of N beads with fixed ends (ωc = √(k/m) of one link) and the frequency of the LC circuit in a radio

A chain of many beads is already a medium that waves can travel through. A wave trapped between the ends reflects and overlaps with itself. At the mode frequencies a standing wave forms, with nodes that stay still. A string, a Chladni plate and a building have many such modes.

Simplifications: springs are massless and perfectly linear; the pendulum is a point mass on a light, rigid rod; damping is proportional to velocity. The swing is a pendulum with slight drag, and a push is a constant force for 0.35 s. The metronomes have an escapement modeled as a van der Pol term, and the board rolls on the cans with slight resistance. Chladni figures are computed with the simplified formula cos(mπx)cos(nπy) ± cos(nπx)cos(mπy); a real plate has somewhat different shapes and frequencies. A building is a single oscillating “weight” with the rule of thumb T ≈ 0.1 s × number of floors (real buildings can differ quite a bit), and the damper in the model is exaggeratedly heavy so the effect is clear. Motion is computed by a custom 4th-order Runge-Kutta integrator (the chain — semi-implicit Euler) with a small fixed step.

See also

Challenges

  1. Set up a pendulum with a period of 2 s (±0.05 s)“Spring and pendulum” mode: pick the length and release the pendulum — the measured period counts.not completed
  2. Bring the system to critical damping“Damping” mode: set c within 3% of 2√(km).not completed
  3. Pump the swing up to a 1 m amplitude with pushes alone“Resonance” mode: push in rhythm with the swings until the seat moves 1 m from vertical.not completed
  4. Find the resonant frequency (amplitude > 90% of maximum)“Resonance” mode: without the automatic sweep, set the drive so that the steady amplitude exceeds 90% of the peak.not completed
  5. Transfer all the energy from one pendulum to the other“Coupled oscillations” mode: swing one pendulum and wait for the moment when the other has at least 95% of the energy.not completed
  6. Excite the chain's third mode“Waves and modes” mode: using the drive alone, build a standing wave with two nodes in the middle (mode 3 has at least 70% of the energy).not completed

Did you know…?

  • The crystal in a quartz watch vibrates 32,768 times per second. That's 2¹⁵ — halve the frequency 15 times and you get exactly 1 pulse per second.
  • In the Taipei 101 skyscraper, a steel ball weighing about 660 tonnes hangs between the 87th and 92nd floors. It's a tuned mass damper: it sways out of phase with the building and reduces its swaying during typhoons. During a typhoon in 2015 it swung about a meter.
  • By definition, a second is the duration of 9,192,631,770 oscillations of the radiation corresponding to the transition between two hyperfine levels of the cesium-133 atom.

Keys

Q W E R T Y
switch modes
← →
on tabs: neighboring mode; on sliders: change the value
Space
the mode's main action: release both / release the weight / push the swing / swing the left pendulum / jerk the chain / spin
S P
spring and pendulum: release the spring · release the pendulum
P
resonance: automatic frequency sweep
1 2 D
coupled: in-phase mode · anti-phase mode · beat sound
N 1…5
modes: chain drive · show mode
Esc
mutes the sound