Escolar Documentos
Profissional Documentos
Cultura Documentos
value problems
60
1) Solution of a corresponding homogeneous ODE D[y(x)] = y(x)(x) is found, in
terms of eigenvalues i , and eigenfunctions yi . If the coecients are constant then the
characteristic equation method can be employed. For equations with variable coecients
there is no general technique for nding the solution everywhere. However it can always
be found in a localized region in the form of power (Frobenius) series.
2) Solution of the full inhomogeneous ODE is found, usually as a superposition of
eigenfunctions (also called Greens function).
Remarkably enough, all ve listed equations, as well as many others which describe
observable quantities in physics belong to a class of so-called SturmLiouville problems,
i.e. they are represented by Hermitian operators with well chosen boundary conditions.
For this class of problems, provided the eigenvalues and eigenfunctions of the homogeneous
equation are known, the solution of the inhomogeneous equation can be determined by
very simple expressions. In the following section we will see how such formulas can be
derived and later we will consider the Frobenius method for nding the eigenvalues and
eigenfunctions of operators in specied regions of (generally) complex plane.
with specied BCs on an interval [a, b] (in this section we will restrict ourselves to real
axis). Here p, q, r are real functions of x and, most importantly,
dp(x)
r(x) = .
dx
In this case, operator
d2 d
D[y(x)] = p(x) 2 + r(x) + q(x) y(x)
dx dx
61
is called Sturm-Liouville (SL) operator, provided BCs are chosen properly (will discuss
below) and the equation can be written as
[p(x)y (x)] + q(x)y(x) + (x)y(x) = 0.
Actually, any second-order ODE can be put in the SLform by multiplying the equation
through by a factor x
r(z) p (z)
F (x) = exp dz .
p(z)
Then
[F (x)p(x)y (x)] + F (x)q(x)y(x) + F (x)(x)y(x) = 0,
y 2xy + 2y = 0
withp(x) = 1,
p (x) = 0, r(x) = 2x, can be put, with integrating factor F (x) =
x
exp 2zdz = exp(x2 ) to form
2 2 2
2 2
ex y 2xex y + 2ex y = ex y + 2ex y = 0
2 2
Now, the new coecients are: p(x) = ex , q(x) = 0, (x) = ex , = 2.
Theorem SLOperator is Hermitian provided B.C. are well chosen on [a, b]. Recall
that for an operator to be Hermitian we require:
or, alternatively,
b
b
f (x)D[g(x)](x)dx = g (x)D[f (x)](x)dx
a a
62
The fact that the SL operator is Hermitian has advantages: its eigenfunctions and eigen-
values
D[yi (x)] = i yi (x)(x),
b b
yi (x)D[yj (x)]dx = yi (x)[p(x)yj (x)] + yi (x)q(x)yj (x) dx
a a
b b
= yi (x)[p(x)yj (x)] dx yi (x)q(x)yj (x)dx
a a
b b
b
= yi (x)p(x)yj (x) a + (yi (x)) p(x)yj (x)dx yi (x)q(x)yj (x)dx
a a
b b
b
= (yi (x)) p(x)yj (x) a [(yi (x)) p(x)] yj (x)dx yi (x)q(x)yj (x)dx
a a
b
= [((yi (x)) p(x)) yj (x) yi (x)q(x)yj (x)] dx
a
b
= yj (x)(p(x)yi (x)) + yj (x)q(x)yi (x) dx .
a
b
(yi (x)) p(x)yj (x) a = 0.
63
For instance, y(a) = y(b) = 0; y(a) = y (b) = 0, p(a) = p(b) = 0 will be the adequate
BC.s.
= 0 n = j
b
yn (z)f (z)dz
1 a
Cn = .
n b
yn (z)yn (z)(z)dz
a
Hence the solution takes the form
b
yn (z)f (z)dz
1 a
y(x) = yn (x).
n=0
n b
yn (z)yn (z)(z)dz
a
64
If
b
yn (z)yn (z)(z)dz = 1 n
a
then
b !
1
y(x) = yn (x)yn (z) f (z)dz.
n=0
n
a
" #
Note that 1n yn (x)yn (z) is the Greens function G(x, z) and hence
b
y(x) = G(x, z)f (z)dz.
a
1
y + y = f (x), y(0) = y() = 0.
4
1) Homogeneous:
1
y + y = y.
4
$% & $% &
1 1
y(x) = A sin x + B cos x .
4 4
' '
1 1
B.C. B = 0, sin 4
= 0 4
= n, n = 0, 1, 2, . . .
1
n = n2 ; yn (x) = A sin(nx).
4
Normalize
( )1/2
2
A2n 2
sin nx dx = 1 An = .
0
2) Inhomogeneous:
2 sin nx sin nz
G(x, z) = 1 ,
n=0 4
n2
65
2 sin nx sin nz
y(x) = 1 f (z)dz.
n=0 4
n2
0
Remark:
b b
f (x) = yn (x) yn (z)f (z)(z)dz = f (z)(z) yn (x)yn (z)dz.
n=0 a a n=0
Hence
(z) yn (x)yn (z) = (x z),
n=0
and
b b
yn (x) yn (x)yn (z)
y(x) = Cn yn (x) = yn (z)f (z)dz = f (z) dz.
n=0
n=0 n n=0
n
a a
66
Here Greens function is
yn (x)y (z)
n
G(x, z) = .
n=0
n
There are three cases depending on the relation between and n .
If = n solution exists.
b
If = n , yn (z)f (z)dz = 0 for some n .
a
b
If = n , yn (z)f (z)dz = 0 solution exists.
a
67
4.2 Series solutions of the ODEs.
4.3
assuming now that the argument z is a complex number. The solution of the
ODE yc (x) can be ordinary or singular at dierent points z depending on the
analytic properties of p(z) and q(z): 1) if both p(z) and q(z) are nite and
analytic at a point z0 , i.e. can be represented by the series
p(z) = pn (z z0 )n ; q(z) = qn (z z0 )n ,
n=0 n=0
Among the most famous second-order ODEs in physics and engineering are
1. Bessel equation z 2 y + zy + (z 2 2 )y = 0 with RS at 0 and IS at ;
2. Laguerre equation zy + (1 z)y + y = 0 with RS at 0 and IS at ;
It can be shown that every solution of the linear ODE at an ordinary point
z0 is analytic. We note that instead of general point z0 we can always consider
54
point z = 0 by making a substitution Z = z z0 . Hence, if z = 0 is ordinary
point then the solution has the representation
y(z) = an z n ,
n=0
the series being convergent for |z| < R, where R is the distance from the origin
to the nearest singular point of the ODE. The rst and the second derivatives
of y(x) may be written as
y (x) = nan z n1 = (n + 1)an+1 z n ,
n=0 n=0
y (x) = n(n 1)an z n2 = (n + 2)(n + 1)an+2 z n .
n=0 n=0
n(n 1)an z n2 2 n(n 1)an z n1 + n(n 1)an z n 2 an z n = 0.
n=0 n=0 n=0 n=0
Setting the coecients of all powers of z to zero we obtain the recurrence relation
(n + 2)an+2 2nan+1 + (n 2)an = 0,
where n 0. Two independent solutions can then be found: an = a0 for all n;
if a0 = 1 then
1
y1 (z) = 1 + z + z 2 + z 3 ... = ,
1z
55
and a1 = 2a0 , a2 = a0 , and an = 0, n > 2. If a0 = 1 then
Thus,
c1
y(z) = + c2 (1 z)2 .
1z
we have, after substituting all the series into the ODE (4.2) we nd that
(n+)(n+1)an z n+2 +s(z) (n+)an z n+2 +t(z) an z n+2 = 0.
n=0 n=0 n=0
Next, setting z = 0 we nd that all terms with n > 0 vanish, implying that
[( 1) + s(0) + t(0)]a0 = 0
56
into (4.2) and requiring that coecients of each power of z vanish separately we
can obtain, for each root, a recurrence relation like in the case of the ordinary
point. We will now discuss three possibilities for 1 and 2 dening the nature
of the solutions of the ODE.
Case 1. Distinct roots not diering by an integer. In this case the Frobenius
method leads to two independent solutions of the ODE of the form
y1 (z) = z 1 an z n , y2 (z) = z 2 bn z n
n=0 n=0
which constitute the general solution. This case includes the situation when
roots are complex, since 1 2 = 2iIm1 is not a real integer.
Note. For an ordinary point of the ODE the Frobenius method leads to
indexes 1 = 1 and 2 = 0. However the solution corresponding to 2 exists.
y2 (z) = [( 2 )y(z, )] |=2
57
An example. Consider the second-order ODE of the form
and nd the solution about the point z = 0. Putting this equation into the
standard form gives
3 1
y (z) + y (z) + y(z) = 0.
z1 z(z 1)
(n + 1)an = (n + )an1 .
n+1
If = 1 then an = n an1 . By setting an = n + 1 we nd that
z
y1 (z) = z (n + 1)z n = .
n=0
(1 z)2
n
For 2 = 0 the recurrence relation reduces to an = n1 an1 . But if a0 = 0 then
a1 is innite. The second solution should be then found by either Wronskian or
58
the derivative method. Wronskian method leads to the following calculation:
z u
1
y2 (z) = y1 (z) exp p(v)dv du
y12 (u)
z u
z (1 u)4 3
= exp dv du
(1 z)2 u2 v1
z 1
= ln z + .
(1 z)2 z
+n n
y(z, ) = z z .
n=0
Thus
y2 (z) = [y(z, )]
=0
= [z ( + n)z n ]
n=0 =0
n n
= z ln z ( + n)z + z z
n=0 n=0 =0
= ln z nz n + zn
n=0 n=0
z 1
= ln z + 1 .
(1 z)2 z
We note that the solution obtained by the derivative method is dierent from
the one obtained by the Wronskian method: it has an additional term from the
rst solution.
Note. As in the case of an ordinary point the Frobenius series might termi-
nate at some point leading to a polynomial solution.
59
Cylindrical (Bessel) functions.
60
where is the Gamma function. Finally, the resulting series solution has the
form
(1)n z +2n
J (z) =
n=0
n!( + n + 1) 2
and is called the Bessel function of the rst kind of order . Since is not an
integer, J+ and J are linearly independent and the general solution can be
written as
y(z) = c1 J+ (z) + c2 J (z).
Note that in the majority of physical problems c2 = 0 since J (0) = .
2) is an integer.
a) = 0. In this case 1 = 2 = 0 and there is only one solution
(1)n z 2n
J0 (z) = .
n=0
22n n!(1 + n)
J cos() J (z)
Y (z) = ,
sin
the Bessel function of the second kind of order . It is important to realize that
i) Y (z) is also the solution of the Bessel equation since it is a linear (weighed)
combination of the solutions; ii) J and Y are linearly independent which is
easily veried by calculating their Wronskian.
Note: if is an integer then Y (z) is undetermined (0/0). But using the
lHopitals rule Y (z) can be found as a limit for all z:
J cos() J (z)
Y (z) = lim .
sin
Finally, we establish the general solution of the Bessel equation valid for all
values of :
y(z) = c1 J (z) + c2 Y (z).
As before we comment on the fact that function Y (z) is of little importance
for the majority of the physical problems since Y (0) = and hence, as a rule,
c2 = 0.
61
The following operators were used in order to plot functions J and Y for
= 0, 1, 2:
P lot[{BesselJ[0, x], BesselJ[1, x], BesselJ[2, x]}, {x, 0, 15}],
P lot[{BesselY [0, r], BesselY [1, r], BesselY [2, r]}, {r, 0, 15}].
1.0 0.5
0.8
0.6
2 4 6 8 10 12 14
0.4
0.2
0.5
2 4 6 8 10 12 14
0.2
0.4 1.0
We will now show that the Bessel functions of the rst kind with dierent
orders are mutually orthogonal on the interval [a, b] subject to certain boundary
conditions. One can easily show that functions f (z) = J (z) and g(z) = J (z)
are the solutions of Bessel equations z 2 y (z) + zy (z) + (2 2 )y(z) = 0 and
z 2 y (z) + zy (z) + (2 2 )y(z) = 0, respectively. Then, on multiplying the
second of these equations by f (z), the rst - by g(z), subtracting and dividing
by z, we nd that
d
z(f g gf ) + (f g gf ) = [z(f g gf )] = (2 2 )zf g.
dz
On integrating the last expression on [a, b] we obtain the formula
b
1
zf (z)g(z)dz = [zf (z)g (z) zg(z)f (z)]ba ,
2 2
a
or, equivalently,
b
1
J (z)J (z)zdz = [zJ (z)J (z) zJ (z)J (z)]ba ,
2 2
a
In case if = and [a, b] proper (right side of the last expression vanishes) we
nd that
b
J (z)J (z)zdz = 0.
a
When = the indeterminate form 0/0 can be calculated with the help of the
lHopitals rule and will give some nite number for any z. The orthogonality
62
of Bessel functions can be used for innite series expansion of functions on the
interval [0, a]. In fact, it can be shown that any function f (z) satisfying the
Dirichle conditions (listed in Sect 3.1, p.33) on [0,a] can be represented as a
sum
f (z) = cn J (n z),
n=0
f (z) = J (z)d J ()f ()d.
0 0
63