Professional Documents
Culture Documents
where
+ L & nx ' + L & nx '
2 2
fn (t) = f (x, t) sin dx and n = (x) sin dx
L 0 L L 0 L
86
we get
() & n '2 * & nx ' ( & nx '
Tn! (t) +k Tn (t) sin = fn (t) sin
L L L
n1 n1
so that
Tn (0) = n , n 1. (9.18)
Solving (9.17)(9.18), we find
2
+ t n 2
k ( n
L )
Tn (t) = n e t
+ ek( L ) (ts)
fn (s) ds
0
and
( 2 & nx ' ( & nx ' + t n 2
L )
k ( n
u(x, t) = n e t
sin + sin ek( L ) (ts) fn (s) ds.
L L 0
n1 n1
87
where w is a smooth functions satisfying only the boundary conditions,
where
The following list gives the form of the function w for given boundary con-
ditions.
(1) (Dirichlet boundary conditions), u(0, t) = a(t), u(L, t) = b(t),
x
w(x, t) = a(t) + [b(t) a(t)].
L
x2
w(x, t) = xa(t) + [b(t) a(t)].
2L
88
Example 9.13. Consider the problem
We look for the solution u of the form u(x, t) = v(x, t) + w(x, t). Since we
are dealing with Dirichlet boundary conditions we take for w the function
x
w(x, t) = .
Then the function v has to be the solution of the following problem
X !! + X = 0 0 < x < ,
X(0) = X() = 0
are given by
Hence the formal solution v of the above problem is given by the formal
Fourier series (
v(x, t) = Tn (t) sin nx.
n1
89
Moreover, at t = 0,
x (
(x) = v(x, 0) = Tn (0) sin nx
n1
so that +
2
Tn (0) = [(x) x/] sin nx dx.
0
If n $= 3, then
2
Tn (t) = Tn (0)en t .
If n = 3, then we look for the solution Tn (t) of the form Tn (t) = A(t)e9t.
Then
and
x 1 8t ( 2
u(x, t) = + [e 1]e9t + Tn (0)en t sin nx
8
n1
x 1 ( 2
= + [et e9t ] + Tn (0)en t sin nx.
8
n1
90
We look for the solution u of the form u(x, t) = v(x, t) + w(x, t). Since we
are dealing with Neumann boundary conditions we take for w the function
x2 x2
w(x, t) = x(cos t 1) + [cos t (cos t 1)] = x(cos t 1) + .
2 2
Since
1
wtt = x cos t and wxx =
and
x2
w(x, 0) = and wt (x, 0) = 0
2
the function v must be the solution of the problem
4
vtt 4vxx = cos t + 0 < x < , t > 0,
vx (0, t) = 0, vx (, t) = 0 t 0,
v(x, 0) = 0 0 x ,
vt (x, 0) = cos 3x 0 x .
The formal solution v of this problem has the form
(
v(x, t) = Tn (t)Xn (x)
So, (
v(x, t) = Tn (t) cos nx.
n0
This gives %
4
cos t + n=0
Tn!! + 4n2 Tn (t) = (9.21)
0 n 1.
91
In addition, if t = 0, then
(
0 = v(x, 0) = Tn (0) cos nx
n0
showing that %
1, n=3
Tn! (0) =
0, n $= 3, n 0
The general solution of (9.21) for n 1 is equal to
Since Tn (0), An = 0 so that Tn (t) = Bn sin 2nt and Tn! (t) = 2nBn cos 2nt.
Then Tn! (0) = 0 for n 3 showing that
92