Second-order linear equations with constant coefficients
The homogeneous equation y″ + Ay′ + By = 0 with constant A and B has the general solution c₁y₁ + c₂y₂, built from any two independent solutions; the initial values fix c₁ and c₂. A spring–mass–dashpot system, mx″ + cx′ + kx = 0, is the standard model. Trying y = e^(rt) gives the characteristic equation r² + Ar + B = 0. Distinct real roots give c₁e^(r₁t) + c₂e^(r₂t), the overdamped case. Complex roots a ± bi give a complex solution whose real and imaginary parts are real solutions (because A and B are real): e^(at)(c₁ cos bt + c₂ sin bt), the underdamped case. A double root −a gives only e^(−at); substituting y = e^(−at)u gives u″ = 0, so the second solution is te^(−at): the critically damped case.
A zero right-hand side makes the equation homogeneous; a function of t there makes it inhomogeneous, which comes later (p. 1). The general theory waits two lectures; for now, assume that the general solution has the form (pp. 1–2)
with two arbitrary constants, as the order is two: roughly, solving means integrating twice (p. 2). Taking c1=1, c2=0 shows that y1 is itself a solution, and likewisey2, so solving the equation means finding two solutions. Initial values are then met by choosing c1 and c2 (p. 2). The two must be independent: y2 must not be a constant multiple of y1, otherwise there is really only one (pp. 4–5).
The standard model is a mass m on a horizontal track, attached to a spring and slowed by a dashpot, a piston in a chamber like the closer at the top of a door (transcript, pp. 2–3). With x measured from the equilibrium position, the spring pulls back with force −kx (Hooke's law) and the dashpot resists the velocity with force −cx′ (pp. 3–4). Newton's law gives (p. 4)
Spring–mass–dashpot
mx′′+cx′+kx=0,x′′+mcx′+mkx=0
In words
m x double prime plus c x prime plus k x equals 0, x double prime plus c over m, times x prime plus k over m, times x equals 0
The basic method, used all term, is to try an exponential, y=ert, and choose r (transcript, p. 5). Substituting gives r2ert+Arert+Bert=0, and since ert is never zero it cancels (pp. 5–6):
Characteristic equation
r2+Ar+B=0
In words
r squared plus capital A r plus capital B equals 0
That is why quadratic equations are taught in school (p. 6). (The transcript reads the coefficients in lower case here; they are the A and B of the equation.) In practice, write the characteristic equation down at once without redoing the substitution (p. 7). The roots may be real and distinct, complex conjugates, or real and equal, and each case behaves differently (p. 6).
Example (pp. 7–9). With m=1, damping 4 and spring constant 3, the characteristic equation is r2+4r+3=(r+3)(r+1)=0, so y=c1e−3t+c2e−t. Release the mass from rest one unit from equilibrium: y(0)=1, y′(0)=0. Then c1+c2=1 and −3c1−c2=0: two simultaneous linear equations, giving c1=−21, c2=23 (pp. 8–9):
The example's solution
y=−21e−3t+23e−t
In words
y equals minus one half e to the power minus 3 t plus three halves e to the power minus t
Both exponentials decline. With other starting slopes the mass may cross equilibrium once, but it cannot cross back again; in the long run it just returns, without oscillating. This is the overdamped case (p. 10).
With little damping we expect oscillation, and the roots are complex, a±bi (transcript, p. 10). Formally that gives a complex solution e(a+bi)t, but a real solution is needed (p. 11). The rescue (pp. 11–12):
Theorem. If u+iv is a complex solution of y′′+Ay′+By=0 with realA and B, then u and v are real solutions.
Proof. Substituting, (u′′+Au′+Bu)+i(v′′+Av′+Bv)=0. A complex number is zero only if its real and imaginary parts are both zero, so u and v each satisfy the equation. Calling the first bracket the real part used that A and B are real: with A=1+i it would fail (p. 12). (The theorem only needs the equation to be linear with real coefficients, p. 11.)
The real and imaginary parts of e(a+bi)t=eat(cosbt+isinbt) give (pp. 12–13)
Complex roots a ± bi
y=eat(c1cosbt+c2sinbt)
In words
y equals e to the power a t the quantity c one cos b t plus c two sine b t
The bracket is a combination of a cosine and a sine of the same frequency, so by the sine–cosine identity it is a single oscillation, with the exponential controlling its amplitude (p. 13).
Example (pp. 13–15). Stiffen the spring to 5: r2+4r+5=0 gives r=2−4±16−20=−2±i. With the same initial values, c1=1 and c2=2 (p. 14):
Underdamped example
y=e−2t(cost+2sint)=5e−2tcos(t−ϕ),tanϕ=2
In words
y equals e to the power minus 2 t the quantity cos t plus 2 sine t, equals the square root of 5 e to the power minus 2 t cos of the quantity t minus phi, tan phi equals 2
The triangle has sides 1 and 2, so the amplitude factor is 5 (p. 14). (The lecture estimates ϕ at about 70°, pp. 14–15; in fact arctan2≈63.4°.) The curve is a delayed cosine squeezed between ±5e−2t, crossing the axis again and again: the underdamped case. In theory the oscillation never stops (pp. 14–15).
For a given spring constant exactly one damping gives this case (p. 16). The trouble: there is only one exponential solution, e−at (p. 16). One way to find another (the problem set has two, and a third comes later): if y1 solves a linear equation y′′+p(t)y′+q(t)y=0, there is a second solution of the form y1u (pp. 16–17). (The transcript states this equation incompletely.)
Try y=e−atu (p. 17). Then y′=−ae−atu+e−atu′ and y′′=a2e−atu−2ae−atu′+e−atu′′. Multiply the three lines by a2, 2a and 1 and add: everything cancels except (pp. 17–18)
Reduction for the double root
e−atu′′=0⟹u=c1t+c2
In words
e to the power minus a t u double prime equals 0 which gives u equals c one t plus c two
and so (combining the two, as in the general form above) the general solution is e−at(c1+c2t).
Loading graph…
Solutions of y′′+4y′+By=0 with y(0)=1, y′(0)=0, computed from the formulas above: overdamped (B=3), critically damped (B=4, y=e−2t(1+2t)) and underdamped (B=5), which dips just below zero after t≈2.7.
Worked example
Three springs
Solve (a) x′′+5x′+6x=0 with x(0)=0, x′(0)=1; (b) x′′+2x′+10x=0 with x(0)=2, x′(0)=1, and write the answer with a single cosine; (c) for x′′+6x′+kx=0, find the spring constant that makes the motion critically damped, and the general solution.
(a) Overdamped
r2+5r+6=(r+2)(r+3), so x=c1e−2t+c2e−3t. Then c1+c2=0 and −2c1−3c2=1, so c1=1, c2=−1: x=e−2t−e−3t.
(b) Underdamped
r=2−2±4−40=−1±3i, so x=e−t(c1cos3t+c2sin3t). Then c1=2 and −c1+3c2=1, so c2=1. The triangle with sides 2 and 1 gives x=5e−tcos(3t−ϕ) with ϕ=arctan21≈0.464 rad (26.6°).
(c) Critically damped
A double root needs r2+6r+k=(r+3)2, so k=9, and x=e−3t(c1+c2t).
The whole family of solutions of a differential equation, written with free constants that starting values or boundary conditions then fix. Explained in Differential equations and separation of variables.
The state of a system at the starting time, such as its position and speed, which picks out one solution of its equation. Explained in Introduction to first-order systems.
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.
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.
A weekly sheet of exercises that students work through and hand in, to practise what the lectures taught.
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).