Ma2aPracLectures19 21
Ma2aPracLectures19 21
dn u dn−1 u dn−2 u du
n
+ a1 n−1
+ a 2 n−2
+ · · · + an−1 + an u = f (x) (*)
dx dx dx dx
Here the coefficients aj could depend on x. We say that (∗) has constant
coefficients iff each aj is independent of x.
(∗) is homogeneous iff (x) = 0. First, look at the homogeneous case:
y1
y2
Define a vector y = .. in n-space where
.
yn
du d2 u dn−1 u
y1 = u, y2 = , y3 = 2 , . . . , yn = n−1 .
dx dx dx
Then (∗) can be rewritten suggestively as
dy1
= y2
dx
dy2
= y3
dx2
..
.
dyn−1
= yn
dxn−1
dyn
= −an y1 − an−1 y2 . . . . . . − a1 y n
dxn
This can be viewed as a matrix of linear equations, and so gives rise to the
1
linear system:
0 1 0
0 1
d · ·
y = Ay, where A=
(**)
dx · ·
0 0 1
−an · · · −a2 −a1
Φ(x) = eAx .
( )
If Φ(x) = y(1) y(2) . . . y(n) , then the y(j) are the different solution vec-
tors: (j)
y1
y (j)
y(j) = 1.
..
(j)
yn
2
(j)
v1
If v(j) = ... , then a basis of solutions of the n-th order ODE (∗) is given
(j)
vn
by
(1) (2) (n)
v1 eλ1 t , v1 eλ2 t , . . . , v1 eλn t
⇒ |λ − A| = λ2 + a1 λ + a2
General formula:
|λ − A| = λ2 = λn + a1 λn−1 + · · · + an−1 λ + an
with
( )
0 1
A=
−mk
0
4
implying
( that
) a basis of complex solutions of the second order ODE is given
1
by e−iω0 t is
−iω0
z1 = eiω0 t , z2 = e−iω0 t .
The general complex solution is
C1 eiω0 t + C2 e−iω0 t ,
cos t, sin t.
5
Lecture 20
Second Order Linear ODE’s with constant coefficients
Typical example: Equation of “mass on a spring”
where
γ k
a= , b= >0
m m
In the process of analyzing (∗), we will introduce some key basic terms which
are also used in many other contexts. such as vibrations (free or forced),
frequency, period, phase, quasi-frequency, quasi period, damping, amplitude,
and resonance.
k
u′′ + u = 0,
m
with the associated linear system being
( ) ( )
′ u 0 −1
y = Ay, y = , A=
u′ −w 0
k
The characteristic equation is λ2 + m = 0, so the eigenvalues are λ± =
±iω0 .√This is a case of distinct eigenvalues. It’s common to write
k
ω0 = m
: “frequency of vibrations”.
6
We discussed this case thoroughly last time, and found that a basis of
complex solutions of the linear system (∗∗) is
( iω t ) ( )
(1) e 0 (2) e−iω0 t
z = , z =
iω0 eiω0 t −iω0 e−iω0 t
Let z1 , z2 be the first entries of z (1) , z (2) respectively. Since the first
coordinate of y is u, it follows that a basis of (complex) solutions of
(∗) is given by
−iω0 t
z1 = eiω0 t
|{z} , z2 = |e {z } = z1 .
cos(ω0 t)+i sin(ω0 t) cos(ω0 t)−i sin(ω0 t)
A better (more geometric) way to write the general real solution can
be expressed as
u(t) = R cos(ω0 t − δ)
where R is the amplitude, and δ the “phase” of the vibration.
Recall from Trigonometry:
so that
This allows us to go back and forth between the two expressions for
the general real solution u(t).
7
II Damped free oscillations
γ ′ k
u′′ + u + u=0 (*)
m m
γ k
Characteristic equation: λ2 + m λ+ m =0
√
γ2
Eigenvalues: λ± = − 2m
γ
± 12 m 2 − m
4k
There three cases, depending on whether the eigenvalues are real and
distinct, or non-real (and complex conjugates of each other), or real
and repeated.
Here λ± ∈ R with λ+ ̸= λ− .
General solution:
u(t) = b1 eλ+ t + b2 eλ− t ,
where b1 , b2 are arbitrary real numbers.
Note: 1 − 4km
γ2
< 1, so λ+ and λ− are both negative, so eλ− t → 0 and
eλ− t → 0 as t → ∞.
where √
4km − γ 2
ν = >0
2m
If γ = 0, as if there is no damping, this is like I considered earlier.
2π
We call ν the quasi-frequency of vibration, and u
the quasi-period.
We can rewrite the general solution in the better form
8
Even though R is supposed to be the amplitude, it becomes evident by
drawing the trajectory of u(t) that the quantity Re−γt/2m is the true
amplitude (as it includes the effect of damping); it is sometimes called
the “quasi-amplitude.”
Hence a basis of solutions of the second order ODE (∗) for u is given
by
e−γt/2m , te−γt/2m .
The general solution is
γt
u(t) = (b1 + tb2 )e− 2m .
Here the external force Fe (t) is non-zero, so the ODE (∗) is inhomoge-
neous:
γ k
u′′ + au′ + bu = Fe (t), a = , b = .
m m
Important special case: Fe (t) is periodic
Idea: First find the general solution uc (t) of the homogeneous equation
u′′ + au′ + bu = 0, and then add to it any (one) particular solution U (t)
of the inhomogeneous equation.
This procedure in fact gives us all the solutions of the inhomogeneous
equation, and this idea is useful even when Fe is not periodic.
9
General solution:
10
Lecture 21
Basic results on linear, homogeneous ODE’s of higher order
dn u dn−1 u du
n
+ a 1 n−1
+ · · · + an−1 + an u = 0 (*)
dt dt dt
Eigenvalues: Solutions of the characteristic equation λn + a1 λn−1 + . . . an =
0. Let λ1 , λ2 , . . . λk be the distinct roots (in C). For each xj , we get a set of
basic solutions of (∗)
tmj −1 λj t
eλj t , teλj t , . . . e .
(mj − 1)!
Inhomogeneous equation
Example 1:
d2 u du
+ − 2u = e5t ← non-zero external force (*)
dt2 dt
Look at the associated homogeneous ODE:
d2 u du
+ − 2u = 0 (**)
dt2 dt
11
Characteristic equation:
λ2 + λ − 2 = 0 ⇒ (λ + 2)(λ − 1) = 0.
λ1 = −2, λ2 = 1.
uc (t) = b1 e−2t + b2 et ,
with b1 , b2 ∈ R.
Try
U (t) = ce5t .
Then U ′ = 5ce5t and U ′′ = 25ce5t , so that
This must equal the right hand side of (∗), which is e5t . So U (t) will be a
1
solution of (∗) if we take c = 28 .
So the general solution of (∗) is
1 5t
u(t) = uc (t) + U (t) = b1 e−2t + b2 et + e .
28
Remark: What made this idea work is that e5t is not e−2t or et .
Example 2:
d2 u du
+ − 2u = t2 e5t ,
dt2 dt
where uc (t) is same as in Example 1. Try
U (t) = ϕ(t)e5t ,
12
where ϕ(t) is twice differentiable. Then
U ′ = (ϕ′ (t) + 5ϕ(t))e5t , U ′′ = (ϕ′′ (t) + 5ϕ′ (t) + 5(ϕ′ (t) + 5ϕ(t))) e5t ,
so that
We can get a particular solution U of (∗) this way if we can solve the simpler
ODE
ϕ′′ (t) + 11(ϕ)′ (t) + 28ϕ(t) = t2
We use the Method of Unknown Coefficients:
Try ϕ(t) = a + bt + ct2 , and solve for a, b, c. (Do the calculation!)
Once we solve for ϕ(t), it can be plugged back into the expression for
U (t).
Resonance
Consider
are cos(ω0 t), sin(ω0 t), so that the general solution of the homogeneous equa-
tion is
uc (t) = b1 cos(ω0 t) + b2 (ω0 t), b1 , b2 ∈ R,
| {z }
R0 cos(iω0 −δ)
13
with U a particular solution.
Try
U (t) = C cos(αt) + D sin(αt).
In fact, we do not need the sine term here since the first derivative does not
occur in (∗), so we may take D = 0. Then
U ′ = −Cα sin(αt), U ′′ = −Cα2 cos(αt)
⇒ U ′′ + w02 U = c(w2 − α2 ) cos(αt) = A cos(αt)
?
A
⇒C= 2
w − α2
A
⇒ U (t) = R0 cos(ω0 t − δ) + 2 cos(αt)
| {z } w − α2
uc (t)
14
Quasi-Resonance (under-damping)
For simplicity, let us assume m = 1, and consider
u′′ + γu′ + w02 u = A cos(αt),
with γ > 0 the damping constant. Assume
γ 2 < 4w02 ,
which is the interesting case.
Characteristic equation: λ2 + γλ + ω02 = 0
Eigenvalues:
√
γ γ2
λ1 = − ± − 4ω02
2 | 2 {z }
imaginary since
γ 2 <4w02
γ
⇒ λ± = − + iσ.
2
Now
uc (t) = e−γt/2 (b1 cos(σt) + b2 sin(σt)), b1 , b2 ∈ R.
σ is called the quasi-frequency of the system.
Since u(t) = uc (t) + U (t), we need to find one particular solution U (t).
Suppose we are in the case α ̸= ω0 . Try
U (t) = C cos(αt) + D sin(αt).
Check that we need
A(ω02 − α2 )
C=
(ω02 − α2 ) + (γα)2
Aγα
D= 2
(ω0 − α2 ) + (γα)2
Amplitude: √ A
(ω02 −α2 )+γ 2 α2
15
so that
A
U (t) = sin(αt).
γα
If we plot this for different values of γ > 0, then we see a narrowing and
simultaneous spiking of the trajectory as γ gets closer and closer to 0, whence
the name “quasi-resonance”.
16