Professional Documents
Culture Documents
Partial Differential Equations
Partial Differential Equations
DIFFERENTIAL EQUATIONS
CHAPTER 5
PARTIAL DIFFERENTIAL
EQUATIONS
___
TABLE OF CONTENTS
Contents Page
Notations
Followings are some partial derivatives of 𝑢:
𝜕𝑢 𝜕2𝑢 𝜕𝑢 𝜕2𝑢 𝜕 𝜕𝑢
𝑢𝑥 = , 𝑢𝑥𝑥 = 2 , 𝑢𝑦 = , 𝑢𝑥𝑦 = = ( )
𝜕𝑥 𝜕𝑥 𝜕𝑦 𝜕𝑦𝜕𝑥 𝜕𝑦 𝜕𝑥
Examples of PDE:
1-Dimensional wave equations:
2u 2 u
2
= , constant
t 2 x 2
The aim is to find the solution, 𝑢(𝑥, 𝑡) where 𝑢 is a function that depends on 𝑥
and 𝑡.
How it works?
Note that
𝑢𝑡 = 𝑋(𝑥) 𝑇 ′(𝑡)
and 𝑢𝑥𝑥 = 𝑋 ′′ (𝑥) 𝑇(𝑡)
XT = k 2 X T (4)
which can be rearranged as followings:
X 1 T
= 2 (5)
X k T
5
Since a function of 𝑡 can equal to a function of 𝑥 only when both functions are
constant, thus,
X 1 T
= 2 =
X k T
for some constant 𝜆. This leads to two ordinary differential equations
𝑋 ′′ − 𝜆𝑋 = 0 (6)
𝑇 ′ − 𝑘 2 𝜆𝑇 = 0 (7)
Thus, the problem of solving the PDE (1) is now reduced to solving the two
ODEs.
The above steps are the basic steps in the method of separation of variables.
Once the variables are separated, solution process will be proceeded by
applying the boundary conditions and initial conditions.
Exercise:
a) Wave equation:
2u 2 u
2
= , constant
t 2 x 2
b) Laplace equation:
2u 2u
+ 2 =0
x 2
y
6
Heat equation:
𝜕𝑢 2
𝜕2𝑢
=𝛼 , 0 < 𝑥 < 𝐿, 𝑡 > 0
𝜕𝑡 𝜕𝑥 2
Initial condition:
𝑢(𝑥, 0) = 𝑓(𝑥), 0 < 𝑥 < 𝐿.
Solutions:
Step 2: Form the BC’s for the ODEs by applying the given BC’s
8
Case 1: 𝝀 = 𝟎
D’Alembert method is used to find the solution to the wave equation for infinite
boundaries, or boundaries that are far away and does not influence the wave
length.
2u 2 u
2
=c , − x , t 0
t 2 x 2
subject to the boundary conditions:
𝑢(𝑥, 0) = 𝑓(𝑥), 𝑢𝑡 (𝑥, 0) = 𝑔(𝑥), 𝑡 > 0
The solution to the above problem is given by D’Alembert formula:
1 1 𝑥+𝑐𝑡
𝑢(𝑥, 𝑡) = [𝑓(𝑥 + 𝑐𝑡) + 𝑓(𝑥 − 𝑐𝑡)] + ∫ 𝑔(𝑠)𝑑𝑠
2 2𝑐 𝑥−𝑐𝑡
Example 3:
2u 2u
Solve − =0
t 2 x 2
such that 𝑢(𝑥, 0) = sin 𝜋𝑥,
𝜕𝑢
(𝑥, 0) = 0.5
𝜕𝑡
Solutions:
13
Example 4:
Show that the solution to the following wave equation
2u 2u
=
t 2 x 2
u
u ( x,0) = sin 2 x, ( x,0) = sin x
t
is given by u ( x, t ) = sin 2 x cos2t + sin x sin t
Solutions:
14
The motion of an elastic string with length L is given by the following wave
equation:
2u 2 u
2
=c , 0 x L, t 0
t 2
x 2
Example 5:
Use method of separation of variables to find the solution of the wave equation
2u 2u
= 4 2 , 0 x 2, t 0
t 2 x
subject to boundary conditions:
u(0, t ) = 0, u(2, t ) = 0
and initial conditions:
u ( x,0) = 2 − x, ut ( x,0) = 1
Solutions:
Step 2: Form the BC’s for the ODEs by applying the given BC’s
Case 1: 𝝀 = 𝟎
16
Example 6:
A square plate is bounded by 𝑥 = 0, 𝑥 = 𝑎, 𝑦 = 0 and 𝑦 = 𝑎. Apply the
Laplace’s equation
𝜕2𝑢 𝜕2𝑢
+ =0
𝜕𝑥 2 𝜕𝑦 2
to determine the potential distribution 𝑢(𝑥, 𝑦) over the plate, subject to the
following boundary conditions
𝑢(0, 𝑦) = 0, 𝑢(𝑎, 𝑦) = 0, 0<𝑦<𝑎
𝜋𝑥 2𝜋𝑥
𝑢(𝑥, 0) = 0, 𝑢(𝑥, 𝑎) = 𝑢0 (sin + 2 sin ) , 0 < 𝑥 < 𝑎,
𝑎 𝑎
where 𝑢0 is a constant. Also show that the temperature at the center of the
plate is given by:
𝜋
𝑢0 sinh
2
sinh 𝜋
20
Solutions:
Step 2: Form the BC’s for the ODEs by applying the given BC’s
21
Case 1: 𝝀 = 𝟎