SIT NME2101 - CHP 3 PDE
SIT NME2101 - CHP 3 PDE
Partial Differential
Equation
SIT Internal
Learning Objectives
• Understanding the 3 different types of PDE (Week 5)
• Solution methodology for the 3 different types of PDE (Week 6 and 7)
SIT Internal
1. Introduction
Partial differential equations involve relation between variations of more than one
independent variable (usually time and space).They are useful to describe many natural
phenomena and appear often in science and engineering.
• Maxwell’s equation –Electrical Engineering
• Equations of fluid –Aerospace, Mechanical, Civil and chemical engineering
• Schrodinger Equation –Quantum Mechanics
Three basic types of partial differential equation that appear most common in science and
engineering are
1. Laplace equation
2. Heat conduction or diffusion
3. Wave equation
SIT Internal
3 Types of PDE
1. Laplace equation
𝜕2𝑢 𝜕2𝑢 𝜕2𝑢
2
+ 2+ 2 =0
𝜕𝑥 𝜕𝑦 𝜕𝑧
2. Heat conduction or diffusion
1 𝜕𝑢
= ∇2 𝑢
𝜅 𝜕𝑡
3. Wave equation
1 𝜕2𝑢 2𝑢
= ∇
𝑐 2 𝜕𝑡 2
SIT Internal
1. Introduction
Unlike ordinary differential equation, in PDE, the dependent variable is a function of more
than 1 independent variable.
For instance, we say T is a function of time 𝑡 and distance 𝑥 and expressed as
𝑇 = 𝑓 𝑥, 𝑡
or
𝑇 𝑥, 𝑡
When 𝑇(𝑥, 𝑡) is expressed as partial differential equation, for instance in heat equation
T k 2T
=
t c x 2
The symbol 𝜕 is used to expressed the differentiation instead of 𝑑 used in ODE. This is
because the dependent variable 𝑦 here depends on more than 1 independent variable in
this case, i.e. 𝑥 and 𝑡
SIT Internal
Laplace Equation
SIT Internal
2u 2u 2u
+ + = 2
u=0
x 2
y 2
z 2
2T 2T
+ 2 =0
x 2
y
Solutions
𝐺𝑖𝑣𝑒𝑛: 𝑢 = 𝑥 4 − 2𝑥 3 𝑦 − 6𝑥 2 𝑦 2 + 2𝑥𝑦 3 + 𝑦 4
Taking the second derivative of u with respect to x, y and z, we have
𝜕2𝑢 2 2
= 12𝑥 − 12𝑥𝑦 − 12𝑦
𝜕𝑥 2
𝜕2𝑢 2 + 12𝑥𝑦 + 12𝑦 2
= −12𝑥
𝜕𝑦 2
𝜕2𝑢
2
=0
𝜕𝑧
SIT Internal
Example 2
Show that the stream function
𝑎2
𝜓 = 𝑈𝑦 1 − 2
𝑥 + 𝑦2
Satisfies the Laplace equation and sketch the curve 𝜓 = 𝑐𝑜𝑛𝑠𝑡𝑎𝑛𝑡
Example 2 (solution)
From the given stream function
𝑎2
𝜓 = 𝑈𝑦 1 − 2
𝑥 + 𝑦2
𝜕2 𝜓 𝜕2 𝜓
Compute the value for ,
𝜕𝑥 2 𝜕𝑦 2
Example 2 (solution)
𝜕2𝜓 𝜕2𝜓
2
+ 2 =0
𝜕𝑥 𝜕𝑦
2𝑦𝑈𝑎2 8𝑥 2 𝑦𝑈𝑎2 6𝑦𝑈𝑎2 8𝑦 3 𝑈𝑎2
2 2 2
− 2 2 3
+ − 2
𝑥 +𝑦 𝑥 +𝑦 𝑥2 + 𝑦2 2 𝑥 + 𝑦2 3
By further expansion of the terms in the bracket, it is proven that the
𝑎2
stream function 𝜓 = 𝑈𝑦 1 − 2 2 satisfies the Laplace equation.
𝑥 +𝑦
SIT Internal
Example 2 (solution)
The plot of the stream function is given as
Which represents the streamline for flow past cylinder of radius 1 (you
have seen this in NA1B).
SIT Internal
Example 2 (solution)
If we express
𝑥 = 𝑟 cos 𝜃 and 𝑦 = 𝑟 sin 𝜃
The stream function in polar coordinate is thus given by
𝑎2
𝜓 = 𝑈𝑟 sin 𝜃 1 − 2
𝑟
Further expansion shows that
𝑈𝑎2
𝜓 = 𝑈𝑟 sin 𝜃 − sin 𝜃
𝑟
Where the first term in the RHS represent the uniform flow and the
second term represent the doublet.
SIT Internal
Example 2 (solution)
Then, substitute the above partial derivative into the Laplace equation
𝜕 2 𝜓 1 𝜕𝜓 1 𝜕 2 𝜓
2
+ + 2 2
𝜕𝑟 𝑟 𝜕𝑟 𝑟 𝜕𝜃
So, we arrive at
2𝑎2 𝑈 1 𝑎2 𝑈 1 𝑎2
− 3 sin 𝜃 + 𝑈 sin 𝜃 − 2 sin 𝜃 + 2 𝑈𝑟 sin 𝜃 −1
𝑟 𝑟 𝑟 𝑟 𝑟
SIT Internal
If we take the time long enough such that the temperature has settled
down to a constant value, i.e. as t → ∞, the final solution is independent
of time
T
= 0 2T = 0
t
𝑘
We note that the diffusivity 𝜅 = . So we can write the PDE as
𝑐𝜌
𝜕𝑇 𝜕2𝑇
=𝜅 2
𝜕𝑡 𝜕𝑥
We first find the relevant partial derivative in the heat diffusion equation,
𝜕𝑇 𝜕2 𝑇
i.e. and 2 (see next page)
𝜕𝑡 𝜕𝑥
SIT Internal
T
=
T + (Tm − T )e −U ( x −Ut ) /
= (Tm − T )
(
e −U ( x −Ut )/ )
x x x
−U ( x −Ut ) /
= −(Tm − T )
Ue
T
2
= −(Tm − T )
U e −U ( x −Ut )/
x 2 x
U 2 −U ( x −Ut )/
= (Tm − T ) 2 e
𝜕𝑇 𝜕2 𝑇
If we substitute 𝑎𝑛𝑑 2 into the heat diffusion equation (see next
𝜕𝑡 𝜕𝑥
page)
SIT Internal
T k 2T
=
t c x 2
𝑈 2 −𝑈(𝑥−𝑈𝑡) 𝑈 2 −𝑈 𝑥−𝑈𝑡
𝑇𝑚 − 𝑇∞ 𝑒 𝜅 = 𝜅 𝑇𝑚 − 𝑇∞ 2 𝑒 𝜅
𝜅 𝜅
Where it is proven that the RHS = LHS and
𝑈 𝑥−𝑈𝑡
−
𝑇 = 𝑇∞ + 𝑇𝑚 − 𝑇∞ 𝑒 𝜅
Example 4
Show that the function
1 𝑥2
𝑇= exp −
𝑡 4𝜅𝑡
Satisfies the one dimensional heat-conduction. Plot T against x for
various times 𝑡, and comment.
Solutions
The one dimension heat diffusion equation is given by
𝜕𝑇 𝜕2𝑇
=𝜅 2
𝜕𝑡 𝜕𝑥
Find 𝜕𝑇/𝜕𝑡 and 𝜕 2 𝑇/𝜕𝑥 2
(see next slide)
SIT Internal
Wave Equation
SIT Internal
Example 5
Show that
𝜋𝑥 𝜋𝑐𝑡
𝑢 = 𝑢0 sin cos
𝐿 𝐿
Satisfies the one-dimensional wave equation and the conditions
𝜋𝑥
(a) A given initial displacement 𝑢 𝑥, 0 = 𝑢0 sin
𝐿
𝜕𝑢 𝑥,0
(b) Zero initial velocity, =0
𝜕𝑡
Solutions
The wave equation in 1D is given as
1 𝜕2𝑢 𝜕2𝑢
2 2
= 2
𝑐 𝜕𝑡 𝜕𝑥
SIT Internal
𝜕𝑢2 𝜋 2 𝑢0 𝜋𝑥 𝜋𝑐𝑡
2
= − 2 sin cos
𝜕𝑥 𝐿 𝐿 𝐿
𝜕2𝑢 𝜋 2 𝑐 2 𝑢0 𝜋𝑥 𝜋𝑐𝑡
2
=− 2
sin cos
𝜕𝑡 𝐿 𝐿 𝐿
𝜕2 𝑢 𝜕2 𝑢
Substitute and into the wave equation
𝜕𝑡 2 𝜕𝑥 2
1 𝜕2𝑢 𝜕2𝑢
2 2
= 2
𝑐 𝜕𝑡 𝜕𝑥
(see next slide)
SIT Internal
x c(0)
u t =0 = u0 sin cos
L L
x
= u0 sin
L
SIT Internal
𝜕𝑢 𝜋𝑐 𝜋𝑥 𝜋𝑐(0)
ቤ = − 𝑢0 sin sin
𝜕𝑡 𝑡=0 𝐿 𝐿 𝐿
𝜋𝑥 𝜋𝑐𝑡
It is thus shown that the 𝑢 = 𝑢0 sin cos satisfies both the
𝐿 𝐿
boundary conditions.
SIT Internal
Example 6
Verify that the function
𝑥 𝑐𝑡 2
𝑢 = 𝑎 exp − −
ℎ ℎ
Satisfies the wave equation. Sketch the graphs of the solution 𝑢 against
2ℎ 4ℎ
𝑥 at 𝑡 = 0, 𝑡 = 𝑎𝑛𝑑 𝑡 = .
𝑐 𝑐
Solutions
The wave equation in 1D is given as
1 𝜕2𝑢 𝜕2𝑢
2 2
= 2
𝑐 𝜕𝑡 𝜕𝑥
SIT Internal
Example 6
Example 6 (continue)
𝜕2 𝑢 𝜕2 𝑢
The relevant partial derivative for the wave equation are and
𝜕𝑡 2 𝜕𝑥 2
𝜕𝑢2 4 𝑥 𝑐𝑡 2 𝑥 𝑐𝑡 2 2𝑎 𝑥 𝑐𝑡 2
2
=𝑎 2 − exp − − − 2 exp − −
𝜕𝑥 ℎ ℎ ℎ ℎ ℎ ℎ ℎ ℎ
𝜕2𝑢
𝜕𝑡 2
4𝑐 2 𝑥 𝑐𝑡 2 𝑥 𝑐𝑡 2
2 2
𝑥 𝑐𝑡 2
=𝑎 2 − exp − − − 2𝑎𝑐 /ℎ exp − −
ℎ ℎ ℎ ℎ ℎ ℎ ℎ
𝜕2 𝑢 𝜕2 𝑢
Substitute and into the wave equation
𝜕𝑡 2 𝜕𝑥 2
1 𝜕2𝑢 𝜕2𝑢
2 2
= 2
𝑐 𝜕𝑡 𝜕𝑥
SIT Internal
Example 6 (continue)
1 𝜕2𝑢 𝜕2𝑢
2 2 = 2
𝑐 𝜕𝑡 𝜕𝑥
1 4𝑐 2 𝑥 𝑐𝑡 2 𝑥 𝑐𝑡 2 2𝑎𝑐 2
2
𝑎 2 − exp − − −
𝑐 ℎ ℎ ℎ ℎ ℎ 𝑥 𝑐𝑡 2
ℎ2 exp − −
ℎ ℎ
4 𝑥 𝑐𝑡 2 𝑥 𝑐𝑡 2 2𝑎 𝑥 𝑐𝑡 2
=𝑎 2 − exp − − − 2 exp − −
ℎ ℎ ℎ ℎ ℎ ℎ ℎ ℎ
SOLUTIONS OF PDE
SIT Internal
3 Types of PDE
1. Laplace equation
𝜕2𝑢 𝜕2𝑢 𝜕2𝑢
2
+ 2+ 2 =0
𝜕𝑥 𝜕𝑦 𝜕𝑧
2. Heat conduction or diffusion
1 𝜕𝑢 𝑘
= ∇2 𝑢 𝜅=
𝜅 𝜕𝑡 𝑐𝜌
3. Wave equation
1 𝜕2𝑢 2𝑢
= ∇
𝑐 2 𝜕𝑡 2
SIT Internal
We have shown that the solution to the continuity equation can be solved
using the separation of variable.
Note: in order to prove that your solution is correct, you may substitute
𝑢 = 𝐴𝑒 𝜆 𝑥−𝑦 into the continuity equation.
SIT Internal
1 𝑑2𝑇 𝑡 𝑑2 𝑋 𝑥
2 2
∙𝑋 𝑥 =𝑇 𝑡 ∙
𝑐 𝑑𝑡 𝑑𝑥 2
Grouping 𝑇 𝑡 and 𝑋 𝑥
1 𝑑2 𝑇 𝑡 1 1 𝑑2 𝑋 𝑥
2 2
= ∙
𝑐 𝑑𝑡 𝑇 𝑡 𝑋 𝑥 𝑑𝑥 2
For LHS=RHS, it has to be a constant 𝜆2 (note 𝜆2 is used for easier
representation of solution that you will see shortly)
1 𝑑2𝑇 𝑡 1 2
∴ 2 = −𝜆
𝑐 𝑑𝑡 2 𝑇(𝑡)
1 𝑑2 𝑇 𝑡 2→
𝑑 2𝑇 𝑡
2 𝑐 2 𝑇(𝑡)
= −(𝜆𝑐) = −𝜆
𝑇 𝑑𝑡 2 𝑑𝑡 2
𝑑2𝑇 𝑡 2𝑇 𝑡 = 0
+ 𝜆𝑐
𝑑𝑡 2
(see next slide)
SIT Internal
𝑑2 𝑇 𝑡 2
+ 𝜆𝑐 𝑇 𝑡 =0
𝑑𝑡 2
The above equation is a 2nd order ODE that can be solved by finding the
characteristic equation.
The characteristic equation is hence
𝑚2 + 𝜆𝑐 2
=0
Hence
𝑚 = ±𝑖𝜆𝑐 (Type 3 solution, refer to 2nd order ODE)
For a periodic solutions, 𝑇 𝑡 has to be in the form of cosine or sine function,
i.e.
𝑇 𝑡 = sin 𝑐𝜆𝑡 𝑜𝑟 𝑇 𝑡 = cos(𝑐𝜆𝑡)
Therefore we have
𝑢 =𝑇 𝑡 ∙𝑋 𝑥
𝑢 = sin(𝑐𝜆𝑡) ∙ 𝑋 𝑥 𝑜𝑟 𝑢 = cos 𝑐𝜆𝑡 ∙ 𝑋(𝑥)
SIT Internal
General solution
We know that the solution of wave equation can be one of the following:
u1 = A sin (ct )sin (x )
u 2 = B cos(ct ) cos(x )
u 3 = C cos(ct )sin (x )
u 4 = D sin (ct ) cos(x )
Comparing to the boundary conditions:
a) u(0,t) = 0, ( t 0) (fixed at the end 𝑥 = 0)
b) u(l,t) = 0, ( t 0) (fixed at the end 𝑥 = 𝑙)
c) ∂u(x,0)/∂t = 0, ( 0 x 1) (with zero initial velocity)
𝜋𝑥 1 3𝜋𝑥
d) u(x,0) = sin + sin , ( 0 x 1)
𝑙 4 𝑙
The condition (b) can only be satisfied by the sin 𝜆𝑥 provided that
sin 𝜆𝑙 = 0 𝑜𝑟 𝜆𝑙 = 𝑛𝜋 𝑛 = 1,2,3, …
𝑛𝜋
∴𝜆= 𝑛 = 1,2,3, …
𝑙
Hence the solution appropriate to this problem takes the form either
𝑛𝑐𝜋t 𝑛𝜋𝑥
𝑢3 = 𝐶cos sin
𝑙 𝑙
or
𝑛𝑐𝜋𝑡 𝑛𝜋𝑥
𝑢1 = 𝐴sin 𝑠𝑖𝑛
𝑙 𝑙
𝑛𝑐𝜋t 𝑛𝜋𝑥
Only 𝑢3 = 𝐶cos sin satisfies the 3rd BC:
𝑙 𝑙
𝜕𝑢 𝑥, 0
= 0 (0 ≤ 𝑥 ≤ 𝑙)
𝜕𝑡
(see next slide)
SIT Internal
Hence we have
𝑐𝜋𝑡 𝜋𝑥 1 3𝑐𝜋𝑡 3𝜋𝑥
𝑢 = cos sin + cos sin
𝑙 𝑙 4 𝑙 𝑙
SIT Internal
For LHS=RHS, they must be equal to a constant, either +𝑘 or −𝑘 (note: -𝑘 is used for
easier representation of solution)
1 𝑑𝑇(𝑡) 1
∙ = −𝑘
𝜅 𝑑𝑡 𝑇 𝑡
𝑑𝑇(𝑡)
= −𝑘𝜅 ∙ 𝑑𝑡
𝑇(𝑡)
Integrating both side, we have
ln 𝑇 = −𝑘𝜅𝑡 + 𝐶
→ 𝑇 = 𝐴𝑒 −𝑘𝜅𝑡 = 𝐴𝑒 −𝛼𝑡 , 𝑤ℎ𝑒𝑟𝑒 𝛼 = 𝑘𝜅
Hence we have
𝑢 = 𝑇 𝑡 ∙ 𝑋 𝑥 = 𝐴𝑒 −𝛼𝑡 ∙ 𝑋(𝑥)
Substituting 𝑢 = 𝐴𝑒 −𝛼𝑡 ∙ 𝑋(𝑥) into
1 𝑑𝑇(𝑡) 1 1 𝑑2 𝑋 𝑥
∙ = ∙
𝜅 𝑑𝑡 𝑇 𝑡 𝑋 𝑥 𝑑𝑥 2
(see next slide)
SIT Internal
We obtain
1 𝐴𝛼𝑒 −𝛼𝑡 1 𝑑 2 𝑋
− −𝛼𝑡
=
𝜅 𝐴𝑒 𝑋 𝑑𝑥 2
𝛼 𝑑2 𝑋
→− 𝑋=
𝜅 𝑑𝑥 2
𝛼
If we assume that = 𝜆2 , we can write the above equation as
𝜅
𝑑2 𝑋 2
2
+ 𝜆 𝑋=0
𝑑𝑥
This is a second order ODE problem with Type 3 Complementary solution
∴ 𝑋 = 𝐵 sin 𝜆𝑥 + 𝐶 cos 𝜆𝑥
Thus
𝑢(𝑥, 𝑡) = 𝑇 𝑡 ∙ 𝑋 𝑥
𝑢 = 𝑒 −𝛼𝑡 (𝐷 sin 𝜆𝑥 + 𝐸 cos 𝜆𝑥)
where 𝐷 = 𝐴𝐵 and 𝐸 = 𝐴𝐶
SIT Internal
Example 8
𝜕𝑇 𝜕2 𝑇
Solve the heat-conduction equation = 𝜅 2 subject to the boundary
𝜕𝑡 𝜕𝑥
conditions
(a) 𝑇 = 0 at 𝑥 = 0 for all 𝑡 > 0 (held at zero temperature)
𝜕𝑇
(b) = 0 at 𝑥 = 𝑙 and for all 𝑡 > 0 (no heat loss from this end)
𝜕𝑥
3𝜋𝑥
(c) 𝑇 = 𝑇0 sin at 𝑡 = 0 and for 0 ≤ 𝑥 ≤ 𝑙 (given initial
2𝑙
temperature profile)
SIT Internal
Using BC (a), 𝑇 = 0 at 𝑥 = 0
𝑇 0, 𝑡 = 0 = 𝑒 −𝛼𝑡 𝐴 sin 𝜆 0 + 𝐵 cos 𝜆 0
𝐴 0 +𝐵 =0→𝐵 =0
∴ 𝑇 = 𝑒 −𝛼𝑡 (𝐴 sin 𝜆𝑥)
𝜕𝑇
Using BC (b), = 0 at 𝑥 = 𝑙
𝜕𝑥
𝜕𝑇 𝑙, 𝑡
= 𝑒 −𝛼𝑡 𝐴𝜆 cos 𝜆𝑙 = 0
𝜕𝑥
We hence have
1
cos 𝜆𝑙 = 0 𝑜𝑟 𝜆𝑙 = 𝑛 + 𝜋 𝑤ℎ𝑒𝑟𝑒 𝑛 = 0,1,2,3, …
2
SIT Internal
Leading to
−𝛼𝑡
1 𝑥
∴𝑇=𝑒 𝐴 sin 𝑛+ 𝜋 (𝑛 = 0,1,2,3, … )
2 𝑙
3𝜋𝑥
By using the BC (c) 𝑇 = 𝑇0 sin at 𝑡 = 0 and for 0 ≤ 𝑥 ≤ 𝑙
2𝑙
1 𝑥 3𝜋𝑥
𝑇 𝑥, 0 = 𝑒 −𝛼(0) 𝐴 sin 𝑛+ 𝜋 = 𝑇0 sin
2 𝑙 2𝑙
By comparison,
𝐴 = 𝑇0 and 𝑛 = 1
and
9 𝜋 2
2
𝛼 = 𝜅𝜆 = 𝜅
4 𝑙
The final solution is hence
9 𝜋 2 3𝜋𝑥
− 𝜅 𝑡
𝑇= 𝑇0 𝑒 4 𝑙 sin
2𝑙
SIT Internal
Assignment
𝜕𝑢 𝜕2 𝑢
Solve the heat-conduction equation = 𝜅 2 subject to the boundary
𝜕𝑡 𝜕𝑥
condition:
(a) 𝑢 0, 𝑡 = 0 𝑡≥0
(b) 𝑢 𝑙, 𝑡 = 0 (𝑡 ≥ 0)
1 𝑥
(c) 𝑢 𝑥, 0 = 𝑢0 − (0 < 𝑥 < 𝑙)
2 𝑙
𝜕𝑢 𝜕2 𝑢
Solve the heat-conduction equation = 𝜅 2 in a bar subject to the
𝜕𝑡 𝜕𝑥
boundary condition:
(a) 𝑢 0, 𝑡 = 0 𝑡≥0
(b) 𝑢 𝑙, 𝑡 = 0 (𝑡 ≥ 0)
(c) 𝑢 𝑥, 0 = 𝑥(2 − 𝑥) (0 < 𝑥 < 𝑙)
2u 2u
+ 2 =0
x 2
y
The solution by separation of variable is of the form
u (x, y ) = X (x )Y ( y )
Substitute 𝑢 𝑥, 𝑦 = 𝑋 𝑥 ∙ 𝑌(𝑦) into the Laplace equation,
The PDE is reduce to a ODE problem, i.e.
d2X d 2Y 1 d2X 1 d 2Y
Y 2
+X 2
= 0 or 2
=−
dx dy X dx Y dy 2
SIT Internal
Case 2: If 𝝀 = 𝝁𝟐 > 𝟎
𝑑2 𝑋 2 𝑋,
𝑑2 𝑌 2𝑌
= 𝜇 = −𝜇
𝑑𝑥 2 𝑑𝑦 2
𝑑2𝑋 2 𝑑2 𝑌
• − 𝜇 𝑋 = 0, + 𝜇2 𝑌 = 0
𝑑𝑥 2 𝑑𝑦 2
Hence
𝑋 = 𝐴𝑒 𝜇𝑥 + 𝐵𝑒 −𝜇𝑥 , 𝑌 = 𝐶 sin 𝜇𝑦 + 𝐷 cos 𝜇𝑦
𝑢 = 𝑋 ∙ 𝑌 = 𝐴𝑒 𝜇𝑥 + 𝐵𝑒 −𝜇𝑥 ∙ (𝐶 sin 𝜇𝑦 + 𝐷 cos 𝜇𝑦)
Case 3: If 𝝀 = 𝟎
𝑑2𝑋 𝑑2 𝑌
2
= 0, 2
=0
𝑑𝑥 𝑑𝑦
Hence
𝑋 = 𝐴𝑥 + 𝐵, 𝑌 = 𝐶𝑦 + 𝐷
𝑢 = 𝑋 ∙ 𝑌 = 𝐴𝑥 + 𝐵 ∙ (𝐶𝑦 + 𝐷)
SIT Internal
Summary
Hence we have
𝜆 = −𝜇2 < 0: 𝑢 = 𝐴 sin 𝜇𝑥 + 𝐵 cos 𝜇𝑥 ∙ (𝐶𝑒 𝜇𝑦 + 𝐷𝑒 −𝜇𝑦 )
𝜆 = 𝜇 > 0: u = 𝐴𝑒 𝜇𝑥 + 𝐵𝑒 −𝜇𝑥 ∙ (𝐶 sin 𝜇𝑦 + 𝐷 cos 𝜇𝑦)
𝜆 = 0: u = 𝐴𝑥 + 𝐵 ∙ (𝐶𝑦 + 𝐷)
The first case can also be expressed as (see next page for derivative)
𝑢 = 𝐴 sin 𝜇𝑥 + 𝐵 cos 𝜇𝑥 ∙ (𝐶 cosh 𝜇𝑦 + 𝐷 sinh 𝜇𝑦)
Note that the particular form of the solution depends on the problem and
the associated boundary conditions
SIT Internal
Summary
𝐶 cosh 𝜇𝑦 + 𝐷 sinh 𝜇𝑦
𝑒 𝜇𝑦 + 𝑒 𝜇𝑦 𝑒 𝜇𝑦 − 𝑒 𝜇𝑦
=𝐶 +𝐷
2 2
𝐶𝑒 𝜇𝑦 𝐷𝑒 𝜇𝑦 𝐶𝑒 −𝜇𝑦 𝐷𝑒 𝜇𝑦
= + + −
2 2 2 2
𝜇𝑦
𝐶 𝐷 −𝜇𝑦
𝐶 𝐷
=𝑒 + +𝑒 −
2 2 2 2
= 𝐸𝑒 𝜇𝑦 + 𝐹𝑒 −𝜇𝑦
SIT Internal
Solution
Due to BC4: u(2,y) = a sin 2y, (0 y 1), the solution must contain
the term sin 𝜇𝑦, so we can choose the following as the general solution
∴ 𝑢 = 𝐴𝑒 𝜇𝑥 + 𝐵𝑒 −𝜇𝑥 ∙ 𝐶 sin 𝜇𝑦
= 𝐴′𝑒𝜇𝑥 + 𝐵′𝑒 −𝜇𝑥 ∙ sin 𝜇𝑦
SIT Internal
Solution
Using BC2: u(x,1) = 0, (0 x 2)
sin 𝜇 = 0 𝑜𝑟 𝜇 = 𝑛𝜋 (𝑛 𝑖𝑠 𝑖𝑛𝑡𝑒𝑔𝑒𝑟)
therefore
𝑢 = 𝐴′𝑒𝜇𝑥 + 𝐵′𝑒 −𝜇𝑥 ∙ sin 𝑛𝜋𝑦
Using BC3: u(0,y) = 0, (0 y 1)
𝑢 0, 𝑦 = 𝐴′𝑒𝜇(0) + 𝐵′𝑒 −𝜇(0) ∙ sin 𝑛𝜋 𝑦 = 0 0≤𝑦≤1
𝐵′ = −𝐴′
Therefore
𝑢 = 𝐴′𝑒𝜇𝑥 − 𝐴′𝑒 −𝜇𝑥 ∙ sin 𝑛𝜋 𝑦
SIT Internal
Solution
𝑢 = 𝐴′𝑒𝜇𝑥 − 𝐴′𝑒 −𝜇𝑥 ∙ sin 𝑛𝜋𝑦
𝑒 𝜇𝑥 − 𝑒 𝜇𝑥
= 𝐴′ 𝑒 𝜇𝑥 − 𝑒 −𝜇𝑥 sin 𝑛𝜋 𝑦 = 2A′ sin 𝑛𝜋𝑦
2
𝑢 = 2𝐴′ sinh 𝑛𝜋𝑥 sin 𝑛𝜋𝑦
Solution
Therefore
𝑢 𝑥, 𝑦 = 2𝐴′ sinh 𝑛𝜋𝑥 sin 𝑛𝜋𝑦
2𝑎
𝑢(𝑥, 𝑦) = sinh 2𝜋𝑥 sin 2𝜋𝑦
2 sinh 4𝜋
SIT Internal
Assignment
Solve the Laplace equation for steady heat conduction in the semi-infinite
region 0 ≤ 𝑦 ≤ 1, 𝑥 ≥ 0 and subject to the boundary conditions
(a) 𝑢 𝑥, 0 = 0 𝑥≥0
(b) 𝑢 𝑥, 1 = 0 (𝑥 ≥ 0)
(c) 𝑢 𝑥, 𝑦 → 0 𝑎𝑠 𝑥 → ∞
(d) 𝑢 0, 𝑦 = 0 (0 ≤ 𝑦 ≤ 1)