Professional Documents
Culture Documents
3.1 Introduction
Almost all the elementary and numerous advanced parts of theoretical physics
are formulated in terms of differential equations (DE).
Newtons Laws
Maxwell equations
Schrodinger and Dirac equations etc.
Since the dynamics of many physical systems involve just two derivatives,
DE of second order occur most frequently in physics. e.g.,
acceleration in classical mechanics
d 2x
F ma m 2
dt
Examples of PDEs
1. Laplace's eq.: 2 0
This very common and important eq. occurs in studies of
a. electromagnetic phenomena, b. hydrodynamics,
c. heat flow,
d. gravitation.
2. Poisson's eq., 2 / 0
In contrast to the homogeneous Laplace eq., Poisson's eq. is
homogeneous with a source term / 0
non-
a 2 t
2
1 2
2 2 2
c t
V i
2m
t
2
and
2m
V E
C ( )
0
t
t
Perhaps the best known nonlinear eq. of second is the Korteweg-deVries (KdV) eq.
3 0
t
x
x
(3.1)
The eq. is clearly a first-order ODE. It may or may not be linear, although we shall
treat the linear case explicitly later.
Separable variables
or
P(x)dx + Q(y) dy = 0
Integrating from (x0, y0) to (x, y) yields,
x0
P( x)dx Q( y)dy 0
y0
Since the lower limits x0 and y0 contribute constants, we may ignore the lower
limits of integration and simply add a constant of integration.
Example Boyle's Law
In differential form Boyle's gas law is
V-volume, P - Pressure.
or
ln V + ln P = C.
If we set C = ln k, PV = k.
dV
V
dP
P
dj
j
j
dx
dy
x
y
Q
(
x
,
y
)
dy
dx
dy
We have
x
y
j
j
and
P( x, y ),
Q ( x, y )
x
y
The necessary and sufficient for our eq. to be exact is that the second, mixed
partial derivatives of j (
assumed continuous) are independent of the
order of differential:
2j
P( x, y) Q( x, y) 2j
yx
xy
There always exists at least one integrating facts, (x,y), such that
(3.2)
d
( x) y ( x)q( x).
dx
(3.3)
(3.4)
( x)
dy d
y ( x)q( x).
dx dx
d ( x)
( x) p( x).
dx
9
( x) exp p( x)dx
(3.5)
( x) y( x) ( x)q( x)dx C.
The constants from a constant lower limit of integration are lumped into the
constant C. Dividing by (x) , we obtain
y( x) ( x)
(x)q(x)dx C.
x
10
(3.6)
x
x
s
11
V
Example
RL Circuit
For a resistance-inductance circuit Kirchhoffs law leads to
dI (t )
L
RI (t ) V (t )
dt
for the current I(t) , where L is the inductance and R the resistance, both
constant. V(t) is the time-dependent impressed voltage.
From Eq.(3.5) our integrating factor (t) is
(t ) exp
R
dt
L
e Rt L .
12
Then by Eq.(3.6)
I (t ) e
Rt L
t Rt L V (t )
e
dt
C
,
Rt L V0
I (t ) e
C
L Re
V0
Ce Rt L .
R
If the initial condition is I(0) =0, then c V0 R
and
V0
I (t )
1 e Rt
R
13
f 0
2
2 k 2 0
Electromagnetic field, wave transition etc.
4 0 r
Cartesian coordinates
Cylindrical coordinates
Spherical coordinates
14
2 2 2
2
k
0
2
2
2
x
y
z
(3.7)
Let
( x, y, z ) X ( x)Y ( y)Z ( z )
(3.7a)
d2X
d 2Y
d 2Z
2
YZ
XZ
XY
k
XYZ 0
2
2
2
dx
dy
dz
Dividing by
XYZ
1 d2X
1 d 2Y 1 d 2 Z
2
k
.
2
2
2
X dx
Y dy
Z dz
(3.8)
The left-hand side is a function of x alone, whereas the right-hand side depends
only on y and z, but x , y , and z are all independent coordinates. The only
possibility is setting each side equal to a constant, a constant of separation. We
choose
2
2
1 d2X
2
1
d
Y
1
d
Z
2
2
l , (3.9)
l
. (3.10)
2
2
X dx
Y dy
Z dz
Rearrange Eq.3.10
2
1 d 2Y
1
d
Z
2
2
k l
,
2
2
Y dy
Z dz
16
Similarly
1 d 2Y
2
m
,
2
Y dy
(3.11)
1 d Z
2
2
2
2
n
,
2
Z dz
(3.12)
lmn ( x, y, z ) X l ( x)Ym ( y ) Z n ( z ).
(3.13)
lmn
lmn
(3.14)
l , m, n
17
Where the constant coefficients almnare determined by the boundary conditions
z=c
y=c y
x=a
x
( x, y, z ) X ( x)Y ( y ) Z ( z )
18
X dx 2
Where
1 d 2Y
2
Y dy 2
1 d 2Z
2
Z dz 2
2 2 2
ix
, e
iy
, e
2 2 z
X Y Z
, ,
19
To have 0 at x=a and y=b, we must have a=n and b=m Then
n n / a , m m / b,
( x, y , z )
n , m 1
nm
nm
n2 m2
2 2
a
b
n , m 1
nm
4
Anm
dx dyV ( x, y) sin( n x) sin( m y)
ab sinh( nmc) 0 0
20
(3.15)
or
1
1 2 2
2
(
) 2
k
0,
2
2
j
z
( ,j , z ) P( )(j )Z ( z ).
(3.16)
,
(3.17)
21
k
PZ 0.
2
2
d
d
dj
dz
(3.18)
1 d
dP
1 d 2
1 d 2Z
2
(
) 2
k
.
2
2
P d d
Z dz
dj
Then
And
d 2Z
2
l
Z,
2
dz
1 d
dP
1 d 2
2
2
(
) 2
l
.
2
P d d
dj
(3.19)
(3.20)
(3.21)
22
2
2
2
2
Setting k l n , multiplying by , and rearranging terms, we obtain
d
dP
1 d 2
2 2
(
)n
.
2
P d
d
dj
(3.22)
m
.
2
dj
Finally, for the dependence we have
(3.23)
d
dP
(
) ( n 2 2 m 2 ) P 0.
d
d
(3.24)
This is Bessels differential equation . The solution and their properties are
presented in Chapter 6. -
The original Helmholtz equation has been replaced by three ordinary differential
equations. A solution of the Helmholtz equation is ( , j , z) P( )(j )Z ( z).
A general Sol.
( , j , z) a mn Pmn ( ) m (j )Z n ( z).
m, n
(3.26)
23
1 2
2
sin
(
r
)
(sin
k
.
2
r
r
sin j
(3.27)
1 d 2 dR
1
d
d
1
d 2
2
r
sin
Rr 2 dr dr r 2 sin d
d r 2 sin 2 dj 2
(3.29)
Note that all derivative s are now ordinary derivative s rather than partials.
By multiplyin g by r 2 sin 2 , We can isolate (1 / )( d 2 / dj 2 ) to get
1 d 2
1 d 2 dR
1
d
d
2
2
2
r
sin
sin
(3.30)
2
2
2
dj
Rr dr dr r sin d
d
24
we use m2 as the separation constant. Any constant will do, but this
one will make life a little easier. Then
1 d 2 (j )
2
m
dj 2
and
(3.31)
1 d 2 dR
1
d
d
m2
2
(
r
)
(sin
k
. (3.32)
2
2
2
2
dr
d
Rr dr
r sin d
r sin
m
(r
) r 2k 2
(sin
)
.
2
R dr
dr
sin d
d
sin
(3.33)
25
Again, the variables are separated. We equate each side to a constant Q and
finally obtain
1 d
d
m2
(sin
)
Q 0.
2
sin d
d
sin
QR
1 d 2 dR
2
(
r
)
k
R
0.
2
2
dr
r dr
r
(3.34)
(3.35)
(3.36)
Q, m
26
The restriction that k^2 be a constant is necessarily. The separation process will
Still be possible for k^2 as general as
1
1
k f (r ) 2 g ( ) 2 2 h(j ) k '2
r
r sin
2
In the hydrogen atom problem, one of the most important examples of the Schrodinger
Wave equation with a closed form solution is k^2=f(r)
Finally, as an illustration of how the constant m in Eq.(3.31) is restricted, we note
that in cylindrical and spherical polar coordinates is an azimuth angle. If this is a
classical problem, we shall certainly require that the azimuthal solution () be
singled valued, that is,
(j 2 ) (j ).
27
d 2 (j )
2
m
(j )
2
dj
28
(3.40)
where y' = dy/dx. Now, if P(x) and Q(x) remain finite at x = x0 , point x = x0
is an ordinary point. However, if either P(x) or Q(x) ( or both) diverges as
x0 , x0 is a singular point.
x approaches to
Using Eq.(3.40), we are able to distinguish between two kinds of singular points
(1) If either P(x) or Q(x) diverges as x x 0 , but (x - x 0 ) P( x) and (x - x 0 ) 2 Q( x)
remain finite, then x0 is called a regular or non - essential singular point.
These definitions hold for all finite values of x0. The analysis of x is similar
to the treatment of functions of a complex variable. We set x = 1/z, substitute into
the DE, and then let z 0 . By changing variables in the derivative, we have
dy( x) dy( z 1 ) dz
1 dy( z 1 )
dy
2
z 2
dx
dz dx
dz
dz
x
(3.41)
2
1
d 2 y ( x) d dy( x) dz
dy( z 1 )
2
2 d y( z )
( z ) 2 z
z
dz dx dx
dz
dx
dz 2
(3.42)
2
1
dy( z 1 )
4 d y( z )
2z
z
dz
dz 2
3
2
d
y
dy
z 4 2 2 z 3 z 2 P( z 1 )
Q( z 1 ) y 0
dz
dz
(3.43)
2 z P( z 1 )
~
P ( z)
z2
and
Q( z 1 )
~
Q( z)
z4
x2 y xy x 2 n2 y 0
Bessel's eq. is
Comparing it with Eq. (3.40) we have
P(x) = 1/x, Q(x) = 1 - n 2 x 2,
which shows that point x = 0 is a regular singularity. As x
from Eq. (3.43), we have the coefficients
1
1 n2 z 2
P( z )
and Q( z )
z
z4
Since the Q(z) diverges as z 4, point x =
(z
0),
We list , in Table 3.4, several typical ODEs and their singular points.
Table 3.4
Equation
1.Hypergeometric
x( x 1) y (1 a b) x cy aby 0
2. Legendre
(1 x ) y 2 xy l (l 1) y 0
2
3. Chebyshev
(1 x 2 ) y xy n 2 y 0
4. Confluent hypergeometric
xy (c x) y ay 0
Regular singularity
Irregular singularity
0,1,
___
-1,1,
___
-1,1,
___
5. Bessel
___
8. Hermite
___
x 2 y xy ( x 2 n 2 ) y 0
6. Laguerre
xy (1 x) y ay 0
y 2 y 0
y 2 xy 2y 0
32
(A)
Let x cos , it can be written as the standard form of the associated Legendre eq.
m2
(1 x ) y"2 xy '[l (l 1)
]y 0
1 x2
2
QR
1 d 2 dR
2
(
r
)
k
R
0.
2
2
dr
r dr
r
Q l (l 1)
R(r)
(B)
y(kx)
kx
33
y ( x c1 y1 ( x c2 y2 ( x
Our physical problem may lead to a nonhomogeneous, linear, secondorder DE
y'' + P(x) y' + Q(x) y = F(x).
Specific solution of this eq., yp, could be obtained by some special
techniques. Obviously, we may add to yp any solution of the
corresponding homogeneous eq.
Hence,
y ( x c1 y1 ( x c2 y2 ( x y p ( x
34
y ( x) x (a0 a1 x a2 x ...) a x k
k
Fuchss Theorem:
We can always get at least one power-series solution, provided we are
expanding about a point that is an ordinary point or at worst a regular
singular point.
35
.
To illustrate the series solution, we apply the method to two important DEs.
First, the linear oscillator eq.
,
y"w 2 y
(3.44)
We try
y ( x) x (a0 a1 x a2 x ...) a x k
k
y a (k )(k 1) x k 2
0
36
a (k )(k 1) x
0
k 2
k
a
x
0
x 0
(3.45)
a j+2 (k+j+2)(k+j+1) +
or
a j 2 a j
a j= 0
2
(k j 2)(k j 1)
a j 2 a j
2
( j 2)( j 1)
which leads to
a 2 a 0
2 1
2!
a0
a4 a2
2
43
4
4!
a0
38
a2 n (1)
2n
(2n)!
a0
So our solution is
y ( x) k 0
2n
(x) 2 (x) 4
x
)
a 0 1
... a 0 (1) n
a 0 cos(x)
2!
4!
(2n)!
n 0
a j 2 a j
Again, we have
2
( j 3)( j 2)
a2 n (1)
2n
(2n 1)!
(x) 2 (x) 4
a0
y( x) k 1 a 0 x 1
...
3!
5!
2 n 1
a0
(
x
)
n
(
1
)
sin(x)
(2n 1)!
n 0
39
y ( x) a ( x x0 ) k , a0 0
0
40
This attack on the linear oscillator eq. was perhaps a bit too easy.
To get some idea of what can happen we try to solve Bessel's eq.
x2 y xy ( x 2 n2 y 0
(3.46)
y ( x) a x k
0
41
a (k )( k 1) x
k 1
a (k ) x
0
a x
0
k 2
a n 2 x k 0
0
k 2 n2 0
a1 ( k 1 k k 1 n2 0
For k = +n or -n (k is not equal 1/2), [ ] does not vanish and we must require
a1 = 0.
k j
Proceeding to the coefficient of x for k = n, we set = j in the 1st, 2nd,
and 4th terms and = j-2 in the 3rd term. By requiring the resultant
k j
coefficient of x
to vanish, we obtain
a j [(n+j)(n+j-1)+(n+j)- n 2] + a j 2=0.
42
When j
(3.47)
1
a n!
2 0
2(2n 2)
2 1!(n 1)!
a 6 a 4
a n!
1
6 0
, and so on, and in general
2(2n 2)
2 3! (n 3)!
a 2 p (1) p
a 4 a 2
a n!
1
4 0
4( 2 n 4)
2 2! (n 2)!
a 0 n!
2 2 p p! (n p )!
n! x 2
n! x 4
y ( x) a0 x 1 2
4
...
2 1!(n 1)! 2 2!(n 2)!
43
In summation form
n! x n 2 j
1
x
n
y( x) a0 (1) 2 j
a0 2 n! (1) j
( )n 2 j
2 j!(n j )!
j!(n j )! 2
j 0
j 0
(3.48)
1
x n2 j
1
x
J n ( x) (1)
( )
(1) j n
( ) 2 j n (1) n J n ( x)
j!( j n)! 2
j !( j n)! 2
j 0
j 0
j
SUMMARY
If we are expanding about an ordinary point or at worst about a regular
singularity, the series substitution approach will yield at least one solution
(Fuchss theorem).
Whether we get one or two distinct solutions depends on the roots of the
indicial equation.
1. If the two roots of the indicial equation are equal, we can obtain only
one solution by this series substitution method.
2. If the two roots differ by a non-integer number, two independent
solutions may be obtained.
3. If the two roots differ by an integer, the larger of the two will yield a
solution.
The smaller may or may not give a solution, depending on the behavior of
the coefficients. In the linear oscillator equation we obtain two solutions;
for Bessels equation, only one solution.
45
6
y0
2
x
(3.49a)
6
y 3 y 0
x
(3.49b)
1
a2
y y 2 y 0
x
x
(3.49c)
1
a2
y 2 y 2 y 0
x
x
(3.49d)
46
a j 1
a 2 j ( j 1)
aj
j 1
47
a j 1
aj
lim
j ( j 1)
j 1
48
kj 0
(3.50)
in which not all the coefficients k are zero. On the other hand, if the only
solution of Eq. (3.50) is k=0 for all , the set of functions j is said to be
linearly independent.
Let us assume that the functions
are differentiable. Then,
differentiating Eq. (3.50) repeatedly, we generate a set of eq.
49
kj 0
k j 0
( n 1)
k
j
0
This gives us a set of homogeneous linear eqs. in which k are the unknown
quantities. There is a solution k 0 only if the determinant of the coefficients
of the k's vanishes,
j1
j 1
j2
j 2
...
...
...
...
...
jn
j n
...
j 1( n 1) j 2( n 1) ... j n( n 1)
50
sin x
cosx
cosx sin x
and f1 and f2 are therefore linearly independent. For just two functions this means that
one is not a multiple of the other, which is obviously true in this case.
51
ex
ex
ex
ex
e x
e x
cosh x
sinh x 0
cosh x
because the first and third rows are identical. Here, they are linearly
dependent, and indeed, we have
e x e x - 2 coshx = 0 with k 0.
52
A Second Solution
Returning to our 2nd order ODE
y'' + P(x) y' + Q(x) y = 0
Let y1 and y2 be two independent solutions. Then Wroskian is
W= y1 y2 y1 y2 .
By differentiating the Wronskian, we obtain
W y1 y2 y1 y2 y1y2 y1 y2
y1 P( x) y2 Q( x) y2 y2 P( x) y1 Q( x) y1
P( x)( y1 y2 y1 y2 ).
(3.52)
W = y1 y2 y1 y2 = constant.
53
x
W ( x)
P ( x1 )dx1 ,
a
W (a)
x
W ( x) W (a) exp P( x1 )dx1 .
a
(3.53)
54
W ( x) y1 y2 y1 y2
y12
d y2
( ).
dx y1
(3.54)
( ) W (a)
dx y1
y12
(3.55)
Here a and b are arbitrary constants and a term y1(x)y2(b)/y1(b) has been
dropped, for it leads to nothing new. As mentioned before, we can set
W(a) =1 and write
55
x2
exp
P
(
x
)
dx
1
1
x
y 2 ( x ) y1 ( x )
dx 2 .
2
y1 ( x 2 )
(3.56)
If we have the important special case of P(x) = 0. The above eq. reduces to
y 2 ( x) y1 ( x)
dx2
y1 ( x2 )
Now, we can take one known solution and by integrating can generate a
second independent solution.
Example
A Second Solution for the Linear Oscillator eq.
From d 2 y dx 2 + y = 0 with P(x) = 0, let one solution be y1 = sin x.
y 2 ( x) sin( x)
dx2
2
sin x2
56
(
L
)
2 d
1
2
1
(
A
)
1 2
1 2 d