Sie sind auf Seite 1von 12

20

Partial Differential Equations II:


Solving (Homogeneous) PDE Problems
20.1 Problems with Two Variables
Putting It All Together
Let us go back to the sort of problemwe were considering at the end of chapter 18, that of nding
a solution to a (separable) homogeneous partial differential equation involving two variables x
and t which also satised suitable boundary conditions (at x = a and x = b ) as well as some
sort of initial condition(s). In particular, we were considering the following heat ow problem
on a rod of length L :
Find the solution u = u(x, t ) to the heat equation
u
t
6

2
u
x
2
= 0 for 0 < x < L and 0 < t (20.1a)
that also satises the boundary conditions
u(0, t ) = 0 and u(L, t ) = 0 for 0 < t (20.1b)
and the initial conditions
u(x, 0) = u
0
(x) for 0 < x < L (20.1c)
where u
0
is some known function.
Recall that, using separation of variables, we found a set of separable partial solutions
u
k
(x, t ) = c
k

k
(x)g
k
(t ) for k = . . . , 3, 4, 5, . . .
where the c
k
s are arbitrary constants, the
k
s (along with corresponding
k
s ) are solutions
to some eigenvalue problem, and the g
k
s satisfy the other problem. We call these partial
solutions because they satised the partial differential equation and the boundary conditions, but
not the initial conditions.
In our example, we found the set of partial solutions
u
k
(x, t ) = c
k
sin
_
k
L
x
_
e
6
k
t
3/30/2012
PDEs II: Solving (Homogeneous) PDE Problems Chapter & Page: 202
with

k
=
_
k
L
_
2
and k = 1, 2, 3, . . . .
Here, each

k
=
_
k
L
_
2
and
k
(x) = sin
_
k
L
x
_
is a eigen-pair for the eigen-problem
d
2

dx
2
= for 0 < x < L
(0) = 0 and (L) = 0 .
Notice that this eigen-problem is a Sturm-Liouville problem with weight function
w(x) = 1 and corresponding inner product
f | g =
_
L
0
f

(x)g(x) 1 dx =
_
L
0
f

(x)g(x) dx .
By the Sturm-Liouville theory, we know the set of all these
k
s is a complete
orthogonal set, and, if f is any reasonable function on (0, L) , then
f (x) =

k1
C
k

k
(x) =

k1
C
k
sin
_
k
L
x
_
(20.2a)
where
C
k
=

k
| f

2
=
_
L
0
sin
_
k
L
x
_
f (x) dx
_
L
0
sin
2
_
k
L
x
_
dx
=
2
L
_
L
0
sin
_
k
L
x
_
f (x) dx .
(20.2b)
In general, we should expect the eigen-problem yielding the
k
s in our list of separable
solutions
u
k
(x, t ) = c
k

k
(x)g
k
(t ) for k =
to be a Sturm-Liouvlle problemwith some corresponding weight function w(x) and correspond-
ing inner product
f | g =
_
b
a
f

(x)g(x)w(x) dx .
The Sturm-Liouville theory will (usually) assure us that the
k
s form a complete orthogonal
set of functions, and that, if f is any reasonable function, then
f (x) =

k
C
k

k
(x) with C
k
=

k
| f

2
. (20.3)
So what?
Well, recall again that each of the u
k
s satises both the given homogeneous partial dif-
ferential equation and the given boundary conditions (but not necessarily the initial conditions).
Moreover, because the partial differential equation is homogeneous and the boundary conditions
version: 3/30/2012
PDEs II: Solving (Homogeneous) PDE Problems Chapter & Page: 203
are suitable, we have a principle of superposition telling us that any (possibly innite) linear
combination of these partial solutions
u(x, t ) =

k
u
k
(x, t ) =

k
c
k

k
(x)g
k
(t )
also will satisfy the partial differential equation and boundary conditions. So all we need to do
is to set u(x, t ) equal to such a linear combination (as above) and determine the c
k
s so that
this linear combination, with t = 0 , satises the initial conditions and we can use equation
set (20.3) to do this.
For our heat ow example, applying the principle of superposition yields
u(x, t ) =

k
u
k
(x, t ) =

k=1
c
k
sin
_
k
L
x
_
e
6
k
t
with
k
=
_
k
L
_
2
as a general formula for a function satisfying both the partial differential equation
and the given boundary conditions.
Plugging t = 0 into this series and recalling that u(x, 0) = u
0
(x) reduces this
innite series for u(x, t ) to an innite series for the initial temperature distribution,
u
0
(x) = u(x, 0) =

k=1
c
k
sin
_
k
L
x
_
e
6
k
0
=

k=1
c
k
sin
_
k
L
x
_
.
Thus, as noted in equation set (20.2), we must have
c
k
=

k
| u
0

2
=
2
L
_
L
0
sin
_
k
L
x
_
u
0
(x) dx .
And thus, the solution to our original heat ow problem is
u(x, t ) =

k=1
c
k
sin
_
k
L
x
_
e
6
k
t
where

k
=
_
k
L
_
2
, c
k
=
2
L
_
L
0
sin
_
k
L
x
_
u
0
(x) dx ,
and u
0
(x) is whatever our initial temperature distribution was.
Lets nish by nally picking an specic initial temperature distribution, and solving for
u(x, t ) .
!

Example 20.1: Find the solution u = u(x, t ) to the heat equation


u
t
6

2
u
x
2
= 0 for 0 < x < 1 and 0 < t
that also satises the boundary conditions
u(0, t ) = 0 and u(1, t ) = 0 for 0 < t
version: 3/30/2012
PDEs II: Solving (Homogeneous) PDE Problems Chapter & Page: 204
and the initial conditions
u(x, 0) =
_
1 if 0 < x <
1
/
2
0 if
1
/
2
< x < 1
.
Here, L = 1 , and, applying what weve already derived,
u(x, t ) =

k=1
c
k
sin
_
k
L
x
_
e
6
k
t
=

k=1
c
k
sin(kx) e
6
k
t
where

k
=
_
k
L
_
2
= k
2

2
and
c
k
=
2
L
_
L
0
sin
_
k
L
x
_
u
0
(x)dx
=
2
1
_
1
0
sin(kx)
_
1 if 0 < x <
1
/
2
0 if
1
/
2
< x < 1
_
dx
= 2
__
1/2
0
sin(kx) 1 dx +
_
1
1/2
sin(kx) 0 dx
_
= 2
_

1
k
cos(kx)

1/2
0
+ 0
_
=
2
k
_
cos
_
k
2
_
+ cos(0)
_
=
2
k
_
1 cos
_
k
2
__
.
So,
u(x, t ) =

k=1
c
k
sin(kx) e
6
k
t
=

k=1
2
k
_
1 cos
_
k
2
__
sin(kx) e
6
2
k
2
t
=
2
1
_
1 cos
_
1
2
__
sin(1x) e
6
2
1
2
t
+
2
2
_
1 cos
_
2
2
__
sin(2x) e
6
2
2
2
t
+
2
3
_
1 cos
_
3
2
__
sin(3x) e
6
2
3
2
t
+
2
4
_
1 cos
_
4
2
__
sin(4x) e
6
2
4
2
t
+
version: 3/30/2012
PDEs II: Solving (Homogeneous) PDE Problems Chapter & Page: 205
=
2
1
[1] sin(1x) e
6
2
1
2
t
+
2
2
[2] sin(2x) e
6
2
2
2
t
+
2
3
[1] sin(3x) e
6
2
3
2
t
+
2
4
[0] sin(4x) e
6(
2
4
2
t
+
=
2
1
sin(1x) e
6
2
1
2
t
+
4
2
sin(2x) e
6
2
2
2
t
+
2
3
sin(3x) e
6
2
3
2
t
+
2
5
sin(5x) e
6
2
5
2
t
+
4
6
sin(6x) e
6
2
6
2
t
+
2
7
sin(7x) e
6
2
7
2
t
+ .
Summary
To solve a partial differential equation problem consisting of a (separable) homogeneous partial
differential equation involving variables x and t , suitable boundary conditions at x = a and
x = b , and some initial conditions:
1. First use the separation of variables method to obtain a list of separable functions
1
u
k
(x, t ) = c
k

k
(x)g
k
(t ) for k =
satisfying both the partial differential equation and the boundary conditions. Do not even
think about the initial conditions yet. Initial conditions are dealt with last.
To determine the
k
s , you will solve a Sturm-Liouville problem. Be sure to note the
corresponding weight function w(x) and corresponding inner product
f | g =
_
b
a
f

(x)g(x)w(x) dx .
Keep in mind that the
k
s form a complete orthogonal set of functions.
2
Thus, for any
reasonable function f ,
f (x) =

k
C
k

k
(x) with C
k
=

k
| f

2
. (20.4)
2. Then set
u(x, t ) =

k
c
k

k
(x)g
k
(t ) .
Use this formula with your initial conditions and equation/formula set (20.4) to nd the
values for the c
k
s . This innite series formula for u(x, t ) is your solution to the entire
partial differential equation problem.
1
Weve made a slight notational change. In chapter 18 we included an arbitrary constant in the formula for
k
.
Nowwe are assuming
k
is a single chosen eigenfunction as discussed in the chapter on Sturm-Liouville problems,
and are waiting until the end to stick in the arbitrary constant.
2
If the eigenvalues from the eigen-problem are not simple, remember to determine an orthogonal pair of corre-
sponding eigenfunctions for each eigenvalue. This is usually easily done, and is only likely to arise with periodic
boundary conditions.
version: 3/30/2012
PDEs II: Solving (Homogeneous) PDE Problems Chapter & Page: 206
The above is the basic standard approach to solving many of the partial differential equation
problems normally encountered in physics and engineering. In practice, you may have to make
some obvious modications, such as using different symbols for the variables. Also, as written,
the above best describes the situation when the other problem is of rst order (as in our
example). In that case, the solution to the other problem for each eigenvalue involves just one
arbitrary constant. If, as may well happens, the other problem is of second order, then, for each
eigenvalue
k
, the solution to the other problem will be of the form

k
g
k
(t ) +
k
h
k
(t )
where g
k
and h
k
are an independent pair of solutions to this ordinary differential equation. In
this case, the list of separable solutions to the partial differential equation and boundary conditions
is best written as
a
k

k
(x)g
k
(t ) and b
k

k
(x)g
k
(t ) for k = ,
and for u we take
u(x, t ) =

k
_
a
k

k
(x)g
k
(t ) + b
k

k
(x)h
k
(t )
_
or, equivalently,
u(x, t ) =

k
a
k

k
(x)g
k
(t ) +

k
b
k

k
(x)h
k
(t ) .
You still use the initial conditions (usually two initial conditions, in this case) along with
equation/formula (20.4) to nd each constant a
k
and b
k
. Its a little more work, of course, but
typically turns out to be relatively simple and straightforward.
What About Convergence?
If the given partial differential equation problem has a solution u(x, t ) for t > 0 , then, for each
positive value of t , the solution formula
u(x, t ) =

k
c
k

k
(x)g
k
(t )
found by the above procedure is guaranteed to at least converge in norm. This follow from the
completeness of the set of
k
s . What can be said about convergence beyond this depends largely
on the g
k
s .
For example, in the series solution
u(x, t ) =

k=1
c
k
sin
_
k
L
x
_
e
6
k
t
with
k
=
_
k
L
_
2
we derived to our heat owproblem, the g
k
s are very rapidly decreasing exponentials that decay
even more rapidly as k gets larger. Using this and the fact that
|c
k
| =

2
L
_
L
0
u
0
(x) sin
_
k
L
x
_
dx


2
L
_
L
0
|u
0
(x)| dx
you should be able to show that, for each t > 0 ,
u(x, t ) =

k=1
c
k
sin
_
k
L
x
_
e
6
k
t
with
k
=
_
k
L
_
2
version: 3/30/2012
PDEs II: Solving (Homogeneous) PDE Problems Chapter & Page: 207
converges absolutely and uniformly on the interval (0, L) . You should even be able to get a
usable error estimate for using the rst few terms instead of all terms. This, in turn, tells us that,
yes, indeed, our problem has a well-dened (and very well-behaved) solution for all t > 0 .
On the other hand, some problems do not lead to such nicely behaved functions of t , and
you might not have a series that converges uniformly or absolutely. Often, you will end up
with the functions of t being sine and/or cosine functions. Convergence in norm and pointwise
convergence at points of continuity can be veried via classical Fourier analysis theory, or, by
more elementary means if the initial conditions are nice enough to ensure that the coefcients
shrink sufciently rapidly as the index increases to guarantee uniform convergence.
In fact, it is possible to have problems leading to divergent series for t > 0 , which in turn,
means that the problem has no solution. Students are rarely exposed to such problems, but you
might want to consider our sample problem with the heat equation replaced by the backward
heat equation
u
t
+ 6

2
u
x
2
= 0 .
And that is all I will say about the convergence of these series solution for now. For a better
discussion, take a good course in partial differential equations.
20.2 Higher Dimensional Problems
General Comments
Extending our discussions to higher dimensional problems is straightforward, especially when
we can carry out all the needed separatations. For example, suppose our solution u is a function
of three variables, u = u(x, y, t ) on the rectangle
R = { (x, y) : a < x < b and < y < } .
For convenience, assume the initial condition is simply
u(x, y, 0) = u
0
(x, y) for (x, y) in R
where u
0
is some known function. Doing the rst separation may yield partial solutions of the
form

k
(x, y)g
k
(t ) for k = .
with the
k
s being eigenfunctions from some two-dimensional eigen-problem. With luck this
eigenfunction problem will also be separable, and, for each k , we may get

k
(x, y) =

n
c
k,n

k,n
(x, y) with
k,n
(x, y) =
k,n
(x)
k,n
(y) for n =
where the
k,n
(x)s and
k,n
(y)s are specic eigenfunctions fromsome pair of one-dimensional
eigen-problems corresponding to weight functions w(x) and (y) , respectively. Straightfor-
ward extensions of the theory we developed will (often) show that these
k,n
s form a complete
orthogonal set of functions on R using the two-dimensional inner product
u(x, y) | v(x, y) =
_
b
x=a
_

y=
u

(x, y)v(x, y)W(x, y) dy dx


version: 3/30/2012
PDEs II: Solving (Homogeneous) PDE Problems Chapter & Page: 208
where the two-dimensional weight function W is simply
W(x, y) = w(x)(y) .
The completeness of this set of functions then means that, for any reasonable function f (x, y)
on R,
f (x, y) =

n
C
k,n

k,n
(x, y) =

n
C
k,n

k,n
(x)
k,n
(y) (20.5a)
where, using the above inner product,
C
k,n
=
_

k,n
(x, y)

f (x, y)
_
_
_

k,n
_
_
2
=
_

k,n
(x)
k,n
(y)

f (x, y)
_
_
_

k,n
(x)
k,n
(y)
_
_
2
. (20.5b)
The solution to the full problem is then given by
u(x, y) =

n
c
k,n

k,n
(x, y)g
k
(t ) =

n
c
k,n

k,n
(x)
k,n
(y)g
k
(t ) ,
and the initial condition with this becomes
u
0
(x, y) = u(x, y, 0) =

n
c
k,n

k,n
(x)
k,n
(y)g
k
(0)
and the c
k,n
s can be found using equation set (20.5) (with C
k,n
= c
k,n
g
k
(0) ).
For examples to illustrate the above, well go to the homework handouts.
?

Exercise 20.1: Do problem F in Homework Handout IX.


For a somewhat more challenging example, and one that leads to more interesting Sturm-
Liouville problems with weight functions other than w(x) = 1 , well turn to the heat ow on a
disk problem problem from the homework.
Heat Flow on a Disk (Part I)
The Complete Problem
Let us consider nding the temperature distribution as a function of time and position, u =
u(x, t ) , on a disk of radius a when the initial temperature distribution is known and the tem-
perature on the boundary of the disk is kept at zero degrees. In terms of polar coordinates, this
means nding u = u(r, , t ) satisfying the partial differential equation
u
t

2
u = 0 for 0 r < a and t > 0
(where is some positive constant depending on the material making up the disk), along with
the boundary conditions
u(a, , t ) = 0 for t > 0
as well as the initial condition
u(r, , 0) = u
0
(r, ) for 0 r < a and t > 0
version: 3/30/2012
PDEs II: Solving (Homogeneous) PDE Problems Chapter & Page: 209
for some known function u
0
.
We might not explicitly mention it, but can either be treated as any real number or limited
to 0 2 . Obviously, though, the solution must satisfy
u(r, 0, t ) = u(r, 2, t ) and
u

=0
=
u

=2
.
These will end up being boundary conditions for functions of . We will also nd that we need
a boundary condition at r = 0 , the center of the disk. There is no physical reason to expect it to
be any particular value, but it certainly must be some nite value at each t . So all we will insist
is that
|u(0, , t )| < for each t > 0 .
This will turn out to be sufcient.
The last few boundary conditions might be considered implicit or even hidden since they
probably are not explicitly stated with the original problem. In practice, you might not realize
these are boundary conditions worth noting until you try to gure out the eigen-problems that
the separation of variables leads to.
In summary, our complete problem is to nd u = u(r, , t ) satisfying
u
t

2
u = 0 for 0 r < a and t > 0 , (20.6a)
boundary conditions
u(a, , t ) = 0 and |u(0, , t )| < (20.6b)
and
u(r, 0, t ) = u(r, 2, t ) and
u

=0
=
u

=2
, (20.6c)
and initial condition
u(r, , 0) = u
0
(r, ) . (20.6d)
Keep in mind that and a are known positive constants, u
0
(r, ) is a known function, and
0 r < a , 0 2 and t > 0 .
You may recognize this problem. It was in the homework (more than once).
Separating the Variables
In the homework, you should have showed that, letting
u(r, , t ) = (r, )g(t )
leads to the two-dimensional eigen-problem consisting of the partial differential equation

2
=
with boundary conditions
(a, ) = 0 and |(0, )| < ,
version: 3/30/2012
PDEs II: Solving (Homogeneous) PDE Problems Chapter & Page: 2010
and
(r, 0) = (r, 2) and

=0
=

=2
.
The other equation is
dg(t )
dt
= g(t ) .
Thus, whatever the rst separation constant ends up being, the corresponding g is
g(t ) = g

(t ) = constant

e
t
. (20.7)
After letting
(r, ) = (r)()
and using the polar coordinate formula for the Laplacian, you discovered that the above two-
dimensional eigen-problem separates into two one-dimensional eigen-problems related by a
second separation constant . The one involving is
d
2
()
d
2
= () (20.8)
with
(0) = (2) and
d
d

=0
=
d
d

=2
. (20.9)
This one is easily solved. You should have gotten
=
m
= m
2
for m = 0, 1, 2, 3, . . . (20.10a)
with corresponding eigenfunctions

0
() = constant = A
0
(20.10b)
and

m
() = A
m
cos(m) + B
m
sin(m) for m = 1, 2, 3, . . . . (20.10c)
The eigen-problem involving (r) is more challenging. The ordinary differential equation
for arising from this second separation of variables is
r
2
d
2

dr
2
+ r
d
dr
+ r
2
= .
Note that this equation has both of the separation constants: the fromthe rst separation, which
is yet undetermined, and the from the second separation, whose values have been determined
and are listed in equation (20.10a), above. Putting this differential equation into self-adjoint
form, using the above values for , and recalling the appropriate boundary conditions, we end
up with the Sturm-Liouville problems
d
dr
_
r
d
dr
_

m
2
r
= r (20.11a)
with
|(0)| < and (a) = 0 (20.11b)
for m = 0, 1, 2, 3, . . . . Following standard conventions, we will call this the radial problem
on the disk. Solving this will lead to a bunch more math.
version: 3/30/2012
PDEs II: Solving (Homogeneous) PDE Problems Chapter & Page: 2011
?

Exercise 20.2: Verify any of the above that you have not already derived in previous
homework.
?

Exercise 20.3: Show that the eigenvalue in equation (20.11a) must be positive. (Use the
Rayleigh quotient.)
While the radial problem (for each m ) is not quite a regular Sturm-Liouville problem (as
ofcially dened in the previous chapter), it can be shown that the results of the mega-theorem
on regular Sturm-Liouville problems, theorem 19.5 on page 1918 still apply. For each positive
integer m there is an increasing sequence of eigenvalues

m1
<
m2
<
m3
<
m4
<
and a corresponding complete orthogonal set of eigenfunctions
{
m1
,
m2
,
m3
,
m4
, . . . } .
From an exercise above, we know
m1
> 0 . Later, we will conrm that these eigenvalues are all
simple. The orthogonality of the eigenfunctions is with respect to the weight function w(r) = r
on the interval (0, a) . From the Sturm-Liouville theory we at least know the graphs of these

mk
s wiggle above and below the Raxis with the number of wiggles increasing as the index
k increases. Part of the work ahead of us is to get a better idea of the graphs of these functions.
Getting back to our original problem: All the above, along with the theory weve developed,
tells us that the solution u to our heat ow on a disk problem can be written as
u(r, , t ) =

m=0

k=1
c
mk

mk
(r)
m
()g
mk
(t ) . (20.12)
?

Exercise 20.4 a: Write out the above summation as completely as possible using the above
formulas for the g
mk
(t )s and
m
()s , and keeping in mind that the
mk
s and
mk
(r)s
have yet to be determined. I would suggest splitting the summation in to convenient pieces.
b: What, once weve found the
mk
(r)s , is/are the formulas for the c
mk
s ?
The Radial Problem, Slightly Generalized and Simplied
Now lets start looking at the Sturm-Liouville problem
d
dr
_
r
d
dr
_


2
r
= r
with
|(0)| < and (a) = 0 .
where is some nonnegative real number. (For the heat ow on a disk problem, is an
integer, but we may want to consider cases where might not be an integer.)
version: 3/30/2012
PDEs II: Solving (Homogeneous) PDE Problems Chapter & Page: 2012
Using Rayleighs quotient, it is easily veried that each eigenvalue for this problem is
positive. This allows us to hide via a cheap trick:
Let z =

r
_
equivalently, r =
z

_
.
And then let
y(z) = (r) =
_
1

z
_
_
equivalently, (r) = y
_

r
__
where (, ) is any solution to the above Sturm-Liouville problem. You can then show that our
Sturm-Liouville problem converts to
d
dz
_
z
dy
dz
_


2
z
y = zy (20.13a)
with
|y(0)| < and y
_

a
_
= 0 . (20.13b)
?

Exercise 20.5: Assume is a positive constant, and let and y be two functions related
by
(r) = y
_

r
_
.
Show that
d
dr
_
r
d
dr
_


2
r
= r
d
dz
_
z
dy
dz
_


2
z
y = zy .
Equation (20.13a), above, is Bessels equation of order . It can also be written as
z
2
d
2
y
dz
2
+ z
dy
dz
+
_
z
2

2
_
y = 0 . (20.14)
This is an easier form to work with when using, say, the method of Frobenius to derive a series
solution.
Do observe that, to solve our Sturm-Liouville problem for (, ) , we merely have to nd
the solution to equation (20.13a) that satises |y(0)| < , and then nd all points
z = z
1
, z
2
, z
3
, . . .
for which
y(z
k
) = 0 .
We then set
_

k
a = z
k
_
so
k
=
_
z
k
a
_
2
_
and

k
(r) = y
_
_

k
r
_
= y
_
z
k
r
a
_
.
So now the issue is What are the solutions to Bessels equation?
version: 3/30/2012

Das könnte Ihnen auch gefallen