MA108 ODE: Second Order Linear ODE's: Niranjan Balachandran IIT Bombay
MA108 ODE: Second Order Linear ODE's: Niranjan Balachandran IIT Bombay
Lecture 9
Niranjan Balachandran
IIT Bombay
c2 = x0 and c1 = 0.
Hence,
x = x0 cos at.
where x0 is the amplitude of the simple harmonic vibration and T
is the time required for one complete cycle. Then
aT = 2π,
i.e., r
2π M
T = = 2π .
a K
Hence
x(t) = c1 e −at + c2 te −at
is the general solution to the given DE. The initial conditions are
dx
x(0) = x0 and (0) = 0.
dt
It follows that
x0 = c1 ,
0 = −ac1 + c2 .
Hence,
x(t) = x0 e −at (1 + at).
We get:
m(m − 1) + am + b = 0.
i.e.,
m2 + (a − 1)m + b = 0.
This is called the auxiliary equation of the given Cauchy-Euler
equation. The roots are
p
(1 − a) ± (a − 1)2 − 4b
m1 , m2 = .
2
Niranjan Balachandran, IITB MA108
Cauchy-Euler Equations
y = c1 x m1 + c2 x m2 ,
for c1 , c2 ∈ R.
Hence,
1
ln |v 0 | = − ln x = ln .
x
Take,
1
v0 = .
x
Set
v (x) = ln x.
Hence,
1−a
g (x) = (ln x)x 2 .
Thus the general solution is given by
1−a 1−a
y = c1 x 2 + c2 x 2 ln x,
c1 , c2 ∈ R.
ıν
x m1 = x µ x ıν = x µ e ln x = x µ e ıν ln x = x µ (cos(ν ln x) + ı sin(ν ln x)),
Similarily,
x m2 = x µ e −ıν ln x = x µ (cos(ν ln x) − ı sin(ν ln x)),
It follows that
x m1 + x m2
= x µ cos(ν ln x),
2
x m1 − x m2
= x µ sin(ν ln x)
2ı
These are linearly independent solutions of the given DE and hence
the general solution is given by
y = x µ (c1 cos(ν ln x) + c2 sin(ν ln x)),
c1 , c2 ∈ R.
Niranjan Balachandran, IITB MA108
Non-homogeneous Second Order Linear ODE’s
y 00 + p(t)y 0 + q(t)y = 0.
for c1 , c2 ∈ R. Hence,
y 00 + py 0 + qy = r (t),
If
r (t) = r1 (t) + r2 (t) + . . . + rn (t),
where ri (t) are e at or sin at or cos at or polynomials in t, consider
the n subproblems
y 00 + py 0 + qy = ri (t).
is a particular solution of
y 00 + py 0 + qy = r (t).
y 00 + 4y = 3 cos 2t.
Since r (t) = 3 cos 2t, you would look for solutions of the form
Thus,
y 0 (t) = −2a sin 2t + 2b cos 2t,
y 00 (t) = −4a cos 2t − 4b sin 2t.
Substituting in the given DE, we get:
(−4a cos 2t − 4b sin 2t) + 4(a cos 2t + b sin 2t) = 3 cos 2t.
Then,
y 0 (t) = (b − 2at) sin 2t + (a + 2bt) cos 2t,
y 00 (t) = −4at cos 2t − 4bt sin 2t − 4a sin 2t + 4b cos 2t.
Substituting, we get:
y (t) = t 2 f (t).
Here,
r (t) = r1 (t) + r2 (t) + r3 (t) + r4 (t).
We need to solve
y 00 − 3y 0 − 4y = ri (t),
get a particular solution yi (t), and then
y 00 + y = x 3 sin x.
This wouldn’t do since sin x and cos x are already solutions of the
homogeneous part. So work with