Differential Equations · Forced oscillations · Resonance
A small force can produce a huge response—when the frequencies match.
Learn to recognize exact undamped resonance before starting the algebra. Compare natural and forcing frequencies, see what damping changes, and solve \(y^{\prime\prime}+9y=4\cos(3t)\) step by step with Woody.
Watch the explanation
Resonance explained: forced oscillations and damping
6 min 55 sec · Frequency comparison, worked solution, and derivative check
Keep learning below the video. The complete 10-slide carousel, full written lesson, worked calculations, quick checks, and related study resources are all on this page.
The video and written lesson share the same main example. The written guide below also lays out the video’s two-force comparison and derivative check so you can work through them at your own pace.
Video chapters — choose a moment on YouTube
Quick Summary: Resonance in Differential Equations
- Exact undamped resonance happens when the forcing frequency matches the natural frequency.
- The standard forced oscillator model is \(m y^{\prime\prime}+c y^{\prime}+ky=F_0\cos(\omega t)\).
- Without damping and forcing, the system oscillates naturally at \(\omega_0=\sqrt{k/m}\).
- When \(\omega\ne \omega_0\), the undamped forced response stays bounded.
- When \(\omega=\omega_0\) and damping is absent, exact resonance occurs.
- At exact undamped resonance, the solution contains a factor of \(t\), so the amplitude grows over time.
- Real systems usually include damping, which prevents unbounded growth. Weak damping can still permit a large amplitude peak near the natural frequency.
- Resonance appears in bridges, buildings, circuits, mechanical vibrations, musical instruments, and engineering systems.
The complete visual lesson
Explore the 10-slide resonance carousel
Follow the model, natural frequency, exact resonance, and damping. Swipe through the slides, choose a number, or focus the slide area and use your arrow keys. Each slide also opens full size.
Understand the resonance idea
Resonance is one of the most powerful ideas in Differential Equations. It explains why a tiny repeated force can create a huge response when the timing is exactly right.
A child on a swing is the classic example. One small push does not do much. But if every push arrives at the right moment, the motion grows larger and larger. That is resonance.
In the ideal undamped model, exact resonance occurs when the forcing frequency matches the system’s natural frequency. With nonzero periodic forcing, that match produces amplitude growth over time. Damped systems have a different, finite response, explained below.
Resonance is not about force size first. Resonance is about timing.
This Woody Calculus lesson teaches resonance through the forced oscillator model, natural frequency, nonresonant bounded motion, exact resonance growth, and the role of damping in real systems. Mathematically, this topic belongs to ordinary differential equations, second-order linear ODEs, and the study of the driven harmonic oscillator.
Students studying resonance should also connect this topic to Laplace transforms, eigenvalues and eigenvectors, Fourier series, and the broader study of transient response, steady-state response, and linear systems in Differential Equations.
Resonance Key Facts
- Natural frequency is the system’s built-in rhythm.
- Forcing frequency is the frequency of the external input.
- Exact undamped resonance occurs when the forcing frequency matches the natural frequency.
- For an undamped spring-mass system, \(\omega_0=\sqrt{k/m}\).
- In the undamped nonresonant case, the particular solution has denominator \(\omega_0^2-\omega^2\).
- At resonance, the usual particular solution fails because the forcing matches the homogeneous motion.
- In lightly damped systems, the displacement response can have a large but finite peak near the natural frequency.
- This topic is central to Differential Equations, Laplace transforms, vibration analysis, and engineering mathematics.
What Is Resonance?
Exact undamped resonance occurs when a nonzero periodic force drives an ideal oscillator at its natural frequency, producing an oscillation with a growing envelope. In a damped oscillator, a displacement-amplitude peak may occur at a different frequency, and the response stays finite.
In Differential Equations, resonance usually appears in second-order linear equations that model oscillation. The exact undamped resonance condition is:
When the timing matches perfectly, energy is added efficiently cycle after cycle. In an ideal undamped model, this creates amplitude growth without bound.
In normalized form, a basic undamped forced oscillator can be written as:
where \(\omega_0\) is the natural frequency, \(\omega\) is the forcing frequency, and \(A=\frac{F_0}{m}\) after dividing the physical equation by the mass.
The dramatic case occurs when:
The Forced Oscillation Model
The standard physical model for a forced spring-mass system is:
Model assumptions: Throughout this lesson, \(m>0\), \(k>0\), \(c\ge0\), and \(\omega\ge0\). The force amplitude \(F_0\) is nonnegative; exact resonance growth assumes \(F_0>0\). Frequencies here are angular frequencies, measured in radians per unit time.
Each term has a physical meaning:
- \(m\) is the mass.
- \(c\) is the damping coefficient.
- \(k\) is the spring constant.
- \(F_0\cos(\omega t)\) is the external periodic force.
This same structure appears in mechanical vibrations, electrical circuits, building motion, bridge oscillations, and engineering systems.
Every System Has Its Own Rhythm
Before forcing is added, consider the undamped free oscillator:
Divide by \(m\):
The natural frequency is:
So the free oscillator satisfies:
Its general solution is:
This is the system’s built-in rhythm. If nothing drives the system from outside, it naturally oscillates at frequency \(\omega_0\).
Now Add an Outside Force
Now add an external periodic force:
There are now two frequencies:
- \(\omega_0\), the natural frequency of the system,
- \(\omega\), the forcing frequency of the external input.
The entire resonance story depends on how these two frequencies compare.
If \(\omega\ne\omega_0\), the response stays bounded in the ideal undamped model. If \(\omega=\omega_0\), the external force is perfectly synchronized with the natural motion, and true resonance occurs.
If the Frequencies Do Not Match
For the undamped forced equation:
write:
If \(\omega\ne\omega_0\), a particular solution has the form:
Therefore the full solution is:
This response is bounded when \(\omega\ne\omega_0\). The denominator \(\omega_0^2-\omega^2\) explains why the amplitude gets large when \(\omega\) is close to \(\omega_0\).
No exact frequency match means no true undamped resonance.
Resonance Equals Perfect Frequency Match
The dramatic case occurs when:
Then the forced equation becomes:
The usual particular solution form \(A\cos(\omega t)\) fails because \(\cos(\omega_0 t)\) is already part of the homogeneous solution.
In Differential Equations language, the forcing term duplicates the natural mode. That duplication creates resonance.
At resonance, the external force pushes the system at exactly its own natural rhythm.
The trial-function fix: Multiply the entire sine-and-cosine trial by \(t\): \(y_p=t[A\cos(\omega_0t)+B\sin(\omega_0t)]\). Substitution gives \(A=0\) and \(B=F_0/(2m\omega_0)\), producing the particular solution below.
What the Solution Looks Like at Resonance
At exact undamped resonance, the solution becomes:
The important part is the factor of \(t\):
The sine function oscillates, but the coefficient grows linearly with time. That means the amplitude grows larger and larger in the ideal undamped model.
This is why resonance can be so dramatic: the force does not need to be huge. It only needs to be applied at the right frequency.
Timing Beats Strength
Resonance is the mathematics of timing.
A small push on a swing can create a large effect when it is repeated at exactly the right time. Each push adds energy in sync with the motion.
This is why a small periodic force can be more powerful than a large poorly timed force.
In resonance, timing beats strength.
Compare a strong off-frequency force with a smaller resonant force
In the video, both systems start from rest: \(y(0)=y^{\prime}(0)=0\). Both have natural frequency \(\omega_0=1\), but the forcing frequencies differ.
| Force | Equation and solution | What to notice |
|---|---|---|
| Larger, off-frequency | \(y^{\prime\prime}+y=4\cos(2t)\) \(y(t)=\frac43(\cos t-\cos 2t)\) | \(\omega=2\ne1\). The response is bounded: \(|y(t)|\le\frac83\). |
| Smaller, resonant | \(y^{\prime\prime}+y=\cos t\) \(y(t)=\frac12t\sin t\) | \(\omega=\omega_0=1\). The oscillation has a growing envelope. |
At \(t=5\pi/2\), the smaller-force response is \(5\pi/4\approx3.927\), already greater than the larger-force bound \(8/3\approx2.667\). The resonant displacement still crosses zero; its envelope grows. It is not larger at every instant.
Real Systems Usually Include Damping
Real systems usually include damping:
When \(c>0\), damping removes energy from the system. This prevents unbounded resonance growth.
Damping keeps the response bounded. Whether a positive-frequency displacement-amplitude peak remains depends on the amount of damping:
- With no damping, exact resonance can produce unbounded amplitude growth.
- With damping, the response remains finite.
- With light damping, the response can still have a large peak near the natural frequency.
For a damped forced oscillator, the steady-state amplitude has the form:
This formula shows why damping matters. The term \(c\omega\) prevents the denominator from becoming zero, so the amplitude remains finite.
For positive damping satisfying \(c^2<2mk\), the displacement-amplitude peak occurs at:
This peak frequency is below \(\omega_0\), and close to \(\omega_0\) when damping is weak. It moves lower as damping increases. If \(c^2\ge2mk\), there is no positive-frequency displacement-amplitude peak: \(A(\omega)\) is largest at \(\omega=0\). For every positive damping coefficient, the response is finite, including at \(\omega_0\).
That is why real systems such as bridges, buildings, engines, circuits, and mechanical devices are designed with damping in mind.
Worked Example: Resonance in an Undamped Oscillator
Solve the forced oscillator:
Here:
The forcing term is:
so the forcing frequency is:
Thus:
This is exact resonance.
The homogeneous solution is:
For:
the resonant particular solution is:
Here \(A=4\) and \(\omega_0=3\), so:
Therefore:
Plain-language formula: The resonant solution to \(y^{\prime\prime}+9y=4\cos(3t)\) is \(c_1\cos(3t)+c_2\sin(3t)+\frac23 t\sin(3t)\), and the factor of \(t\) causes amplitude growth.
Verify the particular solution by differentiation
The video checks the answer by substituting it back into the equation. For \(y_p=\frac23t\sin(3t)\), the product rule gives:
Now substitute:
The growing terms cancel, leaving exactly the required forcing term. For the particular solution—and for the solution starting from rest—the envelope lines are \(y=\pm\frac23t\). The general solution also contains the homogeneous terms determined by the initial conditions.
Common Mistakes
Mistake 1: Confusing natural frequency and forcing frequency
The natural frequency \(\omega_0\) comes from the system itself. The forcing frequency \(\omega\) comes from the external input.
Mistake 2: Forgetting to compare frequencies
Before solving a forced oscillator, always compare:
If they match, resonance is possible.
Mistake 3: Using the nonresonant formula at resonance
The nonresonant particular solution contains:
At resonance, \(\omega=\omega_0\), so this denominator becomes zero. A different particular solution is needed.
Mistake 4: Forgetting the factor of \(t\)
At exact undamped resonance, the solution contains:
That factor of \(t\) is what produces amplitude growth.
Mistake 5: Thinking all real resonance is unbounded
Real systems usually have damping. Damping prevents unbounded growth, but it can still allow a large finite peak response near the natural frequency.
Resonance Cheat Sheet
| Case | Equation | Behavior | Key Idea |
|---|---|---|---|
| Free undamped oscillator | \(m y^{\prime\prime}+ky=0\) | Natural oscillation | \(\omega_0=\sqrt{k/m}\) |
| Forced nonresonant oscillator | \(m y^{\prime\prime}+ky=F_0\cos(\omega t)\), \(\omega\ne\omega_0\) | Bounded response | No exact frequency match |
| Forced resonant oscillator | \(m y^{\prime\prime}+ky=F_0\cos(\omega_0 t)\) | Amplitude grows | \(t\sin(\omega_0 t)\) appears |
| Damped forced oscillator | \(m y^{\prime\prime}+c y^{\prime}+ky=F_0\cos(\omega t)\) | Bounded response; a positive-frequency peak when \(c^2<2mk\) | Damping prevents unbounded growth |
Try the pattern yourself
Check your understanding
Identify the model, compare frequencies, and then choose the particular solution. These are additional written practice questions.
1. Does \(y^{\prime\prime}+16y=8\cos(2t)\) have exact resonance?
No. The natural frequency is \(\omega_0=4\), while the forcing frequency is \(\omega=2\). A particular solution is \(y_p=\frac{8}{16-4}\cos(2t)=\frac23\cos(2t)\). The general solution is \(y=c_1\cos(4t)+c_2\sin(4t)+\frac23\cos(2t)\), which remains bounded.
2. What changes if the force becomes \(8\cos(4t)\)?
Now \(\omega=\omega_0=4\), so the undamped equation has exact resonance. Use the full trial \(y_p=t[A\cos(4t)+B\sin(4t)]\). Substitution gives \(A=0\) and \(B=1\), so \(y_p=t\sin(4t)\). The factor of \(t\) produces a growing envelope.
3. Does every damped oscillator have an amplitude peak at a positive frequency?
No. For positive mass and spring constant, a nonzero force amplitude, and positive damping, the displacement-amplitude peak occurs at a positive frequency only when \(c^2<2mk\). If \(c^2\ge2mk\), the largest steady-state displacement amplitude occurs at \(\omega=0\).
Perfect practice makes perfect. Rewrite a correct solution 3–5 times while saying each step confidently aloud. Then change the forcing frequency and explain why the method changes.
Resonance FAQ
What is resonance in Differential Equations?
Exact undamped resonance occurs when a nonzero periodic force drives a system at its natural frequency. The oscillation has a growing envelope. With damping, the steady-state response remains finite and its amplitude peak, when present, occurs below the undamped natural frequency.
What is natural frequency?
Natural frequency is the frequency at which a system oscillates on its own without external forcing. For an undamped spring-mass system, \(\omega_0=\sqrt{k/m}\).
What is forcing frequency?
Forcing frequency is the frequency of an external periodic input, such as \(F_0\cos(\omega t)\). The forcing frequency is \(\omega\).
When does resonance occur?
In the ideal undamped model, resonance occurs when the forcing frequency equals the natural frequency, so \(\omega=\omega_0\).
Why does amplitude grow at resonance?
At exact undamped resonance, the particular solution contains a factor of \(t\), such as \(t\sin(\omega_0 t)\). That factor causes the oscillation amplitude to grow over time.
What happens when the frequencies do not match?
When \(\omega\ne\omega_0\), the undamped forced response stays bounded and the system does not experience true resonance.
How does damping affect resonance?
Damping prevents unbounded resonance growth. A damped system can still have a large finite response near the natural frequency, but the amplitude remains bounded.
Where does resonance appear in real life?
Resonance appears in bridges, buildings, electrical circuits, mechanical vibrations, musical instruments, engines, and many engineering systems.
Master Differential Equations with Woody Calculus
Resonance is one of the clearest examples of why Differential Equations matters. A simple equation can explain a dramatic physical effect.
The Woody Calculus method is:
- Identify the model.
- Find the natural frequency.
- Identify the forcing frequency.
- Compare \(\omega\) and \(\omega_0\).
- With no damping, use the nonresonant formula when \(\omega\ne\omega_0\).
- With no damping, use the resonant \(t\sin(\omega_0 t)\) structure when \(\omega=\omega_0\).
- Account for damping in real systems.
Pattern first, setup second, computation third. Learn the model and formulas, then rewrite a correct solution from scratch 3–5 times while saying each step confidently aloud. Explain where each frequency comes from and why your chosen solution form fits the equation. Perfect practice makes perfect.
Keep learning with Woody
Know what to do when the next forcing term changes
If you can follow this solution but hesitate when a new equation appears, keep practicing with Woody inside the Woody Calculus & Advanced Mathematics Mastery Lab. Build on this lesson with step-by-step lessons, written solutions, exam-focused practice, and direct teaching support.
Explore how the Mastery Lab works →
Learn the patterns. Learn the game. Solve with confidence.
Related Woody Calculus Mathematical Essays
Explore more Woody Calculus lessons connecting Differential Equations, Laplace Transforms, Linear Algebra, Fourier Series, Calculus 2, Calculus 3, and advanced mathematics.
- How to Learn Calculus and Advanced Mathematics: A Peak Performance Study Guide
- Laplace Transforms Explained: Differential Equations Become Algebra
- Eigenvalues and Eigenvectors Explained
- The Determinant Explained
- Fourier Series Explained: Harmonics, Sound, Heat, and Quantum Mechanics
- Differential Equations and Chaos Theory: The Lorenz System
- Integration by Parts Explained: The Woody Calculus 3-Type System
- Trig Substitution Explained: The Woody Calculus 3-Type System
- View All Woody Calculus Blog Posts
Private Instruction
Brian M. Woody works privately with a limited number of serious students who need one-on-one help in Differential Equations, Calculus II, Calculus III, Linear Algebra, and advanced mathematics.
Private instruction is reserved for serious students, requires weekly sessions, requires enrollment in the Woody Calculus & Advanced Mathematics Mastery Lab first, and approval is not guaranteed.
Students interested in private instruction can learn more here: Private Math Tutor and Advanced Mathematics Instruction.
Related University Math Help Pages
Woody Calculus supports students at major universities with structured help in Differential Equations, Calculus 2, Calculus 3, Linear Algebra, and advanced mathematics. For the full list of supported schools, visit the University Calculus Tutor Hub.
- University Calculus Tutor Hub
- Purdue University Calculus Tutor
- University of Florida Calculus Tutor
- Colorado State University Calculus Help
- UCF Calculus Tutor
- University of Nevada, Reno Calculus Tutor
- Auburn Calculus Tutor
- University of Alabama Calculus Tutor
- University of Wisconsin Calculus Tutor
- University of Michigan Calculus Tutor
- UCLA Calculus Tutor
- MIT Calculus Tutor
Trusted by Students Nationwide
The Woody Calculus & Advanced Mathematics Mastery Lab gives university students access to structured mathematics support, written solutions, video lessons, exam-focused training, and expert guidance from Brian M. Woody.
Students use Woody Calculus for Differential Equations, Calculus II, Calculus III, Linear Algebra, Abstract Algebra, and other advanced mathematics courses.