Successive Differentiation
Successive Differentiation
, … and
of powers of the variable. This chapter looks at some of dx dx 2
dn y
the methods that make this possible—by the Leibniz– as y (n) , then y
= aeax , y
= −a 2 sin ax = a 2 sin(ax + π)
2π
= a sin ax +
2
2
52.2 Higher order differential
coefficients as series y
= −a 3 cos x
The following is an extension of successive differentia- 3π
= a 3 sin ax + and so on.
tion (see page 296), but looking for trends, or series, 2
494 Higher Engineering Mathematics
d5 y an
y = sin 3x, then 5 = y (5) y(n) = {[1 +(−1)n ] sinh ax
dx 2
5 5π π + [1 −(−1)n ] cosh ax} (5)
= 3 sin 3x + = 35 sin 3x +
2 2
For example, if
= 243 cos 3x
d5 y
(iii) If y = cos ax, y = sinh 2x, then = y (5)
dx 5
π 25
y
= −a sin ax = a cos ax + = {[1 + (−1)5 ] sinh 2x
2 2
2π + [1 − (−1)5 ] cosh 2x}
y
= −a 2 cos ax = a 2 cos ax +
2 25
= {[0] sinh 2x + [2] cosh 2x}
3π 2
y = a sin ax = a cos ax +
3 3
and so on.
2 = 32 cosh 2x
= a 2 cosh ax
d6 y 6π
(6)
then 6 = y = 4(2 ) cos 2x +
6 y
= − 2 , y
= 3 , and so
6 × 5 × 4× 3 × 2× 1 2 x x x
on.
= (2) x
2×1 (n − 1)!
= 720x2 In general, y(n) = (−1)n−1 (7)
xn
(v) If y = sinh ax, y
= a cosh ax For example, if y = ln 5x, then
y = a sinh ax
2
d6 y (6) = (−1)6−1 5! = − 120
= y
y
1
Note that if y = ln x, y
= ; if in equation (7),
x 52.3 Leibniz’s theorem
0 (0)!
n = 1 then y = (−1) 1
x If y = uv (8)
1
(−1)0 = 1 and if y
= then (0)!= 1 (Check that where u and v are each functions of x, then by using the
x product rule,
(−1)0 = 1 and (0)! = 1 on a calculator).
y
= uv
+ vu
(9)
y
= uv
+ v
u
+ vu
+ u
v
v + 2u
v
+ uv
(10)
v + 3u
v
+ 3u
v
+ uv
(11)
Determine the following derivatives: y (4) = u (4)v + 4u (3)v (1) + 6u (2)v (2)
t
1. (a) y (4) when y = e2x (b) y (5) when y = 8e2 + 4u (1)v (3) + uv (4) (12)
1 t
[(a) 16 e2x (b) e 2 ] From equations (8) to (12) it is seen that
4
(a) the n’th derivative of u decreases by 1 moving
2. (a) y (4) when y = sin 3t from left to right,
1
(b) y (7) when y = sin 5θ
50 (b) the n’th derivative of v increases by 1 moving from
left to right,
[(a) 81 sin3t (b) −1562.5 cos5θ]
(c) the coefficients 1, 4, 6, 4, 1 are the normal binomial
3. (a) y (8) when y = cos 2x coefficients (see page 58).
2
(b) y (9) when y = 3 cos t
3 In fact, (uv)(n) may be obtained by expanding (u + v)(n)
using the binomial theorem (see page 59), where the
29 2
(a) 256 cos2x (b) − 8 sin t ‘powers’ are interpreted as derivatives. Thus, expanding
3 3
(u + v)(n) gives:
7. (a) y (4) when y = 2ln 3θ For a product y = uv, the function taken as
1
(b) y (7) when y = ln 2t (i) u is the one whose nth derivative can readily be
3 determined (from equations (1) to (7)),
6 240
(a) − (b) 7
θ4 t (ii) v is the one whose derivative reduces to zero after
a few stages of differentiation.
496 Higher Engineering Mathematics
Thus, when y = x 2 e3x , v = x 2 , since its third derivative By Leibniz’s equation, equation (13),
is zero, and u = e3x since the nth derivative is known
from equation (1), i.e. 3n eax n(n − 1) (n)
y (n+2)(1 + x 2 ) + n y (n+1)(2x)+ y (2)+ 0
Using Leinbiz’s theorem (equation (13), 2!
+ 2{y (n+1) (x) + n y (n) (1) + 0} − 3{y (n) } = 0
(n) (n) (n−1) (1) n(n − 1) (n−2) (2)
y =u v + nu v + u v
2!
i.e. (1 + x 2 )y (n+2) + 2n x y (n+1) + n(n − 1)y (n)
n(n − 1)(n − 2) (n−3) (3)
+ u v + ···
3! + 2x y (n+1) + 2 ny (n) − 3y (n) = 0
or (1 + x 2 )y (n+2) + 2(n + 1)x y (n+1)
where in this case v = x 2 , v (1) = 2x, v (2) = 2 and
v (3) = 0 + (n 2 − n + 2n − 3)y (n) = 0
Hence, y (n) = (3n e3x )(x 2 ) + n(3n−1 e3x )(2x) i.e. (1 + x2 )y(n+2) + 2(n + 1)xy(n+1)
n(n − 1) n−2 3x
+ (3 e )(2) + (n2 + n − 3)y(n) = 0
2!
n(n − 1)(n − 2) n−3 3x
+ (3 e )(0) Problem 4. Find the 5th derivative of y = x 4 sin x.
3!
= 3n−2 e3x (32 x 2 + n(3)(2x)
If y = x 4 sin x, then using Leibniz’s equation with
+ n(n − 1) + 0) u = sin x and v = x 4 gives:
y(n) = e3x 3n−2 (9x2 + 6nx + n(n− 1)) nπ 4
i.e.
y (n) = sin x + x
2
Problem 2. If x 2 y
+ 2x y
+ y = 0 show that:
x y (n+2) + 2(n + 1)x y (n+1) + (n 2 + n + 1)y (n) = 0 (n − 1)π 3
+ n sin x + 4x
2
Differentiating each term of x 2 y
+ 2x y
+ y = 0
n(n − 1) (n − 2)π
n times, using Leibniz’s theorem of equation (13), + sin x + 12x 2
2! 2
gives:
n(n − 1)(n − 2) (n − 3)π
+ sin x + 24x
n(n − 1) (n) 3! 2
y (n+2) x 2 + n y (n+1) (2x) + y (2) + 0
2!
n(n − 1)(n − 2)(n − 3)
+ sin x
+ {y (n+1) (2x) + n y (n) (2) + 0} + {y (n) } = 0 4!
(n − 4)π
i.e. x 2 y (n+2) + 2n x y (n+1) + n(n − 1)y (n) + 24
2
5π
+ 2x y (n+1) + 2n y (n) + y (n) = 0 and y (5) = x 4 sin x + + 20x 3 sin(x + 2π)
2
i.e. x 2 y (n+2) + 2(n + 1)x y (n+1)
(5)(4) 3π
+ (12x ) sin x +
2
+ (n 2 − n + 2n + 1)y (n) = 0 2 2
or x2 y(n+2) + 2(n + 1) x y(n+1) (5)(4)(3)
+ (24x) sin (x + π)
+ (n + n + 1)y
2 (n)
=0 (3)(2)
(5)(4)(3)(2) π
+ (24) sin x +
(4)(3)(2) 2
Problem 3. Differentiate the following
differential equation n times: 5π π
(1 + x 2 )y
+ 2x y
− 3y = 0. Since sin x + ≡ sin x + ≡ cos x,
2 2
Power series methods of solving ordinary differential equations 497
3π
sin(x + 2π) ≡ sin x, sin x + ≡ −cos x, 52.4 Power series solution by the
2
Leibniz–Maclaurin method
and sin (x + π) ≡ −sin x,
then y (5) = x 4 cos x + 20x 3 sin x + 120x 2 (−cos x) For second order differential equations that cannot be
+ 240x(−sin x) + 120 cos x solved by algebraic methods, the Leibniz–Maclaurin
method produces a solution in the form of infinite
i.e. y(5) = (x4 − 120x2 + 120)cos x series of powers of the unknown variable. The fol-
+ (20x3 − 240x) sin x lowing simple 5-step procedure may be used in the
Leibniz–Maclaurin method:
(i) Differentiate the given equation n times, using
Now try the following exercise the Leibniz theorem of equation (13),
(ii) rearrange the result to obtain the recurrence
Exercise 194 Further problems on relation at x = 0,
Leibniz’s theorem
(iii) determine the values of the derivatives at x = 0,
Use the theorem of Leibniz in the following i.e. find ( y)0 and ( y
)0 ,
problems:
(iv) substitute in the Maclaurin expansion for
1. Obtain the n’th derivative of: x 2 y. y = f (x) (see page 69, equation (5)),
2 (n)
x y + 2n x y (n−1) + n(n − 1)y (n−2)
(v) simplify the result where possible and apply
boundary condition (if given).
2. If y = x 3 e2x find y (n) and hence y (3) .
⎡ ⎤
y (n) = e2x 2n−3 {8x 3 + 12nx 2 The Leibniz–Maclaurin method is demonstrated, using
⎢ ⎥ the above procedure, in the following worked problems.
⎣ + n(n − 1)(6x) + n(n − 1)(n − 2)} ⎦
y (3) = e2x (8x 3 + 36x 2 + 36x + 6) Problem 5. Determine the power series solution
of the differential equation:
3. Determine the 4th derivative of: y = 2x 3 e−x . d2 y dy
2
+ x + 2y = 0 using Leibniz–Maclaurin’s
[ y (4) = 2e−x (x 3 − 12x 2 + 36x − 24)] dx dx
method, given the boundary conditions that at
dy
4. If y = x 3 cos x determine the 5th derivative. x = 0, y = 1 and = 2.
dx
[ y (5) = (60x − x 3 ) sin x +
(15x 2 − 60) cos x] Following the above procedure:
5. Find an expression for y (4) if y = e−t sin t . (i) The differential equation is rewritten as:
[ y (4) = −4 e−t sin t ] y
+ x y
+ 2y = 0 and from the Leibniz theorem
of equation (13), each term is differentiated n
6. If y = x 5 ln 2x find y (3) . times, which gives:
+ x y
+ 3y = 0 show that i.e. y (n+2) + x y (n+1) + (n + 2) y (n) = 0
2x 2 y (n+2) + (4n + 1)x y (n+1) + (2n 2 − n +
3)y (n) = 0. (14)
This equation is called a recurrence relation (v) Collecting similar terms together gives:
or recurrence formula, because each recurring
term depends on a previous term. 2x 2 2 × 4x 4
y = ( y)0 1 − +
2! 4!
(iii) Substituting n =0, 1, 2, 3, … will produce
a set of relationships between the various 2 × 4 × 6x 6 2 × 4 × 6 × 8x 8
− +
coefficients. 6! 8!
5
For n =0, ( y
)0 = −2( y)0 3x 3 3 × 5x 5
− · · · + ( y
)0 x − +
n =1, ( y
)0 = −3( y
)0 3! 5!
n =2, ( y (4) )0 = −4( y
)0 = −4{−2( y)0 } 3 × 5 × 7x 7
− + ···
7!
= 2 × 4( y)0
x2 x4 x6
n =3, ( y (5) )0 = −5( y
)0 = −5{−3( y
)0 } i.e. y = ( y)0 1 − + −
1 1×3 3×5
= 3 × 5( y
)0
x8
+ − ···
n =4, ( y (6) )0 = −6( y (4) )0 = −6{2 × 4( y)0 } 3×5×7
5
= −2 × 4 × 6( y)0 x x3 x5
+ ( y )0 × − +
n =5, ( y (7) )0 = −7( y (5) )0 = −7{3×5( y
)0 } 1 1×2 2×4
6
= −3 × 5 × 7( y
)0 x7
− +···
2×4×6
n =6, ( y (8) )0 = −8( y (6) )0 =
−8{−2 × 4 × 6( y)0}= 2 × 4 × 6×8(y)0 The boundary conditions are that at x = 0, y = 1
dy
and = 2, i.e. ( y)0 = 1 and ( y
)0 = 2.
(iv) Maclaurin’s theorem from page 69 may be dx
written as: Hence, the power series solution of the differen-
d2 y dy
tial equation: 2 + x + 2y = 0 is:
x 2
x3 dx dx
y = ( y)0 + x( y
)0 + ( y )0 + ( y
)0
2! 3!
x2 x4 x6
x 4 (4) y = 1− + −
+ ( y )0 + · · · 1 1 ×3 3 ×5
4!
x8 x x3
+ −··· +2 −
Substituting the above values into Maclaurin’s 3 ×5 × 7 1 1×2
theorem gives: 5 7
x x
+ − +···
2×4 2×4×6
x2
y = ( y)0 + x( y
)0 + {−2( y)0 }
2!
Problem 6. Determine the power series solution
x3 x4 of the differential equation:
+ {−3( y
)0 } + {2 × 4( y)0 }
3! 4! d2 y d y
+ + x y = 0 given the boundary conditions
dx 2 dx
x5 x6 dy
+ {3 × 5( y
)0 } + {−2 × 4 ×6( y)0 } that at x = 0, y = 0 and = 1, using
5! 6! dx
Leibniz–Maclaurin’s method.
x7
+ {−3 × 5 × 7( y
)0 }
7! Following the above procedure:
x8 (i) The differential equation is rewritten as:
+ {2 × 4 × 6 × 8( y)0 }
8! y
+ y
+ x y = 0 and from the Leibniz theorem of
Power series methods of solving ordinary differential equations 499
equation (13), each term is differentiated n times, ( y (8) )0 = −{( y (7) )0 + 6( y (5) )0 }
which gives:
= −[25 +6(6)] = −61
(n+2) (n+1) (n) (n−1)
y +y +y (x) + n y (1) + 0 = 0 (iv) Maclaurin’s theorem states:
i.e. y (n+2) + y (n+1) + x y (n) + n y (n−1) = 0 x2 x3
y = ( y)0 + x( y
)0 + ( y
)0 + ( y
)0
(15) 2! 3!
x 4 (4)
(ii) At x = 0, equation (15) becomes: +
( y )0 + · · ·
4!
y (n+2) + y (n+1) + n y (n−1) = 0 and substituting the above values into
Maclaurin’s theorem gives:
from which, y (n+2) = −{y (n+1) + n y (n−1) } x2 x3 x4
y = 0 + x(1) + {−1} + {1} + {−3}
This is the recurrence relation and applies for 2! 3! 4!
n ≥1
x5 x6 x7
+ {6} + {−10} + {25}
(iii) Substituting n = 1, 2, 3, . . . will produce a set of 5! 6! 7!
relationships between the various coefficients.
x8
For n = 1, ( y
)0 = −{( y
)0 + ( y)0 } {−61} + · · ·
+
8!
n = 2, ( y (4) )0 = −{( y
)0 + 2( y
)0 }
(v) Simplifying, the power series solution of
n = 3, ( y (5) )0 = −{( y (4) )0 + 3( y
)0 } d2 y d y
the differential equation: + + x y = 0 is
n = 4, ( y (6) )0 = −{( y (5) )0 + 4( y
)0 } dx 2 dx
given by:
n = 5, ( y (7) )0 = −{( y (6) )0 + 5( y (4) )0 }
n = 6, ( y (8) )0 = −{( y (7) )0 + 6( y (5) )0 } x2 x3 3x4 6x5 10x6
y = x− + − + −
From the given boundary conditions, at x = 0, 2! 3! 4! 5! 6!
dy
y = 0, thus ( y)0 = 0, and at x = 0, = 1, thus 25x7 61x8
dx + − +···
( y )0 = 1 7! 8!
From the given differential equation,
y
+ y
+ x y = 0, and, at x = 0, Now try the following exercise
( y
)0 + ( y
)0 + (0)y = 0 from which,
( y
)0 = −( y
)0 = −1
Exercise 195 Further problems on power
Thus, ( y)0 = 0, ( y
)0 = 1, ( y
)0 = −{( y
)0 + 2( y
)0 } d2 y dy
ferential equation: 2 + 2x + y = 0 using
dx dx
= −[1 + 2(1)] = −3 the Leibniz–Maclaurin method, given that at
dy
( y (5) )0 = −{( y (4) )0 + 3( y
)0 } x = 0, y = 1 and = 2.
dx
⎡ ⎤
= −[−3 +3(−1)] =6 x 2 5x 4 5 × 9x 6
⎢ y = 1 − 2! + 4! − 6! ⎥
⎢ ⎥
( y (6) )0 = −{( y (5) )0 + 4( y
)0 } ⎢ ⎥
⎢ 5 × 9 × 13x 8 3x ⎥
3
⎢ + −··· +2 x − ⎥
= −[6 + 4(1)] = −10 ⎢ 3! ⎥
⎢ 8! ⎥
⎢ ⎥
⎢ ⎥
( y (7) )0 = −{( y (6) )0 + 5( y (4) )0 } ⎣ 3 × 7x 5 3 × 7 × 11x 7 ⎦
+ − +···
5! 7!
= −[−10 +5(−3)] =25
500 Higher Engineering Mathematics
+ y
− y = 0.
y = 1 + x + 2x 2 + − + +···
2 8 16 (i) Let a trial solution be of the form
4. Use the Leibniz–Maclaurin method to deter- y = x c a0 + a1 x + a2 x 2 + a3 x 3 + · · ·
mine the power series solution for the differen- 4
+ ar x r + · · · (16)
d2 y d y
tial equation: x 2 + + x y = 1 given that
dx dx where a0 = 0,
dy
at x = 0, y = 1 and = 2. i.e. y = a0 x + a1 x
c c+1
+ a2 x c+2
+ a3 x c+3
dx
⎡ ⎤ + · · · + ar x c+r + · · · (17)
x2 x4 x6
⎢ y = 1 − 22 + 22 × 42 − 22 × 42 × 62 ⎥ (ii) Differentiating equation (17) gives:
⎢ 5 ⎥
⎢ ⎥
⎢ x3 x5 ⎥ y
= a0cx c−1 + a1 (c + 1)x c
⎢ + ··· +2 x − 2 + 2 ⎥
⎢ 3 3 ×5 2 ⎥
⎢ ⎥
⎢ x 7 ⎥ + a2(c + 2)x c+1 + · · ·
⎣ − 2 + · · · ⎦
3 × 52 × 72 + ar (c + r)x c+r−1 + · · ·
and y
+ y
− y = 0 gives:
A differential equation of the form y
+ P y
+ Qy = 0,
where P and Q are both functions of x, such that the 3x y
− x y
+ (1 − x)y = 0.
From equation (16), the trial solution was: (i) Let a trial solution be of the form
y = x c {a0 + a1 x + a2 x 2 + a3 x 3 + · · ·+ ar x r + · · ·} y = x c {a0 + a1 x + a2 x 2 + a3 x 3 + · · ·
+ ar x r + · · ·} (23)
2
Substituting c = and the above values of a1 , a2 ,
3 where a0 = 0,
a3 , … into the trial solution gives:
a i.e. y = a0 x c + a1 x c+1 + a2 x c+2 + a3 x c+3
2 0 a0
y = x 3 a0 + x+ x2 + · · · + ar x c+r + · · · (24)
5 2×5×8
(ii) Differentiating equation (24) gives:
a0
+ x3
(2 × 3)(5 × 8 × 11) y
= a0 cx c−1 + a1 (c + 1)x c + a2 (c + 2)x c+1
a0 + · · · + ar (c + r)x c+r−1 + · · ·
+ x4 + · · ·
(2 × 3 × 4)(5 × 8 × 11 × 14)
and y
− x y
+ (1 − x)y = 0
gives:
x4
+ + ··· (22)
(2 × 3 × 4)(5 × 8 × 11 × 14) 2x 2 y
− 2y = 0.
1 (i) Let a trial solution be of the form
Substituting c = and the above values of a1 , a2 ,
2
a3 , … into the trial solution gives: y = x c a0 + a1 x + a2 x 2 + a3 x 3 + · · ·
4
1 a0 2 a0 + ar x r + · · · (28)
y=x a0 +a0 x +
2 x + x3
(2×3) (2×3)×(3×5)
where a0 = 0,
a0
+ x4 + · · ·
(2 × 3 × 4) × (3 × 5 × 7)
i.e. y = a0 x c + a1 x c+1 + a2 x c+2 + a3 x c+3
1 x2 + · · · + ar x c+r + · · · (29)
i.e. y = a0 x 2 1 + x +
(2 × 3)
(ii) Differentiating equation (29) gives:
x3
+
(2 × 3) × (3 × 5) y
= a0cx c−1 + a1 (c + 1)x c + a2 (c + 2)x c+1
x4 + · · · + ar (c + r)x c+r−1 + · · ·
+
(2 × 3 × 4) × (3 × 5 × 7)
and y
− 2y = 0 gives: 2! 4!
5 6
2x 3 4x 5
y
+ x y
+ (x 2 − v 2 )y = 0
⎡ ⎤
x2 x4 Using the Frobenius method from page 500:
⎢ y = A 1 − 2! + 4! − · · · ⎥
⎢ ⎥ (i) Let a trial solution be of the form
⎢ ⎥
⎢ 3 5 ⎥
⎢ + B x − + − ··· ⎥
x x
y = x c {a0 + a1 x + a2 x 2 + a3 x 3 + · · ·
⎢ ⎥
⎣ 3! 5! ⎦
+ ar x r + · · ·} (34)
= P cos x + Q sin x
where a0 = 0,
Power series methods of solving ordinary differential equations 507
+ x y
+ (x 2 − v 2 )y = 0 a0
a6 =
gives: [v 2 − (c + 2)2 ][v 2 −(c + 4)2 ][v 2 − (c + 6)2 ]
a0 c(c − 1)x c + a1 c(c + 1)x c+1 and so on.
+ a2(c + 1)(c + 2)x c+2 + · · · When c = +v,
+ ar (c + r − 1)(c + r)x c+r + · · · + a0 cx c
a0 a0
+ a1(c + 1)x c+1 + a2 (c + 2)x c+2 + · · · a2 = =
v − (v + 2)2
2 v − v − 4v − 4
2 2
− ar v 2 = 0 −a0
=
24 × 2(v + 1)(v + 2) × 22 × 3(v + 3)
ar [(c + r − 1)(c + r) + (c + r) − v 2 ] =−ar−2
−a0
i.e. ar [(c + r)(c + r − 1 + 1) − v 2 ] =−ar−2 = and so on.
26 × 3! (v + 1)(v + 2)(v + 3)
i.e. ar [(c + r)2 − v 2 ] =−ar−2
The resulting solution for c = +v is given by:
i.e. the recurrence relation is:
ar−2 y=u=
ar = for r ≥ 2 (37)
v2 − (c + r)2 x2 x4
A x v 1− +
For the term in x c+1 , 22 (v +1) 24 × 2! (v +1)(v +2)
a1[c(c + 1) + (c + 1) − v 2 ] = 0
x6
− 6 +···
i.e. a1 [(c + 1)2 − v 2 ] = 0 2 × 3! (v +1)(v + 2)(v + 3)
but if c = v a1 [(v + 1)2 − v 2 ] = 0 (38)
508 Higher Engineering Mathematics
which is valid provided v is not a negative integer upper case Greek letter gamma, and the gamma function
and where A is an arbitrary constant. (x) is defined by the integral
! ∞
When c = −v,
(x) = t x−1 e−t dt (40)
a0 a0 0
a2 = 2 = 2
v − (−v + 2)2 v − (v 2 − 4v + 4) and is convergent for x > 0
−a0 −a0 ! ∞
= = 2
4 − 4v 2 (v − 1) From equation (40), (x + 1) = t x e−t dt
0
a0
a4 = 2 and by using integration by parts (see page 420):
[2 (v − 1)][v 2 − (−v + 4)2 ]
a0 x e−t ∞
= 2 (x + 1) = t
[2 (v − 1)][23 (v − 2)] −1 0
a0 ! ∞ −t
= 4 e
2 × 2(v − 1)(v − 2) − x t x−1 dx
0 −1
a0 ! ∞
Similarly, a6 = 6
2 × 3! (v−1)(v−2)(v−3) = (0 − 0) + x e−t t x−1 dt
0
Hence,
= x(x) from equation (40)
y =w=
This is an important recurrence relation for gamma
x2 x4 functions.
B x −v 1 + 2 + 4
2 (v−1) 2 ×2! (v−1)(v−2) Thus, since (x + 1) = x(x)
x6
+ 6 +··· then similarly, (x + 2) = (x + 1)(x + 1)
2 × 3! (v − 1)(v − 2)(v − 3)
= (x + 1)x(x) (41)
which is valid provided v is not a positive integer
and (x + 3) = (x + 2)(x + 2)
and where B is an arbitrary constant.
The complete solution of Bessel’s equation: = (x + 2)(x + 1)x(x),
and so on.
d2 y dy 2
x2 +x + x − v 2 y = 0 is:
dx 2 dx These relationships involving gamma functions are used
y= u +w = with Bessel functions.
x2 x4
A xv 1 − 2 + 4
2 (v + 1) 2 × 2!(v + 1)(v + 2) Bessel functions
x6 The power series solution of the Bessel equation may be
− 6 +···
2 × 3!(v + 1)(v + 2)(v + 3) written in terms of gamma functions as shown in worked
problem 11 below.
−v x2
+Bx 1+ 2
2 (v − 1) Problem 11. Show that the power series solution
x4 of the Bessel equation of worked problem 10 may
+ 4 be written in terms of the Bessel functions Jv (x)
2 × 2!(v − 1)(v − 2)
and J−v (x) as:
x6
+ +· · · (39)
2 × 3!(v−1)(v−2)(v−3)
6 AJv (x) + BJ −v (x)
x v 1 x2
= − 2
2 (v + 1) 2 (1! )(v + 2)
The gamma function
x4
The solution of the Bessel equation of Problem 10 may + 4 −···
2 (2! )(v + 4)
be expressed in terms of gamma functions. is the
Power series methods of solving ordinary differential equations 509
x −v 1 x2
This is called the Bessel function of the first order kind,
+ − 2 of order v, and is denoted by Jv (x),
(1 − v) 2 (1! )(2 − v)
x v
2
1 x2
x4 i.e. Jv (x) = − 2
+ 4 −··· 2 (v + 1) 2 (1!)(v + 2)
2 (2! )(3 − v)
x4
+ 4 −···
From Problem 10 above, when c = +v, 2 (2!)(v + 3)
−a0
a2 = 2 provided v is not a negative integer.
2 (v + 1)
1 For the second solution, when c = −v, replacing v
If we let a0 =
2v (v + 1) by −v in equation (42) above gives:
then (−1)k
−1 −1 a2k =
a2 = = 22k−v (k! ) (k − v + 1)
22 (v + 1) 2v (v + 1) 2v+2 (v + 1)(v + 1) (−1)0
−1 from which, when k = 0, a0 =
= v+2 from equation (41) 2−v (0! )(1 − v)
2 (v + 2) =
1
since 0! = 1 (see page 495)
2−v (1 − v)
a2
Similarly, a4 = from equation (37) (−1)1
v − (c + 4)2
2
when k = 1, a2 =
22−v (1! )(1 − v + 1)
a2 a2
= = −1
(v − c − 4)(v + c + 4) −4(2v + 4) =
since c = v 22−v (1! )(2 − v)
−a2 −1 −1
= 3 = (−1)2
2 (v + 2) 23 (v + 2) 2v+2 (v + 2) when k = 2, a4 =
24−v (2! )(2 − v + 1)
1 1
= =
2v+4 (2! )(v + 3) 24−v (2! )(3 − v)
since (v + 2)(v + 2) = (v + 3)
(−1)3
−1 when k = 3, a6 =
and a6 = v+6 and so on. 26−v (3! )(3 − v + 1)
2 (3! )(v + 4)
1
The recurrence relation is: = and so on.
26−v (3! )(4 − v)
(−1)r/2
ar = r 1 x2
r Hence, y = Bx −v −
2v+r ! v + +1 2−v (1 − v) 22−v (1! )(2 − v)
2 2
And if we let r = 2k, then x4
+ 4−v −···
2 (2! )(3 − v)
(−1)k
a2k = (42) x −v 1 x2
2v+2k (k!)(v + k + 1) i.e. J−v (x)= − 2
for k = 1, 2, 3, . . . 2 (1 −v) 2 (1!)(2 − v)
Hence, it is possible to write the new form for equation x4
+ 4 −· · ·
(38) as: 2 (2!)(3 −v)
v 1 x2 provided v is not a positive integer.
y = Ax −
2v (v + 1) 2v+2 (1! )(v + 2)
Jv (x) and J−v (x) are two independent solutions of the
x4 Bessel equation; the complete solution is:
+ v+4 −···
2 (2! )(v + 3) y = AJ v (x) + B J −v (x) where A and B are constants
510 Higher Engineering Mathematics
i.e. y = AJ v (x)+ BJ −v (x) From this series two commonly used function are
x v 1 x2 derived,
=A − 2
2 (v + 1) 2 (1!)(v + 2) 1 1 x 2 1 x 4
i.e. J0(x) = − +
(0! ) (1! )2 2 (2! )2 2
x4
+ − ···
24 (2!)(v + 4) 1 x 6
− +···
x −v 1 x2
(3! )2 2
+B − 2
2 (1 −v) 2 (1!)(2 − v) x2 x4 x6
= 1− + − +···
22 (1!)2 24 (2!) 2
26 (3!)2
x4
+ 4 − ···
2 (2!)(3 −v) x 2
x 1 1
and J1(x) = −
2 (1! ) (1! )(2! ) 2
x v ;
∞ (−1)k x 2k
In general terms: Jv (x) = 1 x 4
2 k=0 22k (k! )(v+k+1) + −···
(2! )(3! ) 2
x −v ;∞ (−1)k x 2k
and J−v (x) =
k=0 2 (k! )(k − v + 1) x3 x5
2 2k x
= − 3 + 5
2 2 (1!)(2!) 2 (2!)(3!)
x7
− +···
Another Bessel function 27 (3!)(4!)
It may be shown that another series for Jn(x) is given by: Tables of Bessel functions are available for a range of
values of n and x, and in these, J0 (x) and J1(x) are most
x n 1 1 x 2
Jn (x) = − commonly used.
2 n! (n + 1)! 2
x 4 Graphs of J0 (x), which looks similar to a cosine, and
1 J1 (x), which looks similar to a sine, are shown in
+ − ···
(2! )(n + 2)! 2 Figure 52.1.
1
y ⫽ J0(x)
0.5
y ⫽ J1(x)
0 2 4 6 8 10 12 14 x
⫺0.5
Figure 52.1
Power series methods of solving ordinary differential equations 511
Exercise 197 Further problems on Bessel’s (ii) Differentiating equation (44) gives:
equation and Bessel’s functions
y
= a0 cx c−1 + a1 (c + 1)x c
1. Determine the power series solution of Bes-
d2 y dy + a2 (c + 2)x c+1 + · · ·
sel’s equation: x 2 2 + x + (x 2 −v 2 )y = 0
dx dx
when v = 2,up to and including the term in x 6. + ar (c + r)x c+r−1 + · · ·
2 4
x x
y = Ax 2 1 − + − ··· and y
+ x y
+ x 2 − v 2 y = 0
in terms of the Bessel function J3(x) when
(iii) Substituting y, y
and y
− 2x y
+ k(k + 1)y = 0 gives:
x2
⎢ y = AJ3 (x) = 2 −
4 22 5 ⎥
⎢ ⎥ a0 c(c − 1)x c−2 + a1 c(c + 1)x c−1
⎣ x4 ⎦
+ 5 −···
2 6 + a2 (c + 1)(c + 2)x c + · · ·
3. Evaluate the Bessel functions J0 (x) and J1 (x) + ar (c + r − 1)(c + r)x c+r−2 + · · ·
when x = 1, correct to 3 decimal places.
[J0(x) = 0.765, J1(x) = 0.440] − a0 c(c − 1)x c − a1 c(c + 1)x c+1
Problem 12. Determine the general power series (iv) The indicial equation is obtained by equating the
solution of Legendre’s equation. coefficient of the lowest power of x (i.e. x c−2 ) to
zero. Hence, a0c(c − 1) = 0 from which, c = 0 or
To solve Legendre’s equation c = 1 since a0 = 0.
(1 − x 2 )y
− 2x y
+ k(k + 1)y = 0 using the Frobenius
For the term in x c−1 , i.e. a1 c(c + 1) = 0 With
method:
c = 1, a1 = 0; however, when c = 0, a1 is inde-
(i) Let a trial solution be of the form terminate, since any value of a1 combined with
the zero value of c would make the product zero.
y = x c a0 + a1 x + a2 x 2 + a3 x 3
4 For the term in x c+r ,
+ · · · + ar x r + · · · (43) ar+2 (c + r + 1)(c + r + 2) −ar (c + r − 1)
where a0 = 0, (c + r) − 2ar (c + r) + k 2 ar + kar = 0
512 Higher Engineering Mathematics
− 2x y
+ k(k + 1)y = 0 when
dx
(a) k = 0 (b) k = 2, up to and including the
= 4x 3 − 4x
514 Higher Engineering Mathematics