Lecture 23Separation of Variables Solution of PDE
Lecture 23Separation of Variables Solution of PDE
Lecture-23
Solution of Partial Differential Equations
And
Solution of 1D-Heat Equation
Topic:
Learning Outcomes:
𝜕𝑢 𝜕𝑢
Solution. The given equation is: = (1)
𝜕𝑥 𝜕𝑦
⇒ log 𝑋 = 𝑘𝑥 + 𝑐1
⇒𝑋=𝑒 𝑘𝑥+𝑐1
𝑌′
also =𝑘
𝑌
𝑌′
⇒ 𝑦𝑑 𝑌 = 𝑘 𝑦𝑑
⇒ log 𝑌 = 𝑘𝑦 + 𝑐2
⇒𝑌=𝑒 𝑘𝑦+𝑐2
𝜕𝑢 𝜕𝑢
Solution. The given equation is: 4 +3 =0 (1)
𝜕𝑥 𝜕𝑦
𝑌′
also −3 =𝑘
𝑌
𝑌′ 𝑘
⇒ 𝑦𝑑 𝑌 = − 𝑦𝑑
3
𝑘
⇒ log 𝑌 = − 𝑦 + 𝑐2
3
𝑘
−3𝑦+𝑐2
⇒𝑌=𝑒
𝑘 𝑘 1 1
𝑥+𝑐1 − 𝑦+𝑐2 𝑐1 +𝑐2 𝑘( 𝑥− 𝑦)
Required solution is: 𝑢 𝑥, 𝑦 = 𝑋𝑌 = 𝑒 4 𝑒 3 =𝑒 𝑒 4 3
𝑘
(3𝑥−4𝑦) 𝑐1 +𝑐2
⇒ 𝑢 𝑥, 𝑦 = 𝐴𝑒 12 Answer. (𝐴 = 𝑒 )
Find the separation of variables solution of following PDE:
𝝏𝒖 𝝏𝒖
Problem 3. 𝐲 + 𝒙 =𝟎
𝝏𝒙 𝝏𝒚
𝜕𝑢 𝜕𝑢
Solution. The given equation is: y +𝑥 =0 (1)
𝜕𝑥 𝜕𝑦
𝑌′
⇒ 𝑦𝑑 𝑌 = −𝑘 𝑦𝑑𝑦
𝑦2
⇒ log 𝑌 = −𝑘 + 𝑐2
2
𝑦2
−𝑘 2 +𝑐2
⇒𝑌=𝑒
𝑥2 𝑦2 𝑥2 𝑦 2
𝑘 +𝑐1 −𝑘 +𝑐2 𝑐1 +𝑐2 𝑘( − )
Required solution is: 𝑢 𝑥, 𝑦 = 𝑋𝑌 = 𝑒 2 𝑒 2 =𝑒 𝑒 2 2
𝑘 2 2)
(𝑥 −𝑦 𝑐1 +𝑐2
⇒ 𝑢 𝑥, 𝑦 = 𝐴𝑒 2 Answer. (𝐴 = 𝑒 )
Polling Quiz
As 𝑘 can take three values: zero, positive or negative, so we have following three cases.
Case 1. When 𝑘 = 0
𝑋 ′′ 𝑋 ′′
=𝑘 ⇒ =0 ⇒ 𝑋 ′′ = 0 ⇒ 𝑋 = 𝑎𝑥 + 𝑏
𝑋 𝑋
1 𝑇′ 1 𝑇′
Also =𝑘 ⇒ =0 ⇒ 𝑇′ = 0 ⇒𝑇=𝑐
𝐶2 𝑇 𝐶2 𝑇
S.F. 𝐷2 − 𝑝2 𝑋 = 0
A.E. 𝐷2 − 𝑝2 = 0 ⇒ 𝐷 = ±𝑝
∴ 𝑋 = 𝑎𝑒 𝑝𝑥 + 𝑏𝑒 −𝑝𝑥
1 𝑇′ 1 𝑇′
Also =𝑘 ⇒ = 𝑝2 ⇒ 𝑇 ′ − 𝐶 2 𝑝2 𝑇 = 0
𝐶2 𝑇 𝐶2 𝑇
S.F. 𝐷 − 𝐶 2 𝑝2 𝑇 = 0
A.E. 𝐷 − 𝐶 2 𝑝2 = 0 ⇒ 𝐷 = 𝐶 2 𝑝2
𝐶 2 𝑝2 𝑡
∴𝑇= 𝑐𝑒
Required solution of equation (1) is:
2 𝑝2 𝑡 2 𝑝2 𝑡
𝑢 𝑥, 𝑡 = 𝑋𝑇 = 𝑎𝑒 𝑝𝑥 + 𝑏𝑒 −𝑝𝑥 𝑐𝑒 𝐶 = 𝐴𝑒 𝑝𝑥 + 𝐵𝑒 −𝑝𝑥 𝑒 𝐶
S.F. 𝐷 + 𝐶 2 𝑝2 𝑇 = 0
A.E. 𝐷 + 𝐶 2 𝑝2 = 0 ⇒ 𝐷 = −𝐶 2 𝑝2 𝑡
2 𝑝2 𝑡
∴ 𝑇 = 𝑐𝑒 −𝐶
Required solution of equation (1) is:
−𝐶 2 𝑝2 𝑡 −𝐶 2 𝑝2 𝑡
𝑢 𝑥, 𝑡 = 𝑋𝑇 = (𝑎 cos 𝑝𝑥 + 𝑏 sin 𝑝𝑥) 𝑐𝑒 = (𝐴 cos 𝑝𝑥 + 𝐵 sin 𝑝𝑥)𝑒
This is the most suitable and practically feasible solution of heat equation.
Note: Heat Equation
𝜕𝑢 2
2𝜕 𝑢
Equation: = 𝐶
𝜕𝑡 𝜕𝑥 2
Nature: Parabolic
Solution: 1. 𝑢 𝑥, 𝑡 = 𝐴𝑥 + 𝐵
2 𝑝2 𝑡
2. 𝑢 𝑥, 𝑡 = 𝐴𝑒 𝑝𝑥 + 𝐵𝑒 −𝑝𝑥 𝑒 𝐶
or
𝐶 2 𝑝2 𝑡
𝑢 𝑥, 𝑡 = (𝐴 cosh 𝑝𝑥 + 𝐵 sinh 𝑝𝑥)𝑒
−𝐶 2 𝑝2 𝑡
3.𝑢 𝑥, 𝑡 = (𝐴 cos 𝑝𝑥 + 𝐵 sin 𝑝𝑥)𝑒 (Most suitable one)