Sph205 Notes
Sph205 Notes
Sph205 Notes
Mathematical Physics
Vector algebra: dot and cross products, scalar and vector triple products. Vector calculus:
scalar and vector fields, gradient, divergence and curl, curvilinear coordinates, line integrals,
Greens theorem in a plane. Series solutions of second order ordinary differential equations:
ordinary and singular points, Legendre, Bessel, Hermite and Laguerre equations, polynomial
solutions, Rodrigues formulas and generating functions. Partial differential equations:
Poissons and Laplace equations, separation of variables, variational methods, operator
technique.
References
1. Stephenson, G. (1974). Mathematical Methods for Science Students. 2nd edition.
(Longman, Singapore).
2. Riley, K., Hobson, M., and Bence, S. (1999). Mathematical Methods for Physics and
Engineering. (University Press, Cambridge).
SEMESTER: I
OFFICE LOCATION: MATH 4, RM 2
VECTOR ALGEBRA
1.1
Introduction
A vector is a quantity having both magnitude and direction. Examples of vectors are
displacement, velocity, acceleration, momentum, and force.
(1)
1.2
Addition of Vectors
Any two vectors A and B may be added together to obtain a third (resultant) vector C whose
effect is equivalent to that of the two vectors combined. Addition of vectors is illustrated
below:
(2)
A B C A B C
1.3
(3)
Any two vectors A and B may be multiplied in such a way as to form a scalar quantity. This
is known as the scalar or dot product of the vectors and is defined as
A B AB cos
(4)
(5)
(6)
(7)
Two vectors A and B may also be multiplied to form a vector quantity. The new vector C is
referred to as the cross or vector product and is defined as
C A B eC AB sin
(8)
(9)
The cross product of a vector with itself gives a vector O having zero magnitude and no
directional property.
A A O
(10)
NB: The scalar product is commutative while the vector product is not, that is
AB BA
(11)
A B B A
(12)
1.4
The unit vectors are mutually perpendicular and the position vector for point Px, y, z is
given by
r ix jy kz
(13)
(14)
r r ix jy kz ix jy kz
r r i ix 2 i jxy i kxz
j iyx j jy 2 j kyz
k izx k jzy k kz 2
Using
5
(15)
i i j j k k 1
(16)
i j i k j k ... 0
(17)
we have
r r x2 y2 z 2
(18)
(19)
where Ax , Ay and Az are the components of A along the x , y , and z axis respectively.
The magnitude of A is given by
A A A A Ax 2 Ay 2 Az 2
(20)
i Ax Bx j Ay B y k Az Bz
(21)
A B Ax Bx Ay B y Az Bz
(22)
(23)
using
i i j j k k 0
(24)
and
i j k
j k i
j i k
k j i
(25b)
k i j
i k j
(25c)
(25a)
we have
A B kAx B y jAx Bz kAy Bx iAy Bz jAz Bx iAz B y
or
A B i Ay Bz Az B y j Az Bx Ax Bz k Ax B y Ay Bx
(26)
Ay
By
Az
A
j z
Bz
Bz
Ax Ax
k
Bx
Bx
Ay
By
(27)
A B Ax
Ay
Az
Bx
By
Bz
Example I
Given vectors A 4i 2 j and B 5 j , determine
(a) A B
(b) A B
7
(28)
Solution
(a) A B 4i 2 j 5 j
4 5 i j 2 5 j j
10
(b) A B 4 2 0
0 5 0
i 2 0 5 0 j0 0 4 0 k4 5 2 0
20k
or
A B 4 5 i j 2 5 j j
20k
1.5
By
Bz
Cx
Cy
Cz
Ax B y C z Bz C y Ay Bz C x Bx C z Az BxC y B y C x
(29)
Writing equation (29) in terms of the third order determinant we have
Ax
A B C Bx
Ay
Az
By
Bz
Cx
Cy
Cz
(30)
Ax
Ay
Az
Bx
By
Bz
Cx
Cy
Cz
Bx
By
Bz C x
Cy
C z Ax
Ay
Az
Cx
Cy
Cz
Ay
Az
By
Bz
Ax
Bx
we see that
A B C B C A C A B
Example II
Given the vectors A 3i , B 4 j 5k , and C i j 2k , determine A.B C
Solution
B C 4 j 5k i j 2k
4 j i 4 j j 8 j k 5 k i 5 k j 10 k k
8 5i 5 j 4k
3i 5 j 4k
A B C 3i 3i 5 j 4k
9 i i 15 i j 12 i k
or
Ax
A.B C Bx
Ay
Az
By
Bz
Cx
Cy
Cz
3 0 0
0 4 5
1 1 2
34 2 5 1 05 1 0 2 00 1 4 1
(31)
1.6
(32)
Then
i
By
Bz
Cx
Cy
Cz
By
Cy
Bz
B
j z
Cz
Cz
Bx Bx
k
Cx
Cx
By
Cy
(33)
Consequently
A B C A F Ax
Ay
Az
Fx
Fy
Fz
Ax
Ay
By
Bz
Bz
Bx
Az
Bx B y
Cy
Cz
Cz
Cx
Cx
(34)
Cy
A B C i Ay BxC y By C x Az Bz C x BxC z
j Az B y C z Bz C y Ax Bx C y B y C x
k Ax Bz C x Bx C z Ay B y C z Bz C y
(35)
A B C i Bx Ay C y Az C z C x Ay B y Az Bz
j B y Ax C x Az C z C y Ax Bx Az Bz
10
k Bz Ax C x Ay C y C z Ax Bx Ay B y
(36)
A B C i Bx Ax C x Ay C y Az C z C x Ax Bx Ay B y Az Bz
j B y Ax C x Ay C y Az C z C y Ax Bx Ay B y Az Bz
k Bz Ax C x Ay C y Az C z C z Ax Bx Ay B y Az Bz
(37)
(38)
A B C BC A AC B
(39)
A B C A B C
(40)
Consequently
Example III
Given the vectors A 3i , B 4 j 5k , and C i j 2k , determine A B C
11
VECTOR CALCULUS
2.1
Consider a region R is space in which a scalar x, y, z is defined at every point in the region.
Then a scalar field is said to exist in that region.
Similarly if at every point in a region R , a vector Ax, y, z is defined, then a vector field exists
in that region.
An example of a scalar field is the gravitational potential near the surface of the earth V mgz
.
The gravitational force field F kmg associated with this gravitational potential is an
example of a (position independent) vector field.
2.2
j
k
x
y
z
(1)
x x, y, z x, y, z
lim
x x 0
x
(2a)
x, y y, z x, y, z
lim
y y 0
y
(2b)
x, y, z z x, y, z
lim
z z 0
z
(2c)
Example I
Determine the gradient of the function xyz3 .
12
Solution
Differentiating with respect to x we have
x x y 2 z 3 xy 2 z 3
lim
x x 0
x
xy 2 z 3 xy 2 z 3 xy 2 z 3
x 0
x
lim
xy 2 z 3
y2 z3
x 0
x
lim
dx
y2 z3
y2 z3
x
dx
Similarly
x y y 2 z 3 xy 2 z 3
lim
y y 0
y
xy 2 z 3 2 xyyz 3 xy 2 z 3 xy 2 z 3
y 0
y
lim
2 xyyz 3 xy 2 z 3
lim 2 xyz3 xyz 3
y 0
y 0
y
lim
2xyz3
Alternatively
dy 2
xz 3
2xyz 3
y
dy
Finally
xy 2 z z 3 xy 2 z 3
lim
z z 0
z
xy 2 z 3 3z 2 z 3zz 2 z 3 xy 2 z 3
z 0
z
lim
or
13
dz3
xy 2
3xy 2 z 2
z
dz
Therefore
grad iy 2 z 3 j 2 xyz3 k3xy 2 z 2 .
grad i j k
y
z
x
(3)
j k
x
y
z
(4)
To illustrate the geometrical property of the gradient of a scalar field x, y, z , consider the
infinitesimal displacement dr given by
dr idx jdy kdz
(5)
In the diagram is the gradient of x, y, z at point P , and is the angle between and dr .
The total differential of at point P is given by
14
dx
dy
dz
x
y
z
(6)
i dx jdy kdz
d i
j
k
y
z
x
(7)
(8)
(9)
(10)
Now suppose dr is in the direction of , then 0 and cos 1 . In this case d dr has it
maximum value given by the magnitude of the gradient thus
d
dr max
(11)
Thus the gradient of a scalar field is a vector whose magnitude and direction is that of the
maximum space rate of change of the scalar field.
Example II
The gravitational potential near the surface of the earth is given by mgz .Show that the
gravitational force F kmg is related to by F .
15
Solution
i
j
k
x
y
z
mgz
0
x
x
mgz
0
y
y
mgz
mg
z
Therefore
kmg F
2.3
(12)
(13a)
or
divA
Ax Ay Az
x
y
z
Example III
Determine the divergence of the vector field defined by
A 2 xyi j xz 3k
16
(13b)
Solution
Ax
dx
2y
2y
x
dx
Ay
y
d1
0
dy
Az
dz3
x
3xz 2
z
dz
Therefore
divA 2 y 3xz 2 .
Ax x, y, z
x
Ay x, y, z
Ay x, y y, z
z
y
Ax x x, y, z
Az x, y, z
The flux of a vector field A through an infinitesimal surface vector element s , of a closed
surface, is defined as
s
A s A n
where n is a unit vector pointing perpendicularly outward from the closed surface.
The flux of vector A through the rear face of the volume element is then given by
17
(14)
backface Ax x, y, z yz
(15)
(16)
In obtaining equations (15) and (16) we assume that the infinitesimal area yz is small
enough such that the components Ax x, y, z and Ax x x, y, z of A along the x- axis do not
vary appreciably over the surface element.
Also we note that the components of A along the y- , and z- axes do not contribute to the flux
through the back and front faces since these components are parallel to the two faces.
Similarly the flux of vector A through the left and right faces of the volume element is given
respectively by
(17)
leftface Ay x, y, z xz
rightface Ay x, y y, z xz
(18)
Lastly, for the flux through the bottom and top faces we have
bottomface Az x, y, z xy
(19)
topface Az x, y, z z xy
(20)
net Ax x x, y, z Ax x, y, z yz Ay x, y y, z Ay x, y, z xz
Az x, y, z z Az x, y, z xy
(21)
Dividing equation (21) by we obtain the net flux of vector A per unit volume
net Ax x x, y, z Ax x, y, z Ay x, y y, z Ay x, y, z
x
y
Az x, y, z z Az x, y, z
z
(22)
Since the volume element is very small, x , y , and z , all tend to zero, and we may use the
definition of the partial derivative to write equation (22) as
net Ax Ay Az
x
y
z
18
(23)
Thus the divergence of a vector field A at a point is the net outward flux of A per unit volume
as the volume becomes infinitesimal.
Example IV
Determine the divergence of the gravitational force field F kmg and interpret the result.
Solution
Fx 0
Fy 0
Fz mg
Fy Fz
Fx
0
x
y
z
F 0
This results is consistent with the fact that the vector field does not spread (diverge).
2.4
The Laplacian
i j
k i
j
k
y
z x
y
z
x
x x y y z z
2
x 2
2
y 2
2
z 2
(24)
where
19
(25)
2
x 2
2
y 2
(26)
z 2
Example V
Determine the Laplacian of the scalar function xyz3 .
Solution
xyz yz
2 xyz3
x
x x
1
0
x
2 xyz3
1
xyz3 xz 3
0
2
y y
y
y
xyz 3xy z
2 xyz3
z 2
z z
6 xyz
Therefore
2 xyz3 6 xyz
2.5
(27)
curlA i j
k i Ax jAy kAz
y
z
x
i j
Ay
Ax
Az
j k
k i
k j
y
z
z
k
Ay
Ay
A
A
A
A
j z k x i z j x i
x
x
y
y
z
z
(28)
curlA i z
k
z z
x x
y
y
(29)
curlA
x
Ax
y
Ay
z
Az
(30)
Example VI
Determine the curl of the vector
A i2 xy j xz 3k
Solution
Using equation (30) we have
j
i
k
xz 3 1
curlA
i
x y z
z
y
2 xy 1 xz 3
j 2 xy xz k 1 2 xy
x
x
y
curlA z 3 j 2 xk
2.6
21
z
Px, y, z
ez
e
e
z
k
j
As shown in the figure above, the position of a point P having Cartesian coordinates x , y , z
may be expressed in terms of cylindrical polar coordinates , , z where
x cos
(31.a)
y sin
(31.b)
zz
(31.c)
(32)
r
e i cos j sin
(33a)
r
e i sin j cos
(33b)
r
e z k
z
(33c)
The vectors e , e and e z point in the direction of increasing , , and z respectively. Their
magnitudes are
e e e
22
cos sin 1
2
(34a)
e e e 2 sin 2 cos2
e z k 1
(34b)
(34c)
Thus e and e z are unit vectors. Since e too is a unit vector, we may write the unit vectors
e , e , ez of the cylindrical polar coordinate system as
e
r
i cos j sin
(35a)
1 r
i sin j cos
(35b)
ez
r
k
z
(35c)
1 r
h
(36a)
1 r
h
(36b)
ez
1 r
hz z
(36c)
where h 1, h , hz 1 are known as the scale factors for the cylindrical polar coordinate
system.
Example VII
Express the cylindrical polar coordinates , in terms of the Cartesian coordinates x, y .
Solution
From equation (31a) and (31b) we have
x 2 2 cos2
y 2 2 sin 2
Consequently
x 2 y 2 2 cos2 sin 2 2
23
and
y2
tan
x cos
Therefore
y
x
tan1
2.7
Line Integrals
(37)
where is a A vector field, dr is an infinitesimal displacement, and C is path along which the
integral is to be evaluated.
Examples of such integrals are the total work done W in moving a particle in a force field F
W F dr
C
C B dr oi
where B is the magnetic flux density, i is the current, o and is the permeability of free space.
In Cartesian coordinates we write equation (37) as
Ax dx Ay dy Az dz
C
(38)
To illustrate the evaluation of these line integrals, consider the line integral
I Px, y dx
C
24
(39)
The path C is specified by a functional relation y f x . Then if the limits of the integration
are points Ax1 , y1 and Bx2 , y2 we have
B
x2
x1
I Px, y dx Px, f x dx
C
Px, f x dx
(40)
Bx2 , y2
y f x
Ax1 , y1
x
I Px, y dx Pg y , y
C
dx
dy
dy
y2
Pg y , y dy dy
dx
y1
25
(41)
6
5
4
y
P
2
1
0
0
0.5
1.5
B 2, 4
A0,0
2
x y dx x x dx
1 2
1
x x 3 4.67
2 0 3 0
we have
I x y dx
C
B 2, 4
A0,0
dx
12
x y dx y y dy
dy
1 4 y1 2 y
14
dy
1 y1 2 d y
2 0 y1 2
2 0
4
1
1
y y 3 2 4.67
2 0 3
0
26
Px, y dx Px, y dx
(42)
(ii) For any point E which lies between the lower and upper limits of integration A and B
we have
B
(43)
y
B
E
A
y f 2 x
y f1 x
Then
B
Line integrals are often taken along a closed path. This is indicated as
I Px, y dx
C
27
(44)
Example IX
Evaluate the line integral I C x y dx from point A0,1 to point B0,1 where C is the
E 1,0
B0,1
Soln
Using property (iii)/equation (44) we have
y f1 x
1 x
2
and y f 2 x 1 x 2
therefore
12
12
1
0
I x y dx x 1 x 2 dx x 1 x 2 dx
C
0
1
Applying property (i)/equation (42) of line integrals in the second integral above gives
12
12
1
1
I x y dx x 1 x 2 dx x 1 x 2 dx
C
0
0
I 2 1 x 2
0
12
dx
28
which implies
dx sin d
1 x 1 cos sin
2 12
12
12
sin
I 2 1 x 2
0
12
dx 2
sin 2 d
1
1 cos 2
2
we have
1
I 2 1 x 2
0
12
dx 2
0
1
sin 2
2
2
1 0
1 cos 2 d
2 2
0 2
2
1
sin 0 sin
2
I 2
Pdx Qdy x
29
P
dxdy
y
(45)
where the line integral is taken in the anti-clockwise direction. Greens theorem in a plane is
useful in deriving the area of geometrical shapes such the circle, ellipse and triangle. It is also
used in interpretation of the curl of a vector field.
y
30
3.1
Introduction
The general homogenous second-order linear ordinary differential equation (ODE) has the
form
d2y
dx
px
dy
q x y 0
dx
(1)
The equation has two linearly independent solutions y1 and y2 such that y2 is not a multiple of
y1 . For this to be the case the Wronskian W of the two solutions, define by
W y1
dy2
dy
y2 1
dx
dx
y1
dy1
dx
y2
dy2
dx
(2)
must be non-zero.
The general solution y of equation (1) is a linear combination of the two solutions
y c1 y1 c2 y2
Example I
The functions y1 sin x and y2 cos x are both solutions of the equation
d2y
dx2
y0
Solution
This ODE is obtained from equation (1) by setting px 0 and qx 1 . Now
dy1
cos x
dx
31
(3)
dy2
sin x
dx
and
W sin x sin x cos xcos x
W sin 2 x cos2 x 1
3.2
An ordinary point x0 of an ODE of the form given by equation (1) is one for which the
following conditions are satisfied
lim px finite
(4)
lim qx finite
(5)
x x0
x x0
If conditions (4) and (5) are not satisfied, then the point x0 is a singular point.
A regular singular point is a singular point which satisfies the following conditions
lim x x0 px finite
(6)
lim x x0 2 qx finite
(7)
x x0
x x0
If a singular point does not satisfy the conditions (6) and (7), it is called an irregular singular
point.
Example II
Consider the Legendre equation
1 x ddx y 2x dy
l l 1 y 0
dx
2
32
Solution
(a) We divide Legendre equation by 1 x 2 to put it in the general form of equation (1) thus
d2y
dx
2x
dy
1 x
dx
l l 1
1 x
2
y0
then
px
and
qx
2x
1 x
2
l l 1
1 x
2
Now
lim px lim
x 0
x 0
2x
1 x
lim 2 x
x 0
lim 1 x 2
x 0
lim 2 x
x 0
0 finite
and
lim qx lim
x 0
x 0
l l 1
1 x2
l l 1
l l 1 finite
lim 1 x 2
x 0
x 1
x 1
2x
1 x
lim qx lim
x 1
x 1
lim 2 x
x 1
lim 1 x
x 1
l l 1
1 x2
2
lim 1 x 2
not finite
x 1
l l 1
lim 1 x 2
not finite
x 1
x 1
x 1
x 1
2x
1 x
2
1 x 2 x
x 1 1 x 1 x
lim
33
lim 2 x
x 1
lim 1 x
x 1
1 finite
and
x 12 l l 1 lim x 1x 1l l 1
x 1
1 x 2 x 1 1 x 1 x
lim x 12 qx lim
x 1
x 1l l 1
x 1l l 1 xlim
1
0 finite
x 1
1 x
lim 1 x
lim
x 1
Example III
The Bessel equation is given by
x2
d2y
dy
x
x2 v2 y 0
2
dx
dx
where v is a constant. Show that the point x 0 is a regular singular point for this equation.
Solution
Dividing the Bessel equation by x 2 , we have
d2y
dx2
1 dy v 2
1 2 y 0
x dx
x
Therefore
px
1
x
v2
qx 1 2
x
Now
lim px lim
x 0
x 0
1
x
v2
lim qx lim 1 2
x 0
x 0
x
since px and qx do not satisfy equations (4) and (5), the point x 0 is a singular point.
34
But
lim xpx lim
x 0
x 0
x
x
and
v2
lim x 2 qx lim x 2 1 2 lim x 2 v 2 v 2 finite
x 0
x 0
x x 0
since px and qx satisfy equations (6) and (7), the point x 0 is a regular singular point.
3.3
Suppose x x0 is an ordinary point of an ODE of the form given by equation (1). In this case,
we may seek a solution in the form of a power series about x0
y a0 a1 x x0 a2 x x0 2 a3 x x0 3
(8)
where a0 , a1, a2 , a3 ,.....are coefficients (constants). Equation (8) contains an infinite number of
terms. This equation may be written more compactly as
y
an x x0 n
(9)
n0
an x n
(10)
n0
3.4
y0
(11)
which is obtained from equation (1) by setting px 0 and qx 1 . For this equation, all
points are ordinary points (i.e. the equation has no singular points). We may therefore seek a
solution of the form given equation (10) about the point x 0 . Then since
dxn
dy d
na x n 1
an x n an
dx n
dx dx n 0
n 0
n0
35
(12)
d dy d
d n 1
n 1
x
nn 1an x n 2
nan x nan
dx dx dx n 0
dx
n 0
n 0
(13)
where we have used dxn 1 dx n 1x n 2 . Substituting equations (10) and (13) in equation
(11) yields
n0
n0
nn 1an x n 2 an x n 0
(14)
Evaluating the first two terms in the first series in equation (14) gives
0 1 a0 x 2 1 0 a1 x 1
n2
n0
nn 1an x n 2 an x n 0
(15)
Considering these two terms in equation (15) we see that the coefficients a0 and a1 can take
any value and the equation will still be satisfied (because of the zeroes present in the terms).
Consequently these two coefficients are called arbitrary constants.
Substituting m 2 for n , the third term in equation (15) may be written as
n2
m 22
m0
(16)
n2
n0
nn 1an x n 2 n 1n 2an 2 x n
(17)
Neglecting the first two zero terms in equation (15) and substituting equation (17) into (15)
we get
n0
n0
n 1n 2an 2 x n an x n 0
or
n 1n 2an 2 an x n 0
n0
36
(18)
n 1n 2an 2 an 0
where n 0,1,2,3, . Thus the coefficients must be related by
an 2
an
n 1n 2
(19)
Equation (19) is called the recurrence relation of the SHO equation (11). From this relation
we have for n 0,1,2, and 3 ,
a2
a3
a4
a0
0 10 2
a1
1 11 2
a0
2!
(20a)
a1
3!
(20b)
a2
a
1 a0
4!
3 4 2!
(20c)
a3
a
1 a1
5!
4 5 3!
(20d)
2 12 2
a5
3 13 2
All other coefficients, for n 3 , may be obtained similarly in terms of the arbitrary constants
a0 and a1 , using the recurrence relation (equation (19)). Using equation (20) in equation (10),
we get
y a0 x 0 a1 x1
a0 2 a1 3 a0 4 a1 5
x x
x x
2!
3!
4!
5!
(21)
x2 x4
x3 x5
y a0 1
a1 x
2! 4!
3! 5!
(22)
Equation (22) is the general solution of the SHO equation (11). This solution may be written
in closed form by recognizing the two series in equation (22) as the series for the cosine and
sine functions respectively. Therefore the solution may be written as
y a0 cos x a1 sin x
37
(23)
d2y
dx
2y 0
(24)
where is some constant, then following the above derivation, the solution is found to be
y a0 cos x a1 sin x
(25)
3.5
Legendres Equation
1 x ddx y 2x dy
l l 1 y 0
dx
2
(26)
where l is a constant. As noted earlier, this equation is obtained from equation (1) by setting
px 2 x 1 x 2 and qx l l 1 1 x 2 . Since x 0 is an ordinary point for this ODE, we
seek a solution of the form given by equation (10), that is
an x n
n 0
dxn
dy
d
2 x nan x n 1 2 nan x n
2 x an x n 2 x an
dx
dx n 0
n 0 dx
n0
n0
(27)
1 x ddx y 1 x dxd dy
1 x na x
dx
dx
2
1 x2
n0
nn 1a x
n0
n2
n 1
n0
n0
2
1 x
na dxd x
n0
n 1
nn 1an x n 2 nn 1an x n
(28)
n0
n0
n0
n0
Writing the first two terms in the first sum in equation (29) explicitly thus
38
(29)
n0
n2
nn 1an x n 2 0 1 a0 x 2 1 0 a1 x 1 nn 1an x n 2
n2
n0
n0
n0
(30)
From equation (30), we see that a0 and a1 are arbitrary constants which can take any value and
still satisfy the equation. As in equation (17), the third term in equation (30) can be written as
nn 1an x n2
n2
n 1n 2an2 x n
n 0
n0
n0
n0
n0
(31)
n0
n0
n 1n 2an 2 x n nn 1 2n l l 1an x n 0
(32)
n 1n 2an 2 nn 1 l l 1an x n 0
(33)
n0
n 1n 2an 2 nn 1 l l 1 0
which yields the recurrence relation for Legendres equation thus
an 2
nn 1 l l 1 a
n 1n 2 n
(34)
00 1 l l 1 a l l 1 a
0
0 10 2 0
2!
39
(35a)
a3
11 1 l l 1 a 2 l l 1 a
1
1 11 2 1
3!
l 1l 2
a1
3!
a4
22 1 l l 1 a 6 l l 1 l l 1 a
0
2 12 2 2
3 4
2!
a5
(35b)
l l 1 2
l l 1l 2l 3
l l 6 a0
a0
4!
4!
(35c)
33 1 l l 1 a 12 l l 1 l 1l 2 a
1
3 13 2 3
45
3!
l 3l 4l 1l 2 a
5!
(35d)
Using equation (35) in equation (10), we see that the general solution for Legendres equation
is
y a0 x 0 a1 x1
l 1l 2 a x3 l l 1l 2l 3 a x 4
l l 1
a0 x 2
1
0
2!
3!
4!
l 3l 4l 1l 2 a x5 ....
(36)
5!
l 1l 2 x3 l 1l 2l 3l 4 x5 ...
a1 x
3!
5!
(37)
(38)
where
l l 1 2 l l 1l 2l 3 4
y1 a0 1
x
x ...
2!
4!
(39a)
and
l 1l 2 x3 l 1l 2l 3l 4 x5 ...
y2 a1 x
3!
5!
40
(39b)
3.6
Legendre Polynomials
If l in Legendres equation is an integer, then from the recurrence relation (equation 34) we
see that the coefficients al 2 , al 4 , etc vanish and either series y1 or y2 terminates to yield a
polynomial of order l .
For example if l 0 , we have a2 a4 0 and the first series terminates to give
y1 a0
(40)
(41)
y1 a0 1 3x 2
(42)
y2 a1 x x 3
6
(43)
(44a)
P1 x x
(44b)
P2 x
1 2
3x 1
2
P3 x
1 3
5 x 3x
2
41
(44c)
(44d)
4.1
Introduction
x x, y, z, t x, y, z, t
lim
x x 0
x
(1)
and
x, y, z, t t x, y, z, t
lim
t t 0
t
(2)
respectively.
The second partial derivatives with respect to x and t are defined by
2
x
x x
(3)
t t
(4)
and
2
t
1 2
(5)
c 2 t 2
where c is a constant, t is the time variable, and 2 (pronounced del squared) is the
Laplacian operator defined in Cartesian coordinates by
2
2 y
x 2
2 y
y 2
2 y
z 2
where k is a constant.
42
(6)
4.2
1 2
(7)
c 2 t 2
where x, t is the vertical displacement of a segment of a string, located at point x , from its
equilibrium (i.e., rest position) at a given time t .
In the separation of variables method, we seek a solution to this equation of the form
X x T t
(8)
2 XT
x 2
d2X
(9)
dx2
and
2
t 2
2 XT
t 2
d 2T
dt 2
(10)
d2X
dx2
X d 2T
c 2 dt 2
X dx2
c 2T dt 2
(11)
Equation (11) can only be satisfied if both sides of the equation are equal to a constant. For
convenience we choose this constant to be k 2 . Therefore
1 d2X
k 2
X dx2
(12)
and
1 d 2T
2
c T dt
k 2
(13)
d2X
k2X 0
2
dx
(14)
and
d 2T
dt
c 2 k 2T 0
or
d 2T
dt
2T 0
(15)
where 2 c 2 k 2
Equations (14) and (15) are similar to equation (24) in topic 3. Their solutions are therefore
X x A cos kx B sin kx
(16)
T t C cost D sin t
(17)
and
4.3
(18)
2
x
(19)
(20)
where the variable X depends on x alone and the variable T depends on t alone. Substituting
this expression in equation (19) gives
kT
d2X
dx
44
dT
dt
(21)
X dx2
kT dt
(22)
For this equation to hold each side must equal a constant, which we conveniently take as 2 .
Consequently equation (22) results in the following ODEs
d2X
dx
2 X 0
(23)
dT
k2T 0
dt
(24)
(25)
(26)
then integrating both sides of equation (26) with respect to T and t thus
1
T dT k dt
(27)
ln T k2t c
(28)
we obtain
or
ln T ln C ln
T
k2t
C
T
exp k2t
C
or
T t C exp k2t
45
(29)
Substituting the solutions (25) and (29) in equation (20) gives the general solution of the heat
equation
46
(30)