Chapter 5
Chapter 5
Examples(Maclaurin series)
1
= 1 + x + x2 + x3 + · · · (|x| < 1, geometric series)
1−x
x2 x3
e x
= 1+x+
+ + · · · (|x| < ∞)
2! 3!
x2 x4 x6
cos x = 1 − + − + · · · (|x| < ∞)
2! 4! 6!
x3 x5 x7
sin x = x − + − + · · · (|x| < ∞)
3! 5! 7!
Note
∞
∑
y= amxm = a0 + a1x + a2x2 + · · · (|x| < R)
m=0
∞
∑
y′ = mamxm−1 = a1 + 2a2x + 3a3x2 + · · · (|x| < R)
m=1
∞
∑
y ′′ = m(m − 1)amxm−2 = 2a2 + 3 · 2a3x + · · · (|x| < R)
m=2
Example 2.
Solve the ODE by power series
y ′ − y = 0.
Sol. Set
∑∞
y= amxm = a0 + a1x + a2x2 + a3x3 + · · · .
m=0
∞
∑ ∞
∑ ∞
∑
mamxm−1 − amxm = 0 or (mam − am−1)xm−1 = 0.
m=1 m=0 m=1
Sol. Set ∞
∑
y= amxm.
m=0
Inserting the power series into the ODE, we obtain
y ′′ = 2a2+ 6a3x+ 12a4x2+ 20a5x3+ 30a6x4 + · · ·
−x2y ′′ = − 2a2x2− 6a3x3− 12a4x4 − · · ·
−2xy ′ = − 2a1x− 4a2x2− 6a3x3− 8a4x4 − · · ·
2y = 2a0+ 2a1x+ 2a2x2+ 2a3x3+ 2a4x4 + · · ·
Adding terms of like powers of x, we have
x0 : a2 = −a0
x1 : a3 = 0
x2 : 12a4 = 4a2, a4 = 12 4
a2 = − 31 a0
x3 : a5 = 0 ( 1)
x4 : 30a6 = 18a4, a6 = 30 a4 = 30 − 3 a0 = − 15 a0
18 18
Example 4.
∑∞ ∞
∑ ∑∞
x xm 1 m
(a) e = (b) = x (c) m!xm
m=0
m! 1−x m=0 m=0
1/(m + 1)! 1
Sol. (a) lim | | = lim = 0, or R = ∞.
m→∞ 1/m! m→∞ m + 1
The power series converges for all x.
1
(b) lim | | = 1, or R = 1.
m→∞ 1
The power series converges only at |x| < 1.
(m + 1)!
(c) lim | | = ∞, or R = 0.
m→∞ m!
The power series converges only at x = 0.
∞
∑
=⇒ f (x) + g(x) = (am + bm)(x − x0)m,
m=0
|x − x0| < R = min{R1, R2}
∑∞
f (x)g(x) = (a0bm + a1bm−1 + · · · + amb0)(x − x0)m,
m=0
|x − x0| < R = min{R1, R2}.
Vanishing of all coefficients
∞
∑
am(x − x0)m = 0, |x − x0| < R
m=0
=⇒ a0 = a1 = · · · = 0.
and
∞
∑ ∞
∑
m(m − 1)amx m−2
− m(m − 1)amxm
m=2 m=2
∞
∑ ∞
∑
− 2mamxm + n(n + 1) amxm = 0.
m=1 m=0
The sum of the coefficients of each power of x on the left must be zero.
Thus
2a2 + n(n + 1)a0 = 0,
3 · 2a3 + [−2 + n(n + 1)]a1 = 0,
(s + 2)(s + 1)as+2 − [s(s − 1) + 2s − n(n + 1)]as = 0.
recurrence relation
(n − s)(n + s + 1)
as+2 = − as (s = 0, 1, 2, · · · )
(s + 2)(s + 1)
a2 = − n(n+1)
2!
a 0 , a 4 = (n−2)n(n+1)(n+3)
4!
a0, · · ·
a3 = − (n−1)(n+2)
3!
a 1 , a 5 = (n−3)(n−1)(n+2)(n+4)
5!
a1, · · ·
∴ y = a0y1 + a1y2
where
n(n + 1) (n − 2)n(n + 1)(n + 3)
y1 = 1 − x2 + x4 − + · · ·
2! 4!
(n − 1)(n + 2)
y2 = x − x3
3!
(n − 3)(n − 1)(n + 2)(n + 4)
+ x5 − + · · · .
5!
Note 1. These series converges for |x| < 1.
2. Since y1 and y2 are not proportional, they are linearly independent solu-
tions. y = a0y1 + a1y2 is a general solution of the Legendre’s equation
on −1 < x < 1.
3. n: even, y1(x) is a polynomial of degree n,
n: odd, y2(x) is a polynomial of degree n.
These polynomials, multiplied by some constants, are called Legendre poly-
nomials.
Legendre polynomials
P0(x) = 1, P1(x) = x
1 1
P2(x) = (3x − 1),
2
P3(x) = (5x3 − 3x)
2 2
1 1
P4(x) = (35x4 − 30x2 + 3), P5(x) = (63x5 − 70x3 + 15x)
8 8
··· , ···
Differentiate y, then
∞
∑
y′ = (m + r)amxm+r−1
m=0
= xr−1
[ra0 + (r + 1)a1x + · · · ] ,
∑∞
y ′′ = (m + r)(m + r − 1)amxm+r−2
m=0
= xr−2
[r(r − 1)a0 + (r + 1)ra1x + · · · ] ,
by inserting all these power series into the ODE, we obtain
xr [r(r − 1)a0 + · · · ] + (b0 + b1x + · · · )xr (ra0 + · · · )
+ (c0 + c1x + · · · )xr (a0 + a1x + · · · )
= [r(r − 1)a0 + b0ra0 + c0a0]xr + · · · = 0.
Thus
[r(r − 1) + b0r + c0]a0 = 0.
Since a0 ̸= 0, we have
r(r − 1) + b0r + c0 = 0 : indicial equation of the ODE
roots: r = r1, r2
= dx
x (1 + a1x + a2x + · · · )
2r 2 2
∫ −(b0+2r)
x (1 + d1x + d2x2 + · · · )
= 2 + · · · )2
dx
∫ (1 + a 1 x + a 2 x
= x−1(1 + e1x + e2x2 + · · · )dx
e2
= ln x + A1x + A2x + · · · , 2
(A1 = e1, A2 = , · · · ).
2
Hence
y2 = uy1 = y1 ln x + xr (A1x + A2x2 + · · · ).
Example 3.
Solve the ODE
(x2 − x)y ′′ − xy ′ + y = 0.
∴ y2 = ux = x ln x + 1.
Since y1 and y2 are linearly independent, they form a basis. The
general solution is
y = c1x + c2(x ln x + 1).
′′ 1 ′ x2 − ν 2
=⇒ y + y + y = 0.
x x2
Since b(x) = 1 and c(x) = x2 − ν 2 are analytic at x = 0, by the
Frobenius method, the ODE[Bessel’s Equation] has a solution of the form
∞
∑
y= amxm+r , a0 ̸= 0.
m=0
∞
∑ ∞
∑
+ (s + r)(s + r − 1)asxs+r + (s + r)amxs+r
s=2 s=2
∞
∑ ∞
∑
+ as−2x s+r
−ν 2
asxs+r = 0.
s=2 s=2
When r = r1 = ν,
(ν + 1)νa1 + (ν + 1)a1 − ν 2a1 = (2ν + 1)a1 = 0,
(s + 2ν)sas + as−2 = 0, s = 2, 3, · · · .
Since ν ≥ 0, a1 = 0 and
1
as = − as−2.
(s + 2ν)s
Thus a3 = a5 = · · · = 0, and for s = 2m,
1
a2m = − a2m−2, m = 1, 2, · · · .
2m(2m + 2ν)
This gives
a0
a2 = − ,
22(ν + 1)
a2 a0
a4 = − =− ,
22(ν + 2) 242!(ν + 1)(ν + 2)
··· ,
(−1)ma0
a2m = , m = 1, 2, · · · .
22mm!(ν + 1)(ν + 2) · · · (ν + m)
√ ( )
Note Jn(x) ∼ 2
πx
cos x − nπ
2
− π
4
[Gamma Function]
∫ ∞
Γ(ν) = e−ttν−1 dt, ν > 0
0
Note By integrating by parts we obtain
Γ(ν + 1) = νΓ(ν).
Note that Γ(n + 1) = nΓ(n) = n! (n = 1, 2, · · · ).
1
Choosing a0 = 2ν Γ(ν+1) ,
(−1)ma0
a2m =
22mm!(ν + 1)(ν + 2) · · · (ν + m)
(−1)m
=
22mm!(ν + 1)(ν + 2) · · · (ν + m)2ν Γ(ν + 1)
(−1)m
= 2m+ν ,
2 m!Γ(ν + m + 1)
and ∞
∑ (−1)mx2m
ν
Jν (x) = x .
m=0
22m+ν m!Γ(ν + m + 1)
By the ratio test, the series converges for all x. Jν (x) is called the Bessel
function of the first kind of order ν.
(c),(d) We perform the differentiation in (a), and do the same in (b) and
multiply the result on both sides by x2ν . This gives
(a∗) νxν−1Jν + xν Jν′ = xν Jν−1,
(b∗) − νxν−1Jν + xν Jν′ = −xν Jν+1.
Subtracting (b∗) from (a∗) and dividing the result by xν gives (c).
Adding (a∗) and (b∗) and dividing the result by xν gives (d).
Example 2. Application
1. Consider the recurrence formula[Theorem 1 (c)]
2ν
Jν+1(x) = Jν (x) − Jν−1(x). (I)
x
For ν = 1, J2(x) = 2J1(x)/x − J0(x), so that J2 can be obtained
from tables of J0 and J1.
This function is called the Bessel function of the second kind of orderν
or Neumann’s function of order ν.
Notebthat Tν and Yν are linearly independent for all ν(and x > 0), and
for n = 0, 1, 2, · · ·
∞
( x
2 ) xn ∑ (−1)m−1(hm + hm+n) 2m
Yn(x) = Jn(x) ln + γ + x
π 2 π m=0 22m+nm!(m + n)!
x−n ∑ (n − m − 1)!
n−1
− x2m.
π m=0
22m−nm!
Example
Solve the following ODEs.
(a) x2y ′′ +xy ′ +(x2 − 19 )y = 0 (b) x2y ′′ +xy ′ +(x2 −4)y = 0
Sol. (a) y(x) = c1J 1 (x) + c2J− 1 (x) or y(x) = c1J 1 (x) + c2Y 1 (x)
3 3 3 3
(b) y(x) = c1J2(x) + c2Y2(x)