Forced Oscillations and Resonance


Forced Oscillations and Resonance

Maria
Imagine a mass attached to a spring, with a force pushing it back and forth. If you pull the mass away from its resting position and let go, the spring oscillates at its own natural frequency. But if an external force keeps pushing at a different frequency, the motion can look irregular at first: the swings grow, shrink, and grow again before settling into a steady rhythm.

Corey
So the questions are: what causes that startup wobble, how long does it last, and how large are the eventual swings? A powerful way to investigate those questions is the Laplace transform. It lets us move from a differential equation describing motion to an algebraic expression that reveals a lot about the system.

Maria
Let’s recall the picture behind the transform. We look at exponential functions of time, like e to the s t, where s can be a complex number. The s-plane is the complex plane of all possible values of s, and each point corresponds to one of those exponential functions.

Corey
The location of a point tells us something about the associated motion. A larger imaginary part means more rapid oscillation; a negative real part means the exponential decays; and a positive real part means it grows. That makes the s-plane a useful map of possible dynamic behaviors.

Maria
The motivation for the Laplace transform is that many functions can be understood as combinations of exponential pieces. The transform takes a time function and turns it into a new function whose input is s. In that transformed expression, poles—the values of s where the expression becomes unbounded—point to exponential pieces present in the original time function.

Corey
Two rules are especially useful. First, the exponential e to the a t transforms into one over s minus a, which has a pole at s equals a. Second, the transform is linear: transform a scaled sum by transforming each part and keeping the same scale factors.

Maria
That means a sum of exponential pieces becomes a sum of fractions, with a pole for each piece. And those poles give us qualitative information: imaginary parts indicate oscillation, negative real parts indicate decay, and positive real parts signal growth or instability.

Corey
The key rule for working with differential equations is that transforming a time derivative turns differentiation into multiplication by s, with an initial-condition term subtracted. In symbols, the transform of f prime is s times the transform of f, minus f at time zero. That subtraction is not an inconvenience; it automatically carries the starting value into the calculation.

Maria
Let’s apply that to a damped spring oscillator. The spring force pulls toward the middle, with strength proportional to displacement, and we write it as negative k times x. Damping opposes motion, with strength proportional to velocity. Moving those forces to one side gives m x double-prime plus mu x prime plus k x.

Corey
Now add an external periodic force, such as a wind that varies like a cosine. Its frequency, omega, generally doesn’t have to match the spring’s natural resonant frequency. We can write the equation as m x double-prime plus mu x prime plus k x equals F naught cosine omega t, where F naught represents the force’s amplitude.

Maria
This kind of forced oscillator also appears in the study of light moving through a material like glass. In that setting, a little charge inside the material acts like the oscillator, and the incoming light wave provides the external force. The same mathematical approach can therefore help us understand very different physical situations.

Corey
Let capital X of s stand for the Laplace transform of x of t. The transform of x prime is sX minus x naught, where x naught is the initial position. For the second derivative, apply the rule again: its transform is s times the transform of x prime, minus the initial velocity v naught.

Maria
Substituting the first-derivative result gives s squared X, minus s times x naught, minus v naught. So both parts of the initial state—the starting position and starting velocity—are built into the transformed equation. That’s a general feature of the method, not an extra correction added afterward.

Corey
For a clean first example, suppose the mass starts stationary, so its initial position and velocity are both zero. Then the transformed left side becomes m s squared X plus mu s X plus k X. Factor out X, and the differential expression becomes the polynomial m s squared plus mu s plus k.

Maria
That’s the central move: derivatives have become powers of s, and the equation has become algebra. The transformed cosine on the right is F naught times s over s squared plus omega squared. Its denominator has poles at s equals positive omega i and negative omega i, matching an oscillation at the external force’s frequency.

Corey
Putting those pieces together, capital X of s equals F naught s divided by the product of s squared plus omega squared and m s squared plus mu s plus k. Even before we invert the transform to get x of t, we can learn a lot by locating the poles of this expression.

Maria
Two of the poles come from m s squared plus mu s plus k equals zero. Those are the same roots that appear when studying the oscillator without the external force. Typically they have negative real parts, and if the damping isn’t too large, they also have imaginary parts.

Corey
So those poles represent oscillations that decay over time—the spring’s own natural motion, fading away. The other two poles, positive omega i and negative omega i, come from the external cosine. They represent oscillation at the forcing frequency, without decay or growth in this idealized model.

Maria
That explains the startup behavior. At first, the spring’s natural oscillation and the forced oscillation are both contributing, and they generally have different frequencies. Their combination can make the motion look wibbly, with swings that strengthen and weaken.

Corey
But the natural-motion component decays because its poles are in the left half of the s-plane. Eventually it becomes negligible, leaving the motion dominated by the cosine that matches the external force. So the system settles into a steady rhythm at the forcing frequency, even if that differs from its natural frequency.

Maria
It’s like pushing someone on a swing at a rhythm that doesn’t match the swing’s natural rhythm. The early motion includes the swing’s own response, but after that part dies away, the continuing motion follows the rhythm of the pushes.

Corey
If you want the exact time-domain solution, you can use partial fraction decomposition. Since the denominator has four roots in this example, you can rewrite the transformed expression as a sum of four fractions, each with a denominator of s minus one of those roots. The work is finding the constants in the numerators.

Maria
Then invert each fraction using the exponential rule in reverse. A pole at a particular value of s gives an exponential whose exponent contains that value times t, and its numerator constant becomes the coefficient of that exponential. The poles tell you the kinds of terms in the solution; the constants tell you how much of each term is present.

Corey
The terms from the two imaginary poles combine into a cosine-like steady-state oscillation. The source’s suggested homework is to work out how its amplitude depends on the difference between the spring’s resonant frequency and the external frequency. As those frequencies approach one another, the forced response can become much larger—an important resonance concern when designing things like bridges that should not wobble dangerously.

Maria
Now let’s ask why the derivative rule works. One limited but intuitive check uses a function we already know how to transform: e to the a t. Its derivative is a times e to the a t, so its transform is a over s minus a.

Corey
At first that seems to give multiplication by a, not multiplication by s minus an initial value. But rewrite a as s minus the quantity s minus a. Dividing by s minus a gives s over s minus a, minus one. Since the original exponential equals one at time zero, that is exactly s times its transform minus its initial value.

Maria
That example is not a proof for every possible function, but linearity extends it to any combination of exponential functions. Since so many functions can be understood in terms of exponential pieces, the example gives useful intuition for the broader rule.

Corey
A second explanation is the standard calculus derivation: start with the definition of the Laplace transform and use integration by parts. It’s a concise, general derivation, although the appearance of the factor s and the subtracted initial value can feel like they simply fall out of the algebra.

Maria
The deeper explanation connects the derivative rule to the inverse Laplace transform. We used inversion when we turned the transformed answer back into a time function, but there’s a larger question: how do we invert transforms when the answer doesn’t break neatly into a finite sum of simple fractions? And what does the transform mean for functions that aren’t discrete sums of exponentials?

Corey
Those questions lead to the next layer of the subject. The inverse transform involves contour integrals, and studying it offers a way to understand why the Laplace transform and its inversion formula fit together. That broader story also connects Laplace transforms to Fourier transforms and Fourier inversion.

Maria
For now, the main takeaway is that the Laplace transform turns a differential equation into algebra while preserving the initial conditions. Its poles reveal the system’s modes: which parts oscillate, which decay, and which grow. In the forced spring example, that lets us see both the fading natural motion and the lasting oscillation driven by the external force.

Ask anything
We've read this whole study set, so questions about it get the best answers.