— A mass attached to a spring feels air resistance and starts from x(0) = L, x′(0) = v0. What is it doing a few seconds later? (for first- and second-year undergraduates)
A mass m attached to a spring of spring constant k moves while subject to the air resistance that is proportional to its velocity. The equation of motion is . It is only a one-line equation, but the tools used to solve it — superposition, the Wronskian, the characteristic equation, the differential operator method, variation of parameters — can be reused as they are in almost every differential equation that appears from here on. Here we solve it all the way to the end, without skipping a single intermediate step.
Two forces act on the mass: the restoring force of the spring and the resistive force that opposes the velocity. Both carry a minus sign because they “pull back against the direction of stretching” and “act against the direction of motion.” Putting these into Newton’s equation of motion gives
Dividing by m, we introduce two symbols; the equations that follow become much easier to see through.
is the angular frequency when there is no resistance, β is the rate at which the amplitude decreases (it will appear later in the form ). The ratio of these two
is called the damping ratio. To state the conclusion first, this one number (more precisely, whether it is larger or smaller than 1) alone determines what the motion looks like. There is no need to worry about the three quantities m, k, γ separately.
Eq. (2) says “the second derivative of x, the first derivative of x, and x itself add up to zero.” The only function that keeps its form when differentiated is the exponential function . Substituting it, becomes a common factor and can be taken out, giving
The differential equation has turned into an ordinary quadratic equation. From here on, the story splits into three cases depending only on the sign of the quantity under the square root.
| Under the root | Damping ratio | Characteristic roots | Motion | Name |
|---|---|---|---|---|
| ζ < 1 | Two complex-conjugate roots | Decays while oscillating | Underdamping (damped oscillation) | |
| ζ = 1 | Double root (only one) | Returns without oscillating | Critical damping | |
| ζ > 1 | Two distinct real roots | Returns slowly | Overdamping |
Let us bundle the left-hand side into a single symbol.
Since differentiation is a linear operation (),
Therefore, if and are solutions of Eq. (1), then any sum of constant multiples of them is also a solution (the principle of superposition). Thanks to this one remark, all that is left is the job of finding the “building-block solutions.”
Let us rewrite Eq. (1) as a first-order system. Setting , we obtain
Since the right-hand side is smooth in , the existence and uniqueness theorem for solutions applies. In other words, once a starting point is chosen, both the future and the past are determined uniquely. Conversely, the set of all solutions and the set of starting points are in one-to-one correspondence.
Now, how can we check whether the two solutions we found, and , are linearly independent? We want to know whether holds for all t only when , but checking this for each t separately is laborious. So let us line up this equation and the equation obtained by differentiating it.
This has a solution other than only if the determinant is 0. This determinant is called the Wronskian.
implies that they are linearly independent. The direction of this implication is easy to get backwards, so remember it together with the reason. If the two solutions are parallel (), then — the terms always cancel. The contrapositive of “if parallel, then W = 0” is “if W ≠ 0, then independent.” However, this alone leaves the question of “at which t we should check.” The next result answers it.
Let us differentiate . The terms and appear, but the latter terms cancel each other and vanish.
Since both are solutions of Eq. (2), we substitute . Then the terms also vanish neatly, giving
This is Abel’s formula. Four things can be read off immediately.
Fig. 1. The Wronskian is the area of the parallelogram spanned by two solutions in the phase space. Changing γ, you can watch the area shrink as (left: phase space, right: the logarithm of ). The solutions are obtained by numerical integration (Runge–Kutta) and agree with Eq. (8).
Let us give a name to the operation of differentiation itself.
The benefit of this symbol shows up when it acts on . — that is, the exponential function is an eigenfunction of the differential operator, with eigenvalue λ. Since the same thing happens however many times we differentiate,
We simply substitute a number into the polynomial in the operator. Therefore, if we look for solutions of in the form , the condition is , that is, the characteristic equation of Eq. (4).
Just as , the operator itself can be factored in just the same way.
Expanding it out, we get , and if we use the relations between the roots and the coefficients , , we return to Eq. (1). The order of the factors can be exchanged without changing anything (they commute because the coefficients are constant).
Setting , Eq. (10) becomes . A first-order linear equation can always be solved by multiplying by an integrating factor. Multiplying by turns the left-hand side into a single derivative:
Hence the solution of is . Putting this back into the definition of , we use the same trick once more.
All that remains is to integrate the right-hand side. Here the story splits into exactly two cases.
applied repeatedly gives, for any polynomial ,
With this, the story of the double root is settled in an instant. In , putting gives , that is, , so is a linear function. For an n-fold root, , and is a polynomial of degree . The same theorem also plays a major role in §7, when we obtain the particular solution of the forced oscillation.
means that the quantity under the square root is negative, so
The general solution is , but x is a real quantity. Rewriting it with Euler’s formula and expressing the result with two real constants, we get
Now we impose the initial conditions. Setting gives . Differentiating and then setting gives , and hence
Combining the trigonometric terms into one, we can see the envelope (the phase φ is determined by ).
For , as we saw in §4.2, the fundamental solutions are and . Imposing the initial conditions gives
Setting , we have . Both are negative.
Since , after a while the term dies out, and only the slower root remains. When is large, , so the stronger the resistance, the slower the return.
Splitting into cases makes it look like “three separate worlds,” but that is not so. All three combine into the following single formula.
| ζ < 1 (underdamping) | ζ = 1 (critical) | ζ > 1 (overdamping) | |
|---|---|---|---|
| 1 | |||
| Wronskian (value for the fundamental solutions , ) |
Did you notice that the Wronskian row is the same in all three cases? This is because , , , are the same in every case, so , and Abel’s formula (8) then fixes (Abel’s formula knows nothing about the case distinction). Of course, if the basis is chosen differently, the constant in front changes — if we take as used in §8.2 (the convention without the factor ), then .
Expanding in powers of , we get
— it approaches . On the overdamped side too, . In other words, critical damping is connected as the limit from both sides. It is not that “a special formula is used only for a double root”: as a function of , it is a single smooth formula from the start.
Fig. 2. Move ζ slowly. From underdamping to overdamping, the curve deforms without breaking anywhere. On the right is the of Eq. (18); at it follows exactly the straight line t.
The underdamped answer, Eq. (15), contains two measurable quantities. They are how fast the amplitude decreases and with what period the mass goes back and forth.
After each round trip (period ), the envelope is multiplied by the factor . The logarithm of the reciprocal of this factor (the ratio of adjacent peaks) is called the logarithmic decrement.
This is the standard way to measure ζ in an experiment. Just by taking the logarithm of the ratio of the heights of two adjacent peaks, the value of is obtained.
Another quantity, used most often in both engineering and physics, is the Q factor.
Since the energy is the square of the amplitude, , the fraction lost in one period is . That is,
— this is what the Q factor means. “Large Q = rings well = sounds for a long time.” As we will see in §7, the same Q also determines the sharpness of the resonance.
| System | Typical ζ | Typical Q | Behavior |
|---|---|---|---|
| Quartz oscillator | 5×10−7 – 5×10−6 | 105 – 106 | Keeps ringing for hundreds of thousands of cycles |
| Tuning fork | ~ 5×10−4 | ~ 103 | Hums for several seconds |
| Building (steel frame) | 0.01 – 0.03 | 17 – 50 | Can resonate in an earthquake |
| Car suspension | 0.2 – 0.4 | 1.3 – 2.5 | Sinks softly once and comes back |
| Door closer, meter needle | ≈ 1 | 0.5 | Stops without overshooting |
This time we put an external force on the right-hand side.
The general solution of an inhomogeneous equation is the homogeneous solution (complementary function) + a particular solution. The homogeneous solution found in §5 can be used as it is, so all we need is to find a single particular solution.
, so instead we solve
Then we take the real part at the end (since has real coefficients, , that is, taking the real part commutes with differentiation). With trigonometric functions we would have to compare the coefficients of the “cos terms” and the “sin terms” separately, but with exponentials the eigenfunction property of Eq. (9) can be used as it is. This is the one and only reason for going complex.
Let us use Eq. (9) as it is. Since , as long as , we have
The differential equation has become a single complex division. The notation (the inverse operator) means “the function that, when is applied to both sides, returns to the original,” and Eq. (9) guarantees this.
Writing the denominator in the polar form , we obtain . Taking the real part,
The initial conditions are carried by the transient solution. We set , and then simply put them into the formulas of §5.
Setting the derivative of A in Eq. (23) with respect to ω equal to 0, we find that the quantity in the denominator must be minimal, which gives
If the quantity under the square root is not positive, there is no peak. The condition for it to be positive is . On the other hand, the velocity amplitude and the peak of the absorbed power lie, independently of β, exactly at .
Let us find the full width at half maximum of this peak (Lorentzian type). drops to half when , and the difference between the two solutions is exactly
Q simultaneously determines “how much the response is amplified” and “how narrow the peak is.” Reading a lifetime from the linewidth of a spectrum in spectroscopy, and reading a bandwidth from the Q of a circuit — all of it comes from this equation.
If and , then , so Eq. (22) cannot be used. This is because the external force has taken the same form as the homogeneous solution. Using the shift theorem of §4.3, the rule for this case also follows immediately. If and , then
Substituting , , and , and taking the real part, we obtain
The amplitude grows in proportion to t without limit. Here again the same thing happens: “when they coincide, one extra t appears.”
If is shifted slightly from , we get beats instead. For , the solution is
This is a fast oscillation at wrapped in a slowly varying envelope at . In the limit , reproduces Eq. (29) — resonance was a “beat with an infinitely long period” after all.
What do we do when the external force is not , but something like “a single tap” or “a constant force applied from partway through”? Here the Wronskian appears once more, and in a decisive form. From here on we write the external force as — the same letter as the characteristic polynomial of §3, but a different thing (it corresponds to in Eq. (21)).
Suppose we have the fundamental solutions , of the homogeneous equation. We look for a particular solution in a form where the constants are promoted to functions.
There are two unknown functions, but only one equation. Because of the surplus, we are free to impose one convenient condition of our own choosing. If we require (with this choice, contains no terms, so differentiating a second time gives no either), and substitute into the original equation using , what remains is
This is a plain system of simultaneous linear equations for and . Solving by Cramer’s rule, the determinant of the coefficients is exactly the Wronskian :
Integrating and substituting, we obtain a particular-solution formula that works for any external force.
We put the fundamental solutions for underdamping , and the Wronskian obtained from Abel’s formula into Eq. (32). The numerator combines via the addition theorem into so
We call this the Green’s function (impulse response). Let us check three of its properties.
Eq. (33) is a convolution integral. It is the principle of superposition itself: “cut the external force into fine impulsive kicks, and add up the response to each.”
A convolution becomes a plain multiplication under the Fourier transform. Transforming Eq. (33) with (the convention is ) gives
— it is exactly the reciprocal of the denominator in Eq. (22). The language of time (the Green’s function) and the language of frequency (the response function) are two sides of the same coin. We call this the susceptibility or the response function.
The absorbed power, Eq. (26), is proportional to (in this convention . In textbooks that use the sign is reversed, and the power is proportional to ) — the imaginary part is the dissipation, and the real part is the “storing response.” This structure is carried over exactly as it is into the linear response theory of the dielectric function, electrical conductivity, magnetic susceptibility, and so on. The damped oscillator is the smallest complete example of it.
Fig. 3. The Green’s function (left) and the answer built by convolving it with the external force (right). The result of the convolution, Eq. (33) (solid blue line) and the answer obtained by solving the original differential equation directly with Runge–Kutta (red circles) are overlaid. Switch the form of the external force and check that they agree for any external force. The small discrepancy that remains (about 10−5 in relative terms) is not a physical disagreement but a numerical error caused by summing the integral in discrete steps.
The equations so far were about “a spring and a weight,” but any system that oscillates slightly near a stable equilibrium and decays in proportion to the velocity takes exactly the same form, without exception. Only the names of the variables differ.
| Mass and spring | Series LCR circuit | Light and a bound electron (Lorentz model) | |
|---|---|---|---|
| Variable | Displacement x | Charge q | Electron displacement x |
| Inertia | m | Inductance L | Electron mass me |
| Dissipation | γ | Resistance R | Damping by radiation and collisions |
| Restoring force | k | 1/C | me |
| External force | F(t) | Voltage V(t) | −eE(t) |
| Center of the absorption line | |||
| Q | Sharpness of the absorption line (center / linewidth) |
For example, when the dielectric function is written in the Lorentz model, the denominator of Eq. (22) appears as it is.
| Tool used | What it is for | Conclusion |
|---|---|---|
| Linearity and superposition | Why solutions may be combined | |
| Existence and uniqueness | Dimension of the solution space | Two-dimensional; finding two solutions is enough |
| Wronskian | Test for linear independence / formula for the particular solution | |
| Abel’s formula | Time dependence of W | (the area in phase space shrinks) |
| Characteristic equation | Differential equation → algebraic equation | |
| Differential operator method | Factor and solve one first-order equation at a time | The reason appears for a double root |
| Shift theorem | Handling double roots and resonance | |
| Inverse operator | Particular solution of forced oscillation | |
| Variation of parameters | Arbitrary external force | Green’s function |
Mochizuki Research Group, Tokyo University of Science | A version you can run and check is available in the Damped and Forced Oscillations simulator. Related: Harmonic oscillator (quantum), Fourier series, Green’s functions and Feynman diagrams, Normal modes and phonons, Taylor expansion.