Professional Documents
Culture Documents
Lecture ODE PDE
Lecture ODE PDE
Preliminaries 3
1 Euler Equations 5
2 Variation of Parameters 7
3.1 Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4 Fourier Analysis 29
1
4.4 Fourier Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
5 Sturm-Liouville Problems 39
2
Preliminaries
Trigonometric Identities
cos2 x + sin2 x = 1
3
4
Chapter 1
Euler Equations
am(m − 1) + bm + c = 0 (1.1)
There are 3 different cases to be considered depending on the nature of the auxiliary
roots:
5
(a) (Distinct Real Roots) Let m1 and m2 denote the real roots of (1) such that
m1 6= m2 . Then the GS is
y = c1 xm1 + c2 xm2 .
(b) (Repeated Real Roots) If the real roots of (1) are repeated i.e., m1 = m2 = m,
then the GS is
y = c1 xm + c2 xm ln x.
(c) (Conjugate Complex Roots) If the roots of (1) are the conjugate pair
m1 , m2 = α ± iβ, where α and β > 0 are real, then the GS is
6
Chapter 2
Variation of Parameters
Consider the 2nd order homogeneous linear differential equation (HLDE) with con-
stant coefficients
ay 00 + by 0 + cy = 0 (1)
Equation (1) has solutions eλx where λ satisfies the characteristic equation
aλ2 + bλ + c = 0.
There are 3 possible forms for the general solution of (1) depending on the roots λ1
and λ2 of the characteristic equation:
Case 1. If λ1 and λ2 are real and distinct, then the general solution of (1) is
y = c1 eλ1 x + c2 eλ2 x .
7
Case 2. If λ1 = λ2 = λ are real and equal, then the general solution of (1) is
y = c1 eλx + c2 xeλx .
Case 3. If λ1 and λ2 are complex conjugates, say, λ1 = α + iβ, λ2 = α − iβ, then the
general solution of (1) is
(a) y 00 − 4y = 0
(b) y 00 − 4y 0 + 4y = 0
(c) y 00 + 2y 0 + 4y = 0
√
Answer. (a) y = c1 e2x + c2 e−2x . (b) y = c1 e2x + c2 xe2x . (c) y = e−x [c1 cos( 3x) +
√
c2 sin( 3x)].
8
2.2 Variation of Parameters
y2 (x)r(x) y1 (x)r(x)
u01 (x) = − , u02 (x) =
W W
y y2
1
where W = = y1 (x)y20 (x) − y2 (x)y10 (x) (the Wronskian).
y 0 0
y2
1
Note : The coefficient of y 00 must always be 1, and hence a preliminary division may
be required.
9
10
Chapter 3
3.1 Sequences
Remark 2.
a1 , a2 , a3 , . . . , an , . . . .
11
Example 4.
an = 5n − 3, n = 1, 2, 3, . . .
a1 = 2, an+1 = an + 5, n = 1, 2, 3, . . .
an = arn−1 , n = 1, 2, 3, . . . .
A sequence {an } is said to have a limit L if for every > 0, there is an integer N
such that,
If lim an exists and is finite , then we say the sequence converges (or is conver-
n→∞
gent). Otherwise, we say the sequence diverges (or is divergent) .
12
1 1
Example 6. lim = 0, so the sequence converges to 0.
n→∞ n n
n
Example 7. The sequence converges to 21 .
2n + 1
Example 8. lim (2 − n) = −∞, so the sequence {2 − n} diverges.
n→∞
−1, 1, −1, 1, . . .
that alternates between −1 and 1, the limit lim (−1)n does not exist.
n→∞
n
Thus, {(−1) } is a divergent sequence.
Example 10. The geometric sequence {rn } converges if −1 < r ≤ 1, but diverges if
|r| > 1.
13
The number S is called the sum of the series.
Otherwise, we say that the series diverges.
Example 13.
Remark 3.
It can be shown that if a series converges absolutely, then the series also converges;
however, the converse is not necessarily true.
14
∞
X 1
Example 14. (−1)n+1 is absolutely convergent because the corresponding series
n=1
2n
∞
X 1
of absolute values n
is convergent.
n=1
2
where x is a variable and the an ’s are constants called the coefficients of the
series.
(b) More generally, a power series in x − a is a series of the form
∞
X
an (x − a)n .
n=0
15
Theorem 3.2.2. Possible Convergence Behaviour of a series
∞
X
For a given series an (x − a)n , there are only 3 possibilities:
n=0
Remark 5.
Example 16.
∞
X (x − 3)n
Find the radius R and interval of convergence I for the power series .
n=0
2n
Answer. R = 2, I = (1, 5)
16
Theorem 3.2.3. Differentiation and Integration of Power Series
∞
X
Suppose that a function f is represented by the power series an (x − a)n that has
n=0
a nonzero radius of convergence R. Then on the interval |x − a| < R,
∞
X
f (x) = an (x − a)n
n=0
Remark 6.
(i) The two series in (a) and (b) both have radius of convergence R.
(ii) The intervals of convergence of the above two series may not be the same as that
of f (x).
17
Definition 3.2.6. Analytic at a Point
∞
X
Question: When can we find a power series solution of the form y = an (x − x0 )n
n=0
for a linear ODE ?
18
Theorem 3.3.1. Existence of Power Series Solutions
where a0 and a1 are arbitrary constants and y1 (x) and y2 (x) are linearly independent
series solutions that are analytic at x0 .
(a) A point x0 is called an ordinary point of the DE if both p(x) = B(x)/A(x) and
q(x) = C(x)/A(x) are analytic at x0 .
(b) A point that is not an ordinary point is called a singular point of the DE.
Remark 8.
If A(x), B(x) and C(x) are polynomials with no common factors, then
19
Example 20.
20
Example 21. Legendre’s Equation
(1 − x2 )y 00 − 2xy 0 + λy = 0, −1 ≤ x ≤ 1
m(m + 1) − λ
am+2 = am , m = 0, 1, 2, 3, . . . .
(m + 1)(m + 2)
21
Remark 9.
Legendre’s Polynomials
22
Remark 10.
If A(x), B(x) and C(x) are polynomials with no common factors, then x0 is a regular
singular point if
B(x) C(x)
lim (x − x0 ) < ∞ and lim (x − x0 )2 < ∞.
x→x0 A(x) x→x0 A(x)
Example 22. For the following ODEs, classify points as ordinary or singular points.
Classify singular points further as regular or irregular singular points.
(a) x2 y 00 + xy 0 + y = 0
Remark 11.
∞
X
The series an (x − x0 )n+r is called a Frobenius series.
n=0
Example 23. Use the method of Frobenius to find a solution of the ODE
2xy 00 + y 0 − y = 0.
Answer. The roots of the indicial equation are r = 0, 1/2. It can be shown that
∞ ∞
X 2n n X 2n
y1 (x) = x and y2 (x) = x1/2 xn are 2 LI solutions of the DE.
n=0
(2n)! n=0
(2n + 1)!
Hence, its GS is y = c1 y1 (x) + c2 y2 (x).
23
Remark 12.
However, if one of the solutions y1 is known, then we can also find a second solution
y2 using the reduction of order formula:
Z − R p(x)dx
e B(x)
y2 = y1 dx, p(x) = .
[y1 ]2 A(x)
Example 24. Only One Frobenius solution
∞
X 2 1 1 1 3
Given that y1 = xn = 1 + x + x2 + x + · · · is a Frobenius
n=0
n!(n + 2)! 3 24 360
solution of xy 00 + 3y 0 − y = 0, x > 0. Use the method of reduction of order to show
that
1 2 1 19
y2 = y1 − 2 + + ln x − x + ···
2x 3x 4 270
is a second linearly independent solution of the given DE.
24
Definition 3.4.2. Bessel’s equation
x2 y 00 + xy 0 + (x2 − ν 2 )y = 0
Reading Assignment 1.
x2 y 00 + xy 0 + (x2 − ν 2 )y = 0.
we obtain
x2 y 00 + xy 0 + (x2 − ν 2 )y = 0.
25
r(r − 1) + r − ν 2 a0 xr + r(r + 1) + (r + 1) − ν 2 a1 xr+1
X∞
(n + r)(n + r − 1) + (n + r) − ν 2 an + an−2 xn+r = 0
+
n=2
Equate coefficients to 0,
[r(r − 1) + r − ν 2 ] a0 = 0 ⇒ r = ±ν as a0 6= 0
When r = ν,
a1 = 0 ⇒ an = 0, n = 3, 5, 7, . . . .
26
Remark 15.
Z ∞
(a) The gamma function Γ(ν) = e−t tν−1 dt, ν > 0 satisfies the following
0
conditions.
(i) Γ(ν + 1) = νΓ(ν)
(ii) Γ(n + 1) = n! for n = 0, 1, 2, . . . .
(b) It was shown that
∞
ν
X (−1)m x2m
y = a0 x
m=0
22m m!(1 + ν) · · · (m + ν)
in terms of Bessel’s functions of the first kind, Jν (x), and the second kind, Yν (x).
27
Example 26.
The solutions of many other second order linear ODEs can be expressed in terms of
Bessel’s functions.
Use the change of variables t = λx to find the GS of the parametric Bessel equa-
tion of order ν
x2 y 00 + xy 0 + (λ2 x2 − ν 2 )y = 0
28
Chapter 4
Fourier Analysis
Definition 4.1.1. A function f (x) is periodic with period p > 0 (or p-periodic)
if f (x + p) = f (x) for all x and x + p in the domain of f ; the smallest value of p
satisfying this condition is called the fundamental period.
Remark 16.
(c) If f and g have period p, then for any constants a and b, the linear combination
af (x) + bg(x)
29
Example 27.
(a) sin x and cos x are both periodic with periods 2π, 4π, 6π, . . . , the period 2π being
the fundamental period.
(b) tan x is periodic with periods π, 2π, 3π, . . . with fundamental period π.
(c) A constant function is a periodic function with an arbitrary period.
(a) f is an even function if its domain contains the point −x whenever it contains
x and if f (−x) = f (x) ∀ x ∈ D(f ).
(b) f is an odd function if its domain contains the point −x whenever it contains
x and if f (−x) = −f (x) ∀ x ∈ D(f ).
Example 33. The exponential function f (x) = ex is neither odd nor even.
30
Theorem 4.2.1. Properties of Even & Odd Functions
Answer. 12
31
4.3 Orthogonal Functions
Let f and g be two functions defined on an interval [a, b]. An scalar product of f
and g is the number Z b
(f, g) = f (x)g(x) dx.
a
f and g are orthogonal on [a, b] if (f, g) = 0.
Example 35. f (x) = sin x and g(x) = cos 3x are orthogonal on [−π, π].
Example 36. {sin x, sin 2x, sin 3x, . . .} is orthogonal on [−π, π]. This is because
Z π
(sin mx, sin nx) = sin mx sin nx dx = · · · = 0 if m 6= n
−π
Reading Assignment 2.
Verify that S = {1, x2 , cos x} is orthogonal with respect to the weight function w(x) =
x on the interval I = [−1, 1].
32
Answer.
33
Definition 4.4.1. Fourier Series Representation
If a function f (x) of period 2L has a Fourier series, then the Fourier series is
∞
∗
X nπ nπ
f (x) = a0 + an cos x + bn sin x
n=1
L L
34
Example 37.
Find the Fourier series for the triangular wave function defined by
(
0 , −1 ≤ x < 0
f (x) = and f (x + 2) = f (x).
x , 0≤x<1
∞ ∞
∗ 1 2 X cos(2n − 1)πx 1 X (−1)n+1
Answer. f (x) = − 2 + sin nπx.
4 π n=1 (2n − 1)2 π n=1 n
(a) The Fourier series of an even function f defined on (−L, L) or an even function
of period 2L is the cosine series
∞
X nπ
f ∗ (x) = a0 + an cos x
n=1
L
1 L 2 L
Z Z
nπx
where a0 = f (x) dx and an = f (x) cos dx, n = 1, 2, . . . .
L 0 L 0 L
(b) The Fourier series of an odd function f defined on (−L, L) or an odd function
of period 2L is the sine series
∞
X nπ
f ∗ (x) = bn sin x
n=1
L
Z L
2 nπx
where bn = f (x) sin dx, n = 1, 2, . . . .
L 0 L
Example 38. Fourier series of an odd function
Find the Fourier series for the periodic square wave function defined by
(
−1 , −π ≤ x < 0
f (x) = and f (x + 2π) = f (x).
1 , 0≤x<π
∞ ∞ ∞
∗
X nπ 2 X 1 − (−1)n 4 X sin(2n − 1)x
Answer. f (x) = bn sin x= sin nx = .
n=1
L π n=1 n π n=1 2n − 1
35
4.5 Fourier Expansions in a Finite Interval
Suppose the given function f is defined only over the finite interval [0, p]. Then to
obtain a full-range Fourier series representation of f (i.e., a series consisting
of both cosine and sine terms), we define the periodic extension g of f by
(
f (x) , 0<x<p
g(x) = .
g(x + p) , elsewhere
Then the Fourier series of g will be representative of f within the given interval.
Exercise 2. Find a full-range Fourier series expansion of f (x) = x valid in the finite
interval 0 < x < 4.
Answer. Here p = 2L = 4.
∞
∗ 4h πx 1 1 3πx i 4 X sin nπx
2
f (x) = 2 − sin + sin πx + sin + ··· = 2 − .
π 2 2 3 2 π n=1 n
(a) Let f (x) be a function defined only on the finite interval (0, L).
The even periodic extension of f is the function f1 defined by
(
f (x) , 0<x<L
f1 (x) = and f1 (x + 2L).
f (−x) , −L < x < 0
36
(b) Let f (x) be a function defined only on the finite interval (0, L).
The odd periodic extension of f is the function f2 defined by
(
f (x) , 0<x<L
f2 (x) = and f1 (x + 2L).
−f (−x) , −L < x < 0
Then the Fourier series of f1 is a sine series. It is called the half-range sine
series expansion of f .
That is, the half-range sine series expansion of f is the sine series
∞
∗
X nπx
f (x) = bn sin
n=1
L
Z L
2 nπx
where bn = f (x) sin dx, n = 1, 2, . . . .
L 0 L
Example 39. A function f (x) is defined within the interval 0 ≤ x ≤ π by
(
x , 0 ≤ x ≤ π/2
f (x) =
π−x , π/2 < x ≤ π
Sketch the graphs of the even and odd (2π-periodic) extensions of f on the interval
(−2π, 4π).
Example 40.
For the function f (x) = 1 defined only in the interval 0 < x < 1, obtain
37
Reading Assignment 3. Fourier Cosine Series
Answer. With L = π,
∞ ∞
∗
X nπ X
the Fourier cosine series is f (x) = a0 + an cos x = a0 + an cos nx.
n=1
L n=1
Z L Z π
1 1 π
a0 = f (x) dx = (1 + x) dx = · · · = 1 + .
L 0 π 0 2
Z L Z π
2 nπx 2 2 cos nπ − 1
an = f (x) cos dx = (1 + x) cos nx dx = · · · =
L 0 ( L π 0 π n2
2 (−1)n − 1 − πn4 2 , n odd
= =
π n2 0 , n odd
∞
X ∞
X
∗ π
Hence, f (x) = 1 + 2
+ an cos nx + an cos nx
n odd n even
∞
π X 4
=1+ + − 2 cos nx
2 n odd
πn
∞
π 4 X cos(2n − 1)x
=1+ − .
2 π n=1 (2n − 1)2
38
Chapter 5
Sturm-Liouville Problems
ay 00 + by 0 + cy = 0 (1)
is
am2 + bm + c = 0.
When its roots (m1 and m2 ) are real and distinct ,real and equal , or complex con-
jugates (m1 , m2 = α±iβ), the general solutions for x > 0 are, respectively,
(i) y = c1 em1 x + c2 em2 x .
(ii) y = c1 em1 x + c2 xem1 x .
(iii) y = eαx (c1 cos βx + c2 sin βx) .
Remark 18.
As a rule, the exponential form y = c1 e−kx + c2 ekx of the general solution y 00 −
k 2 y = 0, k > 0, is used when the domain of x is an infinite or semi-infinite
interval; the hyperbolic form y = c1 cosh kx + c2 sinh kx is used when the domain
of x is a finite interval.
39
(b) The auxiliary equation of the second-order Cauchy-Euler equation
ax2 y 00 + bxy 0 + cy = 0
is am(m − 1) + bm + c = 0.
When its roots (m1 and m2 ) are real and distinct ,real and equal , or complex con-
jugates (m1 , m2 = α±iβ), the general solutions for x > 0 are, respectively,
(i) y = c1 xm1 + c2 xm2
(ii) y = c1 xm1 + c2 xm1 ln x
(iii) y = xα [c1 cos(β ln x) + c2 sin(β ln x)]
(c) The general solution of the parametric Bessel equation
x2 y 00 + xy 0 + (λ2 x2 − ν 2 )y = 0
is y = c1 Jν (λx) + c2 Yν (λx).
(d) Legendre’s equation
(1 − x2 )y 00 − 2xy 0 + λy = 0
40
Example 41. A Sturm-Liouville Problem
Find the values of λ (eigenvalues) and the corresponding nontrivial solutions (eigen-
functions) of the following boundary value problem (Sturm-Liouville problem)
y 00 + λy = 0, y(0) = y(L) = 0.
nπx
Answer. The eigenfunctions of the BVP are yn (x) = sin with the corresponding
L
n2 π 2
eigenvalues λ = λn = , n = 1, 2, 3, . . ..
L2
Remark 19.
(a) The eigenfunctions are orthogonal wrt the weight function w(x) = 1 on the in-
terval [0, L] in the sense that
Z L Z L
nπx mπx
yn (x)ym (x) dx = sin sin dx = 0, m 6= n.
0 0 L L
(b) If f is piecewise smooth function on [0, L], then we can represent f in terms of
the above eigenfunctions as the series
∞ ∞
X X nπx
f (x) = bn y n = bn sin .
n=1 n=1
L
41
Definition 5.0.3. Generalized Fourier Series
Let {fn } be an infinite (complete) orthogonal set with respect to a weight function
w(x) on [a, b]
42
Remark 21.
x2 y 00 + xy 0 + (λ2 x2 − n2 )y = 0, n = 0, 1, 2, . . .
is y = c1 Jn (λx) + c2 Yn (λx) .
(b) Because lim Yn (x) = −∞, the Bessel functions Jn (λi x), i = 1, 2, 3, . . . are the
x→0+
solutions of this DE that are continuous (together with their derivatives) on a
closed interval [0, b] when the eigenvalues λi are defined by means of a boundary
condition of the form
For any choice of c and d , not both zero, it is known that (5.1) has an infinite
number of roots xi = λi b.
(c) Orthogonality of Bessel Functions
The Bessel functions Jn (λi x), i = 1, 2, 3, . . . are orthogonal with respect to the
weight function w(x) = x on the interval [0, b]:
Z b
xJn (λi x)Jn (λj x)dx = 0, i 6= j.
0
Answer.
∞ Z 3
X 2 2
f (x) = ck J1 (λk x), ck = 2 2 x2 J1 (λk x)dx = .
k=1
3 J2 (3λk ) 0 λk J2 (3λk )
43
Definition 5.0.5. Fourier-Legendre Expansion
where Z 1
2n + 1
an = f (x)Pn (x)dx, n = 0, 1, 2, . . . .
2 −1
Remark 22.
(1 − x2 )y 00 − 2xy 0 + λy = 0
44
Reading Assignment 4. Show that the eigenvalues of the Sturm-Liouville problem
X 00 − kX = 0, X(0) = X 0 (π) = 0
(2n − 1)x
are k = −(2n − 1)2 /4 and that Xn = sin are the corresponding eigenfunc-
2
tions for n = 1, 2, . . . .
We seek nonzero solutions of this problem by considering the following 3 cases: k >
0, k = 0, k < 0.
Thus, the only solution is X(x) = 0. That is, this problem has no positive eigenvalues.
case 2. Suppose k = 0.
45
Combining the results of the 3 cases, we conclude that the eigenvalues of the given
problem are
k = −(2n − 1)2 /4, n = 1, 2, . . .
and that
(2n − 1)x
Xn = sin , n = 1, 2, . . .
2
are the corresponding eigenfunctions.
46
Chapter 6
(a) The equation is homogeneous if G = 0 for all x and y in the domain of the
equation; otherwise, it is called nonhomogeneous
47
(b) If the coefficients A, B, C, D, E, and F are all constants, then the equation is
said to have constant coefficients; otherwise, it has variable coefficients.
(a) parabolic if B 2 − 4AC = 0. Parabolic equations often describe heat flow and
diffusion phenomena, such as heat flow through the earth’s surface.
(b) hyperbolic if B 2 − 4AC > 0. Hyperbolic equations often describe wave motion
and vibrating phenomena, such as violin’s strings and drumheads.
(c) elliptic if B 2 −4AC < 0. Elliptic equations are often used to describe steady state
phenomena and thus do not depend on time. Elliptic equations are important in
the study of electricity and magnetism.
Example 45.
48
6.2 Solving Partial Differential Equations
Remark 23.
PDEs have a large number of solutions and general solutions are not always readily
obtained.Typically, further conditions are imposed to obtain a unique solution.
Example 46. Verify that the function u(x, t) = sin 3t cos x is a solution of the wave
equation utt = 9uxx that satisfies the following boundary conditions
We can build more complicated solutions for a linear homogeneous PDE using the
following theorem.
If u1 and u2 are any solutions of a linear homogeneous PDE in some region R, then
the linear combination u = c1 u1 + c2 u2 is also a solution of the PDE.
Remark 24. If the PDE has infinite number of solutions u1 , u2 , . . . , then the linear
combination u = c1 u1 + c2 u2 + · · · = ∞
P
n=1 cn un is also a solution of the PDE.
49
6.3 Separation Of Variables Method
This method reduces a PDE in n independent variables to n ODEs. Then the solutions
of these ODEs are “pieced together” using the Superposition Principle to produce a
solution of the PDE that satisfies the given initial and boundary conditions.
(a) The vertical displacement u(x, t) of a string stretched between the points x = 0
and x = L is governed by the wave equation
Using separation of variables, solve for u(x, t) subject to the boundary conditions
50
Answer.
The solution is
∞
X cnπt cnπt nπx
(a) u(x, t) = An cos + Bn sin sin where
n=1
L L L
Z L Z L
2 nπx 2 nπx
An = f (x) sin dx and Bn = g(x) sin dx, n = 1, 2, . . . .
L 0 L cnπ 0 L
∞
X cnπt nπx
(b) (i) u(x, t) = An cos sin where
n=1
L L
Z L
2 nπx
An = f (x) sin dx, n = 1, 2, . . . .
L 0 L
∞
4L X 1 nπ cnπt nπx
(ii) u(x, t) = 2 2
sin cos sin
π n=1 n 2 L L
4L cπt πx 1 3cπt 3πx 1 5cπt 5πx
= 2 cos sin − 2 cos sin + 2 cos sin − ··· .
π L L 3 L L 5 L L
Then the temperature u(x, t) with position x and time t in the rod must satisfy the
one-dimensional heat equation
ut = c2 uxx .
51
In two (or three) space dimensions, the heat equation is
ut = c2 ∇2 u,
where
∇2 u = uxx + uyy (or uxx + uyy + uzz = 0)
is the Laplacian of u.
gives the temperature in a thin rod of length L with an initial temperature g(x). The
ends of the rod are held at zero degrees.
Find the temperature u(x, t) if L = 2 and g(x) = 5 sin 2πx − 2 sin 3πx.
You may assume the result that the eigenvalues of the Sturm-Liouville problem
X 00 − kX = 0, X(0) = X(L) = 0
are
n2 π 2
k=− , n = 1, 2, . . .
L2
and that
nπx
Xn = sin , n = 1, 2, . . .
L
are the corresponding eigenfunctions.
2 2
Answer. u(x, t) = 5 sin 2πx · e−(2πc) t − 2 sin 3πx · e−(3πc) t .
52
Reading Assignment 6. Heat Equation : Homogeneous (Zero) BCs
X 00 − kX = 0, X(0) = X 0 (π) = 0
are
(2n − 1)x
k = −(2n − 1)2 /4, Xn = sin , n = 1, 2, . . . .
2
Remark 25.
This BVP can be thought of as a model of heat flow in a rod of length π whose one
end (at x = π) is insulated. The solution u(x, t) then represents the temperature of
1 5
the rod when the initial temperature is 3 sin x − sin x.
2 2
Answer.
53
Step 2. [Solve (6.10) and (6.11]
(2n − 1)x
The hint says that the corresponding eigenfunctions (6.10) are Xn = sin
2
corresponding to k = −(2n − 1)2 /4 for n = 1, 2, . . . .
(2n − 1)2
With k = −(2n − 1)2 /4, (6.11) becomes T 0 + T = 0, which is an order 1
4
(2n − 1)2
HLDE with constant coefficients whose characteristic root is m = − . Hence,
4
its eigenfunctions are
(2n − 1)2
Tn = exp − t .
4
54
6.3.3 Laplace Equation
The steady-state case of the heat equation occurs when ut = 0. In this case, the
heat equation becomes
∇2 u = 0.
55
6.4 Boundary-Value Problems in Other Coordi-
nate Systems
1 1
∇2 u = urr + ur + 2 uθθ .
r r
Proof. u = u(x, y)
x = r cos θ, y = r sin θ
ux = ur rx + uθ θx
56
6.4.2 Laplacian in Cylindrical Coordinates
∂ 2 u 1 ∂u ∂ 2 u
+ + 2 = 0, 0 < r < 2, 0 < z < 4,
∂r2 r ∂r ∂z
u(2, z) = 0, 0 < z < 4,
u(r, 0) = 0, u(r, 4) = u0 , 0 < r < 2.
Z
[Hint: Use the substitution t = λn x and xp+1 Jp (x)dx = xp+1 Jp+1 (x) + C.]
∞
X sinh(λn z)J0 (λn r)
Answer. The solution is u(r, z) = u0
λ sinh(4λn )J1 (2λn )
n=1 n
57
6.4.3 Problems in Spherical Coordinates: Legendre Polyno-
mials
2 1 cot φ 1
∇2 u = urr + ur + 2 uφφ + 2 uφ + 2 2 uθθ
r r r r sin φ
or
1 ∂ 2u
2 1 ∂ 2 ∂u 1 ∂ ∂u
∇ u= 2 r + sin φ + .
r ∂r ∂r sin φ ∂φ ∂φ sin2 φ ∂θ2
Example 51. Steady Temperatures in a Sphere
Remark 26. u(r, φ) could also be interpreted as the potential inside the sphere due
to a charge distribution on its surface.
58
Reading Assignment 7. Potential Outside a Sphere
Answer.
(6.14) is a Legendre’s equation. According to the hint , its only solutions that are
continuous and have continuous derivatives on the closed interval [−1, 1] are the Leg-
endre polynomials Pn (x) corresponding to λ = n(n + 1), n = 0, 1, 2, . . . . Thus the
eigenpairs of (6.14) are
59
Furthermore, when λ = n(n + 1), the GS of the Euler equation (6.12) is
R = c1 rn + c2 r−(n+1) .
For it to be the solution of the BVP, it must also satisfy the boundary condition:
X∞
u(c, φ) = f (φ) = An c−(n+1) Pn (cos φ).
n=0
The solution is ∞
X
u(r, φ) = An r−(n+1) Pn (cos φ)
n=0
where Z π
n+1 (2n + 1)
An = c f (φ)Pn (cos φ) sin φ dφ, n = 0, 1, 2, . . . .
2 0
60