Professional Documents
Culture Documents
Applied Partial Differential Equations, 3rd Ed. Solutions To Selected Exercises
Applied Partial Differential Equations, 3rd Ed. Solutions To Selected Exercises
David Logan
Department of Mathematics
University of Nebraska Lincoln
Solutions to Selected
Exercises
February 14, 2015
Springer-Verlag
Berlin Heidelberg NewYork
London Paris Tokyo
Hong Kong Barcelona
Budapest
Contents
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . vii
3. Orthogonal Expansions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.1 The Fourier Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
3.2 Orthogonal Expansions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36
3.3 Classical Fourier Series . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
vi Applied Partial Differential Equations, 3rd ed. Solutions to Selected Exercises
Exercise 7. If u = eat sin bx then ut = aeat sin bx and uxx = b2 eat sin bx.
Equating gives a = b2 .
2
Exercise 2. The solution to the initial value problem is u(x, t) = e(xct) .
When c = 2 the wave forms are bell-shaped curves moving to the right at speed
2.
Exercise 5. In preparation.
1.3 Diffusion
Exercise 3. Take
h(t) g(t)
w(x, t) = u(x, t) (x l) g(t).
l
Then w will satisfy homogeneous boundary conditions. We get the problem
where
lx h(0) g(0)
F (x, t) = (h (t)g (t))g (t), G(x) = u(x, 0) (xl)g(0).
l l
Exercise 4. The steady statepequation is u (h/k)u
p = 0 which has exponen-
tial solution, u(x) = A exp( h/kx) + B exp( h/kx). Apply the boundary
conditions u(0) = u(1) = 1.
ku + 1 = 0, u(0) = 0, u(1) = 1.
Solving this boundary value problem by direct integration gives the steady
state solution
1 1
u(x) = x2 = (1 + )x,
2k 2k
6 1. The Physical Origins of Partial Differential Equations
ku au = 0,u(0) = 1, u(1) = 1.
p p
The general solution is u = c1 cosh a/kx + c2 sinh a/kx. The constants c1
and c2 can be determined by the boundary conditions.
Exercise 9. These facts are directly verified using the chain rule to change
variables in the equation.
Exercise 1. We have
(uu ) = 0,
Now the right boundary condition can be used to obtain the other constant a
. Proceeding,
a
u (2) = = 1.
2 a+4
Thus a = 2 + 20.
There are three cases, depending upon upon the discriminant c2 4Dr. If
c
c2 4Dr = 0 then the roots are equal ( 2D ) and the general solution has the
form
u(x) = aecx/2D + bxecx/2D .
If c2 4Dr > 0 then there are two real roots and the general solution is
u(x) = ae+ x + be x .
If c2 4Dr < 0 then the roots are complex and the general solution is given by
!
cx/2D 4Dr c2 4Dr c2
u(x) = ae a cos x + b sin x .
2D 2D
Exercise 4. If u is the concentration, use the notation u = v for 0 < x < L/2,
and u = w for L/2 < x < L.The PDE model is then
vx (L/2 , t) + wx (L/2 + ) = 1.
vx (L/2, t) + wx (L/2) = 1.
So, there is a jump in the derivative of the concentration at the point of the
source. The steady state system is
with conditions
v(0) = w(L) = 0,
v(L/2) = w(L/2),
v (L/2) + w (L/2) = 1.
Let r = . The general solutions to the DEs are
v = 0, 0 < x < ,
w = 0, < x < L,
v(0) = w(L) = 0,
v() = w(),
v () + w () = 1.
Use these four conditions to determine the four constants in the general solution
to the DEs. We finally obtain the solution
L xL
v(x) = x, w(x) = .
L L
Using the fundamental theorem of calculus and bringing out the time derivative
gives
Z L
udx = ux (L, t)ux (0, t)u(L, t)+u(0, t) = f lux(L, t)+f lux(0, t) = 0.
t 0
ut = Duxx + agux ,
u(, t) = 0, Dux (0, t) agu(0, t) = 0.
The first boundary condition states the concentration is zero at the bottom (a
great depth), and the second condition states that the flux through the surface
is zero, i.e., no plankton pass through the surface. The steady state equation is
Du + agu = 0,
10 1. The Physical Origins of Partial Differential Equations
u(x) = A + Beagx/D .
u(x) = u(0)eagx/D .
Exercise 8. Notice that the dimensions of D are length-squared per unit time,
so we use D = L2 /T , where L and T are the characteristic length and time,
respectively. For sucrose,
p
L = DT = (4.6 106 )(60 60 24) = 0.63 cm.
Exercise 9. Solve each of the DEs, in linear, cylindrical, and spherical coordi-
nates, respectively:
Du = 0,
D
(ru ) = 0,
r
D 2
( u ) = 0.
2
or
u(x, t + ) = pu(x h, t) + qu(x + h, t).
Expanding in Taylor series (u and its derivatives are evaluated at (x, t) ),
1 1
u + ut + = pu pux h + puxx h2 + qu + qux h + quxx h2 + ,
2 2
or
1
ut = (1 2p)ux h + uxx h2 + .
2
Then
h h2
ut = (1 2p)ux + uxx + .
2
1.5 Vibrations and Acoustics 11
ut = cux + Duxx ,
Exercise 12. Draw two concentric circles of radius r = a and r = b. The total
amount of material in between is
Z b
2 u(r, t)rdr.
a
The flux through the circle r = a is 2aDur (a, t) and the flux through r=b
is 2bDur (b, t). The time rate of change of the total amount of material in
between equals the flux in minus the flux out, or
Z b
2 u(r, t)rdr. = 2aDur (a, t) + 2bDur (b, t),
t a
or
b b
Z Z
ut (r, t)rdr = D (rur (r, t))dr.
a a r
Since a and b are arbitrary,
ut (r, t)r = D (rur (r, t)).
r
Exercise 2. In balancing the vertical forces, add the term intl0 0 (x)kut dx to
the right side to account for damping.
so the oscillations are faster. Thus, tighter strings produce higher frequencies;
longer string produce lower frequencies.
Exercise 6. We have
dp p
c2 = = k1 = .
d
y + by = 0
Exercise 1. We have
The left side is the net heat generated inside from sources; the right side is
the net heat passing through the boundary. For steady-state conditions, these
must balance.
Exercise 1. The temperature at the origin is the average value of the temper-
ature around the boundary, or
Z 2
1
u(0, 0) = (3 sin 2 + 1)d.
2 0
The maximum and minimum must occur on the boundary. The function f () =
3 sin 2 + 1 has an extremum when f () = 0 or 6 cos 2 = 0. The maxima then
occur at = /4, 5/4 and the minima occur at = 3/4, 7/4.
u(x) = T0 .
u(x) = c1 arctan x + c2 .
Then, differentiating again using the product rule and the chain rule gives
x2 y2
uxx = 2
u (r) + 3 .
r r
Similarly
y 2 x2
uyy = u (r) + .
r2 r3
Then
1
u = u + u = 0.
r
This last equation can be written
(ru ) = 0
u = a ln r + b,
which are logarithmic. The one dimensional Laplace equation u = 0 has linear
solutions u = ax + b, and the three dimensional Laplace equation has algebraic
power solutions u = a1 + b. In the two dimensional problem we have u(r) =
a ln r + b with u(1) = 0 and u(2) = 10. Then b = 0 and a = 10/ ln 2. Thus
ln r
u(r) = 10 .
ln 2
x = , = x (B/2C)t = x t/k.
Then the PDE reduces to the canonical form U = 0. Solve by direct integra-
tion. Then U = f ( ) and U = f ( ) + g( ). Therefore
u = f (t + 4 ln x)et/4 + g(t).
Exercise 7a. Hyperbolic when y < 1/x, parabolic when y = 1/x, elliptic when
y > 1/x.
2
Partial Differential Equations on
Unbounded Domains
Exercise 1a. Making the transformation r = (x y)/ 4kt we have
Z 1
1 2
u(x, t) = e(xy) /4kt dy
1 4kt
Z (x1)/4kt
1 2
= er dr
(x+1)/ 4kt
1
= erf (x + 1)/ 4kt erf (x 1)/ 4kt .
2
Exercise 2. We have
Z Z
|u(x, t)| |G(x y, t)||(y)|dy M G(x y, t)dy = M.
R R
Exercise 3. Use
Z z
2 2
erf (z) = er dr
0
Z z
2
= (1 r2 + )dr
0
2 z3
= (z + ).
3
This gives
1 x0
w(x0 , t) = + + .
2 t
Exercise 6. Using the substitution r = x/ 4kt we get
1
Z Z
2
G(x, t)dx = er dr = 1.
R R
Exercise 1. Applying the initial conditions to the general solution gives the
two equations
Now we have two linear equations for F and G that we can solve simultaneously.
1 x+ct ds
Z
u(x, t) =
2c xct 1 + 0.25s2
1 x+ct
= 2 arctan(s/2) |xct
2c
1
= (arctan((x + ct)/2) arctan((x ct)/2)).
c
Then
tx/c
1
Z
u(x, t) = s(y)dy + K.
c 0
20 2. Partial Differential Equations on Unbounded Domains
Exercise 7. Use the fact that u is has the same value along a characteristic.
Exercise 8. Write Z
v= H(s, t)u(x, s)ds,
R
where
1 2 2
h(s, t) = p es /(4t(k/c )) ,
4t(k/c2 )
which is the heat kernel with k replaced by k/c2 . Thus H satisfies
k
Ht Hxx = 0.
c2
Then, we have
Z
vt kvxx = (Ht (s, t)u(x, s) kH(s, t)uxx (x, s))ds
ZR
= (Ht (s, t)u(x, s) (k/c2 )H(s, t)uss (x, s))ds
R
where, in the last step, we used the fact that u satisfies the wave equation. Now
integrate the second term in the last expression by parts twice. The generated
boundary terms will vanish since H and Hs go to zero as |s| . Then we
get Z
vt kvxx = (Ht (s, t)u(x, s) (k/c2 )Hss (s, t)u(x, s))ds = 0.
R
2.3 Well-Posed Problems 21
ut + uxx = 0, x R, t > 0,
u(x, 0) = f (x), xR
where F and G are arbitrary functions. Note that the equation is hyperbolic
and therefore we expect the problem to be an evolution problem where data is
carried forward from one boundary to another; so a boundary value problem
should not be well-posed since the boundary data may be incompatible. To
observe this, note that
where f and g are data imposed along y = 0 and y = 1, respectively. But these
last equations imply that f and g differ by a constant, which may not be true.
Exercise 2. We have
Z
u(x, t) = (G(x y, t) G(x + y, t))dy = erf (x/ 4kt).
0
Then
u(x, t) = 1 erf (x/ 4kt).
Z x/4kt
2 2
u(x, t) = 7000 erf (x/ 4kt) = 7000 er dr.
0
The geothermal gradient at the current time tc is
7000
ux (0, tc ) = = 3.7 104 .
ktc
2.5 Sources and Duhamels Principle 23
This gives a very low estimate; the age of the earth is thought to be about 15
billion years.
There are many ways to estimate the amount of heat lost. One method is
as follows. At t = 0 the total amount of heat was
4
Z
cu dV = 7000c R3 = 29321cR3,
S 3
where S is the sphere of radius R = 4000 miles and density and specific
heat c. The amount of heat leaked out can be calculated by integrating the
geothermal gradient up to the present day tc . Thus, the amount leaked out is
approximately
Z tc Z tc
2 2 1
(4R ) Kux(0, t)dt == 4R ck(7000) dt
0 0 kt
== cR2 (1.06 1012 ).
Exercise 6. Follow the suggested steps. Exercise 7. The left side of the equa-
tion is the flux through the surface. The first term on the right is Newtons law
of cooling and the second term is the radiation heating.
w(x, t, ) = f (x ct, ).
Uxx sU = u0 .
Exercise 10. Taking the Laplace transform of the PDE gives, using the initial
conditions,
s2 g
Uxx 2 U = 2 .
c sc
26 2. Partial Differential Equations on Unbounded Domains
Exercise 11. Taking the Laplace transform of the PDE while using the initial
condition gives, for U = U (x, y, s),
Uyy pU = 0.
Exercise 13. Taking the Laplace transform of the PDE gives, using the initial
conditions,
s2
Uxx 2 U = 0.
c
2.6 Laplace Transforms 27
U (x, s) = G(s)esx/c .
ut = uxx , x, t > 0
u(x, 0) = 0, x>0
u(0, t) = f (t), t > 0.
Here we have discarded the unbounded part of the solution. So, by convolution,
Z t
x 2
u(x, t) = f ( ) p ex /4(t ) d.
4(t )3
0
Hence, evaluating at x = 1,
Z t
1
U (t) = f ( ) p e1/4(t ) d,
0 4(t )3
Exercise 10. Proceeding exactly in the same way as in the derivation of (2.65)
in the text, but with k replaced by I, we obtain the solution
Z
1 2
u(x, t) = e(xy) /4it f (y)dy,
4it
30 2. Partial Differential Equations on Unbounded Domains
Hence
1 yg( )
Z
v(x, y) = d.
(x )2 + y 2
Then
Z y
u(x, y) = v(x, )d
Z0 y
1 yg( )
Z
= 2 2
d d
0 (x ) + y
Z Z y
1 y
= dd
0 (x )2 + y 2
Z
1
g( ) ln (x )2 + y 2 ln (x )2 d
=
2
Z
1
g(x ) ln 2 + y 2 d + C.
=
2
For the second derivative, integrate by parts twice and assume u and ux
tend to zero as x to get rid of the boundary terms.
ut = Duxx cux
gives
ut = (D 2 + ic)u,
which has general solution
2
u(, t) = C()eD tict
.
Using
2
1 2
F 1 eD t = ex /4Dt
4Dt
and
F 1 u(, t)eia = u(x + a),
we have 2
1 2
F 1 eict eD t = e(x+vt) /4Dt .
4Dt
Then, by convolution,
1 2
u(x, t) = e(x+vt) /4Dt .
4Dt
Exercise 16. (a) Substituting u = exp(i(kx t)) into the PDE ut + uxxx = 0
gives i + (ik)3 = 0 or = k 3 . Thus we have solutions of the form
3 2
u(x, t) = ei(kx+k t)
= eik(x+k t)
.
These are left traveling waves moving with speed k 2 . So the temporal frequency
as well as the wave speed c = k 2 depends on the spatial frequency, or wave
number, k. Note that the wave length is proportional to 1/k. Thus, higher
frequency waves are propagated faster.
(b) Taking the Fourier transform of the PDE gives
ut = (i)3 u.
where we made the substitution = z/(3t)1/3 to put the integrand in the form
of that in the Airy function. Consequently we have
Z
1 y
u(x, t) = (x y)Ai dy.
(3t)1/3 (3t)1/3
utt + c2 2 u = 0
u = A()eict + B()eict .
2.7 Fourier Transforms 33
Exercise 20. Notice the left side is a convolution. Take the transform of both
sides, use the convolution theorem, and solve for f. Then invert to get f .
3
Orthogonal Expansions
Then
X
u(x, 0) = f (x) = an sin nx.
n=1
Using the exactly same calculation as in the text, we obtain
2
Z
an = f (x) sin nx dx.
0
Observe that ut (x, 0) = 0 is automatically satisfied.
When the initial conditions are changed to u(x, 0) = 0, ut (x, 0) = g(x) then
a linear combination of the fundamental solutions un (x, t) = cos nct sin nx does
not suffice. But, observe that un (x, t) = sin nct sin nx now works and form the
linear combination
X
u(x, t) = bn sin nct sin nx.
n=1
Now u(x, 0) = 0 is automatically satisfied and
X
ut (x, 0) = g(x) = ncbn sin nx.
n=1
36 3. Orthogonal Expansions
Again using the argument in (3.5)(3.7), one easily shows the bn are given by
Z
2
bn = g(x) sin nx dx.
nc 0
We have
(f, cos(nx/l))
cn = .
|| cos(nx/l)||2
Thus
l l
1 2
Z Z
c0 = f (x)dx, cn = f (x) cos(nx/l)dx, n 1.
l 0 l 0
Exercise 9. Expanding
Also,
X
sin x = bn sin nx
n=1
clearly forces b1 = 1 and bn = 0 for n 1. Therefore the Fourier series of sin x
on [0, ] is just a single term, sin x.
1 1 /2
Z Z
a0 = f (x)dx = dx = 1,
/2
38 3. Orthogonal Expansions
and for n = 1, 2, 3, . . . ,
/2
1 2
Z
an = sin nx dx = sin(n/2)
/2 n
Exercise 7. This problem suits itself for a computer algebra program to cal-
culate the integrals. We find a0 = 1 and an = 0 for n 1. Then we find
Z 0 Z 2
1 1
bn = (x + 1) sin(nx/2)dx + x sin(nx/2)dx
2 2 2 0
1 1 + (1)n + 4(1)n+1
= .
n
3.3 Classical Fourier Series 39
1 0 1 1 1
Z Z
bn = sin nx dx + sin nx dx
2 0 2
1
= (1 (1)n ).
n
Therefore
2
b= , k = 1, 2, 3, . . . .
(2k 1)
The Fourier series is
X 2
sin(2k 1)x.
(2k 1)
k=1
Plots of partial sums show overshoot near the discontinuity (Gibbs phe-
nomenon).
4
Partial Differential Equations on Bounded
Domains
where
2 2
Z
an = sin nxdx = ((1)n cos(n/2)).
/2 n
Thus
2 t 2 2 9t 2 25t
u(x, t) = e sin x e4t sin 2x + e sin 3x + e sin 5x + .
3 5
Exercise 3. The solution is given by formula (4.14) in the text, where the
coefficients are given by (4.15) and (4.16). Since G(x) = 0 we have cn = 0.
Then
2 /2 2
Z Z
dn = x sin nx dx + ( x) sin nx dx.
0 /2
Using the antiderivative formula x sin nx dx = (1/n2 ) sin nx (x/n) cos nx
R
we integrate to get
4 n
dn = 2
sin .
n 2
42 4. Partial Differential Equations on Bounded Domains
and thus Z 1
an = f (x) sin nx dx.
0
The initial condition ut = 0 at t = 0 yields
X
ut (x, 0) = 0 = (bn mn kan ) sin(nx).
n=1
Therefore
bn mn kan = 0,
or 1
kan k
Z
bn = = f (x) sin nx dx.
mn mn 0
4.2 SturmLiouville Problems 43
ut = (p(x)ux )x q(x)u
gives
d
g (t)y(x) = (p(x)g(t)y (x)) q(x)g(t)y(x).
dx
Dividing by g(t)y(x) gives
g (py ) q
= .
g y
Setting these equal to gives the two differential equations for g and y.
Thus k = tan k which has infinity many positive roots kn (note that the graphs
of k and tan k cross infinitely many times). So there are infinitely many positive
eigenvalues given by n = kn2 .
This is a homogeneous linear system for a and b and it will have a nonzero
solution when the determinant of the coefficient matrix is zero, i.e.,
4k
tan 2k = .
3 4k 2
This equation has nonzero solutions at k 0.42. Therefore there is one
negative eigenvalue 0.422 = 0.176. (This nonlinear equation for k can
be solved graphically using a calculator, or using a computer algebra package,
or using the solver routine on a calculator).
B aA = 0, Al + B + bA = 0.
This homogeneous system has a nonzero solution for A and B if and only if
a + b = abl. (Note that the determinant of the coefficient matrix must be
zero).
Clearly (note y(x) 6= 0) the second integral in the numerator and the integral in
the denominator are positive ,and thus > 0. y(x) cannot be constant because
the boundary conditions would force that constant to be zero.
a sin kl + b(cos kl 1) = 0
a(cos kl 1) b sin kl = 0.
cos kl = 0.
n = (2n/l)2 , n = 1, 2, 3, . . . .
Exercise 10. Letting c(x, t) = y(x)g(t) leads to the periodic boundary value
problem
y = y, y(0) = y(2l), y (0) = y (2l)
and the differential equation
g = Dg,
which has solution
g(t) = eDt .
The eigenvalues and eigenfunctions are found exactly as in the solution of
Exercise 4, Section 3.4, with l replaced by 2l. They are
0 = 0, n = n2 2 /l2 , n = 1, 2, . . .
46 4. Partial Differential Equations on Bounded Domains
and
Thus we form
2
2 Dt/l2
X
c(x, t) = a0 /2 + en (an cos(nx/l) + bn sin(nx/l).
n=1
which is the Fourier series for f . Thus the coefficients are given by
1 2
Z
an = lf (x) cos(nx/l)dx, n = 0, 1, 2, . . .
l 0
and
2
1
Z
bn = lf (x) sin(nx/l)dx, n = 1, 2, . . . .
l 0
Exercise 11. The operator on the left side of the equation has variable coeffi-
cients and the ODE cannot be solved analytically in terms of simple functions.
Then we form
X
u(x, t) = (an sin((2n + 1)ct/l) + bn cos((2n + 1)ct/l)) sin((2n + 1)x/l).
n=0
4.2 SturmLiouville Problems 47
which yields
l
1
Z
bn = f (x) sin((2n + 1)x/l).
|| sin((2n + 1)x/l)||2 0
And
X
ut (x, 0) = 0 = an cn sin((2n + 1)x/l),
n=0
Exercise 2. Multiply by y and then integrate. Then integrate the first term
by parts and apply the boundary conditions.
x2 y + xy + y = 0,
which is
a Cauchy-Euler equation. The roots of the characteristic equation are
m = , where = k 2 > 0. So the general solution is y(x) = A cos(k ln x) +
B sin(k ln x). (Note that a simple energy argument shows the eigenvalues are
positive.) Now, y(1) = 0 forces A = 0, and y(b) = B sin(k ln b) = 0. Therefore,
k ln b = n, n = 1, 2, 3 . . .. Thus the eigenvalues are n = n/ ln b and the
eigenfunctions are yn (x) = sin n, n = 1, 2, 3, . . ..
x2 y + 2xy + k 2 y = 0,
The last step follows by interchanging the order of integration. If (x) =r ho0
is a constant, then
yf (0)
0 = R1 .
f 0 (1 x)yf (x)dx
50 4. Partial Differential Equations on Bounded Domains
Therefore
!
2X 1
Z
2
U (t) = u(/2, t) = sin nr sin(n/2) 2 (1 en kt ) f (r)dr.
0 n=1 kn
We want to recover f (x) if we know U (t). This problem is not stable, as the
following example shows. Let
2
u(x, t) = m3/2 (1 em t ) sin mx, f (x) = m sin mx.
= 0.
Therefore
X
u(x, y) = (an cosh(ny/l) + bn sinh(ny/l)) sin(nx/l).
n=1
so an = 0. Therefore
X
u(x, 1) = G(x) = bn sinh(n/l)) sin(nx/l).
n=1
Thus
2
Z
bn sinh(n/l) = G(x) sin(nx/l)dx,
l 0
which determines the coefficients bn .
g g = 0.
The solution to the g equation is, corresponding to the zero eigenvalue, g0 (y) =
c0 y + d0 , and corresponding to the positive eigenvalues,
which gives
a a
1 2
Z Z
d0 = f (x)dx, dn = f (x) cos(nx/a)dx.
a 0 a 0
Next
X
u(x, b) = 0 = c0 b + d0 + (cn sinh(nb/a) + dn cosh(nb/a)) cos(nx/a).
n=1
52 4. Partial Differential Equations on Bounded Domains
Therefore
cosh(nb/a)
c0 = d0 /b, cn = dn .
sinh(nb/a)
f () = 4 + 3 sin .
The right side is its Fourier series, so the Fourier coefficients are given by
a0
= 4, Rb1 = 3,
2
with all the other Fourier coefficients identically zero. So the solution is
3r
u(r, ) = 4 + sin .
R
Exercise 5. The exterior Poisson formula applies but the integral is difficult.
In this simple case assume a separable solution of the form u(r, ) = Arn cos .
Substitute into the radial form of the equation to get n = 1 (to get bounded
solutions). Apply the boundary condition to get A = 1. Therefore
1
u(r, ) = cos .
r
Exercise 6. Substituting u(r, ) = g()y(r) into the PDE and boundary con-
ditions gives the Sturm-Liouville problem
g = g, g(0) = g(/2) = 0
r2 y + ry + y = 0.
This SLP has been solved many times in the text and in the problems. The
eigenvalues and eigenfunctions are
n = 4n2 , gn () = sin(2n), n = 1, 2, . . . .
yn (r) = r2n .
Form
X
u(r, ) = bn r2n sin(2n).
n=1
4.4 Laplaces Equation 53
Exercise 7. Substituting u(r, ) = g()y(r) into the PDE and boundary con-
ditions gives the Sturm-Liouville problem
g = g, g(0) = g (/2) = 0
r2 y + ry + y = 0.
yn (r) = r2n+1
Form
X
u(r, ) = bn r2n+1 sin((2n + 1)).
n=1
E(w) = E(u + v)
1
Z Z
= (u u + 2u v + v v)dV (hu hv)dA
2
1
Z Z Z
= E(u) + u v dV + v vdV hv dA
2
1
Z Z Z Z
= E(u) + vu n dA vu dV + v vdV hv dA
2
Z Z Z
1
= E(u) + vh dA + v vdV hv dA
2
1
Z
= E(u) + v vdV
2
So E(u) E(w).
Exercise 11. Integrate the partial differential equation over a region and
then use the divergence theorem to get
Z Z Z Z
f dV = udV = grad u ndA = hdA.
In a steady heat flow context, for example, this states that net rate that heat is
produced by sources in the region must equal the rate that heat leaves through
the boundary.
Exercise 13. Multiply both sides of the PDE by u and integrate over . We
obtain Z Z
uu dV = c u2 dV.
Now use Greens first identity to obtain
Z Z Z
uu ndA u u dV = c u2 dV,
or Z Z Z
au2 dA u u dV = c u2 dV.
The left side is negative and the right side is positive. Then both must be zero,
or Z
u2 dV = 0.
4.4 Laplaces Equation 55
Hence u = 0 in .
The uniqueness argument is standard. Let u and v be two solutions to the
boundary value problem
u cu = f, x n u + au = g, x .
Then the difference w = u v satisfies the homogeneous problem
w cw = 0, x n w + aw = 0, x .
By the first part of the problem we know w = 0 and therefore u = v.
Exercise 14. Let w and v be two solutions and take u = wv. Then ucu =
0 on and n grad u + au = 0 on . Now use Exercise 13 to get u = 0, so
that w = v.
Y = a sinh k + b cosh k,
or
y = 1 (a sinh k + b cosh k).
For boundedness at = 0 we set b = 0. Then y() = 0) forces sinh k = 0.
Thus k = 0. Consequently, there are no negative eigenvalues.
Assume u = y()g(t). Then the PDE and boundary conditions separate into
the boundary value problem
g = kg.
The latter has solution g(t) = exp(kt). One can show that the eigenvalues
are positive. So let = p2 and make the substitution Y = y, as in the text,
to obtain
Y + p2 Y = 0.
This has solution
Y () = a cos p + b sin p.
4.5 Cooling of a Sphere 57
Thus we have
X p
u(, t) = cn en kt 1 sin( n ).
n=1
Thus RR
0 f () sin( n )d
cn = RR 2 .
0
sin ( n )d
2 R + 2R R = 0
and
1
(sin Y ) = Y.
sin
We transform the Y equation by changing the independent variable to x =
cos . Then we get, using the chain rule,
1 d d
= .
sin d dx
58 4. Partial Differential Equations on Bounded Domains
2 R + 2R n(n + 1)R = 0
This is a Cauchy-Euler equation (see the Appendix in the text) with charac-
teristic equation
m(m 1) + m n(n + 1) = 0.
The roots are m = n, (n + 1). Thus
Rn () = an n
are the bounded solutions (the other root gives the solution n1 , which is
unbounded at zero). Therefore we form
X
u(, ) = an n Pn (cos )
n=0
or, equivalently,
X
u(, x) = an n Pn (x).
n=0
By orthogonality we get
1
1
Z
an = f (arccos x)Pn (x)dx,
||Pn ||2 1
or
1
Z
an = f ()Pn (cos ) sin d.
||Pn ||2 0
By direct differentiation we get
1 5 3
P0 (x) = 1, P1 (x) = x, P2 (x) = (3x2 1), P3 (x) = x3 x.
2 2 2
4.5 Cooling of a Sphere 59
We must solve for tc . Notice that the sum has the form
X 2
ean
n=1
where a = 2 ktc /R2 . We can make an approximation by noting that the sum
represents a Riemann sum approximation to the integral
Z
2 1p
eax dx = /a.
0 2
So we use this value to approximate the sum, i.e.,
X 2
2 ktc /R2 R
en .
n=1
2 ktc
60 4. Partial Differential Equations on Bounded Domains
But, since y and y are assumed to be bounded, the boundary term vanishes.
The remaining integrals are nonnegative and so 0.
Now integrate both terms in the first integral on the left hand side by parts to
get
Z R Z R
(ry w + rw y) |R
0 + (ry
w rw
y )dr = ( ) ruwdr.
0 0
The left side of the equation is zero and so y and w are orthogonal with respect
to the weight function r.
Exercise 3. We have
X
u(r, t) = cn e0.25n t J0 (zn r),
n=1
4.7 Sources on Bounded Domains 61
where R1
0 5r4 (1 r)J0 (zn r)dr
cn = R1 .
J (z r)2 rdr
0 0 n
We have z1 = 2.405, z2 = 5.520, z3 = 8.654. Use a computer algebra program
to calculate a 3-term approximation.
This problem was solved in Section 4.1 (see (4.14)(4.14)). The solution is
X
w(x, t, ) = cn ( ) sin nct sin nx,
n=1
where Z
2
cn ( ) = f (x, ) sin nx dx.
nc 0
So the solution to the original problem is
Z t
u(x, t) = w(x, t , )d.
0
Exercise 3. If f = f (x), and does not depend on t, then the solution can be
written
Z Z t
2X 2
u(x, t) = f (r) sin nr dr ( en k(t ) d sin nx.
n=1 0 0
Therefore
Z
2X 1 n2 kt
u(x, t) = (1 e ) f (r) sin nr dr sin nx.
n=1 kn2 0
This can be solved directly by integrating twice and using the boundary con-
ditions to determine the constants of integration. One obtains
1
v(x) = (2x2 x4 3 x).
12k
To observe that the solution v(x) is the same as the limiting solution U (x)
we expand the right side of the vequation in its Fourier sine series on [0, ].
Then
X
kv = cn sin nx,
n=1
where
2
Z
cn = r( r) sin nrdr.
0
Integrating the differential equation twice gives
X
kv(x) + kv (0)x = cn n2 (sin nx x).
n=1
Evaluating at x = gives
X
kv (0) = cn n2 .
n=1
Whence
X
kv(x) = cn n2 sin nx,
n=1
or Z
2 X 1
v(x) = f (r) sin nr dr sin nx.
k n=1 n2 0
Exercise 5. Refer to Remark 4.29. First find the solution of the steady-state
problem which is U (x) = Q, U (0) = 0, U (1) = 2u0 . This is easily solved to
get
1 1
U (x) = x2 + (2u0 + Q)x.
2 2
Now take w(x, t) = u(x, t) U (x). It is easily seen that w satisfies the problem
wt = wxx with w(0, t) = w(1, t) = 0 and w(x, 0) = u0 (1 cos x) U (x), which
is a standard separation of variables problem.
wt = w 0 r < R, t > 0,
w(R, t, ) = 0, t > 0,
w(r, 0, ) = f (r, ), 0 < r < R.
64 4. Partial Differential Equations on Bounded Domains
This is the model for heat flow in a disk of radius R; the solution is given by
equation (4.53) in Section 4.5 of the text. It is
X
w(r, t, ) = cn ( )en kt J0 (zn r/R),
where zn are the zeros of the Bessel function J0 , n = zn2 /R2 and
Z R
1
cn ( ) = f (r, )J0 (zn r/R)rdr.
||J0 (zn r/R)||2 0
Then Z R
u(r, t) = w(r, t , )d.
0
Exercise 11. The source term depends only on r, so take w(r, t) = u(r, t)
U (r), where U (r) is the steady-state solution to r1 (rU ) = f (r), U (R) = u0 .
We obtain Z R Z
1
U (r) = f ()d d + u0 .
r 0
Then w satisfies a homogeneous differential equation and boundary condition.
determined.
where we find
gn n2 gn = fn (y), gn (0) = gn (1) = 0.
Here, the fn (y) are the Fourier coefficients of f (x, y). From the variation of
parameters formula
2 y
Z
gn (y) = aeny + beny sinh(n( y))fn ()d.
n 0
Now gn (0) = 0 implies b = a. So we can write
2 y
Z
gn (y) = 2a sinh ny sinh(n( y))fn ()d
n 0
which gives, using gn (1) = 0,
1
1
Z
a= sinh(n( 1))fn ()d.
n sinh n 0
2 sinh ny 1 2 y
Z Z
gn (y) = sinh(n( 1))fn ()d sinh(n( y))fn ()d.
n sinh n 0 n 0
5
Applications in The Life Sciences
Exercise 1.Write
Z 8
4
1= 4e(r+0.03)a da = e8(r+0.03) e3(r+0.03) ,
3 r + 0.03
and use a software package or calculator to solve for r.
Exercise 2. First note that u(a, t) = 0 for a > t + , since f (a) = 0 for a > .
For (a) observe that the renewal equation (5.9) is
Z t Z
B(t) = B(t a)ea da + f (a t)et da.
0 0
to get
Z t
B (t) = B(s)e(ts) ds() + B(t) u0 et = ( )B(t).
0
For (c) note that the last equation is the differential equation for growth-decay
and has solution
B(t) = B(0)e()t .
Therefore the solution from (5.7)(5.8) is given by
0, a> t+
u(a, t) = u et , t<a<t+
0
B(0)e()t ea , 0 < a < t.
N = B m(N )N,
B = (b0 m(N ))B.
5.1 Age-Structured Models 69
U = (d )c ()
or
u(a, t) = (d a)c (a t),
which is the general solution. Now, for the region a > t we use the initial
condition to determine . We have
For the region a < t we use the boundary condition. to determine . Thus,
or
(t) = B(t)dc .
Whence
u(a, t) = (d a)c B(t a)dc , 0 < a < t.
u(a + da, t + dt) = u(a, t) + ut (a, t)da + ut (a, t)dt + higher order terms.
70 5. Applications in The Life Sciences
cU = DU U aF (U, V ),
cV = bF (U, V ).
5.3 Equilibria and Stability 71
Integrating gives
c (1 + b)U mU 2 = U U + A.
U = (1 c cb)U + cmU 2 ,
2r
To check stability we calculate f (u1 ) = r Ku h. Then f (0) = r > 0, so
u1 = 0 is unstable. Next
rh 2r r h
f ( K) = r K h = r 2r + 2h h = r + h.
r K r
Therefore u2 is stable if r > h and unstable if r < h.
Simplifying gives
1
n + n2 D
3 9
det = 0.
13 n + n2 + 9
Exercise 4. To obtain (a) just substitute ue (x) into the PDE and check the
boundary conditions. To get (b) substitute u = ue (x) + U (x, t) into the PDE
to obtain
or
g = g + (1 2ue (x))g,
or
cos x 5
g + g = g,
1 + cos x
with g = 0 at x = /2. Finally, to prove (d), we proceed as in the hint. If
this BVP has a nontrivial solution, then it must be, say, positive somewhere
5.3 Equilibria and Stability 73
in the interval. (The negative case can be treated similarly). So it must have a
positive maximum in the interval. At this maximum, g > 0, g < 0. Therefore
cos x 5
g < 0.
1 + cos x
So the left side of the DE is negative, so < 0.