Professional Documents
Culture Documents
Linear Algebra and Differential Equations: Sartaj Ul Hasan
Linear Algebra and Differential Equations: Sartaj Ul Hasan
Linear Algebra and Differential Equations: Sartaj Ul Hasan
Sartaj Ul Hasan
Department of Mathematics
Indian Institute of Technology Jammu
Jammu, India - 181221
Email: sartaj.hasan@iitjammu.ac.in
Cauchy-Euler equations
Non-homogeneous equations
Method of Variation of Parameters
Problem : Show that the Wronskian of any two solutions y1 (x), y2 (x) of
y 00 + p(x)y 0 + q(x)y = 0
for any x0 ∈ I .
Solution : Set W (y1 , y2 )(x) = W (x). Then,
Thus,
Hence, Rx
− p(t)dt
W (x) = ce x0
,
for a constant c.
For x = x0 , we get W (x0 ) = c. Hence,
Rx
− p(t)dt
W (y1 , y2 )(x) = W (y1 , y2 )(x0 )e x0
.
Sartaj Ul Hasan (IIT Jammu) SMD002U1M 5 / 24
Cauchy-Euler Equations
The equation
x 2 y 00 + axy 0 + by = 0
We get:
m(m − 1) + am + b = 0.
that is,
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
Sartaj Ul Hasan (IIT Jammu) SMD002U1M 6 / 24
Cauchy-Euler Equations
v (x 2 f 00 + axf 0 + bf ) + x 2 (v 00 f + 2v 0 f 0 ) + axv 0 f = 0.
Thus,
x 2 v 00 f + v 0 x(2f 0 x + af ) = 0.
1−a
Now, for f (x) = x 2 , we have:
1 − a − 1 (a+1) 1−a
2f 0 x + af = 2x · x 2 + ax 2
2
1−a 1−a 1−a
= (1 − a)x 2 + ax 2 =x 2 = f (x).
Hence, we get:
x 2 v 00 f + v 0 xf = 0.
i.e.,
v 00 1
0
=− .
v x
Sartaj Ul Hasan (IIT Jammu) SMD002U1M 9 / 24
Cauchy-Euler Equations
Hence,
0 1
ln |v | = − 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.
c1 , c2 ∈ R.
Solve:
1 2x 2 y 00 + 3xy 0 − y = 0, x > 0.
2 x 2 y 00 + 5xy 0 + 4y = 0, x > 0.
3 x 2 y 00 + xy 0 + y = 0, x > 0.
Solutions :
√
1 y = c1 x + c2 /x
2 y = x −2 (c1 + c2 ln x).
3 y = c1 cos(ln x) + c2 sin(ln x).
y 00 + p(x)y 0 + q(x)y = 0.
Then,
for c1 , c2 ∈ R. Hence,
Ly ≡ y 00 + p(x)y 0 + q(x)y = 0.
is a solution of
Ly ≡ y 00 + p(x)y 0 + q(x)y = r (x).
Now,
yp0 = v1 y10 + v2 y20 + v10 y1 + v20 y2 .
Let’s also demand
v10 y1 + v20 y2 = 0.
Thus,
yp00 = v1 y100 + v10 y10 + v2 y200 + v20 y20 .
Substituting yp , yp0 , yp00 in the given non-homogeneous ODE and
rearranging the terms, we get
v1 (y100 + py10 + qy1 ) + v2 (y200 + py20 + qy2 ) + v10 y10 + v20 y20 = r (x).
Thus,
v10 y10 + v20 y20 = r (x).
Recall that we also have
v10 y1 + v20 y2 = 0.
Thus, we have:
v10
y1 y2 0
= .
y10 y20 v20 r (x)
Therefore,
0 y2 y1 0
r (x) y 0 y 0 r (x)
2 1
v10 = , v20 = .
W (y1 , y2 ) W (y1 , y2 )
Thus, Z Z
y2 r (x) y1 r (x)
v1 = − dx, v2 = dx.
W (y1 , y2 ) W (y1 , y2 )
Hence,
R y1 r (x) R y2 r (x)
yp = v1 y1 + v2 y2 = y2 W (y1 ,y2 ) dx − y1 W (y1 ,y2 ) dx.
Hence, the general solution of the non-homogeneous equation is
y = c1 y1 + c2 y2 + yp
y 00 + y = csc x.
and Z Z
y1 r (x) sin x csc x
v2 = dx = dx = −x.
W (y1 , y2 ) −1
Hence, a particular solution is given by
y 00 − y 0 − 2y = e −x .
y1 = e 2x , y2 = e −x .
Now,
e −x
2x
e
W (y1 , y2 ) = 2x = −3e x .
−e −x
2e
Z Z −x −x
y2 r (x) e e 1
v1 = − dx = − x
dx = − e −3x ,
W (y1 , y2 ) −3e 9
and
e 2x e −x
Z Z
y1 r (x) 1
v2 = dx = x
dx = − x.
W (y1 , y2 ) −3e 3
y 00 + 4y = 3 cos 2t.
and
sin 2t · 3 cos 2t
Z
3
v1 = − dt = cos 4t,
2 16
cos 2t · 3 cos 2t
Z
3 3
v2 = dt = sin 4t + t.
2 16 4
Thus, a particular solution is
yp = v1 y1 + v2 y2 Complete!