Professional Documents
Culture Documents
2/2/2019 1
Consider the boundary value problem
2
y 2
y
a 2
2 (0 x L, t 0),
x 2
t
y(0, t ) y( L, t ) 0 (t 0).
(Initial position) y ( x, 0) f ( x) 0 x L.
y
(Initial velocity) ( x, 0) 0 0 x L.
t
2/2/2019 2
Attempt a solution
y ( x, t ) X ( x)T (t ).
XT a 2 X T ,
X T
2 .
X aT
X T
2 .
X aT
Then quantity is called a separation constant.
2/2/2019 3
We have
X X 0 and T a T 0.
2
2/2/2019 4
Case 1: If 0. Then X 0, so X ( x) cx d . Now
X (0) d 0, and X ( L) cL 0 implies that c 0 . Then
X ( x) 0 for 0 x L, and we will have y ( x, t ) 0 as the
solution.
Case 2: If 0. Write k 2
,with k 0 . The equation
for X is
X k X 0,
2
2/2/2019 5
Then X ( L) 2c sinh( kL) 0 . Since k and L are positive,
sinh( kL) 0 , and we conclude that c 0 . But then
d 0, and, as in case 1, we obtain X ( x) 0 for 0 x L.
This case does not yield a solution.
general solution is
X ( x) c cos(kx) d sin(kx).
2/2/2019 6
In order to be able to choose d 0, we must have
sin( kL) 0. This holds if kL is a positive integer
multiple of :
kL n , n 1, 2, 3,
n
2 2
Then k 2
2
L
n x
X n ( x) d n sin ,
L
2/2/2019 7
Now look at the problem for T. With n2 2 L2 , we
have
n 2 2 a 2
T 2
T 0;
L
T (0) f ( x);
T (0) 0.
nat nat
Tn (t ) Bn cos Bn
*
sin
L L
y ( x, t ) yn ( x, t ) Tn (t ) X n ( x)
n 1 n 1
nat nat nx
y ( x, t ) Bn cos Bn
*
sin sin
n 1 L L L
2/2/2019 8
The condition y ( x,0) f ( x) implies
n x
y ( x,0) f ( x) Bn sin
n 1 L
2/2/2019 9
nat nat n x
y ( x, t ) Bn cos Bn
*
sin sin
n 1 L L L
Bn* 0
With this choice of the constants, we have the formal
solution
2 L n n x n at
y( x, t ) f ( )sin d sin cos .
L n 1 0
L L L
2/2/2019 10