Professional Documents
Culture Documents
Example 1
d2 y dy
○
1 2
+ x + (x2 + 2)y = 0
dx dx
at x0 = 0 p1 (0) = 0, p0 (0) = 2 so the point is reguler point solutions and
derivatives are can be written as
67
∞
X
y= C n xn
n=0
∞
X
0
y = nCn xn−1
n=1
∞
X
y 00 = n(n − 1)Cn xn−2
n=2
∞
X ∞
X ∞
X ∞
X
n(n − 1)Cn xn−2 + nCn xn + Cn xn+2 +2 C n xn = 0
|n=2 {z } n=1
|n=0 {z } n=0
m=n−2 l=n+2
∞
X
at the first term n = m + 2 and this term goes (m + 2)(m + 1)Cm+2 xm
m=0
∞
X
at the third term n = l − 2 and this term goes , Cl−2 xl
l=2
If we take out the first few terms from the sums, they will have the same
exponent and starting from the same value.
∞
X ∞
X ∞
X ∞
X
m n l
(m + 2)(m + 1)Cm+2 x + nCn x + , Cl−2 x + 2 C n xn = 0
m=0
| {z } |n=1 {z } l=0
| n=0{z }
two terms out one term out two terms out
68
2C2 x0 + 3.2C3 x + C1 x1 + 2C0 x0 + 2C1 x1
X∞ X∞ ∞
X ∞
X
+ (m + 2)(m + 1)Cm+2 xm + nCn xn + Cl−2 xl + 2 C n xn = 0
m=2 n=2 l=2 n=2
(n + 2)Cn + Cn−2
Cn+2 = − n≥2
(n + 2)(n + 1)
4C2 + C0 1
n = 2 ⇒ C4 = − = − C0
2.1 4
5C3 + C1 −5/2C1 + C1 3
n = 3 ⇒ C5 = − =− = C!
5.4) 20 40
.
.
x4 x3 3x5
2
y = C0 1 − x + + ... + C1 x − + ...
4 2 40
69
Example 2
d2 y dy
○
1 (x2 − 1) 2
+ 3x + xy = 0
dx dx
divide a2 to get p1 and p0
d2 y 3x dy x
○
2 2
+ 2 + 2 y=0
dx x − 1 dx x − 1
3x x
p1 = and p0 = 2
(x2 − 1) (x − 1)
∞
X ∞
X ∞
X ∞
X
n(n − 1)Cn xn − n(n − 1)Cn xn−2 +3 nCn xn + Cn xn+1 = 0
n=2
|n=2 {z } n=1
|n=0 {z }
m=n−2 l=n+1
∞
X ∞
X ∞
X ∞
X
n(n − 1)Cn xn − (m + 2)(m + 1)Cm+2 xm + 3 nCn xn + Cl−1 xl = 0
n=2 m=0 n=1 l=1
∞
X ∞
X ∞
X
3C1 x1 + (n(n − 1) + 3n) Cn xn − (n + 2)(n + 1)Cn+2 xn + Cn−1 xn = 0
| {z }
n=2
n(n+2) |n=0 {z } |n=1 {z }
two terms out one term out
If we take out the first few terms from the sums, they will have the same
exponent and starting from the same value.
70
2C2 = 0 → C2 = 0
2.4
C2 + C1 1
n = 2 ⇒ C4 = − = − C1
3.4 12
3.5C3 +
C2 3 C0 + 2C1
n = 3 ⇒ C5 = − =−
4.5 4 6
.
.
.
1 2 1 5 1 3 1 4
y = C0 1 − + x + x + ... + C1 x − x − x ...
6 8 2 12
d2 y dy
○
1 a2 (x) 2
+ a1 + a0 (x)y = 0
dx dx
We can write the equation again in standard form below
d2 y a1 (x) dy a1 (x)
+ + y=0
dx2 a2 (x) dx a2 (x)
We look the analticity of p(x) = a1 (x)/a2 (x) and p0 (x) = a0 (x)/a2 (x)
d2 y dy
○
2 2
p1 (x) + p0 (x)y = 0
dx dx
71
Fuch’s Theorem: If the point x = x0 is the regular singular point of
the differential equation ○,
1 then the differential equation is in the range of
0 < |x − x0 | < R, where (R > 0) converges to
∞
X
r
y(x) = dd(x − x0 ) Cn (x − x0 )n
n=0
(i) Now to find r, we set the coefficient of the lowest exponential term of the
series equal to zero.
K0 = 0 gives a quadratic equation with respect to r, this is called the in-
dical equation of the differential equation K1 = 0, K2 = 0... are recurrence
equations for Cn
After r1 and r2 are found, there is a solution for each r separately. The
following possibilities are distinguished for these roots as r1 > r2 ;
∞
X
y2 = (x − x0 )r2 Dn (x − x0 )n D0 6= 0
n=0
72
2) If r1 − r2 = N two solutions are ;
∞
X
r1
y = (x − x0 ) Cn (x − x0 )n C0 6= 0
n=0
∞
X
y = (x − x0 )r2 Dn (x − x0 )n + Cy1 (x) ln |x − x0 | D0 6= 0
n=0
or y(x, r) is
∞
X
y(x, r) = (x − x0 )r Cn (x − x0 )n ;
n=0
y1 (x) = [(r − r2 )y(x, r)]r=r2
∂
y2 = ((r − r2 )y(x, r))
∂r r=r2
∞
X
y = (x − x0 )r+1 Dn (x − x0 )n + Cy1 (x) ln |x − x0 | D0 6= 0
n=0
or y(x, r) is
∞
X
y(x, r) = (x − x0 )r Cn (x − x0 )n ;
n=0
y1 (x) = y(x, r)
∂
y2 = (y(x, r))
∂r
Example
d2 y dy
1) 2x2 2
+ x + (x2 − 3)y = 0 x0 = 0,
dx dx
d2 y x dy x2 − 3
+ + y = 0,
dx2 2x2 dx 2x2
73
1 1 3
p1 (x) = and p0 (x) = − 2 are not analytic at x0 = 0 but
2x 2 2x
1 3
[xp1 (x)]x=0 = and [x2 p0 (x)]x=0 = − are analytic so x0 = 0 is regular
2 2
singular point solution are exist in terms of Fuch’s theorem;
∞
X
r
y=x Cn xn C0 6= 0,
n=0
∞
X ∞
X
n+r−1
0
y = (n + r)Cn x 00
and y = (n + r)(n + r − 1)Cn xn+r−2
n=0 n=0
∞
X ∞
X ∞
X ∞
X
n+r n+r n+r+2
2 (n+r)(n+r−1)Cn x + (n+r)Cn x + Cn x −3 Cn xn+r
n=0 n=0 n=0 n=0
∞
X ∞
X
n+r
{2(n + r)(n + r − 1) + (n + r) − 3} x + Cn xn+r+2 = 0 = 0 take
n=0
|n=0 {z }
m=n+2
out two terms from first sum
(2r(r − 1) + r − 3)C0 x0 + (2(r + 1)r + r + 1 − 3)C1 x1 take out two terms from
X∞
first sum + {2(n + r)(n + r − 1) + (n + r)Cn − 3 + Cn−2 } xn+r = 0
n=0
now we set the coefficients of xn to zero to find the relationship between the
Cn ’s for r = r1 = 3/2
74
equation
Cn−2
Cn = − n≥2
n(2n + 5)
C2−2 C0
n = 2 ⇒ C2 = − =−
2(2.2 + 5) 18
C3−2 C1
n = 3 ⇒ C3 = − =− =0
3(2.3 + 5) 32
C4−2 C0
n = 4 ⇒ C4 = − =
4(2.4 + 5) 936
odd indices C’s are zero and the first solution is
3/2 1 2 1 4
y1 (x) = C0 x 1− x + x + ···
18 936
for r = r2 = −1
Cn−2
Cn = − n≥2
n(2n − 5)
C2−2 C0
n = 2 ⇒ C2 = − =−
2(2.2 − 5) 2
C3−2 C1
n = 3 ⇒ C3 = − =− =0
3(2.3 − 5) 3
C4−2 C0
n = 4 ⇒ C4 = − =
4(2.4 − 5) 24
odd indices C’s are zero and the first solution is
−1 1 2 1 4
y1 (x) = C0 x 1 − x + x + ···
2 24
and the general solution is
y = A1 y1 (x) + A2 y2 (x)
75
Example
d2 y dy
2) 2x2 2
− x + (x + 1)y = 0 x0 = 0,
dx dx
d2 y x dy x + 1
− + y = 0,
dx2 2x2 dx 2x2
1 1 1
p1 (x) = − and p0 (x) = + 2 are not analytic at x0 = 0 but
2x 2x 2x
1 1
[xp1 (x)]x=0 = − and [x2 p0 (x)]x=0 = are analytic so x0 = 0 is regular
2 2
singular point solution are exist in terms of Fuch’s theorem;
∞
X
r
y=x Cn xn C0 6= 0,
n=0
∞
X ∞
X
y0 = (n + r)Cn xn+r−1 and y 00 = (n + r)(n + r − 1)Cn xn+r−2
n=0 n=0
∞
X ∞
X ∞
X ∞
X
n+r n+r n+r
2 (n+r)(n+r−1)Cn x − (n+r)Cn x + Cn x + Cn xn+r+1 =
n=0 n=0 n=0 n=0
0
(2r(r − 1) − r + 1)C0 x0
∞
X ∞
X
n+r
+ {(2n + 2r − 1)(n + r − 1)} Cn x + Cm−1 xm+r = 0
n=1 m=1
two sum can be collected together
Cn−1
(2r2 − 3r + 1)C0 = 0, Cn = −
(2n + 2r − 1)(n + r − 1)
76
r1 = 1, r2 = 1/2
77
.
(−1)n
Cn = C0
n![1.3.5.7...(2n − 1)]
Let’s replace the Cn s we found in the solution
∞
!
X (−1)n
y2 (x) = C0 x 1 + xn
n=0
n![1.3.5.7...(2n − 1)]
Example
d2 y dy
3) x2 2
+ (x2 − 3x) + 3y = 0 x0 = 0,
dx dx
d2 y x2 − 3x dy 3
2
+ 2
+ 2 y = 0 x0 = 0,
dx x dx x
x2 − 3x 3
p1 (x) = 2
and p0 (x) = 2 are not analytic at x0 = 0 but
x x
[xp1 (x)]x=0 = −3 and [x2 p0 (x)]x=0 = 3 are analytic so x0 = 0 is regular
singular point solution are exist in terms of Fuch’s theorem;
∞
X
r
y=x Cn xn C0 6= 0,
n=0
∞
X ∞
X
n+r−1
y = 0
(n + r)Cn x 00
and y = (n + r)(n + r − 1)Cn xn+r−2
n=0 n=0
∞
X ∞
X ∞
X
(n + r)(n + r − 1)Cn xn+r + (n + r)Cn xn+r+1 − 3 (n + r)Cn xn+r +
n=0 n=0 n=0
X∞
3 Cn xn+r = 0
n=0
78
take out first term from first sum
∞
X
(r(r − 1) − 3r + 3)C0 x + 0
{(n + r)(n + r − 1) − 3(n + r) + 3} Cn xn+r +
n=1
∞
X
(m + r − 1)Cm−1 xm+r = 0
m=1
two sum can be collected together
(r(r − 1) − 3r + 3)C0 x0
∞
X
+ {[(n + r)(n + r − 1) − 3(n + r) + 3] Cn + (n + r − 1)Cn−1 } xn+r = 0
n=1
for r = r1 = 3;
now we set the coefficients of xn to zero to find the relationship between the
Cn ’s for r = r1 = 3
79
.
(−1)n
Cn = C0
n!
Let’s replace the Cn s we found in the solution
∞
X (−1)n
y1 (x) = C0 x 3
xn = C0 x3 e−x
n=0
n!
x2 v 00 x3
e−x
+ v 0 (2x2 (3x2 − x3 ) + (x2 − 3x)x3 )
e−x
0
80
xv 00 + (3 − x)v 0 = 0 Let’s call v 0 = p(x)
p = C1 x−3 ex
dv
we can integrate p to get v p = = C1 x−3 ex by taking integral
dx
v = C1 x−3 ex dx + C2 this integral cannot be integrated by normal way but
R
∞
!
xk−2
Z
X 1
v = C1 + x−3 x2 dx + C2
k6=2
k!(k − 2) 2!
∞
!
k−2
X x 1
v = C1 + ln(x) + C2 so we get secod solution as we have
k6=2
k!(k − 2) 2
defined
∞
!
X xk−2 1
y2 (x) = vy1 = x3 e−x C1 + C1 ln(x) + C2
k6=2
k!(k − 2) 2
∞
X 1
y2 = Dn xn+r + y1 ln(x)
n=0
2
Note that y2 also has y1 and it also includes logarithmic terms, so there is
no need to memorize all those theorems (especially if one of the solutions is
elementary), the result can be reached more easily for someone who knows
basic mathematics well.
81
Example
d2 y 1 dy
4) + + y = 0 x0 = 0,
dx2 x dx
1
p1 (x) = and p0 (x) = 1 one of them is not analytic at x0 = 0 but
x
[xp1 (x)]x=0 = 1 and [x2 p0 (x)]x=0 = 0 are analytic so x0 = 0 is regular singular
point solution are exist in terms of Fuch’s theorem;
d2 y dy
x + + xy = 0
dx2 dx
∞
X
y = xr Cn xn C0 6= 0,
n=0
∞
X ∞
X
n+r−1
0
y = (n + r)Cn x and y = 00
(n + r)(n + r − 1)Cn xn+r−2
n=0 n=0
∞
X ∞
X ∞
X
n+r−1 n+r−1
(n + r)(n + r − 1)Cn x + Cn x + Cn xn+r+1 = 0
n=0 n=0 n=0
r2 C0 x0 + (r + 1)2 C1 x1
∞
X ∞
X
2 n+r−1
+ (n + r) Cn x + Cm−2 xm+r−1 = 0
n=2 m=2
two sum can be collected together
∞
X
(n + r)2 Cn + Cn−2 xn+r = 0
+
n=2
82
Cn−2
r2 C0 = 0, C1 = 0 Cn = −
(n + r)2
r1,2 = 0
(−1)n
C2n = C0
22n (n!)2
Let’s replace the Cn s we found in the solution
∞
X (−1)n 2n
y1 (x) = C0 x → 0 th order Bessel function J0 (x)
n=0
22n (n!)2
83
for second solution
∞
X
0+1
y2 = ln(x)y1 (x) + x Dn xn
n=0
x2 x4 x6
y1 = 1 − + − + ··· and
4 64 2304
1 x2 5 4 23 6
= 1 + + x + x + ···
y1 2 2 32 576
Z
1 x 5 3 23 5
y2 = y1 + + x + x + ···
x 2 32 576
x2
5 4 23 6
y2 = y1 ln(x) + + x + x + ···
4 128 3456
2
3x4 11x6
x
y2 = − + − · · · + y1 ln(x)
4 128 12824
1 1 (−1)2
D2 = = 2 = 2
4 2 2 (1!)2
3 3 1 1
D4 = − = (−1) 4 1+
12824 2 (2!)2 2
11 1 1
D6 = 6 1+ +
2 (3!)2 2 3
(−1)n+1
1 1 1
D2n = 2n 1 + + + ··· +
2 (n!)2 2 3 n
∞
(−1)n+1
X 1 1 1
y2 = 1 + + + ··· + x2n + y1 ln(x)
n=0
22n (n!)2 2 3 n
84
Example
d2 y dy
4) x2 2
+ 3x(1 − 3x) + y = 0 x0 = 0,
dx dx
3x(1 − x) 1
p1 (x) = and p 0 (x) = one of them is not analytic at x0 = 0 but
x2 x2
[xp1 (x)]x=0 = 3 and [x2 p0 (x)]x=0 = 1 are analytic so x0 = 0 is regular singular
point solution are exist in terms of Fuch’s theorem;
X∞ X∞
n+r−1
0
y = (n + r)Cn x 00
and y = (n + r)(n + r − 1)Cn xn+r−2
n=0 n=0
∞
X ∞
X ∞
X
n+r n+r
(n + r)(n + r − 1)Cn x +3 (n + r)Cn x −9 (n + r)Cn xn+r+1
n=0 n=0 n=0
X∞
+ Cn xn+r = 0
n=0
∞
X ∞
X
n+r
{(n + r)(n + r + 2) + 1} Cn x −9 (n + r)Cn xn+r+1 = 0
n=0
|n=0 {z }
m=n+1
∞
X ∞
X
{(n + r)(n + r + 2) + 1} Cn xn+r − 9 (m + r − 1)Cn xm+r = 0
n=0 m=1
takeout first term from the first sum collect the one
(r(r + 2) + 1)C0 xr
X∞ ∞
X
n+r
+ {(n + r)(n + r + 2) + 1} Cn x −9 (m + r − 1)Cn xm+r = 0
| {z }
n=1 m=1
(n+r+1)2
∞
X
(n + r + 1)2 Cn − 9(n + r − 1)Cn−1 xn+r
2 r
(r + 2r + 1)C0 x +
n=1
(n + r − 1)
r1,2 = −1, Cn = 9 Cn−1 n≥1
(n + r + 1)2
85
for r = −1; recurrence equation
(n − 2)Cn−1
Cn = 9
n2
(1 − 2)C0
n = 1 ⇒ C1 = 9 = −9C0
12
(2 − 2)C1
n = 2 ⇒ C2 = 9 =0
22
(3 − 2)C2
n = 3 ⇒ C3 = 9 =0
22
2 and all subsequent elements of the series are equal zero Cn = 0n ≥ 2 in
this case the solution is
9x − 1
y 1 = C0 to find second solution ve apply variation of parameters
x
method
x
(9
x−1)p0 (x) − 3
(9
x−1) (3 x − 1) p(x) = 0 ,
e9x
dp 1
=3 3− dx → p = C1 3
p x x
dv e9x
p = C1 = 3 + C2
dx x
86
∞
e9x X (9x)k
Z Z
v= = x−3 + C2
x3 k=0
k!
∞
!
X 9k 1
v = C1 xk−2 + ln(x) + C2
k6=2
k!(k − 2) 2
HW
d2 y dy
(i) x(1 + x) 2
− (1 − x) − y = 0 x0 = 0,
dx dx
d2 y dy
(ii) 4x + − y = 0 x0 = 0,
dx2 dx
d2 y dy
(i) 9x(1 − x) 2
− 12 + 4y = 0 x0 = 0,
dx dx
87
Sturm-Liouville Boundary Value Problems
It is a classical theory in mathematics introduced by J.C.F. Sturm (1855) and
J. Liouville (1882) and considered for second-order differential equations.
d dy
p(x) + q(x)y = −λr(x)y
dx dx
Ay(a) + By 0 (a) = 0
Cy(b) + Dy 0 (b) = 0
Non-simple solutions to the Sturm Liouville problem exist for some special
values of λ. These special values are called the eigenvalues of the Sturm-
Liouville boundary value problem, and the corresponding solutions to these
eigenvalues are called the eigenfunctions.
88
Proof: If the eigenfunctions of two different eigenvalues such as λn , λm are
are yn (x) and ym (x)
d dyn
ym / p(x) + q(x)yn = −λn r(x)yn
dx dx
d dym
yn / p(x) + q(x)ym = −λm r(x)yn
dx dx
If we yn ’s equation with ym , and ym ’s equation with yn , subtract side by side
and integrate from a to b
Z b Z b Z b
d dyn
ym p(x) dx + ym q(x)yn dx = −λn ym r(x)yn dx
a dx dx a a
Z b Z b Z b
d dym
‘ yn p(x) dx + yn q(x)ym dx = − λm yn r(x)yn dx
a dx dx a a
Finally
Rb
y r(x)yn dx = 0
a m
89
d2 y
Example 1 = λy = 0, y(0) = 0, y(b) = 0, 0≤x≤b
dx2
Solution
Therefore
√ √
y = A sin( λx) + A cos( λx)
90
i) Homework: Show that if n 6= m product = 0
!
Z b nπx mπx Z b
1 nπx mπx nπx mπx
sin sin dx = cos − −cos + dx
0 b b 2 0 b b b b
nπx mπx b 1 b
1 b b nπx mπx
= sin − − sin +
2 π(n − m) b b 2 π(n + m) b b
0 0
b
1 b (n − m)πx b sin ((n − m)π)
= sin =
2 π(n − m) b 2 (n − m)π
0
91
ii) n = m
Z b nπx nπx
sin sin dx
0 b b
Z b b r
A2
2nπ x b b b b
= 1 − cos dx = − sin = A2 = 1 → A =
2 0 b 2 2nπ 2nπ 2 2
a
now we try to evaluate the series we can write the sin with exponential,
∞ ∞ nπx nπx
X nπ 1 X i −i
sin x = e b −e b
n=0
b 2i n=0
∞ πx ∞ πx ∞
1 X i n 1 X −i n X 1
e b − e b −→ un =
2i n=0 2i n=0 n=0
1−u
1 1 1 1
=
2i πx − 2i πx =
i −i
1−e b 1−e b
πx πx
−i i
b −e b
=e 2i πx
1
πx
i i
1−e b 1−e b
92
Example 2: (x2 y 0 )0 + λy = 0, 1 ≤ x ≤ 2, y(1) = y(2) = 0
x2 y 00 + 2xy 0 + λy = 0 → Cauchy-Euler
1 √
y = xr → (r(r − 1)
xr + 2r
xr + λ
xr = 0 −→ r1,2 = −1 ± 1 − 4λ
2
if λ < 1/4
y = C1 xr1 + C2 xr2
1
λ > 1/4 in this case let’s we denote 1−4λ = −4α2 the rootrs are r1,2 = ± iα
2
y = C1 xr1 + C2 xr2
xiα = eiα ln x
93