Professional Documents
Culture Documents
SSE1793
Let
,
where and
are the independent
variables. A PDE is an equation containing at least
one partial derivative of .
5.1.2
Notations
SSE1793
Examples of PDE:
1-Dimensional wave equations:
2
2
u
2 u
=
,
2
2
t
x
constant
SSE1793
2
2
u
2 u
=
2
2
t
x
), a function , is called a
solution.
How to show that
, is a solution for a given PDE?
Example 1:
Show that the given function of sin sin is the solution
for the following partial differential equations
Solution:
Given that
, sin sin
3
(1)
STEP 1:
From (1),
Find
SSE1793
(2)
sin cos
STEP 2: Subtitute
sin
sin
From (2)
2
sin
sin
2
sin sin
2
(3)
SSE1793
Example 2:
Show that the given function
, 2 sin 3 cos 3 is a
solution to this waves equation
2
(1)
Solution:
(2a)
(2b)
3
2 sin 3
cos 3
From (2b):
(3)
SSE1793
Exercise:
Show that
SSE1793
(1)
(2)
and
and
2u
= X T
2
x
(3)
(4)
SSE1793
X 1 T
= 2
X
k T
(5)
1 T
and k 2 T =
0
0
(6)
(7)
SSE1793
0
and 0
~~~~~~~~~~~~~~~~~~~~~~~~
Solve for first and apply the boundary
condition for
if the solution for is 0,
no need to solve for .
This is called a trivial solution (its of no interest).
If there is a solution for ,
we have to solve for and
substitute and in the equation
SSE1793
0 , 0
SSE1793
5.2.1a
Example:
Use the method of separation of variables to solve the
heat equation
4
0 1, 0
1, 0,
, 0 ! , 0 1.
11
0
SSE1793
Solution:
Stage 1:
Let ,
Find derivatives of :
,
.
Stage 2:
Consider the boundary conditions
0, 0: 0 0
SSE1793
Stage 3:
Consider three cases of ( 0, 0 and 0.
Case 1: 0
Equation for becomes 0.
The solution for is $ % &.
Apply the boundary conditions for :
0 0: & 0 $.
1 0: $ 0 0
Therefore, , 0 and the solution is of no interest.
Case 2: 0
Let '
The equation for becomes: ' 0
and its solution is: $( ) % &( *)
13
SSE1793
1 0: $( ) % ( *) 0 $ 0
0
&0
Case 3: 0
Let '
The equation for becomes: % ' 0
And its solution is: $ cos ' % & sin '
Apply the boundary conditions for :
0 0: $ 0 & sin '
1 0: & sin ' 0
if & 0, 0 and the solution is of no interest.
Let sin ' 0 ' 01, 0 1,2,3,
14
SSE1793
15
sin 01
where 85 &5 9 65 .
SSE1793
Using the superposition principle (sum all solutions from case 13):
;
5 , : 85 ( *!5
5<=
sin 01
, 0 :
4
: 85 sin 01
4
=
5<=
, 7
*=B
5
( *!5
16
sin 01.
SSE1793
9
,
0 2, 0
3, 0,
17
0
5.2.1b
SSE1793
Insulated endpoints
Example:
Use the method of separation of variables the heat equation
with the boundary conditions
0, 0, , 0,
0
0 .
Solution:
Stage 1:
Follow the steps as shown in the previous example.
You will obtain
0
and
0.
Stage 2:
Consider the boundary conditions:
0, 0:
0 0 0 0
17
, 0:
SSE1793
0 0
Stage 3:
Case 1: 0
Differentiate to obtain :
0
SSE1793
Case 2: 0
Differentiate :
0 0: " 0 0
"
/ 0/ 1
SSE1793
+ + ,
. / +/ 2/ 1
3/
. / +/ 2/ 1
%&
3/
, + cos
+ ,
Stage 4:
Sum all solutions from case 1-3:
6
%&
5 4+ cos
3
+78
2
49 : ;
9
49
2
2
20
4+
SSE1793
2
%&
: cos
;
9
2 cos %& 1
<
=
& %
%
2 1+ 1
>
?
%
&
1+ 1
%& -./ +//2/ 1
2
3
, 5 <
= cos
,
2 &
%
+78
Exercise:
Use the method of separation of variables the heat equation
1
4
with the boundary conditions
0, 0, 5, 0,
0
21
0 5.
SSE1793
5.2.2
Wave equation
5.2.2a
0 , 0
, 0,
0
, 0 .
Example:
Use the method of separation of variables to find the solution
of the wave equation ( is constant)
,
0 2,
0
2, 0,
0
02
SSE1793
, 0 1,
0 2.
Solution:
Stage 1:
Let ,
and
0
23
SSE1793
Stage 2:
Consider the boundary conditions
0, 0:
0 0
0 0
2, 0:
2 0
2 0
Stage 3:
Consider three cases of .
In this problem, the solution for case 1 and case 2 is of no
interest.
Only case 3 ( 0) gives the solution
Let
0
24
% sin
SSE1793
!0
2 0:
% sin 2 0
Therefore, * %* sin
*+,
()
2
% sin
2 ()
0
*+
,
* -* cos
/*+
. sin
.* sin
/*+
()
()
0-* cos
2
2
25
.* sin
()
1
2
sin
SSE1793
()
()
02* cos
2
2
3* sin
()
1
2
where 2* %* 4 -* and 3* %* 4 .* .
Stage 4:
By superposition principle,
6
()
()
02* cos
, 5 sin
2
2
*78
()
3* sin
1
2
2 5 2* sin
2* 9: 2 sin
*+,
*78
()
2
;
2
()
4
()
<2 0
cos
1 sin
>
()
2
( )
2 :
?
*+.
26
SSE1793
, 5 sin
*78
3* ()
()
cos
1
2
2
15
*78
3* ()
()
sin
2
2
()
3* () 2
@1 sin
;
2
2
2
:
A *+ cos
*+,
A *+ cos ()
3*
*+
C1 1* D
*+
4
*D
C
1
1
( )
27
SSE1793
E , 5 sin
*78
() 4
()
0 cos
2 ()
2
()
4
*D
1
C
1
1
sin
( )
2
Exercise:
Solve the following wave equation by the method of separation
of variables
1
,
4
0 ),
0
), 0,
0
, 0 ) ,
0 ).
28
0)
5.2.3
SSE1793
Laplaces Equations
0 ,
0
Boundary conditions
Type A
or
Type B
, 0 , ,
0, 0
0, 0,
, 0, 0
, 0 , ,
, 0
0, 0,
, 0, 0
, 0 0, ,
0, 0
0, 0,
, , 0
or
, 0 , ,
0, 0
0, ,
, 0, 0
28
5.2.3a
SSE1793
Type A
Example:
A square plate is bounded by 0, , 0 and .
Apply the Laplaces equation
0
, 0,
2
2 sin
,
Solution:
Stage 1:
Let ,
Find the corresponding derivatives of :
,
29
0
0 ,
SSE1793
0 and 0
Stage 2:
Consider the boundary conditions
0, 0:
0"# 0 $ 0 0
, 0 0:
"# 0 $ 0
, 0 0:
Stage 3:
The solution for case 1 0 and case 2 % 0 are of no
interest.
Consider case 3 0:
30
SSE1793
&
Let
& 0
'0
0:
* sin & 0
Therefore, , *, sin
,-.
/
&
+
& 0
since &
,-
SSE1793
, 6, cosh
,
/
,-3
/
8, sinh
,-3
/
60
+
, 8, sinh
+
+
8, sinh
+
+
, sin
sinh
, # *, sin
where , *, 9 8, .
Stage 4:
By superposition principle,
;
, # :
, sin
,<=
Then >sin
-.
/
2 sin
-.
/
-.
/
2 sin
+
+
sinh
-.
/
? ;
,<=
, sin
32
,-.
/
sinh +
SSE1793
2
sin
2 sin
= sinh + sin
sinh 2 sin
-.
/
33
SSE1793
Exercise:
Solve the Laplace equation
0,
0 1, 0 2
0, 0,
, 2 0,
1, 1,
34
0 1,
0 2.