Professional Documents
Culture Documents
Section 13.1
1
(1.1)
(1.2)
u=f
R
It turns out that we cannot solve this problem using separation of variables as it is written.
But, as you will see, if we change coordinates to polar coordinates then separation of variables
works fine.
To this end recall that polar coordinates are given by
x = r cos(), y = r sin()
or
r 2 = x2 + y 2 ,
= tan1 (y/x).
So we need to translate
uxx (x, y) + uyy (x, y) = 0
into the variables r and . First we use r2 = x2 + y 2 and implicit differentiation to compute
2rrx = 2x rx =
x
y
, 2rry = 2y ry =
r
r
so we have
x
y
= cos() and ry = = sin().
r
r
Similarly, differentiating y = r sin() with respect to x and using (1.3) we have
rx =
0 = rx sin() + r cos()x
= cos() sin() + r cos()x
1
(1.3)
(1.4)
(1.5)
which implies
x =
sin()
.
r
(1.6)
(1.7)
(1.8)
cos()
.
r
(1.9)
sin()
r
(1.10)
cos()
.
r
(1.11)
Using the formulas (1.10) and (1.11) we now compute the second derivatives:
sin()
uxx = (urr rx + ur x ) cos() (ur rx + u x )
r
sin()
+ ur (cos())x u
r
x
sin()
= urr cos() + ur
cos()
r
sin()
sin()
ur cos() + u
r
r
(r cos()x sin()rx )
+ ur ( sin())x u
r2
2
sin() cos()
sin ()
2
= urr cos () 2ur
+ u
r
r2
sin2 ()
cos() sin() sin() cos()
u
.
+ ur
r
r2
Finally we arrive at
uxx
2
sin() cos()
sin ()
= urr cos () 2ur
+ u
r
r2
2
sin ()
(2 sin() cos())
+ ur
+ u
r
r2
2
cos()
r
(1.12)
leads to
uyy
2
cos ()
sin() cos()
+ u
= urr sin () + 2ur
r
r2
cos2 ()
(2 sin() cos())
+ ur
u
r
r2
2
(1.13)
(1.14)
(1.15)
(1.16)
Remark 1.1. We could just as easily have considered the following problem.
1
1
urr + ur + 2 u = 0, 0 < r < R,
r
r
u(R, ) = g(),
u(r, ) bounded.
(1.17)
(1.18)
In other words we could write the problem on any 2 interval. The only difference is that
the function f (x) and g(x) would be different since we are assuming that the given function
is 2 periodic. So if we intend to use the interval < < instead of 0 < < 2 and
we intend to use the same periodic function then we need to make some adjustments. For
example, if
(
(
f1 () , 0 < <
f2 ( 2) , < < 0
f () =
g() =
.
f2 () , < < 2
f1 ()
,0 < <
As a specific example consider
(
,0 < <
f () =
2 , < < 2
g() =
, < < 0
.
, < < 2
The advantage of the interval [, ] is that in the integrations you are integrating over a
symmetric interval about zero, so you can use even and odd to your advantage.
Separation of variables proceeds as follows. We seek simple solutions to (1.15) in the form
u = ()(r).
3
(()(r))rr +
d
d2
=
dr2
ds
d 1
dr r
=
1 dR
1 d 2
r2 ds2
r2 ds
1 d 2
1 d
2
2
2
r ds
r ds
+ ar
1 d
+ b = 0
r ds
which simplifies to
d
d 2
+ (a 1)
+ b = 0.
2
ds
ds
This is a constant coefficient equation and we recall from ODEs that there are three possibilities for the solutions depending on the roots of the characteristic equation. In the present
case we have a = 1 and b = .
Thus we obtain the pair of BVPs for ODEs:
00 () + () = 0,
() = (),
0 () = 0 ()
(1.19)
n=1
n=1
n=1
g() d
1
an =
Rm
bn =
1
Rm
g() cos(n) d
g() sin(n) d
Example 1.1.
1
1
urr + ur + 2 u = 0, 0 < r < 1,
r
r
u(1, ) = cos2 (),
u(r, ) bounded.
Using the trig identity
1 1
+ cos(2)
2 2
and our usual orthogonality conditions the solution is given by
cos2 () =
u(r, ) =
1 1 2
+ r cos(2)
2 2
Example 1.2.
1
1
urr + ur + 2 u = 0, 0 < r < 1,
r
r
u(1, ) = sin(3),
u(r, ) bounded.
u(r, ) = a0 +
n=1
Now we need
sin(3) = u(1, ) = a0 +
n=1
But we can argue (using our knowledge of orthogonality) that the solution is given by
u(r, ) = r3 sin(3).
Notice that this solution can be transformed back into rectangular coordinates but it would
be a mess.
Example 1.3 (Integral Formula for Dirichlet Problem in a Disk). We recall that the Dirichlet
problem for for circular disk can be written in polar coordinates with 0 r R,
as
1
1
u = urr + ur + 2 u = 0
r
r
u(R, ) = f ().
6
n=1
We need
f () = u(R, ) = a0 +
n=1
and
1
a0 =
2
f () d
0
1
an =
Rn
1
bn =
Rn
f () cos(n) d,
0
2
f () sin(n) d.
0
1
1 X r n 2
u(r, ) =
f () d +
f () [cos(n) cos(n) + sin(n) sin(n)] d
2 0
n=1 R
0
1
=
2
1
=
2
1
=
2
1
=
2
1
=
2
0
2
1 X r n 2
f () d +
f () cos[n( )] d
n=1 R
0
"
f () 1 + 2
n=1
2
"
f () 1 +
0
2
f () 1 +
X
r n
n=1
X
r n
#
cos[n( )] d
#
ein() + e
in()
rei()
rei()
+
R rei() R rei()
(R2 r2 )
f () d.
(R2 + r2 2rR cos( ))
d
Next we consider the corresponding heat equation in a two dimensional wedge of a circular
plate. So we write the heat equation with the Laplace operator in polar coordinates.
Example 2.1.
1
1
ut = k urr + ur + 2 u , 0 < r < 1, 0 /2
r
r
u(1, , t) = 0, 0 /2
u(r, 0, t) = 0, u (r, /2, t) = 0, 0 < r < 1,
u(r, , t) bounded,
u(r, , 0) = f (r, ) = (r r3 ) sin().
(2.1)
Separation of variables proceeds as follows. We seek simple solutions to (2.1) in the form
u = T (t)()R(r).
Substituting this into the equation in (2.1) we have
1 00
1
0
00
()R (r) + ()R (r) + 2 ()R(r)
T 0 (t)
r
r
=
= 2 .
kT (t)
()R(r)
But from the right hand side we can further see that there must be another constant which
we denote by 2
1 0
2
2
00
r R (r) + R (r) + R(r)
00 ()
r
=
= 2 .
R(r)
()
This leads to the following equations
T 0 (t) + k2 T (t) = 0
r2 R00 + rR0 + (2 r2 2 )R = 0
00 + 2 = 0
with boundary conditions
|R(0)| < ,
R(1) = 0
0
(0) = 0, (/2) = 0.
First we consider the equation for :
00 + 2 = 0, (0) = 0, 0 (/2) = 0
8
which gives
m = (2m 1),
2
Tm (t) = m () = sin((2m 1)).
/2
m ()k () d = m,k .
0
R(1) = 0.
(2.2)
For each m the differential equation in (2.2) is a Bessel equation which has a regular singular
point at r = 0. The solutions are called Bessel functions of the first kind of order . The
problem (2.2) (i.e., the equation and boundary conditions) is a singular Sturm-Liouville
problem and the associated eigenvalues and eigenfunctions
m,n , Rm,n , m, n = 0, 1, 2, .
The eigenfunctions are orthogonal with the integral
Z 1
Rm,n (r)Rm,p (r) r dr = n,p .
0
1
The eigenvalues are the zeros of the Bessel function obtained from the boundary condition
R(1) = 0 by
BesselJ((2m 1), m,n ) = 0.
(2.3)
It is well known that for each m this equation has infinitely many solutions m,n which tend
to infinity with n.
The solution is given by
!
2 X X
2
m,n Cm,n ekm,n t BesselJ((2m 1), m,n r) sin((2m 1)) .
u(r, , t) =
m=1 n=1
For this example the special form of the initial condition f (r, ) = (r r3 ) sin() together
with the orthogonality relations in show that the solution reduces to
!
X
2
2
u(r, , t) =
1,n C1,n ek1,n t BesselJ(1, 1,n r) sin().
n=1
9
2
.
BesselJ(0, 1,n )
Thus we only need the eigenvalues 1,n for n = 1, 2, . We cannot solve for this values
exacly but we can solve numerically and, for example, we find
1,1 = 3.831705970, 1,2 = 7.015586670, 1,2 = 10.17346814
and a plot of y = BesselJ(1, ) for from 0 to 20 is given below
64 X
u(r, , t) =
n=1
16 2
= 3
1,n
2
u(r, , 0)
u(r, , 3)
10
!
.