
2.2. SERIES SOLUTIONS OF LODES 71
>
ode2:=subs(y(x)=z(x),ode): dsolve(ode2,z(x),series);
....................................
dsolve/series/ordinary: trying Newton iteration
dsolve/series/direct: trying direct subs
dsolve/series/froben: trying method of Frobenius
dsolve/series/froben: indicial eqn is -pˆ 2+rˆ 2
dsolve/series/froben: roots of indicial eqn are [[p], [-p]]
z(x)=
C1 x
p
(1 −
1
4 p +4
x
2
+
1
(8 p + 16) (4 p +4)
x
4
−
1
(12 p + 36) (8 p + 16) (4 p +4)
x
6
+O(x
7
))
+
C2 x
(−p)
(1 +
1
4 p − 4
x
2
+
1
(8 p − 16) (4 p − 4)
x
4
+
1
(12 p − 36) (8 p − 16) (4 p − 4)
x
6
+O(x
7
))
The method of Frobenius has been successfully used, the roots of the indicial
equation obtained, and the general series solution constructed for z(x). The
first series, involving the arbitrary coefficient
C1, is exactly the same as in Jp.
The second series, involving the other arbitrary coefficient
C2, is the second
independent solution of the second order LODE obtained by replacing p with
−p. I.e., the second independent solution is J
−p
(x).
This conclusion about the mathematical form of the second solution is true
providing that p is not zero or an integer. For p = 0, there is only one root,
s = 0, to the indicial equation and the second series is identical with the first.
For integer values of p, all denominators in the second series beyond a certain
term vanish, so this series becomes meaningless. Thus for p =0, 1, 2, ... a more
general second solution must be sought. Jennifer has decided not to go into
this issue here, referring her students to standard ODE texts which cover the
topic. At this stage it suffices to note that this second independent solution is
the Bessel function Y
p
of the second kind of order p.
Returning to her “hand mimicking” calculation, Jennifer completes the iden-
tification of the infinite series solution as J
p
(x) by making the “standard” choice
for c
0
, viz. c
0
=1/(2
p
p!).
>
c[0]:=1/(2ˆp*p!):
To see how may terms have to be retained in the series over a certain range
of x, e.g., x = 0 to 50, to obtain a reasonably correct curve, Jennifer will now
plot the sequence of results obtained from JJ for p = 0 and N/5 = 100/5 = 20,
40, 60, 80, and 100 terms along with the “exact” infinite series result for J
0
(x).
Because the finite series results diverge to ∞ before x = 50 is reached, the
vertical view is limited to be between −1and1.
>
plot([seq(eval(JJ(k*N/5),p=0),k=1..5),BesselJ(0,x)],
x=0..50,thickness=2,numpoints=500,labels=["x","J"],
tickmarks=[3,3],view=[0..50,-1..1]);