Professional Documents
Culture Documents
NE
Differential equation and
Special Functions
ide
Sk Jahiruddin
Assistant Professor
gu
Sister Nibedita Govt. College, Kolkata
Author was the topper of IIT Bombay M.Sc Physics 2009-2011 batch
ics
He ranked 007 in IIT JAM 2009 and 008 (JRF) in CSIR NET June
2011
1
©Sk Jahiruddin, 2020 Diff eq and Sp funs
Contents
T
NE
1 Introduction 6
2.2
ide
Separable-variable equations . . . . . . . . . 8
2.9 Exercises . . . . . . . . . . . . . . . . . . . . 22
2.9.2 Solutions . . . . . . . . . . . . . . . . 27
T
NE
3 ODE of second and higher order 47
3.2.1
3.2.2
ide
Euler and Legendre form . . . . . . .
59
gu
3.2.3 Dependent variable y missing. . . . . 61
3.3 Exercises . . . . . . . . . . . . . . . . . . . . 73
Ph
3.3.2 Solutions . . . . . . . . . . . . . . . . 76
T
4.1 Basic Concepts and simple series solution . . 92
NE
4.1.1 Ordinary and regular singular points 92
nomials . . . . . . . . . . . . . . . . 113
T
4.3.2 Solutions . . . . . . . . . . . . . . . . 144
NE
5 More Exercises 168
ide
gu
ics
ys
Ph
1 Introduction
T
NE
Differential equations are the group of equations
that contain derivatives.
3/2
d3 y dy
3
+ x + x2 y = 0
dx dx
ys
T
say the solution y(x) = 0 when x = 1 this allows us to
determine the value of the constant of integration. The
NE
general solutions to n th-order ODEs will contain n essen-
tial arbitrary constants of integration and therefore need n
boundary conditions if these constants are to be determined
dy
= F (x, y), A(x, y)dx + B(x, y)dy = 0
dx
Ph
T
NE
A separable-variable equation is one which may be written
in the conventional form
dy
= f (x)g(y)
dx
Example Solve:
ide
dy
dx
= x + xy
Z Z
dy
Solution: Write the equation as = xdx
gu
1+y
Integrate to find
x2
ics
ln(1 + y) = +c
2
ys
x2 x2
1 + y = exp +c = A exp
2 2
Ph
T
NE
An exact first-degree first-order ODE can be written as
Z
gu
U (x, y) = A(x, y)dx + F (y)
Example : Solve
ics
dy
x + 3x + y = 0
dx
ys
So the solution is
Z
U (x, y) = (3x + y)dx + F (y) = c1
Hence
T
3x2
U (x, y) = + yx + F (y) = c1
NE
2
1 ∂A ∂B
Now for this type of equations if you see that −
Ph
B ∂y ∂x
is a function of x alone, i.e B1 ∂A ∂B
∂y − ∂x = f (x) then there
exist an integrating factor the value of which is µ(x) =
R
exp f (x)dx
1 ∂B ∂A
T
Similarly if you findA −
∂x is a function of y alone,
∂y
i.e g(y) = A1 ∂B ∂A
∂x − ∂y then there exist an integrating fac-
NE
R
tor the value of which is µ(y) = exp g(y)dy .
Example Solve
dy 2 3y
=− −
dx y 2x
ide
Solution Write the equation as 4x + 3y 2 dx + 2xydy = 0
1 ∂A ∂B 2
− = = f (x)
B ∂y ∂x x
Z
dx
µ(x) = exp 2 = exp(2 ln x) = x2
Ph
T
4x3 + 3x2 y 2 dx+2x3 ydy = 4x3 dx+ 3x2 y 2 dx + 2x3 ydy = 0
NE
or d(x4 + y 2 x3 ) = 0 =⇒ x4 + y 2 x3 = c
dy
Example Solve + 2xy = 4x
dx
Ph
T
dy
exp x2 + 2x exp x2 y = 4x exp x2
dx
NE
d(exp x2 y) = 4x exp x2
Z
y exp x2 = 4 x exp x2 dx = 2 exp x2 + c
2.6 ide
Homogenous Equation
dy y y
T
Example: Solve = + tan
dx x x
NE
Solution : Substituite y = vx
dv
So the eq now v + x = v + tan v
dx
Rearrange and integrate
Z Z
dx
cot vdv = ide
x
= ln x + c1
cos v
R R
We know that cot vdv = sin v dv = ln(sin v) + c2
gu
Hence the solution is y = x sin−1 Ax, (A is a con-
stant. )
ics
dy
+ P (x)y = Q(x)y n where n 6= 0, 6= 1
dx
Ph
T
get
dv
NE
+ (1 − n)P (x)v = (1 − n)Q(x)
dx
dy y
Example Solve + = 2x3 y 4
dx x
ide
Solution : Put v = y 1−4 = y −3 We get
dy y 4 dv
=−
dx 3 dx
gu
Substituite and rearrange to get
dv 3v
− = −6x3
ics
dx x
This is linear equation and the integrating factor is
Z
dx 1
ys
exp −3 = exp(−3 ln x) = 3
x x
Ph
The solution is v
x3 = −6x+c. SO we get y −3 = −6x4 +cx3
T
NE
Higher-degree first-order equations can be written as
F (x, y, dy/dx) = 0
Example Solve
x3 + x2 + x + 1 p2 − 3x2 + 2x + 1 yp + 2xy 2 = 0
ys
dy
p=
dx
Solution: This equation can be factorized to be written
Ph
as
x2 + 1 p − 2xy = 0
[(x + 1)p − y]
T
dy
(x + 1) −y =0
dx
NE
dy
x2 + 1 − 2xy = 0
dx
ide
The constants in the two solutions can be taken to be the
same, since only one constant is required for a first-order
equation. So the general solution is
[y − c(x + 1)] y − c x2 + 1 = 0
gu
Example:
ics
dy
Solve: 6y 2 p2 + 3xp − y = 0 ; p=
dx
dy p p p dy dy
Factorize to get
dp
1 + 6yp2 2p + y
=0
dy
jahir@physicsguide.in 17 physicsguide CSIR NET, GATE
©Sk Jahiruddin, 2020 Diff eq and Sp funs
dp
= 0, gives py 2 = c. Now
T
The second factor 2p + y dy
substituite this value to the main differential equation you
NE
get
y 3 = 3cx + 6c2
This is called the general solution. Mind that the general
solution can be obtained by considering the factor which do
contain dp/dy.
ide
Now consider the first factor 1 + 6yp2 = 0. We get
6p2 y = −1
gu
Substituite this to the main differentiual equation to get
8y 3 + 3x2 = 0
the first factor (which did not contain dp/dy) is called sin-
gular solution. The singular solution contains no arbitrary
constants and cannot be found from the general solution by
ys
Example:
Ph
dy
Solve xp2 + 2xp − y = 0 ; p=
dx
Solution : This equation can be solved for y explicitly to
T
to x, we find
NE
dy dp dp
= p = 2xp + p2 + 2x + 2p
dx dx dx
Factorizing we get
ide
(p + 1) p + 2x
dp
dx
=0
dp
First we consider the factor containing dp/dx.( p + 2x dx =
gu
0) This has the solution xp2 = c. Now put this value of
p2 = c/x into the main equation and eleminate p. Thus we
find that the general solution which is (y − c)2 = 4cx.
ics
y = px + F (p)
T
dy dp dF dp
=p=p+x +
NE
dx dx dp dx
Hence
dp dF
+x =0
dx dp
Consider the first the factor containing dp/dx, you get
dp
=
d2 y
dx dx2
ide
=0 ⇒ y = c1 x + c2
y = c1 x + F (c1 )
ics
dF
Now, consider the second factor, dp + x = 0, we get
ys
dF
dp+x = 0. This is used to eliminate p from main differential
equation to give a singular solution.
Ph
Example
Solve y = px + p2
Solution: From the general form of solution of Clariot’s
form y = c1 x + F (c1 ) we get the solution is y = cx + c2 . But
from dF
dp + x = 0 we also have 2p + x = 0. Hence p = −x/2.
T
Substituting this into main equation we find the solution
x2 + 4y = 0.
NE
In this example we will discuss orthogonal trajectories
Find the orthogonal trajectory of the curve y = kxn
ide
Solution: dy/dx = knxn−1 = n(kxn )/x = ny/x. We
need to know that the slope of the orthogonal trajectory
curve to be the negative reciprocal of the slope of the given
gu
function. So for orthogonal trajectory
dy x
=− =⇒ −nydy = xdx
ics
dx ny
Integrate to get the solution which is
x2 + ny 2 = C
ys
Ph
2.9 Exercises
T
2.1. Show that the following equations are exact or can be
NE
made exact, and solve.
(a) y 2x2 y 2 + 1 y 0 + x y 4 + 1 = 0
(b) 2xy 0 + 3x + y = 0;
(c) cos2 x + y sin 2x y 0 + y 2 = 0
a exact differential
ide
2.2. Find the values of α and β that make the following eq
1 α β
dF (x, y) = + dx + xy + 1 dy
x2 + 2 y
gu
For the values of α, β solve F (x, y) = 0
2.3. Find, in the form of an integral, the solution of the
ics
dy
equation α + y = f (t) for a general function f (t). Find
dt
the specific solutions for
ys
2.5.
T
dy x+y
Solve =−
dx 3x + 3y − 4
NE
2.6. Find a parametric solution of the differential equation
bellow by following step by step predure.
2
dy dy
x + −y =0
dx dx
ide
(a) Write an equation for y in terms of p = dy/dx and
show that
dp
p = p2 + (2px + 1)
dx
gu
(b) Using p as the independent variable, arrange this as
a linear first-order equation for x .
(c) Find an appropriate integrating factor to obtain x =
ics
ln p − p + c
which, together with the expression for y ob-
(1 − p)2
tained in (a), gives a parameterisation of the solution.
2.7. Using the substitutions u = x2 and v = y 2 , reduce the
ys
equation
2
Ph
dy dy
xy − x2 + y 2 − 1 + xy = 0
dx dx
T
dy xy
(a) + 2 = x; (b) y 0 − y tan x = 1, y(π/4) = 3
NE
dx a + x 2
(A is a positive constant)
2.10.
ide
dy
Solve (5x + y − 7) = 3(x + y + 1)
gu
dx
2.11.
dy y2
ics
T
2.1.. (a) exact, x2 y 4 + x2 + y 2 = c;
NE
(b) IF = x−1/2 , x1/2 (x + y) = c;
2.3..
ics
t
f (t0 ) et/α 0
Z
−t/α
y(t) = e dt
α
α−β
2.4..
Ph
y + x
B x + (y + x)2 = exp 4 tan−1
2
x
dp
2.6.. (a) p2 + (2xp + 1) dx
T
(b) df = p(1 − p)dx − (2xp + 1)dp = 0
NE
(c) x = (c + ln p − p)(1 − p)−2 and, y = p + p2 x
q
2.7.. v = uq + q−1
a2 +x2 A
2.8.. (a) y = +
(b) y = tan x +
√
3
ide
2 sec x
(a2 +x2 )
1/2
A
√
2.9.. y = cx + and y = 2 Ax
gu
c
5x3/2
ics
2.11.. y = 2+3x5/2
dy −x
2.13.. dx = ln C−e
C−1
Ph
2.9.2 Solutions
T
NE
Solution: 2.1.. In general, given an equation expressed in
the form Adx + Bdy = 0, we consider the function
1 ∂A ∂B
h(x, y) = −
B ∂y ∂x
If this expression is zero, then the equation is exact and
Z
ide
can be integrated as it stands to give a solution of the form
f (x, y) = c. Even if h(x, y) is non-zero,
if it is a function of x
alone then µ(x) = exp g(x)dx provides an integrating
gu
factor (IF) that will make the equation exact.
1 ∂ ∂
xy 4 + x − 2x2 y 3 + y
h(x, y) = 2 3
2x y + y ∂y ∂x
3 3
4xy − 4xy
Ph
= =0
2x2 y 3 + y
T
Z
2x2 y 3 + y dy + g(x)
c = f (x, y) =
NE
1 1
= x2 y 4 + y 2 + g(x), where
2 2
∂f 1
xy 4 + x = = xy 4 + 0 + g 0 (x), ⇒ g(x) = x2 + k
∂x 2
1 2 4
x y + y 2 + x2
⇒ c = f (x, y) =
2
ide
The common factor of 21 on the RHS can, of course, be
absorbed into the constant on the LHS and has no particular
significance.
gu
(b) Following similar procedure
ics
1 ∂ ∂ 1
h(x, y) = (3x + y) − (2x) = −
2x ∂y ∂x 2x
Z
1 1 1
µ(x) = exp − dx = exp − ln x = 1/2
2x 2 x
T
1/2 1/2 −1/2
2x dy + 3x + yx dx = 0
NE
and this can now be integrated:
Z
c = f (x, y) = 2x1/2 dy + g(x)
ide
= 2x1/2 y + g(x), where
∂f
3x1/2 +yx−1/2 = = x−1/2 y+g 0 (x), ⇒ g(x) = 2x3/2 +k
gu
∂x
1/2 3/2
⇒ c = f (x, y) = 2 x y + x
ics
T
1 ∂ ∂
y2 − cos2 x + y sin 2x
h(x, y) =
NE
2
cos x + y sin 2x ∂y ∂x
1
= (2y + sin 2x − 2y cos 2x)
cos2 x + y sin 2x
4y sin2 x + 2 sin x cos x
=
cos2 x + y sin 2x
2 sin x(2y sin x + cos x)
= ide
cos x(cos x + 2y sin x)
= 2 tan x
Z
1
µ(x) = exp 2 tan xdx = exp(−2 ln cos x) =
cos2 x
ys
T
Z
c = f (x, y) = (1 + 2y tan x)dy + g(x)
NE
= y + y 2 tan x + g(x), where
∂f
y 2 sec2 x = = 0 + y 2 sec2 x + g 0 (x), ⇒ g(x) = k
∂x
⇒ c = f (x, y) = y + y 2 tan x
∂
1
ide
Solution: 2.2.. For the differential to be exact we need
α
∂ β
+ = xy + 1
∂y x2 + 2 y ∂x
α
gu
− 2 = yβ
y
y2
x
= − + y + g(x)
y
Ph
Where
1 1 ∂F 1
2
− = = − + g 0 (x)
x +2 y ∂x y
This implies
T
1 x
g(x) = √ tan−1 √ + c00
NE
2 2
ide
x 1
c = F (x, y) = − + y + √ tan−1
y 2
x
√
2
d
t/α
f (t)et/α
ye =
dt αZ
t
−t/α f (t0 ) et/α 0
y(t) = e dt
ys
α
We now apply this general result to the three specific cases.
Ph
T
t 0
et /α 0
Z h i
−t/α −t/α
y(t) = e dt = e e − 1 = 1 − e−t/α
t/α
NE
0 α
t 0
y(t) = e −t/α
Z
ide δ (t0 ) et /α 0
α
dt = e−t/α 1
× =
α
e−t/α
α
e
= e−t/α
αβ (α−1 − β −1 )
0
−t/β −t/α
e e
= −
ys
β−α β−α
e−t/α − e−t/β
=
α−β
Ph
T
same limit the solution y(t) for case (c) tends to that for
case (b), as is to be expected.
NE
Solution: 2.4.. We see that the equation is homoge-
∂y ∂v
neous in x and y and so we set y = vx, with ∂x = v + x ∂x ,
and obtain
∂v
=−
v+x
ide
2 + 3v
∂x v−1
∂v −2 − 3v − v 2 + v v 2 + 2v + 2
x = =−
gu
∂x v−1 v−1
dx (1 − v)dv
= 2
x v + 2v + 2
2 v+1
ics
= −
(v + 1)2 + 1 (v + 1)2 + 1
1
⇒ ln Ax = 2 tan−1 (v + 1) − ln 1 + (v + 1)2
2
ys
−1
2 2
ln Bx 1 + (v + 1) = 4 tan (v + 1)
y + x
B x + (y + x)2 = exp 4 tan−1
2
x
T
equation and its solution then become
NE
dv v
=1−
dx 3v − 4
3v − 4 3 2
dx = dv = + dv
2v − 4 2 2v − 4
3 ide 3
⇒ x + k = v + ln(v − 2) = (x + y) + ln(x + y − 2)
2
1
2
ln(x + y − 2) = k − (x + 3y)
2
gu
Solution: 2.6.. (a) Writing p = dy/dx, the equation
becomes
y = xp2 + p
ics
dy
p= = p2 + 2xpp0 + p0
dx
dp
= p2 + (2xp + 1)
ys
dx
T
1 ∂g ∂f 1 1
− = [−2p − (1 − 2p)] = −
NE
f ∂x ∂p p(1 − p) p(1 − p)
exp
Z
−1
ide
dp = exp
Z
1
− −
1
dp
p(1 − p) p 1−p
1−p
= exp[− ln p + ln(1 − p)] =
gu
p
(2xp + 1)(1 − p)
(1 − p)2 dx − dp = 0
p
dp
d (1 − p)2 x −
+ dp = 0
ys
p
(1 − p)2 x − ln p + p = c
Ph
T
have
NE
du dv dv yp x
= 2x, = 2yp, q= = , p= q
dx dx du x y
Making the substitution gives
x2 2 x
xy q − (u + v − 1) q + xy = 0
y2 y
We now multiply by y
x
ideand substitute again:
uq 2 − (u + v − 1)q + v = 0
v(1 − q) − uq + q + uq 2 = 0
gu
q
v = uq + , Clairaut’s form
q−1
ics
c c
v = cu + or y 2 − cx2 =
c−1 c−1
Ph
T
d q
+u=0
NE
dq q − 1
−1
or +u=0
(q − 1)2
1
or q = 1 ± √
u
ide
Substituting this into thje equation converted in Clariot
form, expressed in terms of x and y then gives
1 ± x1
gu
2 2 1
y =x 1± +
x ± x1
= x2 ± x ± x + 1
ics
= (x ± 1)2
y = ±(x ± 1)
These lines are the four sides of the square that has corners
ys
Solution: 2.8..
Ph
T
Z
x 1
ln a2 + x2
µ(x) = exp dx = exp
a2 + x2
NE
2
1/2
= a2 + x2
a2 + x2
1/2
y=
ide
21 2
a + x2
3/2
+A
32
a2 + x 2 A
⇒ y= +
gu
3 (a2 + x2 )1/2
Z
µ(x) = exp − tan xdx = exp(ln cos x) = cos x
ys
dx
√ √
The given boundary condition is that 3/ 2 = 1/ 2 + A,
√
establishing A as 2 . The final answer is therefore y =
√
tan x + 2 sec x
T
may appear to be homogeneous, but the term A/x rules this
out. since it is non-linear, we set dy/dx = p and rearrange
NE
the equation to make y, which then appears only once, the
subject:
y A
p2 − p + = 0
x x
A
xp − y + = 0
ide
p
y = xp +
A
p
gu
This is now recognised as Clairaut’s equation with F (p) =
A/p. Its general solution is therefore given by y = cx + Ac
for arbitrary c
ics
r
d A A
+ x = 0, ⇒ p =
dp p x
Ph
Hence
√
r
A A
y=x +p = 2 Ax
x A/x
T
xp + A/p
NE
Solution: 2.10.. The equation is not homogeneous and
the two variables x and y appear in different linear com-
binations on the two sides of the equation. We therefore
seek shifts in their origins that will make the expression for
the derivative homogeneous, i.e. remove the constant terms
ide
from both its numerator and denominator. To do this we
set
x = X + α and y = Y + β
gu
We then require
3α + 3β + 3 = 0 and 5α + β − 7 = 0
ics
T
dY dv
=v+X
dX dX
NE
dv dY 3X + 3Y
X = −v = −v
dX dX 5X + Y
3 + 3v − 5v − v 2
=
5+v
dX 5+v A B
= = +
gu
X 3 − 2v − v 2 3+v 1−v
1 3
= +
2(3 + v) 2(1 − v)
1 3
ics
⇒ ln X = ln(3 + v) − ln(1 − v) + k
2 2
1/2 −3/2
y+3 y+3
x−2=A 3+ 1−
x−2 x−2
Ph
(3x + y − 3)1/2 (x − 2)
=A
(x − y − 5)3/2
T
(x − y − 5)3 = B(3x + y − 3)
NE
Solution: 2.11.. After being divided through by x, this
equation is in the form of a Bernoulli equation with n = 2,
i.e. it is of the form
dy
+ P (x)y = Q(x)y n
dx ide
Here, P (x) = x−1 and Q(x) = x−5/2 . So we set v =
y 1−2 = y −1 and obtain
gu
dy d 1 1 dv
= =− 2
dx dx v v dx
ics
dv v 1
− = − 5/2 , for which the IF is 1/x
dx x x
d v
1
= − 7/2
Ph
dx x x
T
v 2 1 3
= + , using y(1) = 1
x 5 x5/2 5
NE
1 2 1 3x
= 3/2
+
y 5x 5
5x3/2
y=
2 + 3x5/2
dx
+ x cot y = 2 cos y
dy
ys
d
(x sin y) = sin 2y
dy
1
x sin y = − cos 2y + k
2
jahir@physicsguide.in 44 physicsguide CSIR NET, GATE
©Sk Jahiruddin, 2020 Diff eq and Sp funs
T
−1 − cos 2y −2 cos2 y
x= = = − cos y cot y
NE
2 sin y 2 sin y
ln(p) − ln(p + 1) = A − x
p
⇒ = Be−x
Ph
p+1
e−x
⇒ p=
C − e−x
T
dy e−x
=
NE
dx C − e−x
y = ln C − e−x + D
C − e−x
= ln
C −1
ide
This is as far as y can be determined since only one
boundary condition is given for a second-order equation.
As C is varied the solution generates a family of curves
gu
satisfying the original equation.
ey = F 1 − e−x + 1, y = ln G − (G − 1)e−x
Ph
y = ln e−K + 1 − e−x + K
T
NE
A linear ODE of general order n has the form
dn y dn−1 y dy
an (x) + a n−1 (x) + · · · + a 1 (x) + a0 (x)y = f (x)
dxn dxn−1 dx
(3.1)
dx dx dx
T
function that satisfies the equation (3.1), provided it is lin-
early independent of yc (x) .
NE
3.1 Linear equations with constant coeffi-
cients
ide
If the am in equation ( 3.1 ) are constants rather than func-
tions of x then we have
dn y dn−1 y
gu
dy
an n + an−1 n−1 + · · · + a1 + a0 y = f (x) (3.2)
dx dx dx
This is called linear equation with constant coefficient and
ics
an λn + an−1 λn−1 + · · · + a1 λ + a0 = 0
Ph
T
yc (x) = c1 eλ1 x + c2 eλ2 x + · · · + cn eλn x
NE
(ii) Some roots complex. If one of the roots of the
auxiliary equation is complex, say α + iβ, then its complex
conjugate α − iβ is also a root. The solution for that par-
ticular two roots
ide
y = Ae(α+iβ)x + Be(α−iβ)x = eαx Aeiβx + Be−iβx
Example: Solve y 00 − 6y 0 + 9y = 0
T
D2 − 6D + 9 y = 0
or (D − 3)(D − 3)y = 0
NE
Since the roots of the auxiliary equation are equal, we
write the result
y = (Ax + B)e3x
ide
Finding PI: There are many methods to find the PI.
Among these the first two methods are useful for some
particular functions in the RHS, not for all. The last three
Ph
T
We are attempting to solve equations like this
NE
dn y dn−1 y dy
an n + an−1 n−1 + · · · + a1 + a0 y = f (x)
dx dx dx
yp (x) = b0 + b1 x + · · · + bN xN
ys
T
(D − a)(D − b)y = F (x) = kecx
NE
Take PI
cx
Ce
if c is not equal to either a or b
Cxecx if c equals a or b, a 6= b (3.3)
Cx2 ecx
if c = a = b
ide
( − 2 To find a particular solution of (D − a)(D −
Case
k sin αx
b)y =
gu
k cos αx
imaginary part.
cx
e Qn (x)
if c is not equal to either a or b
yp = xecx Qn (x) if c equals a or b, a 6= b
x2 ecx Q (x)
if c = a = b
n
(3.4)
T
with undetermined coefficients to be found to satisfy the
given differential equation.
NE
Example: Solve
y 00 + y 0 − 2y = 18xex
ide
Solution: We write the eq as (D − 1)(D + 2)y = 18xex
So we must have
6A = 18, 3B + 2A = 0, or A = 3, B = −2,
T
yp = 3x2 − 2x ex
NE
Example Solve y 00 + y 0 − 2y = x2 − x
Example Solve
gu
d2 y
2
+ 4y = x2 sin 2x
dx
ics
Solution: CF is easy m2 + 4 = 0
should be
T
in sin 2x and cos 2x, both of which already appear in the
complementary function.
NE
We must then multiply the trial function by the smallest
integer power of x which ensures that none of the resulting
terms appears in CF. So the new trial function is
ide
ax3 + bx2 + cx sin 2x + dx3 + ex2 + f x cos 2x
gu
Put the trial function into the diff equation and get
x3 x2 x
yp (x) = − cos 2x + sin 2x + cos 2x
12 16 32
ics
x3 x2 x
= d1 cos 2x + d2 sin 2x − cos 2x + sin 2x + cos 2x
12 16 32
Ph
Example: Solve
y 00 + y 0 − 2y = (D − 1)(D + 2)y
= (ex ) + (4 sin 2x) + (x2 − x)
T
NE
1
(D − 1)(D + 2)y = ex has PI yp1 = xex
3
(D − 1)(D + 2)y = 4 sin 2x
has PI
1 3
yp2 = − cos 2x − sin 2x
5 5
ide
(D − 1)(D + 2)y = x2 − x has PI yp3 = −
1 2
2
x +1
Example: Solve
T
f (D)y = eax =⇒ y = eax /f (a); When f (a) 6= 0
NE
Hence the P.I is the imaginary part of
e−4x+i5x
(x(−4 + 5i))2 + 2(x(−4 + 5i)) + 17
Do some algebra to arrive at the answer.
ide
3.2 Variable coefficients and other forms
gu
3.2.1 Euler and Legendre form
ics
n
nd y dy
an (αx + β) + · · · + a1 (αx + β) + a0 y = f (x) (3.5)
dxn dx
dy dt dy α dy
= =
dx dx dt αx + β dt
jahir@physicsguide.in 57 physicsguide CSIR NET, GATE
©Sk Jahiruddin, 2020 Diff eq and Sp funs
and
T
d2 y α2 d2 y dy
d dy
= = −
dx2 dx dx (αx + β)2 dt2 dt
NE
A special case of Legendre’s linear equation, for which
α = 1 and β = 0, is Euler’s equation,
n
nd y dy
an x + · · · + a1 x + a0 y = f (x) (3.6)
dxn dx
ide
it may be solved in a similar manner to the above by
substituting x = et . And if f (x) = 0 you can substitute
y = xλ which will give you same solution. We will give you
gu
an example now
Example Solve
ics
2
2d y dy
x +x − 4y = 0
dx2 dx
ys
d2 y
d d dy
−1 y+ − 4y = 0 ⇒ − 4y = 0
dt dt dt dt2
jahir@physicsguide.in 58 physicsguide CSIR NET, GATE
©Sk Jahiruddin, 2020 Diff eq and Sp funs
T
y = c1 e2t + c2 e−2t = c1 x2 + c2 x−2
NE
Since f (x) = 0 here, you can substitute y = xλ which
gives
ide
λ(λ − 1)xλ + λxλ − 4xλ = 0 =⇒ λ2 − 4 xλ = 0
T
NE
Z
1
substituite y = u(x)v(x); u(x) = exp − a1 (z)dz
2
Example: Solve
ide
2
2d y dy
+ x2 − 1 y = 0
4x + 4x
gu
dx2 dx
d2 y 1 dy 1 2
+ + x − 1 y=0
dx2 x dx 4x2
ys
We get a1 (x) = 1/x and a0 (x) = x2 − 1 /4x2 and
f (x) = 0. Now substituite
Z
Ph
1 Av
y = vu = v exp − dx = √
2x x
We get
d2 v v
+ =0
dx2 4
jahir@physicsguide.in 60 physicsguide CSIR NET, GATE
©Sk Jahiruddin, 2020 Diff eq and Sp funs
T
1 1
v = c1 sin x + c2 cos x
NE
2 2
So the solution is
v c1 sin 21 x + c2 cos 12 x
y=√ = √
x x
3.2.3
ide
Dependent variable y missing.
gu
Put y 0 = p, y 00 = p0
Then the equation reduces to first order.
ics
Example:
d2 y dy
Solve + 2 = 4x
dx2 dx
ys
T
dy
p= = ae−2x + 2x − 1
NE
dx
y(x) = c1 e−2x + x2 − x + c2
ide
3.2.4 Independent variable x missing.
gu
dp dp dy dp
Put y 0 = p, y 00 = = =p
dx dy dx dy
ics
Example:
2
d2 y
dy
Solve 1+y 2 + =0
dx dx
ys
T
cussed before. Solution is
NE
1 + p2 y 2 = c 1
Simplifying we get
ide
(x + c2 )2 + y 2 = c21
gu
PI.
The CF is
T
yc (x) = c1 y1 (x) + c2 y2 (x) + · · · + cn yn (x)
NE
We transfer the constants to unknown functions and thus
assume PI of this particular form
We choose ide
k10 (x)y1 (x) + k20 (x)y2 (x) + · · · + kn0 (x)yn (x) = 0
k10 (x)y10 (x) + k20 (x)y20 (x) + · · · + kn0 (x)yn0 (x) = 0
gu
And so on ....
(n−2) (n−2) (n−2)
k10 (x)y1 (x) + k20 (x)y2 (x) + · · · + kn0 (x)yn (x) = 0
ics
d2 y dy
2
+ P (x) + Q(x)y = f (x)
dx dx
jahir@physicsguide.in 64 physicsguide CSIR NET, GATE
©Sk Jahiruddin, 2020 Diff eq and Sp funs
T
yc (x) = c1 y1 (x) + c2 y2 (x)
NE
We then take the PI as
dx2
subject to the boundary conditions y(0) = y(π/2) = 0
Ph
We assume the PI
T
k10 (x) sin x + k20 (x) cos x = 0
NE
k10 (x) cos x − k20 (x) sin x = cosecx
Solving these equations for k10 (x) and k20 (x) gives
k1 (x) = ln(sin x)
ics
k2 (x) = −x
find c1 = c2 = 0 and so
T
Example: Given that one solution of the following
differential equation is x
NE
(x3 D2 + xD − 1)y = 0
dv 0
2 1 1
=− + dx, ln v 0 = −2 ln x + + ln K
v0 x x2 x
Ph
T
K 1/x
v0 = e , v = −Ke1/x , y = −Kxe1/x
x2
NE
Thus the general solution of the given equation is y =
Ax + Bxe1/x
. . ... .
(n−1) (n−1) (n−1)
f1 (x) f2 (x) · · · fn (x)
T
It should be noted, that W = 0 does not guarantee that
NE
the functions are linearly dependent. Only if the Wronskian
is zero over the entire range of the variable, then the func-
tions are linearly dependent over this range
W = ex −e−x sinh x = 0
ex e−x cosh x
and third rows are identical. Hence ex , e−x , and cosh x are
T
linearly dependent
NE
Getting a second solution by Wronskian
ide
If y1 and y2 be two independent solutions. Then the
Wronskian is
W = y1 y20 − y10 y2
gu
Take derivative of the Wronskian.
W 0 = y1 y200 − y100 y2
ics
and
y200 + P (x)y20 + Q(x)y2 = 0
Ph
Hence we get
T
W 0 = P (x)W
NE
From here we get
dW
= −P dx
W
we integrate over the variable x, from a to x, to obtain
Z x
ln
W (x)
W (a)
=−ide a
P (x1 ) dx1
Z x
W (x) = W (a) exp − P (x1 ) dx1
a
gu
Now again we see
d y2
W (x) = y1 y20 − y10 y2 = y12
ics
dx y1
Rx
exp − a P (x1 ) dx1
d y2
= W (a)
dx y1 y12
Integrating from x2 = b to x2 = x we get
Ph
x
Rx
exp − a 2 P (x1 ) dx1
Z
y2 (x) = y1 (x)W (a) dx2
b [y1 (x2 )]2
jahir@physicsguide.in 71 physicsguide CSIR NET, GATE
©Sk Jahiruddin, 2020 Diff eq and Sp funs
T
has been dropped, because it is a constant multiple of y1
NE
Now W (a) is a constant and our solutions for the homo-
geneous differential equation always contain an arbitrary
normalizing factor, we set W (a) = 1 and write
x
Rx
exp − 2 P (x1 ) dx1
Z
y2 (x) = y1 (x) ide [y1 (x2 )]2
dx2
3.3 Exercises
T
3.1. The function f (t) satisfies the differential equation
NE
d2 f df
2
+ 8 + 12f = 12e−4t
dt dt
For the following sets of boundary conditions determine
whether it has solutions, and, if so, find them:
ide √
(a) f (0) = 0, f 0 (0) = 0, f (ln 2) = 0
√
(b) f (0) = 0, f 0 (0) = −2, f (ln 2) = 0
3.2.
gu
d3 y dy
Solve 3
− 12 + 16y = 32x − 8
dx dx
3.3.
ics
d 1 dy 1 dy
Solve + (2a coth 2ax) = 2a2
dx y dx y dx
ys
3.4.
2
2d y dy
Solve (x + 1) + 3(x + 1) + y = x2
dx2 dx
Ph
3.5.
d2 y dy 4y
Solve (x − 2) + 3 + =0
dx2 dx x2
T
d2 y ex
(i) − y = xn ; (ii) y 00 − 2y 0 + y =
NE
dx 2 x
3.7.
d3 y d2 y
Solve x 3 + 2 2 = Ax
dx dx
3.8.
Solve
d2 y
dx2
+
ide
4x
dy
dx
+ 4x 2
+ 6
y = e −x2
sin 2x
Solve − 2 + =0
dx dx3 dx2 dx
T
NE
3.1. (a) Inconsistent (b) consistant
1 2 1
3.5. y(x) = (x−2)2 k 3x − 2 + cx2
gu
xm
n!
Pn
3.6. (i) y = 2 m=0 m! [1 + (−1)n+m ]
Ax3
3.7. y = 18 − B ln x + Cx + D
2
A − 41 x cos 2x + B sin 2x e−x
3.8.
ys
3.3.2 Solutions
T
NE
3.1. Three boundary conditions have been given, and, as
this is a second-order linear equation for which only two in-
dependent conditions are needed, they may be inconsistent.
The plan is to solve it using two of the conditions and then
test whether the third one is compatible
ide
The auxiliary equation for obtaining the CF is
gu
m2 + 8m + 12 = 0 ⇒ m = −2 or m = −6
⇒ f (t) = Ae−6t + Be−2t
ics
T
f (0) = 0 ⇒ A + B − 3 = 0
f 0 (0) = 0 ⇒ −6A − 2B + 12 = 0
NE
3 3
⇒A= , B=
2 2
3 −6t 3 −2t
Hence, f (t) = e + e − 3e−4t
2 2
−(ln
√
2)
√
Recalling that e ide = 1/ 2, we evaluate
√ 31 31 1 3
f (ln 2) = + −3 = 6= 0
28 22 4 16
gu
Thus the boundary conditions are inconsistent and there
is no solution.
ics
we proceed as before:
Ph
f (0) = 0 ⇒ A + B − 3 = 0
f 0 (0) = 0 ⇒ −6A − 2B + 12 = −2
⇒ A = 2, B=1
Hence, f (t) = 2e−6t + e−2t − 3e−4t
We again evaluate
T
√ 1 1 1
f (ln 2) = 2 + − 3 = 0
NE
8 2 4
3.2.
ide
(a) As this is a third-order equation, we expect three
terms in the CF
gu
Since it is linear with constant coefficients, we can make
use of the auxiliary equation, which is
ics
m3 − 12m + 16 = 0
By inspection, m = 2 is one root; the other two can be
ys
found by factorisation:
m3 − 12m + 16 = (m − 2) m2 + 2m − 8
Ph
= (m − 2)(m + 4)(m − 2) = 0
T
y(x) = (A + Bx)e2x + Ce−4x
NE
As the RHS contains no exponentials, we try y(x) =
Dx + E for the PI. We then need 16D = 32 and −12D +
16E = −8, giving D = 2 and E = 1.
Z
Ph
T
d 1 dy 1 dy
sinh 2ax + (2a cosh 2ax) = 2a2 sinh 2ax
NE
dx y dx y dx
d 1 dy
sinh 2ax = 2a2 sinh 2ax
dx y dx
sinh 2ax
1 dy
y dx
=
2a
ide
2a2
cosh 2ax + A
1 dy A
⇒ = a coth 2ax +
y dx sinh 2ax
gu
Integrating again
ics
Z
1 A
ln y = ln(sinh 2ax) + dx + B
2 sinh 2ax
1 A
= ln(sinh 2ax) + ln(| tanh ax|) + B
2 2a
ys
T
NE
d
2t −t −t dy dy 2
e e e + 3et e−t + y = et − 1
dt dt dt
d2 y
dy dy 2
et e−t 2 − e−t + 3 + y = et − 1
dt dt dt
2
dy dy t
2
idedt2
+ 2
dt
+ y = e − 1
T
A + B ln(x + 1) (x + 1)2 x + 1
y(x) = + − +1
NE
x+1 9 2
A + B ln(x + 1) x2 5x 11
= + − +
x+1 9 18 18
T
d dy dy
x2 (x − 2) + 4x + 4y = 0
dx dx dx
NE
d dy d(4xy)
x2 (x − 2) + =0
dx dx dx
dy
⇒ x2 (x − 2) + 4xy = k
dx
ide
the IF is (x − 2)/x4 and leads to
d (x − 2)2 k(x − 2)
y =
dx x2 x4
gu
(x − 2)2
1 2
⇒ y =k − 2 + 3 +c
x2 2x 3x
1 k 2k 2
⇒ y= − + + cx
ics
(x − 2)2 2 3x
3.6.
ys
We take the PI
Ph
T
NE
k10 ex + k20 e−x = 0
k10 ex − k20 e−x = xn
xn e−x
k10 =
ide
2 n −x x Z x n−1
x e nx
k1 = − + e−x dx
gu
2 2
−x
e
xn + nxn−1 + n(n − 1)xn−2 + · · · + n!
=−
2
−x n
xm
ics
e X
=− n!
2 m=0
m!
ys
Similarly, k2 is given by
Ph
T
xn ex
k20=−
2 n x x Z
NE
x e nxn−1 x
k2 = − − e dx
2 2
ex n
x − nxn−1 + n(n − 1)xn−2 − · · · + (−1)n n!
=−
2
n
ex n
X (−x)m
= − n!(−1)
2 m=0
ide
m!
n n
n! X xm n! n
X (−x)m
y(x) = − − (−1)
2 m=0 m! 2 m=0
m!
n
n! X xm
1 + (−1)n+m
=−
ys
2 m=0 m!
This n− h order polynomial is added to the CF, y(x) =
Ph
We get
T
k10 (ex ) + k20 (xex ) = 0
ex
NE
0 x 0 x x
k1 (e ) + k2 (e + xe ) =
x
Z
ide
k1 =
Z
Z
k10 dx =
Z
−1dx = −x
1
k2 = k20 dx = dx = ln |x|
x
gu
Substituting these values we obtain
T
d2 p dp
x 2 +2 = Ax
NE
dx dx
d2 p dp
x2 2 + 2x = Ax2 , using the obvious IF,
dx dx
d 2 dp
x = Ax2
dx dx
ide
Successive integrations then give
2 dp Ax3
x = +B
gu
dx 3
dp Ax B
= + 2
dx 3 x
2
Ax B
ics
p= − +C
6 x
3
Ax
y= − B ln x + Cx + D
18
ys
3.8.
T
2
a1 (x) = 4x, a0 (x) = 4x2 + 6, f (x) = e−x sin 2x
NE
Then, with y(x) expressed as y(x) = u(x)v(x), in order
to have an equation with no v 0 term in it, we choose u(x) as
u(x) = exp −
1
2
Z x ide
a1 (z)dz
= exp −
1
2
Z x
4zdz
= e−x
2
1 1
g(x) = a0 (x) − [a1 (x)]2 − a01 (x) = 4x2 + 6 − 4x2 − 2 = 4
ys
4 2
and Z
1
h(x) = f (x) exp a1 (z)dz
Ph
2
Z
2
−x
1
= e sin 2x exp 4zdz
2
2 2
−x
= e sin 2x ex = sin 2x
T
v 00 + 4v = sin 2x
NE
This has CF, A cos 2x + B sin 2x but, because the RHS
is contained in the CF, we need to try as a PI y(x) =
C(x) cos 2x + D(x) sin 2x. Substituting this shows that C
and D must satisfy ide
3.9. Since y does not appear in the equation (the same
is true of x) we set dy/dx = p and reformulate it. The
gu
required derivatives are
d2 y dp dp dy dp
= = = p
ics
dx2 dx dy dx dy
2
d3 y 2
dy d dp dp 2d p
= p =p +p 2
dx3 dx dy dy dy dy
ys
2
2
2
dp
2 3d p 2 dp
0=p + p 2 − 2p + p2
dy dy dy
2
d2 p
dp
0=p 2− +1
dy dy
jahir@physicsguide.in 89 physicsguide CSIR NET, GATE
©Sk Jahiruddin, 2020 Diff eq and Sp funs
T
dp/dy = q with, in the same way as above, d2 p/dy 2 =
qdq/dp.
NE
dq qdq dp
pq − q2 + 1 = 0 =⇒ =
dp q2 − 1 p
1
ln q 2 − 1 = ln p + A
ide =⇒ q 2 − 1 = B 2 p2
2
gu
Now set Bp = sinh θ, with
dp cosh θ dθ
q= =
dy B dy
ics
to obtain 2
cosh2 θ dθ
2
− 1 = sinh2 θ
B dy
2
cosh2 θ dθ
ys
2
= cosh2 θ
B dy
⇒ θ = By + C
Ph
Now
dy
B =Bp = sinh(By + C)
dx
Bdy
dx =
sinh(By + C)
jahir@physicsguide.in 90 physicsguide CSIR NET, GATE
©Sk Jahiruddin, 2020 Diff eq and Sp funs
T
since y(0) = ∞
NE
0 + c = − ln[0 + 1] ⇒ c=0
T
tion
NE
4.1 Basic Concepts and simple series so-
lution
4.1.1 ide
Ordinary and regular singular points
Points x0 for which P (x) and Q(x) are finite are termed
ics
T
than 1/ (x − x0 ) so that (x − x0 )P (x) goes to infinity as
x → x0 , or if Q(x) diverges faster than 1/ (x − x0 )2 so that
NE
(x − x0 )2 Q(x) goes to infinity as x → x0
ide
1 − x2 y 00 − 2xy 0 + `(l + 1)y = 0
By comparing we get
−2x −2x
p(x) = 2
=
1−x (1 + x)(1 − x)
ys
`(` + 1) `(` + 1)
q(x) = =
1 − x2 (1 + x)(1 − x)
Ph
T
(x−1)2 q(x) are analytic and hence x = 1 is a regular singular
point. Similarly, at x = −1 both (x+1)p(x) and (x+1)2 q(x)
NE
are analytic, and it is also a regular singular point.
Put
ide
y(x) =
∞
X
an xn
n=0
gu
Example: Find the series solutions, about x = 0, of
ics
2
y 00 − y=0
(1 − x)2
P∞ n
Now using y(x) = n=0 an x , we get
T
∞
X ∞
X
0 n−1
y = nan x = (n + 1)an+1 xn
NE
n=0 n=0
∞
X ∞
X
00 n−2
y = n(n − 1)an x = (n + 2)(n + 1)an+2 xn
n=0 n=0
This leads to
ics
∞
X ∞
X
n−2
n(n − 1)an x −2 n(n − 1)an xn−1
n=0 n=0
∞ ∞
ys
X X
+ n(n − 1)an xn − 2 an x n = 0
n=0 n=0
Ph
T
∞
X ∞
X
n
(n + 2)(n + 1)an+2 x − 2 (n + 1)nan+1 xn
NE
n=0 n=0
∞
X
n2 − n − 2 an xn = 0
+
n=0
(choosing a0 = 1) we find
T
1
y1 (x) = 1 + x + x2 + x3 + · · · =
NE
1−x
The other solution to the recurrence relation is
a1 = −2a0 , a2 = a0 and an = 0 for n > 2 so that (again
choosing a0 = 1) we obtain a polynomial solution to the
ODE:
ide
y2 (x) = 1 − 2x + x2 = (1 − x)2
The linear independence of y1 and y2 is obvious but can be
checked by computing the Wronskian
gu
1 1
W = y1 y20 −y10 y2 = [−2(1−x)]− 2
(1−x)2 = −3
1−x (1 − x)
ics
therefore
Ph
c1
y(x) = + c2 (1 − x)2
1−x
T
for all finite x.
NE
4.1.3 Series Solution about a regular singular point
Put
ide
y 00 + P (x)y 0 + Q(x)y = 0
∞
X
σ
y=x an xn
gu
n=0
∞
X
σ
y = (x − x0 ) an (x − x0 )n
n=0
ys
∞
X
0
y = (n + σ)an xn+σ−1
n=0
∞
X
y 00 = (n + σ)(n + σ − 1)an xn+σ−2
n=0
So we get
T
∞
X ∞
X
n+σ−2
(n + σ)(n + σ − 1)an x + s(x) (n + σ)an xn+σ−2
NE
n=0 n=0
∞
X
+ t(x) an xn+σ−2 = 0
n=0
T
(i) Distinct roots not differing by an integer
NE
If the roots of the indicial equation, σ1 and σ2 , differ
by an amount that is not an integer then the recurrence
relations corresponding to each root lead to two linearly
independent solutions of the ODE:
ide
(ii) Repeated root of the indicial equation
of
4xy 00 + 2y 0 + y = 0
T
1 0 1
y 00 + y + y=0
2x 4x
NE
So p(x) = 1/(2x) and q(x) = 1/(4x). As x = 0 is a
singular point, but xp(x) = 1/2 and x2 q(x) = x/4 are finite,
then it is a regular singular point. We then put
∞
ide
y=x σ
X
n=0
an xn
and get
∞
gu
∞
X
n+σ−2 1 X
(n + σ)(n + σ − 1)an x + (n + σ)an xn+σ−1
n=0
2x n=0
∞
1 X
an xn+σ = 0
ics
+
4x n=0
Divide by xσ−2 ,
ys
∞
X 1 1
(n + σ)(n + σ − 1) + (n + σ) + x an xn = 0
n=0
2 4
Ph
T
not differ by an integer, we expect to find two independent
solutions to the equation.
NE
The coefficients of xn vanish separately
1 1
(n + σ)(n + σ − 1)an + (n + σ)an + an−1 = 0
ide
2 4
∞
√ X (−1)n n
y1 (x) = x x
(2n + 1)!
Ph
n=0
√ √
√ ( x)3 ( x)5 √
= x− + − · · · = sin x
3! 5!
T
an−1
4n2 − 2n an + an−1 = 0
⇒ an = −
2n(2n − 1)
NE
Setting a0 = 1 now gives an = (−1)n /(2n)!, and so the
second (independent) solution becomes
√ 2 √ 4
y2 (x) =
∞
X (−1)n
n=0
(2n)!
ide
xn = 1 −
( x)
2!
+
( 4)
4!
√
− · · · = cos x
gu
We check that y1 (x) and y2 (x) are linearly independent
by computing the Wronskian:
W = y1 y20 − y2 y10
ics
√ √ √ √
1 1
= sin x − √ sin x − cos x √ cos x
2 x 2 x
1 √ √ 1
= − √ sin2 x + cos2 x = − √ 6= 0
ys
2 x 2 x
√ √
y(x) = c1 sin x + c2 cos x
T
x(x − 1)y 00 + 3xy 0 + y = 0
NE
Solution: Dividing through by x(x−1) to put the equa-
tion into standard form, we obtain
3 1
y 00 + y0 + y=0
(x − 1) x(x − 1)
ide
We see p(x) = 3/(x − 1) and q(x) = 1/[x(x − 1)]. As x = 0
is a singular point but xp(x) = 3x/(x − 1) and x2 q(x) =
x/(x − 1) are finite there, it is a regular singular point
gu
We put
∞
X
σ
y=x an xn
n=0
ics
n=0
x − 1 n=0
∞
1 X
+ an xn+σ = 0
x(x − 1) n=0
Ph
multiply by x − 1 to get
T
∞
X
[(x − 1)(n + σ)(n + σ − 1) + 3x(n + σ) + x]an xn = 0
NE
n=0
rence relation
simplify to get
(n + σ − 1)an = (n + σ)an−1
T
n+1
an = an−1
NE
n
y1 (x) = x
∞
X ide
(n + 1)xn = x 1 + 2x + 3x2 + · · ·
n=0
x
=
(1 − x)2
gu
T
second solution in subsection 3.2.6
NE
One solution we have already derived
x
y1 (x) =
(1 − x)2
So now using
y2 (x) = y1 (x)
ideZ x
Rx
exp − 2 P (x1 ) dx1
[y1 (x2 )]2
dx2
gu
Z x Z x2
(1 − x2 )4
x 3
y2 (x) = exp − dx1 dx2
(1 − x)2 x22 x1 − 1
ics
Z x
x (1 − x2 )4
= exp[−3 ln(x2 − 1)]dx2
(1 − x)2 x22
Z x
x x2 − 1
= dx2
(1 − x)2 x22
ys
x 1
= ln x +
(1 − x)2 x
Ph
T
NE
4.2.1 Legendre equation and Polynomials
ide
x = 0 is an ordinary point. So substitute
∞
X
y= an xn
n=0
gu
You get
∞
X
n(n − 1)an xn−2 − n(n − 1)an xn − 2nan xn + `(` + 1)an xn
ics
n=0
=0
ys
From here
∞
X
{(n + 2)(n + 1)an+2 − [n(n + 1) − `(` + 1)]an } xn = 0
Ph
n=0
T
we obtain the solution
NE
x2 x4
y1 (x) = 1 − `(` + 1) + (` − 2)`(` + 1)(` + 3) − · · ·
2! 4!
T
easily constructed and are given by
NE
P0 (x) = 1, P1 (x) = x
1
P3 (x) = 12 5x3 − 3x
2
P2 (x) = 2 3x − 1 ,
P4 (x) = 81 35x4 − 30x2 + 3 , P5 (x) = 18 63x5 − 70x3 + 15x
ide
gu
ics
ys
Ph
T
1 1+x
Q0 (x) = ln
NE
2 1−x
subsequently
1 1+x
Q1 (x) = x ln −1
2 1−x
ide
You can easily verify these second solutions and get the
second solutions for the higher orders by using Wronskian
method.
gu
Rodrigues’ formula : Legendre Polynomials can be
obtained by a general formula called Rodrigues’ formula
1 dl `
ics
2
P` (x) = ` x − 1
2 `! dx`
Z 1
2
Pl (x)Pm (x)dx = δlm
−1 2l + 1
Ph
Generating function :
∞
2 −1/2
X
Pn (x)hn
G(x, h) = 1 − 2xh + h =
n=0
T
inverse distance between two points in three-dimensional
space in terms of Legendre polynomials. If two points r and
NE
r0 are at distances r and r0 , respectively, from the origin,
with r0 < r, then
1 1
=
|r − r0 | (r2 + r02 − 2rr0 cos θ)1/2
1
= h ide0 0
r 1 − 2 (r /r) cos θ + (r /r)2
i1/2
∞ 0
1 X r0
= P` (cos θ)
r r
gu
`=0
the series would not converge. This result may be used, for
example, to write down the electrostatic potential at a point
r due to a charge q at the point r0 . Thus, in the case r0 < r,
ys
this is given by
∞ `
q X r0
Ph
V (r) = P` (cos θ)
4π0 r r
`=0
T
form V (r) = q/ (4π0 r) .
NE
Recurrence relations : We can prove some relations
0 0
Pn+1 + Pn−1 = Pn + 2xPn0
(n + 1)Pn+1 = (2n + 1)xPn − nPn−1
0
ide
Pn+1
0
Pn−1
= (n + 1)Pn + xPn0
= −nPn + xPn0
1 − x2 Pn0 = n (Pn−1 − xPn )
0 0
gu
(2n + 1)Pn = Pn+1 − Pn−1
m2
2
00 0
1 − x y − 2xy + `(` + 1) − y=0
1 − x2
T
reduces to Legendre’s equation when m = 0. In physics
many times you will come across this equation specially
NE
when solving Schroedinger equation in three dimension.
where
2 m/2 dm P` 2 m/2 dm Q`
P`m (x) Qm
= 1−x , ` (x) = 1−x
ys
dxm dxm
(` − m)! m
P`−m (x) = (−1)m P (x)
(` + m)! `
T
1/2 1/2
P11 (x) = 1 − x2 , P21 (x) = 3x 1 − x2
NE
1/2
P31 (x) = 23 5x2 − 1 1 − x2
P22 (x) = 3 1 − x2 ,
3/2
P32 (x) = 15x 1 − x2 , P33 (x) = 15 1 − x2
Orthogonality:
Z 1
2δ`lk (l + m)!
−1
ide
P`m (x)Pkm (x)dx =
2` + 1 (` − m)!
4π (` + m)!
T
r
1
Y00 = ,
NE
4π
r
3
Y10 = cos θ
r 4π
3
Y1±1 = ∓ sin θ exp(±iφ)
8π
Y20 =
r
r
5
16π
ide 3 cos2 θ − 1
15
Y2±1 = ∓ sin θ cos θ exp(±iφ)
8π
gu
r
15
Y2±2 = sin2 θ exp(±2iφ)
32π
ics
such functions,
∞ X
X l
f (θ, φ) = a`m Y`m (θ, φ)
`=0 m=−`
T
NE
Z 1 Z 2π
a`m = [Y`m (θ, φ)]∗ f (θ, φ)dφd(cos θ)
−1 0
x2 y 00 + xy 0 + x2 − v 2 y = 0
Ph
T
Legendre’s equation but when cylindrical polar coordinates
are used.
NE
Solution of Bessel equation: This is important. I
request to do this by hand.
You get
∞
X
0
y = (n + σ)an xn+σ−1
n=0
ys
X∞
y 00 = (n + σ)(n + σ − 1)an xn+σ−2
n=0
Ph
T
∞
X ∞
X
2 2 n
an xn+2 = 0
(σ + n) − v an x +
NE
n=0 n=0
(σ + 1)2 − v 2 a1 = 0
(σ + n)2 − v 2 an + an−2 = 0
for n ≥ 2
ics
(1 ± 2v)a1 = 0
n(n ± 2v)an + an−2 = 0 for n ≥ 2
Ph
T
(i) v is not an integer
NE
We need to set
1
an = − an−2
n(n ± 2v)
=0
ide
It is a general convention (have physical insight which
you will learn while doinf advanced electrostatics problems)
gu
to set
1
a0 = ±v
2 Γ(1 ± v)
Then we write the solution as
ics
1
Jv (x) =
Γ(v + 1)
x v 1 x 2 1 1 x 4
ys
1− + − ···
2 v+1 2 (v + 1)(v + 2) 2! 2
∞
X (−1)n x v+2n
=
Ph
n=0
n!Γ(v + n + 1) 2
(4.1)
The functions Jv (x) and J−v (x) are called Bessel func-
T
tions of the first kind, of order v .
NE
You must know that Bessel functions of half-integer or-
der are expressible in closed form in terms of trigonometric
functions.
1
√
Using the fact that Γ(x + 1) = xΓ(x) and Γ = π, we
ics
2
find that, for v = 1/2
ys
Ph
T
1
1/2 1
5/2 1
9/2
2 x x x
J1/2 (x) = − 2 5 + 2 7 − · · ·
NE
3
Γ 2 1!Γ 2 2!Γ 2
1
1/2 1
5/2 1
9/2
2x 2x x
= 1 √ − 3 1 √ +
5
2 3 1 √ − ···
2 π 1! 2 2 π 2! 2 2 2 π
1
1/2
2 4
2x x x
= 1 √ 1− + − ···
3! 5!
=
2
1
2
1
x
1/2
√
π
sin x
ide
=
r
2
sin x
2 π x πx
gu
For v = −1/2 we get
1
−1/2 1
3/2 1
7/2
2 x 2 x 2 x
ics
1
−1/2 r
x2 x4
2 x 2
= √ 1− + − ··· = cos x
π 2! 4! πx
ys
(ii) v is an integer
Ph
T
∞
X (−1)n x2n
J0 (x) =
NE
n=0
22n n!Γ(1 + n)
x2 x4 x6
= 1 − 2 + 2 2 − 2 2 2 + ···
2 24 246
T
(n(n ± 2v)an + an−2 = 0 for n ≥ 2) becomes
NE
n(n − m)an + an−2 = 0 for n ≥ 2
So, Jv (x) and J−v (x) are linearly dependent. In this case,
ics
T
it is just the weighted sum of Bessel functions of the first
kind.
NE
It can be shown that the Wronskian of Jv (x) and Yv (x)
is non-zero for all values of v. Hence Jv (x) and Yv (x) always
constitute a pair of independent solutions.
ide
Example: If n is an integer, show that
sin n + 12 π
1 1
If n is an integer, cos n + 2 π = 0 and sin n + 2 π=
ys
(−1)n
T
. Therefore, for integer v, we set
NE
Jµ (x) cos µπ − J−µ (x)
Yv (x) = lim
µ→v sin µπ
T
NE
ide
gu
ics
Hv(1) (x) = Jv (x) + iYv (x), Hv(2) (x) = Jv (x) − iYv (x)
Ph
Orthogonality:
T
Z b
xJv (αx)Jv (βx)dx = 0 for α 6= β
NE
a
(i)
ide
d v
dx
[x Jv (x)] = xv Jv−1 (x)
d −v
x Jv (x) = −x−v Jv+1 (x)
(ii)
dx
gu
(iii) xJv0 (x) + vJv (x) = xJv−1 (x)
(iv) xJv0 (x) − vJv (x) = −xJv+1 (x)
(v) Jv−1 (x) − Jv+1 (x) = 2Jv0 (x)
ics
2v
(vi) Jv−1 (x) + Jv+1 (x) = Jv (x)
x
Relation (i) and (ii) can also be written as integral form
ys
R v
x J (x)dx = xv Jv (x)
R −v v−1
x Jv+1 (x)dx = −x−v Jv (x)
Ph
T
∞
d v d X (−1)n x2v+2n
[x Jv (x)] =
NE
dx dx n=0 2v+2n n!Γ(v + n + 1)
∞
X (−1)n x2v+2n−1
=
n=0
2v+2n−1 n!Γ(v + n)
∞
v
X (−1)n x(v−1)+2n
=x
2(v−1)+2n n!Γ((v − 1) + n + 1)
ide n=0
= xv Jv−1 (x)
and J−1/2 (x) = (2/πx)1/2 cos x,. Now express J3/2 (x) and
J−3/2 (x) in trigonometric functions.
T
1 0
J3/2 (x) = J1/2 (x) − J1/2 (x)
2x
NE
1/2 1/2 1/2
1 2 2 1 2
= sin x − cos x + sin x
2x πx πx 2x πx
1/2
2 1
= sin x − cos x
πx x
1/2
2 1
= − cos x − sin x
πx x
ys
Yv (x).
T
polynomials
NE
∞
x 1 X
G(x, h) = exp h− = Jn (x)hn (4.3)
2 h n=−∞
1 π
Z
ide
written as integral for n an integer.
2π 0 2π 0
When solving Helmholtz’ equation ∇2 + k 2 u = 0 in spher-
ical polar coordinates, the radial part R(r) of the solution
Ph
T
very much like Bessel’s equation and can be reduced to it
by writing R(r) = r−1/2 S(r), (Do this !) in which case S(r)
NE
then satisfies
" 2 #
1
r2 S 00 + rS 0 + k 2 r2 − ` + S=0
2
ide
Doing change of variable x = kr and letting y(x) = S(kr),
we obtain
" 2 #
1
gu
x2 y 00 + xy 0 + x2 − ` + y=0
2
The functions x−1/2 J`+1/2 (x) and x−1/2 Y`+1/2 (x), after
normalization, are called spherical Bessel functions of the
T
lows: r
π
NE
j` (x) = J`+1/2 (x)
2x
r
π
n` (x) = Y`+1/2 (x)
2x
For ` = 0
j0 (x) =
ide
sin x
n0 (x) = −
cos x
x x
gu
Recurrence relations: the ` th spherical Bessel func-
tion is given by
0
1 d
ics
` 0
f` (x) = (−1) x f0 (x)
x dx
T
NE
Hermite equation is
y 00 − 2xy 0 + 2vy = 0
dn −x2
n x2
Hn (x) = (−1) e e
dxn
jahir@physicsguide.in 134 physicsguide CSIR NET, GATE
©Sk Jahiruddin, 2020 Diff eq and Sp funs
Orthogonality:
T
Z ∞
2 √
Hm (x)Hn (x)e−x dx = δmn 2n n! π
NE
−∞
Generating function:
∞
2hx−h2
X Hn (x)
G(x, h) = e = hn
n!
ide n=0
Recurrence relations:
4.3 Exercises
T
4.1. Find a series solution of Hermite equation about x = 0
NE
y 00 − 2xy 0 + 2vy = 0
xy 00 + (1 − x)y 0 + vy = 0
gu
choose a0 = 1
4.3. Find power solutions in z of the differential equation
ics
about z = 0
zy 00 − 2y 0 + 9z 5 y = 0
ys
Identify closed forms for the two series, calculate their Wron-
skian, and verify that they are linearly independent. Com-
pare the Wronskian with that calculated from the differen-
Ph
tial equation.
4.4. Investigate solutions of Legendre’s equation at one of
its singular points as follows.
T
endre’s equation and that the indicial equation for a series
solution in powers of (z − 1) has a double root σ = 0 .
NE
(b) Obtain the corresponding recurrence relation and show
that a polynomial solution is obtained if ` is a positive in-
teger.
(c) Determine the radius of convergence R of the σ = 0
series and relate it to the positions of the singularities of
Legendre’s equation.
ide
4.5. (a) Find series solutions of the equation y 00 −2zy 0 −2y =
0. Identify one of the series as y1 (z) = exp z 2 and verify this
gu
by direct substitution.
(b) By setting y2 (z) = u(z)y1 (z) and solving the resulting
equation for u(z), find an explicit form for y2 (z) and deduce
ics
that Z x ∞
−v 2 −x2
X n!
e dv = e (2x)2n+1
0 n=0
2(2n + 1)!
ys
following cases:
Ph
a = 5, b = 6; (b) a = 5, b = 7
Show that if a and b are real and 4b > a2 then the radius
of convergence is always given by b1/2 .
T
comes a regular singular point if the independent variable
is changed from z to x = 1/z . Hence find a series solution
NE
of the form y1 (z) = ∞ −n
P
0 an z .By setting y2 (z) = u(z)y1 (z)
and expanding the resulting expression for du/dz in powers
of z −1 , show that y2 (z) is a second solution with asymptotic
form
1 ln z
y2 (z) = c z + ln z − + O
ide 2 z
where c is an arbitrary constant
4.8. Use the explicit expressions of Spherical Harmonics as
gu
given inside the notes to verify for ` = 0, 1, 2 that
`
X 2` + 1
|Y`m (θ, φ)|2 =
4π
ics
m=−`
f (θ, φ) = sin θ sin2 (θ/2) cos φ + i cos2 (θ/2) sin φ +sin2 (θ/2)
T
mials Pn (x) to show that
NE
Z 1
(2n)!
P2n+1 (x)dx = (−1)n 2n+1
0 2 n!(n + 1)!
and except n = 0
Z 1
P2n (x)dx = 0
0ide
4.11. Do step by step to prove the result
Z 1
2
In = Pn (z)Pn (z)dz =
gu
−1 2n + 1
∞
2 −1/2
X
Pn (z)hn
1 − 2zh + h =
n=0
ys
T
tion,
d2 y
NE
+ λxy = 0
dx2
to Bessel’s equation. Hence show that a√ solution
that is
finite at x = 0 is a multiple of x1/2 J1/3 23 λx3
4.13. The hypergeometric equation is
ide
x(1 − x)y 00 + [c − (a + b + 1)x]y 0 − aby = 0
ab x a(a + 1)b(b + 1) x2
gu
F (a, b, c; x) = 1 + + + ···
c 1! c(c + 1) 2!
∞
Γ(c) X Γ(a + n)Γ(b + n) xn
=
Γ(a)Γ(b) Γ(c + n) n!
ics
n=0
(d) F 21 , 12 , 32 ; x2
T
d2 y
1 2
− x +a y =0
NE
dx2 4
ide
gu
ics
ys
Ph
T
P[n/2] m n! n−2m
NE
4.1. m=0 (−1) m!(n−2m)! (2x) ([n/2] denotes the inte-
ger part of n/2)
Pn m n! m
4.2. m=0 (−1) (m!)2 (n−m)! x
√
4.6. (a) R = 2 (b) R = 7
ics
P∞ (−1)n
4.7. y1 (z) = a0 n=0 (n+1)(n!)2 z n
√ 0 q 1 0 q 2 1 q 2 −1
4.9. π Y0 − 3 Y1 − 3 Y1 − 15 Y2
Ph
T
x
x−1 sin−1 x
NE
4.14. (i) Yes (i) No (iii) No (iv) Yes
ide
gu
ics
ys
Ph
4.3.2 Solutions
T
NE
Solution: 4.1. Since x = 0 is an ordinary point of the
equation, put
∞
X
y(x) = am x m
m=0
substituting you get
∞
X
m=0
ide
[(m + 1)(m + 2)am+2 + 2(v − m)am ] xm = 0
T
Hn (x) = (2x)n − n(n − 1)(2x)n−1
NE
n(n − 1)(n − 2)(n − 3)
+ (2x)n−4 − · · ·
2!
[n/2]
X n!
= (−1)m (2x)n−2m
m=0
m!(n − 2m)!
ide
where Hn (x) is called the nth Hermite polynomial and the
notation [n/2] denotes the integer part of n/2. We should
note that Hn (−x) = (−1)n Hn (x) .
gu
Solution: 4.2. Since the point x = 0 is a regular sin-
gularity, put
X∞
y(x) = am xm+σ
ics
m=0
Substitute this into the equation and divide through by
xσ−1 , we get
ys
∞
X
[(m + σ)(m + σ − 1) + (1 − x)(m + σ) + vx]am xm = 0
m=0
Ph
T
Substituting σ = 0 into above equation and demanding that
the coefficient of xm+1 vanishes, we obtain the recurrence
NE
relation
m−v
am+1 = am
(m + 1)2
Ln (x)
(−1)n n n2 n−1 n2 (n − 1)2 n−2
= x − x + x − · · · + (−1)n n!
n! 1! 2!
ys
n
X
=
m=0
Ph
T
form shows that z = 0 is a singular point of the equation
but, as −2z/z and 9z 7 /z are finite as z → 0, it is a regular
NE
singular point. We therefore substitute a Frobenius type
solution,
∞
X
σ
y(z) = z an z n with a0 6= 0
n=0
We get
∞
X
ide
(n + σ)(n + σ − 1)an z n+σ−1
−2
∞
X
(n + σ)an z n+σ−1
n=0 n=0
∞
gu
X
+9 an z n+σ+5 = 0
n=0
ics
(a) σ = 3
T
σ = 3) gives
NE
(m + 3)(m + 2)am − 2(m + 3)am + 9am−6 = 0
∞
X (−1)n 3(2n+1)
= a0 z = a0 sin z 3
n=0
(2n + 1)!
ys
(b) σ = 0
σ = 0) gives
T
9am−6
am = −
NE
m(m − 3)
9 a6p−6 (−1)p a0
⇒ a6p =− a6p−6 = − =
6p(6p − 3) 2p(2p − 1) (2p)!
So the solution
∞
(−1)n
y2 (x) = a0ideX
n=0
(2n)!
z 6n = a0 cos z 3
= −3a0 b0 z 2 6= 0
T
two solutions are linearly independent.
NE
We can also calculate the Wronskian from the original
equation in its standard form,
2
y 00 − y 0 + 9z 4 y = 0
z
as
Z
W = C exp −
ide
z
−2
du = C exp(2 ln z) = Cz 2
u
gu
This is in agreement with the Wronskian calculated from
the solutions, as it must be.
tion is
2z 0 `(` + 1)
y 00 − y + y=0
1 − z2 1 − z2
ys
T
2(u + 1) 0 `(` + 1)
f 00 − f + y=0
NE
−u(u + 2) −u(u + 2)
or
−u(u + 2)f 00 − 2(u + 1)f 0 + `(` + 1)f = 0
The point u = 0 is a regular singular point of this equation
and so we set f (u) = uσ ∞ n
P
n=0 an u and obtain
∞
ide
X
−u(u + 2) (σ + n)(σ + n − 1)an uσ+n−2
gu
n=0
∞
X ∞
X
σ+n−1
−2(u + 1) (σ + n)an u + `(` + 1) an uσ+n = 0
n=0 n=0
ics
simplifying
T
2(m + 1)(m + 1)am+1 = `(` + 1) − m2 + m − 2m am
NE
`(` + 1) − m(m + 1)
⇒ am+1 = am
2(m + 1)2
From this it is clear that, if ` is a positive integer, then
a`+1 and all further an are zero and that the solution is a
polynomial (of degree `) .
ide
(c) The limit of the ratio of successive terms in the series
is given by
gu
an+1 un+1 u[`(` + 1) − m(m + 1)] |u|
= → as m → ∞
an un 2(m + 1)2 2
P∞ n
Substituting y(z) = n=0 an z gives
T
∞
X ∞
X ∞
X
n−2 n
n(n − 1)an z −2 nan z − 2 an z n = 0
NE
n=0 n=0 n=0
2z 3 22 z 5 2n 2n n!z 2n+1
y2 (z) = z + + + ··· + + ···
3 (3)(5) (2n + 1)!
∞
X n!(2z)2n+1
=
n=0
2(2n + 1)!
T
the original equation. As they must, the terms in which u
is undifferentiated cancel and leave
NE
u00 exp z 2 + 2u0 2z exp z 2 − 2zu0 exp z 2 = 0
we get
u00
ide Z x
0 −z 2 2
= −2z ⇒ u = Ae ⇒ u(x) = A e−v dv
u0
gu
Hence, setting the two derived forms for a second solu-
tion equal to each other, we have
ics
∞ x
n!(2x)2n+1
Z
x2 2
X
= y2 (x) = y1 (x)u(x) = e A e−v dv
ys
n=0
2(2n + 1)!
Ph
T
x ∞
n!(2x)2n+1
Z
−v 2 −x2
X
e dv = e
0 2(2n + 1)!
NE
n=0
√
⇒ R= b
If a2 > 4b the roots are real and the smaller of their two
magnitudes gives the value of R. In case (a) the roots are
Ph
1
√
2 (−5 ± 25 − 24) = −2 or −3, implying that R = 2
T
y(z) = Y (ξ), with
NE
dξ 1 d d
= − 2 = −ξ 2 ⇒ = −ξ 2
dz z dz dξ
then
d 2 2 dY
−ξ −ξ + ξ 3Y = 0
dξ dξ
2
2d Y dY
ξ ide
dξ 2
+ 2ξ
2
dξ
+ ξY = 0
1
Y 00 + Y 0 + Y = 0
ξ ξ
By inspection, ξ = 0 is a regular singular point of this equa-
gu
tion, and its indicial equation is
σ(σ − 1) + 2σ = 0 ⇒ σ = 0, −1
ics
∞
X ∞
X ∞
X
n−1 n−1
n(n − 1)an ξ +2 nan ξ + an ξ n = 0
n=0 n=0 n=0
Ph
T
∞
X (−1)n
y1 (z) = a0
NE
n=0
(n + 1)(n!)2 z n
Hence
f 00 2y10
=−
gu
f0 y1
This equation, although it contains a second derivative, is in
fact only a first-order equation (for f 0 ). It can be integrated
ics
directly to give
ln f 0 = −2 ln y1 + c
This equation can be written as
ys
−2
df A A 1 1
= 2 = 1− + − ···
dz y1 (z) a20 2 × 12 z 3 × 22 z 2
Ph
A 1 1
= 2 1+ +O 2
a0 z z
where A = ec
T
A 1
f (z) = 2 z + ln z + O
NE
a0 z
this implies
A 1 1 1
y2 (z) = 2 z + ln z + O a0 1 − + − ···
a0 z 2z 12z 2
1
= c z + ln z − + O
2
ide
ln z
z
0
X 1
S0 = |Y0m (θ, φ)|2 =
m=0
4π
Ph
1
X 3 3 3
S1 = |Y1m (θ, φ)|2 = cos2 θ + 2 sin2 θ =
m=−1
4π 8π 4π
T
2
X
S2 = |Y2m (θ, φ)|2
NE
m=−2
5 2 15 15
= 3 cos2 θ − 1 + 2 sin2 θ cos2 θ + 2 sin4 θ
16π 8π 32π
5
9 cos4 θ − 6 cos2 θ + 1 + 12 sin2 θ cos2 θ + 3 sin4 θ
=
16π
=
5
16π
2
ide
6 cos4 θ − 6 cos2 θ + 1 + 6 sin2 θ cos2 θ
2
2 i
+3 cos θ + sin θ
5
gu
6 cos2 θ − sin2 θ + 1 + 6 sin2 θ cos2 θ + 3
=
16π
5
=
4π
ics
T
express the given function in these terms.
NE
θ θ θ
f (θ, φ) = sin θ sin2 cos φ + i cos2 sin φ + sin2
2 2 2
1 i 1
= sin θ (1 − cos θ) cos φ + (1 + cos θ) sin φ + (1 − cos θ)
2 2 2
1 1
= (1 − cos θ) + (1 − cos θ) sin θ eiφ + e−iφ
2
1
4ide
+ (1 + cos θ) sin θ eiφ − e−iφ
4
gu
1 1 1 1
f (θ, φ) = − cos θ + sin θeiφ − cos θ sin θe−iφ
2 2 2 2
1√
r r r
1 4π 1 8π 1 8π −1
4πY00 − Y10 − Y11 −
ics
= Y
2 2 3 2 3 2 !15 2
r r r
√ 1 0 2 1 2 −1
= π Y00 − Y1 − Y1 − Y
3 3 15 2
ys
R1
Solution: 4.10. Denote 0 Pn (x)dx by an . From the
Ph
T
Z 1 ∞ Z 1
dx X
= Pn (x)dx hn
NE
0 (1 − 2xh + h2 )1/2 n=0 0
" 1/2 #1 ∞
− 1 − 2xh + h2 X
= an hn
h n=0
0
∞
1 h
2 1/2
i X
an hn
1+h −1+h =
h
1/2
ide n=0
=1+
m=1
1/2
Cm can be written as
T
1 1 1 1
1/2 2 2 −1
− 2 ·2· · 2 − m + 1
Cm =
NE
m!
1(1 − 2)(1 − 4) · · · (1 − 2m + 2)
=
2m m!
(1)(1)(3) · · · (2m − 3)
= (−1)m−1
2m m!
(2m − 2)!
= (−1)m−1 2m−1
ide
2
= (−1)m−1 2m−1
m!(m − 1)!
(2m − 2)!
2 m!(m − 1)!
gu
Thus, setting m = r + 1 gives the value of the integral
a2r+1 as
ics
(2r)!
a2r+1 =1/2 Cr+1 = (−1)r
22r+1 (r + 1)!r!
ys
−1
T
∞
2 −1/2
X
Pn (z)hn
1 − 2zh + h =
NE
n=0
∞ X∞
1 X
= Pn (z)Pm (z)hm+n
1 − 2zh + h2 n=0 m=0
Z 1 ∞ X ∞ Z ∞
dz X
2
= Pn (z)Pm (z)dzhm+n
−1 1 − 2zh + h
−
1
2h
1
ln 1 − 2zh + h2 −1 =
ide n=0 m=0
X∞ X ∞
−1
Im δmn hm+n
n=0 m=0
1 1+h
= ln
h 1−h
∞ ∞
!
n n+1 n+1
1 X (−1) h X (−1)h
= −
ys
h n=0 n + 1 n=0
n+1
∞
X 2hn
=
n+1
Ph
n even
T
f f f0
y0 = + x 1/2 0
f and y 00
= − + + x1/2 f 00
NE
2x 1/2 4x3/2 x 1/2
f f0
− 3/2 + 1/2 + x1/2 f 00 + λx3/2 f = 0
4x x
2 00
ide
0
x f + xf + λx − 3 1
4
f =0
du 3 1/2 d 3 d
= x ⇒ = u1/3
dx 2 dx 2 du
ys
Which gives
Ph
T
3 d 3 dg 3 dg 1
u4/3 u1/3 u1/3 + u2/3 u1/3 + λu2 − g =0
2 du 2 du 2 du 4
NE
2
3 5/3 3 1/3 d g 1 −2/3 dg 3 dg 1
u u + u + u + λu2 − g =0
2 2 du2 2 du 2 du 4
9 2 d2 g 9 dg
1
u 2
+ u + λu2 − g =0
4 du 4 du 4
2
d g dg 4 2 1
ide
u2 2 + u +
du du 9
λu −
9
g =0
9
This is Bessel’s equation and has a general solution
h(v) = c1 J1/3 (v) + c2 J−1/3 (v)
√ ! √ !
ys
2 λ 2 λ
⇒ g(u) = c1 J1/3 u + c2 J−1/3 u
3 3
√ √
Ph
! !
2 λ 3/2 2 λ 3/2
⇒f (x) = c1 J1/3 x + c2 J−1/3 x
3 3
For a solution that is finite at x = 0, only the Bessel function
with a positive subscript can be accepted. Therefore the
required solution is
T
√ !
2 λ 3/2
y(x) = c1 x1/2 J1/3
NE
x
3
Solution: 4.13.
(n!)(n!) (−1)n xn
(−x)n =
(n + 1)!(n!) n+1
ys
X
=1− + − + · · · = ln(1 + x)
n=0
n+1 2 3 4 x
1 3 2
(c) F 2 , 1, 2 ; −x . Directly from the series:
T
1
1 3 (1)
, 1, ; −x2 = 1 + 2 3 −x2
F
NE
2 2 1! 2
1 3
2 2 (1)(2) 2 2
+ −x + ···
2! 32 52
x2 x4 x6
=1− + − + ···
3 5 7
ide
The coefficients are those of tan−1 x, though the powers of x
are all too small by one. Thus F 21 , 1, 32 ; −x2 = x−1 tan−1 x
1 1 3 2
(d) F 2, 2, 2; x . Again, directly from the series:
gu
1 2 1 2 3 2
1 1 3 2 2
2
2 2 2
x2
F , , ;x =1+ x + + ···
2 2 2 1! 32 2! 32 25
ics
1 3 15 6
= 1 + x2 + 5x4 + x + ···
6 40 336
From the larger standard tables of Maclaurin series it can
ys
T
0, i.e is unaltered. Thus y(a, −x) is also a solution.
NE
(ii) The equation becomes y 00 − 41 x2 − a y = 0, i.e is a
5 More Exercises
ics
5.2. For the curve xey + yex = 0 find the equation of the
tangent line at the origin.
Ph
and the equation of the tangent line at the point (1, 2).
T
5.5. Evaluate
d10
NE
(xex )
dx10
5.6. If w = x + y with x3 + xy + y 3 = s and x2 y + xy 2 = t,
find ∂w/∂s, ∂w/∂t
ide
5.7. Express each of the following polynomials as linear
combinations of Legendre polynomials.
(a) 3x2 + x − 1
(b) x5
gu
∂ 2u 1 ∂ 2u
5.8. If u = f (x − ct) + g(x + ct), show that = 2 2
∂x2 c ∂t
5.9. Find the shortest distance from the origin to the sur-
ics
face z = xy + 5.
on (−1, 1)
5.11. An aquarium with rectangular sides and bottom (and
Ph
T
dy 3y
= 2/3
NE
dx 3y − x
ide
5.1 Ans Keys
gu
5.1. x − 7y + 13 = 0 8 4 3
(b) P5 + P3 + P1
63 9 7
5.2. x + y = 0
5.8.
ics
5.3. 1, 0
5.9. 3
5.4. 2x + 11y − 24 = 0
5.10.
5.5. xex + 10ex
ys
5.11. l = w = 2h
5.6. ∂w/∂s = w/ 3w3 − xy ,
2/3 −1/3
∂w/∂t = (3w−1)/ 3w3 − xy 5.12. x = y + Cy
Ph