BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

Resonance and beats

Driving an undamped oscillator y″ + ω₀²y = cos ω₁t gives the particular solution cos ω₁t/(ω₀² − ω₁²): a pure oscillation at the driving frequency, with a large amplitude when ω₁ is close to the natural frequency ω₀. When ω₁ = ω₀, iω₀ is a simple root of the characteristic polynomial and the exponential input theorem gives t sin ω₀t/(2ω₀), an oscillation whose amplitude grows linearly: resonance. This is the limit, by L'Hôpital's rule, of the particular solution (cos ω₁t − cos ω₀t)/(ω₀² − ω₁²). By the identity cos B − cos A = 2 sin((A − B)/2) sin((A + B)/2), that solution is a fast oscillation inside a slowly varying envelope: beats, used to tune instruments. With damping, the input frequency giving the largest response is √(ω₀² − 2p²), a little below the pseudo-frequency.

You need this first

Full reading path (27 pages)
  1. The derivative: slope of the tangent line and rate of change (18.01)
  2. Limits and continuity (18.01)
  3. Derivatives of sine and cosine, and the product and quotient rules (18.01)
  4. The chain rule and higher derivatives (18.01)
  5. Implicit differentiation and the derivatives of inverse functions (18.01)
  6. Exponentials and logarithms: the number e and its derivatives (18.01)
  7. Linear and quadratic approximations (18.01)
  8. Curve sketching with the first and second derivative (18.01)
  9. Sketching strategy and maximum–minimum problems (18.01)
  10. More max–min, and related rates (18.01)
  11. A ring on a string, and Newton's method (18.01)
  12. The mean value theorem and inequalities (18.01)
  13. Differentials and antiderivatives (18.01)
  14. Differential equations and separation of variables (18.01)
  15. Direction fields, isoclines and integral curves (18.03)
  16. Euler's method and better numerical methods (18.03)
  17. First-order linear equations and integrating factors (18.03)
  18. Substitutions: scaling, Bernoulli and homogeneous equations (18.03)
  19. Autonomous equations, critical points and stability (18.03)
  20. Complex numbers and complex exponentials (18.03)
  21. Constant coefficients: steady state, superposition and sinusoidal input (18.03)
  22. Combining sine and cosine; models for first-order linear equations (18.03)
  23. Second-order linear equations with constant coefficients (18.03)
  24. Complex characteristic roots and damped oscillations (18.03)
  25. Linear operators, the Wronskian and normalized solutions (18.03)
  26. Inhomogeneous equations, particular solutions and stability (18.03)
  27. Particular solutions: the exponential input theorem (18.03)
On this page · 7 sections
  1. Recap
  2. Driving an undamped oscillator
  3. Exact resonance
  4. From near resonance to resonance
  5. Beats
  6. Damping and practical resonance
  7. Summary

The previous lecture's exponential input theorem has an exceptional case, p(α)=0p(\alpha) = 0. This lecture explains what it means physically: resonance (transcript, pp. 1–2).

Recap#

p(D)=D2+AD+Bp(D) = D^2 + AD + B is both a formal polynomial, to be factored, differentiated and evaluated, and a linear operator on functions (transcript, p. 1). For the input eαte^{\alpha t} (pp. 1–2):

The particular solutions so far
yp=eαtp(α)    (p(α)≠0),yp=t eαtp′(α)    (α a simple root)y_p = \frac{e^{\alpha t}}{p(\alpha)} \;\; (p(\alpha) \ne 0), \qquad y_p = \frac{t\,e^{\alpha t}}{p'(\alpha)} \;\; (\alpha \text{ a simple root})
In words

y sub p equals e to the power alpha t over p( alpha ), times (p( alpha ) is not equal to 0), y sub p equals t e to the power alpha t over the quantity p prime ( alpha ), times ( alpha a simple root )

(The board first lacked the tt; the lecture corrects it, p. 2.)

Driving an undamped oscillator#

Everyone knows one case of resonance: to make a child's swing go high, push at its natural frequency; to stop it, push at the wrong time (transcript, pp. 2–3). The lecture also cites the collapse of the Tacoma bridge (p. 3). (This page's note: engineers now describe that collapse as aeroelastic flutter rather than simple resonance.)

Model an undamped pendulum or spring, with natural frequency ω0\omega_0, driven at a different input frequency ω1\omega_1 (p. 3):

Driven undamped oscillator
(D2+ω02) y=cos⁡ω1t,ω1≠ω0(D^2 + \omega_0^2)\,y = \cos\omega_1t, \qquad \omega_1 \ne \omega_0
In words

the quantity D squared plus omega nought squared, y equals cos omega one t, omega one is not equal to omega nought

Complexify: (D2+ω02)y~=eiω1t(D^2 + \omega_0^2)\tilde y = e^{i\omega_1t}. Substituting iω1i\omega_1 for DD gives (iω1)2+ω02=ω02−ω12(i\omega_1)^2 + \omega_0^2 = \omega_0^2 - \omega_1^2, which is real, so (pp. 3–4)

Response to cos ω₁t
y~p=eiω1tω02−ω12,yp=cos⁡ω1tω02−ω12\tilde y_p = \frac{e^{i\omega_1t}}{\omega_0^2 - \omega_1^2}, \qquad y_p = \frac{\cos\omega_1t}{\omega_0^2 - \omega_1^2}
In words

y sub p tilde equals e to the power i omega one t over the quantity omega nought squared minus omega one squared, y sub p equals cos omega one t over the quantity omega nought squared minus omega one squared

Whatever its own frequency, the system responds at the driving frequency; only the amplitude changes, dramatically so when ω1\omega_1 is close to ω0\omega_0, because the denominator is then nearly zero (pp. 4–5). (The transcript says "always zero" for nearly zero, and once "omega two" for ω0\omega_0.) That, to all intents and purposes, is resonance (p. 5).

Exact resonance#

If ω1=ω0\omega_1 = \omega_0, the formula fails: iω0i\omega_0 is a simple root of D2+ω02D^2 + \omega_0^2 (transcript, p. 5). With p′(D)=2Dp'(D) = 2D (p. 6),

Resonant solution
y~p=t eiω0t2iω0,yp=tsin⁡ω0t2ω0\tilde y_p = \frac{t\,e^{i\omega_0t}}{2i\omega_0}, \qquad y_p = \frac{t\sin\omega_0t}{2\omega_0}
In words

y sub p tilde equals t e to the power i omega nought t over the quantity 2 i omega nought, y sub p equals t sine omega nought t over the quantity 2 omega nought

The ii in the denominator turns the real part into a sine (p. 6). Read it as an oscillation sin⁡ω0t\sin\omega_0t whose amplitude t/(2ω0)t/(2\omega_0) grows linearly: it stays between the lines ±t/(2ω0)\pm t/(2\omega_0) (pp. 6–7).

From near resonance to resonance#

How does cos⁡ω1t/(ω02−ω12)\cos\omega_1t/(\omega_0^2 - \omega_1^2) turn into tsin⁡ω0t/(2ω0)t\sin\omega_0t/(2\omega_0) as ω1→ω0\omega_1 \to \omega_0 (transcript, p. 7)? It cannot: it just gets taller, like watching a giraffe pass a first-floor window, and it already starts high at t=0t = 0 (p. 7). But it is not the only particular solution. Adding the complementary-solution piece −cos⁡ω0t/(ω02−ω12)-\cos\omega_0t/(\omega_0^2 - \omega_1^2) gives another (pp. 7–8):

Another particular solution
yp=cos⁡ω1t−cos⁡ω0tω02−ω12y_p = \frac{\cos\omega_1t - \cos\omega_0t}{\omega_0^2 - \omega_1^2}
In words

y sub p equals the quantity cos omega one t minus cos omega nought t, all over the quantity omega nought squared minus omega one squared

Now top and bottom both tend to 0, so use L'Hôpital's rule, differentiating with respect to ω1\omega_1 with tt and ω0\omega_0 fixed (pp. 8–9):

The limit
lim⁡ω1→ω0−tsin⁡ω1t−2ω1=tsin⁡ω0t2ω0\lim_{\omega_1 \to \omega_0}\frac{-t\sin\omega_1t}{-2\omega_1} = \frac{t\sin\omega_0t}{2\omega_0}
In words

the limit as omega one goes to omega nought of minus t sine omega one t over minus 2 omega one equals t sine omega nought t over the quantity 2 omega nought

exactly the resonant solution (p. 9).

Beats#

To see what the new solution looks like, use the identity (transcript, pp. 9–10)

Difference of cosines
cos⁡B−cos⁡A=2sin⁡A−B2 sin⁡A+B2\cos B - \cos A = 2\sin\frac{A - B}{2}\,\sin\frac{A + B}{2}
In words

cos capital B minus cos A equals 2 sine the quantity A minus capital B, all over 2, times sine the quantity A plus capital B, all over 2

(The lecture checks the factor 2 by looking it up; it is best proved with Euler's formula backwards, p. 10.) With B=ω1tB = \omega_1t and A=ω0tA = \omega_0t (p. 10):

Near-resonant solution as a product
cos⁡ω1t−cos⁡ω0tω02−ω12=2ω02−ω12 sin⁡(ω0−ω1)t2 sin⁡(ω0+ω1)t2\frac{\cos\omega_1t - \cos\omega_0t}{\omega_0^2 - \omega_1^2} = \frac{2}{\omega_0^2 - \omega_1^2}\,\sin\frac{(\omega_0 - \omega_1)t}{2}\,\sin\frac{(\omega_0 + \omega_1)t}{2}
In words

the quantity cos omega one t minus cos omega nought t, all over the quantity omega nought squared minus omega one squared, equals 2 over the quantity omega nought squared minus omega one squared, times sine the quantity omega nought minus omega one, t over 2, times sine the quantity omega nought plus omega one, t over 2

The last factor oscillates at about ω0\omega_0. The rest is a slowly varying amplitude: a sine of very low frequency, multiplied by a large constant (pp. 10–11). So the curve oscillates quickly inside an envelope that swells and shrinks slowly (pp. 11–12). As ω1→ω0\omega_1 \to \omega_0 the envelope's period goes to infinity and only its rising start is left, the growing resonant solution (p. 12).

This is the phenomenon of beats: two pure oscillations of nearly equal frequency combine into this curve, and what you hear is the envelope. String players and piano tuners tune by listening for the beats and turning the peg until they disappear (p. 12).

Beats: the solution (cos⁡ω1t−cos⁡ω0t)/(ω02−ω12)(\cos\omega_1 t - \cos\omega_0 t)/(\omega_0^2 - \omega_1^2) for ω0=1\omega_0 = 1, ω1=1.1\omega_1 = 1.1, computed from the formula, inside its envelope ±(2/0.21)sin⁡(0.05t)\pm(2/0.21)\sin(0.05t). The fast oscillation has angular frequency about 1.05; the envelope returns to zero at t=20π≈62.8t = 20\pi \approx 62.8.

Damping and practical resonance#

Notation needs care (transcript, p. 13). The spring mx′′+cx′+kx=f(t)mx'' + cx' + kx = f(t) becomes, after dividing by mm, y′′+2py′+ω02y=f(t)y'' + 2py' + \omega_0^2y = f(t), and only then is ω0\omega_0 the natural (undamped) frequency. The course's computer visual uses x′′+bx′+kxx'' + bx' + kx, whose kk is not the same; check how each equation is written before using a formula (p. 13). The pseudo-frequency, or natural damped frequency, satisfies ω12=ω02−p2\omega_1^2 = \omega_0^2 - p^2: more damping, lower frequency (pp. 13–14). From here on, as in the lecture, ω1\omega_1 means this pseudo-frequency, no longer the driving frequency.

Now drive the damped spring at a third frequency ω\omega (p. 14):

Driven damped oscillator
y′′+2p y′+ω02 y=cos⁡ωty'' + 2p\,y' + \omega_0^2\,y = \cos\omega t
In words

y double prime plus 2 p y prime plus omega nought squared y equals cos omega t

With damping there is no true resonance: the amplitude cannot build up without limit (p. 14). But which input frequency gives the largest response? Not ω1\omega_1, as one might expect, but something a little lower, the practical resonance frequency (pp. 14–15):

Practical resonance
ωr=ω02−2p2\omega_r = \sqrt{\omega_0^2 - 2p^2}
In words

omega r equals the square root of omega nought squared minus 2 p squared, end of root

(Why, by this page's own working: the exponential input theorem gives the amplitude, one over the modulus of the characteristic polynomial at iωi\omega, as 1/(ω02−ω2)2+4p2ω21/\sqrt{(\omega_0^2 - \omega^2)^2 + 4p^2\omega^2}, and the expression under the root, a quadratic in ω2\omega^2, is smallest at ω2=ω02−2p2\omega^2 = \omega_0^2 - 2p^2. This needs ω02>2p2\omega_0^2 > 2p^2; with heavier damping the response is largest at ω=0\omega = 0.)

Worked example

A spring with ω0=3\omega_0 = 3

For y′′+9y=f(t)y'' + 9y = f(t): (a) find ypy_p for f=cos⁡2tf = \cos 2t; (b) find ypy_p for f=4cos⁡3tf = 4\cos 3t; (c) solve with f=cos⁡2.8tf = \cos 2.8t from rest at 0, and describe the beats; (d) with damping p=0.5p = 0.5, find the pseudo-frequency and the practical resonance frequency.

(a) Off resonance

yp=cos⁡2t9−4=15cos⁡2ty_p = \frac{\cos 2t}{9 - 4} = \frac15\cos 2t.

(b) At resonance

By linearity, yp=4⋅tsin⁡3t2⋅3=23 tsin⁡3ty_p = 4\cdot\frac{t\sin 3t}{2\cdot 3} = \frac23\,t\sin 3t: the amplitude grows by 23\frac23 every unit of time.

(c) Beats

y=cos⁡2.8t−cos⁡3t9−7.84=cos⁡2.8t−cos⁡3t1.16y = \frac{\cos 2.8t - \cos 3t}{9 - 7.84} = \frac{\cos 2.8t - \cos 3t}{1.16} satisfies y(0)=0y(0) = 0 and y′(0)=0y'(0) = 0. It equals 21.16sin⁡(0.1t)sin⁡(2.9t)\frac{2}{1.16}\sin(0.1t)\sin(2.9t): oscillations at about 2.9 inside an envelope of height 21.16≈1.72\frac{2}{1.16} \approx 1.72, which returns to zero every π/0.1≈31.4\pi/0.1 \approx 31.4 time units.

(d) With damping

ω1=9−0.25≈2.958\omega_1 = \sqrt{9 - 0.25} \approx 2.958 and ωr=9−0.5≈2.915\omega_r = \sqrt{9 - 0.5} \approx 2.915: the largest response comes slightly below the pseudo-frequency, which is itself below ω0=3\omega_0 = 3.

Summary#

  • Undamped, ω1≠ω0\omega_1 \ne \omega_0: yp=cos⁡ω1t/(ω02−ω12)y_p = \cos\omega_1t/(\omega_0^2 - \omega_1^2), at the driving frequency, large near ω0\omega_0.
  • Resonance, ω1=ω0\omega_1 = \omega_0: yp=tsin⁡ω0t/(2ω0)y_p = t\sin\omega_0t/(2\omega_0), amplitude growing linearly; it is the limit of (cos⁡ω1t−cos⁡ω0t)/(ω02−ω12)(\cos\omega_1t - \cos\omega_0t)/(\omega_0^2 - \omega_1^2).
  • That near-resonant solution shows beats: a fast oscillation in a slow envelope.
  • Damped: practical resonance at ωr=ω02−2p2\omega_r = \sqrt{\omega_0^2 - 2p^2}.

Symbols on this page

Show the 35 symbols used here
α\alpha alpha.
The complex exponent of the input e^(αt). Say it: “alpha”.
π\pi pi.
The ratio of a circle's circumference to its diameter, π ≈ 3.14159. Say it: “pi”.
ω\omega omega.
The input (driving) frequency of cos ωt in the damped equation. Unit: rad/s. Say it: “omega”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
≠\neq not equal.
Is not equal to. Say it: “is not equal to”.
→\to arrow.
Goes to (tends to), or becomes. Say it: “goes to”.
±\pm plus or minus.
Plus or minus: both signs, or an uncertainty (67.3 ± 1.2). Say it: “plus or minus”.
⋅\cdot dot.
Times (multiplication). Between two vectors: the dot product. Say it: “times”.
lim⁡\lim limit.
Limit: the value approached as the variable written below approaches its target. Say it: “the limit”.
sin⁡\sin sine.
Sine of an angle. Say it: “sine”.
cos⁡\cos cosine.
Cosine of an angle. Say it: “cos”.
a~\tilde a tilde.
A modified version of a quantity (ã, k̃); its meaning is given where it is introduced. Say it: “tilde”.
cc c.
The damping constant. Unit: kg/s. Say it: “c”.
kk k.
The spring constant (in the visual's x″ + bx′ + kx, a different constant). Say it: “k”.
xx x.
The displacement of the mass. Unit: m. Say it: “x”.
yy y.
The response of the oscillator. Say it: “y”.
tt t.
Time. Say it: “t”.
ii i.
The imaginary unit, i² = −1. Say it: “i”.
ee e.
Euler's number, 2.718… Say it: “e”.
mm m.
The mass. Unit: kg. Say it: “m”.
ff f.
The input (driving force) f(t). Say it: “f”.
DD D.
The differentiation operator d/dt. Say it: “D”.
AA A.
An angle in the difference-of-cosines identity; earlier, the constant coefficient of y′. Say it: “A”.
BB B.
An angle in the difference-of-cosines identity; earlier, the constant coefficient of y. Say it: “capital B”.
bb b.
The damping coefficient in the visual's form x″ + bx′ + kx. Say it: “b”.
pp p.
The characteristic polynomial p(D); in the damped equation, the damping constant p = c/2m (in 1/s). Say it: “p”.
y′y' y prime.
The derivative of y. Say it: “y prime”.
x′x' x prime.
The velocity of the mass. Unit: m/s. Say it: “x prime”.
ω0\omega_{0} omega nought.
The natural (undamped) angular frequency of the oscillator. Unit: rad/s. Say it: “omega nought”.
y′′y'' y double prime.
The second derivative of y. Say it: “y double prime”.
ypy_{p} y p.
A particular solution. Say it: “y sub p”.
x′′x'' x double prime.
The acceleration of the mass. Unit: m/s². Say it: “x double prime”.
ω1\omega_{1} omega one.
The driving frequency of cos ω₁t; in the damped section, the pseudo-frequency √(ω₀² − p²). Unit: rad/s. Say it: “omega one”.
p′p' p prime.
The derivative of the characteristic polynomial. Say it: “p prime”.
ωr\omega_{r} omega r.
The practical resonance frequency √(ω₀² − 2p²): the input frequency giving the largest response. Unit: rad/s. Say it: “omega r”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 32 words used here

New here

practical resonance.
The input frequency that gives the largest response in a damped system, a little below its natural frequency.

Also used

exponential input theorem.
The rule that the equation p(D)y = e^(at) has the solution e^(at)/p(a) whenever p(a) is not zero. Explained in Particular solutions: the exponential input theorem.
resonance.
The large response of an oscillating system when it is pushed at, or close to, its own natural frequency. Explained in Resonance.
p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
linear operator.
A rule that turns functions or vectors into others and respects sums and multiples, so L(au + bv) = aL(u) + bL(v). Explained in Linear operators, the Wronskian and normalized solutions.
natural frequency.
The frequency at which a system oscillates on its own, with no damping and no outside force. Explained in Resonance.
undamped.
With no damping at all, so an oscillation keeps the same size for ever. Explained in Complex characteristic roots and damped oscillations.
frequency.
How often something repeats: the number of cycles, turns or waves each second, measured in hertz. Explained in Circular motion.
complexify.
To replace a real problem by a complex one, such as a cosine by an exponential, whose real or imaginary part gives the answer. Explained in Constant coefficients: steady state, superposition and sinusoidal input.
amplitude.
The size of an oscillation or wave: the largest distance from its middle position, or the number multiplying the sine. Explained in Oscillations and simple harmonic motion.
real part.
For a complex number a + bi, the ordinary number a. Explained in Differential equations and exp(At).
linear.
The property that sums and multiples of solutions are again solutions, so the responses to separate inputs simply add. Explained in First-order linear equations and integrating factors.
particular solution.
Any one solution of the full equation, input term included; adding the complementary solution gives all the others. Explained in Inhomogeneous equations, particular solutions and stability.
L'Hôpital's rule.
A rule for limits of the form 0/0 or ∞/∞: the limit of f/g equals the limit of f′/g′, if that exists. Explained in Indeterminate forms and L'Hôpital's rule.
differentiation.
Finding a derivative: working out how fast a function changes. Explained in The derivative: slope of the tangent line and rate of change.
with respect to.
Taking that variable as the one that changes: a derivative with respect to t measures change as t changes, others held fixed. Explained in Average value, weighted averages and probability.
Euler's formula.
The formula linking the exponential function to sines and cosines: e to the power iθ equals cos θ plus i sin θ.
envelope.
The smooth curve that just touches the peaks of a fast oscillation or a row of peaks, showing how their size slowly changes. Explained in Coupled pendulums and beats.
period.
The time one full cycle of a repeating motion takes, such as one turn round a circle or one swing of a pendulum. Explained in Uniform circular motion: centripetal acceleration, period and frequency.
beats.
A slow rise and fall in loudness or size when two oscillations of nearly equal frequency are added. Explained in Coupled pendulums and beats.
pseudo-frequency.
The frequency of a damped oscillation, which is not truly periodic because its size keeps shrinking. Explained in Complex characteristic roots and damped oscillations.
damping.
The gradual loss of energy from an oscillation or wave, by friction, resistance or radiation, so that its size dies away. Explained in The pendulum and energy in oscillations.
driving frequency.
The frequency at which an outside force or voltage pushes on an oscillating system, which after a while oscillates at that frequency.
without limit.
Without any upper bound: growing larger and larger, past every value.
modulus.
The size of a complex number: its distance from zero in the complex plane. Explained in Complex numbers and complex exponentials.
characteristic polynomial.
The polynomial obtained by trying e^(rt) in a linear differential equation with constant coefficients; its roots give the exponents of the solutions. Explained in Second-order linear equations with constant coefficients.
limit.
The value a quantity gets closer and closer to, as near as we like, as its input approaches some value, without having to reach it. Explained in Rates of change and area under a graph.

Academic

transcript.
A written record of exactly what was said in a recorded lecture, word for word.
formally.
Following the rules or symbols exactly as written, sometimes without checking that each step makes sense.
phenomenon.
Something that happens and can be observed, such as an eclipse or a rainbow.
notation.
A system of symbols used to write ideas down briefly, such as dy/dx for a derivative.
satisfy.
To make an equation or condition true.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

31 more cosmology pages that build on this

Pages that build on this

Practise

Check your understanding

  1. A particular solution of y′′+4y=cos⁡3ty'' + 4y = \cos 3t is…
  2. At resonance, y′′+ω02y=cos⁡ω0ty'' + \omega_0^2y = \cos\omega_0t has the particular solution…
  3. For the lightly damped oscillator y′′+2py′+ω02y=cos⁡ωty'' + 2py' + \omega_0^2y = \cos\omega t (ω02>2p2\omega_0^2 > 2p^2), the largest response comes at…
0 of 3 answered

Flashcards

1 / 3