Pde 1
Pde 1
𝜕𝑢 𝜕 # 𝑢
𝑢! = 𝑢"" = # Heat equation in one dimensions
𝜕𝑡 𝜕𝑥
& &
0= 𝑢%% + 𝑢%% + 𝑢'' Laplace’s equation in polar
% %!
coordinates
§ PDEs are classified according to many thing. Classification
is an important concept because the general theory and
methods of solution usually apply to a given class of
equations. Six basic classifications are:
1. Order of the PDE. The order of the PDE is the order of
the highest partial derivative in the equation, for
example
𝜕𝑢 𝜕 # 𝑢
𝑢! = 𝑢"" = # Second order
𝜕𝑡 𝜕𝑥
𝜕𝑢 𝜕𝑢
𝑢! = 𝑢" = First order
𝜕𝑡 𝜕𝑥
() (") Third order
𝑢! = 𝑢𝑢""" + sin 𝑥 =𝑢 + sin 𝑥
(! (" "
2. Number of variables. The number of variables is the
number of independent variables, for example
𝜕𝑢 𝜕 # 𝑢
𝑢! = 𝑢"" = # Two variables: x and t
𝜕𝑡 𝜕𝑥
1 1 Three variables: r, 𝜃, and t
𝑢! = 𝑢%% + 𝑢%% + # 𝑢''
𝑟 𝑟
3. Linearity: PDEs are either liner or nonlinear. In the
linear ones, the dependent variable u and all its
derivatives appear in a linear fashion (they are not
multiplied together or squared, for example). More
precisely a Second order linear equation in two
variables is an equation of the form
a) Parabolic
b) Hyperbolic
c) Elliptic
𝐵# - 4AC > 0
𝐵# - 4AC < 0
For example
Since flux is a vector quantity, it is clear that 𝜕𝑇⁄𝜕𝑟 > 0 near the
wall, hence Q is a negative quantity, as it should be since it
moves in the anti-r direction. It is not possible to convert the
electrically heated wall condition to a homogeneous boundary
condition for T. However, the insulated wall is homogeneous
without further modification.
§ Type III: Mixed functions at boundary
This includes both a function and its derivative (or its integral).
Which simply says the conduction flux is exactly balanced by
heat transfer at the wall. By replacing 𝜃 = 𝑇 − 𝑇" (provided Tw is
constant), we see this condition is also homogeneous:
Most often, the boundary values for a derived model are not
homogeneous but can be made to be so.
§ Separation of variables is one of the oldest techniques for
solving initial boundary-value probles (IBVP’s)and applies to
problems where:
§ The PDE is linear and homogeneous (not necessary constant
coefficients)
§ The boundary conditions are the form
𝛼𝑢# 0, 𝑡 + 𝛽𝑢 0, 𝑡 = 0
𝛾𝑢# 1, 𝑡 + 𝛿𝑢 1, 𝑡 = 0
BCs 𝑢 0, 𝑡 = 0 0≤𝑡<∞
𝑢 1, 𝑡 = 0
IC 𝑢 𝑥, 0 = 𝑓 𝑥 0≤𝑥≤1
𝑢 𝑥, 𝑡 = 𝑋 𝑥 𝑇 𝑡
𝑢$ = 𝑋 𝑥 𝑇′ 𝑡 𝑢# = 𝑋′ 𝑥 𝑇 𝑡 𝑢## = 𝑋′′ 𝑥 𝑇 𝑡
𝑋 𝑥 𝑇′ 𝑡 = 𝛼 % 𝑋′′ 𝑥 𝑇 𝑡
𝑇′ 𝑡 𝑋′′ 𝑥
= =𝑘
𝛼 𝑇 𝑡
# 𝑋 𝑥
𝑇′ 𝑡 𝑋′′ 𝑥
= =𝑘
#
𝛼 𝑇 𝑡 𝑋 𝑥
𝑇 & − 𝑘𝛼 % 𝑇 = 0
𝑋′′ − 𝑘𝑋 = 0 Two Ordinary Differential Equations (ODE’s)
𝑑𝑇
= −𝜆% 𝛼 % 𝑇
𝑑𝑡
𝑑𝑇
= −𝜆% 𝛼 % 𝑑𝑡
𝑇
𝑙𝑛 𝑇 = −𝜆% 𝛼 % 𝑡 + 𝐶
𝑟 % + 𝜆% = 0
𝑟 % = −𝜆%
𝑟 = −𝜆% = 𝑖 % 𝜆% = 𝜆𝑖
𝑋 𝑥 = 𝐸 𝑠𝑖𝑛𝜆𝑥 + 𝐹 𝑐𝑜𝑠𝜆𝑥
Solution
𝑢 𝑥, 𝑡 = 𝑋 𝑥 𝑇 𝑡
'(! ) ! $
𝑢 𝑥, 𝑡 = 𝐷𝑒 𝐸 𝑠𝑖𝑛𝜆𝑥 + 𝐹 𝑐𝑜𝑠𝜆𝑥 𝐴 = 𝐷𝐸 𝐵 = 𝐷𝐹
'(! ) ! $ A and B are arbitrary constants
𝑢 𝑥, 𝑡 = 𝑒 𝐴 𝑠𝑖𝑛𝜆𝑥 + 𝐵 𝑐𝑜𝑠𝜆𝑥
Find the solution to the PDE and the BC’s
We are now to the point where we have many solutions to the PDE
but not all of then satisfy the BC’s or the IC.
BCs 𝑢 0, 𝑡 = 0 0≤𝑡<∞
𝑢 1, 𝑡 = 0
'(! ) ! $
𝑢 𝑥, 𝑡 = 𝑒 𝐴 𝑠𝑖𝑛𝜆𝑥 + 𝐵 𝑐𝑜𝑠𝜆𝑥
'(! ) ! $
𝑢 0, 𝑡 = 𝑒 𝐵 =0 𝐵=0
'(! ) ! $
𝑢 𝑥, 𝑡 = 𝑒 𝐴 𝑠𝑖𝑛𝜆𝑥
'(! ) ! $ sin 𝜆 = 0
𝑢 1, 𝑡 = 𝑒 𝐴 𝑠𝑖𝑛𝜆
'(! ) ! $ sin 𝜆 = 0
𝑢 1, 𝑡 = 𝑒 𝐴 𝑠𝑖𝑛𝜆
𝜆, = ±𝑛𝜋 𝑛 = 1, 2, 3, …
' ,-) ! $
𝑢, 𝑥, 𝑡 = 𝐴, 𝑒 𝑠𝑖𝑛 𝑛𝜋𝑥 𝑛 = 1, 2, 3, …
0
' ,-) ! $
𝑢 𝑥, 𝑡 = Q 𝐴, 𝑒 𝑠𝑖𝑛 𝑛𝜋𝑥 𝑛 = 1, 2, 3, …
,./
Find the solution to the PDE, BC’s, and the IC
IC 𝑢 𝑥, 0 = 𝑓 𝑥 0≤𝑥≤1
𝑢 𝑥, 0 = 𝑓 𝑥 = Q 𝐴, 𝑠𝑖𝑛 𝑛𝜋𝑥 𝑛 = 1, 2, 3, …
,./
This equation leads us to the question asked by the French
mathematician Joseph Fourier, is it possible to expand the initial
temperature f(x) as the sum of the elementary functions as
follows:
𝐴/ 𝑠𝑖𝑛 𝜋𝑥 + 𝐴% 𝑠𝑖𝑛 2𝜋𝑥 + 𝐴1 𝑠𝑖𝑛 3𝜋𝑥 +…
The answer to this question is yes, provided f(x) is a reasonably
nice continuous function. Sin(n𝜋x) for n = 1, 2, 3, … know an
orthogonality. It turn out these functions are orthogonal to each
other in the sence
/
0 𝑚≠𝑛
R 𝑠𝑖𝑛 𝑚𝜋𝑥 𝑠𝑖𝑛 𝑛𝜋𝑥 𝑑𝑥 = T1
V2 𝑚 = 𝑛
!
Two functions f1 and f2 are said orthogonal on an interval [a, b] if
3
𝑓/ , 𝑓% = R 𝑓/ 𝑥 𝑓% 𝑥 𝑑𝑥 = 0
2
𝑓 𝑥 = 𝐴/ 𝑠𝑖𝑛 𝜋𝑥 + 𝐴% 𝑠𝑖𝑛 2𝜋𝑥 + 𝐴1 𝑠𝑖𝑛 3𝜋𝑥 +…
𝐴4 = 2 R 𝑓 𝑥 𝑠𝑖𝑛 𝑚𝜋𝑥 𝑑𝑥
!
We’re done; the solution is
0
' ,-) ! $
𝑢 𝑥, 𝑡 = Q 𝐴, 𝑒 𝑠𝑖𝑛 𝑛𝜋𝑥 𝑛 = 1, 2, 3, …
,./
Where
/
𝐴, = 𝐴4 = 2 R 𝑓 𝑥 𝑠𝑖𝑛 𝑛𝜋𝑥 𝑑𝑥
!
0 /
' ,-) ! $
𝑢 𝑥, 𝑡 = 2 Q R 𝑓 𝑥 𝑠𝑖𝑛 𝑛𝜋𝑥 𝑑𝑥 𝑒 𝑠𝑖𝑛 𝑛𝜋𝑥 𝑛 = 1, 2, 3, …
,./ !
BCs 𝑢 0, 𝑡 = 0 0≤𝑡<∞
𝑢 𝐿, 𝑡 = 0
IC 𝑢 𝑥, 0 = 𝑓 𝑥 0≤𝑥≤𝐿
u is the temperature in a rod of length L
Solution
0 5
2 𝑛𝜋𝑥 '6 , ! - !7 $ 𝑛𝜋𝑥
𝑢 𝑥, 𝑡 = Q R 𝑓 𝑥 𝑠𝑖𝑛 𝑑𝑥 𝑒 5! 𝑠𝑖𝑛 𝑛 = 1, 2, 3, …
𝐿 𝐿 𝐿
,./ !
0 -
2 ', ! $
𝑢 𝑥, 𝑡 = Q R 100𝑠𝑖𝑛 𝑛𝑥 𝑑𝑥 𝑒 𝑠𝑖𝑛 𝑛𝑥 𝑛 = 1, 2, 3, …
𝜋
,./ !
-
,
100 1 − −1
𝐴, = R 100𝑠𝑖𝑛 𝑛𝑥 𝑑𝑥 =
𝜋 𝑛
!
0
,
200 1 − −1 ', ! $
𝑢 𝑥, 𝑡 = Q 𝑒 𝑠𝑖𝑛 𝑛𝑥 𝑛 = 1, 2, 3, …
𝜋 𝑛
,./
u(x, t) graphed as a function of x for various fixed times
u(x, t) graphed as a function of t for various fixed positions
Steady State temperature u(x,y) in a rectangular plate
Baundary Conditions
𝜕𝑢
[ =0 0<𝑦<𝑏
𝜕𝑥 #.!
𝜕𝑢
[ =0 0<𝑦<𝑏
𝜕𝑥 #.2
𝑢 𝑥, 𝑏 = 𝑓 𝑥 0<𝑥<𝑎
Separation ofvariables looks for simple-type solution to the PDE
of the form
𝑢 𝑥, 𝑦 = 𝑋 𝑥 𝑌 𝑦
𝑋′′ 𝑥 𝑌 𝑦 + 𝑋 𝑥 𝑌′′ 𝑦 = 0
𝑋′′ 𝑥 𝑌 -- $
=− = −𝜆
𝑋 𝑥 𝑌 𝑦
𝑋′′ 𝑥 𝑌 -- $
=− = −𝜆
𝑋 𝑥 𝑌 𝑦
𝑋′& + 𝜆𝑋 = 0
Two Ordinary Differential Equations (ODE’s)
Y′′ − 𝜆𝑋 = 0
BC’s: X’(0) = 0, X’(a) = 0, and Y(0) = 0.
The Sturn-Liouville problem associated with equation of X.
𝑋′& = 0
𝑟% = 0 𝑟=0
X = 𝐶/ + 𝐶% x
BC’s
X′ 0 = 𝐶% 𝐶% = 0
X = 𝐶/ X′ 𝑎 = 0
𝑋′& − 𝛼 % 𝑋 = 0
𝑟 % −𝛼 % = 0 𝑟 = ±𝛼
X = 𝐶/ cosh 𝛼𝑥 + 𝐶% sinh 𝛼𝑥
BC’s
X & = 𝐶/ 𝛼 sinh 𝛼𝑥 + 𝐶% 𝛼 cosh 𝛼𝑥
X & 0 = 0 + 𝐶% 𝛼 = 0 𝐶% = 0
X = 𝐶/ cosh 𝛼𝑥
X = 𝐶/ cosh 𝛼𝑥
X′ 𝑎 = 0 X & = 𝐶/ 𝛼 sinh 𝛼𝑥
0 = 𝐶/ 𝛼 sinh 𝛼𝑥
sinh 𝛼𝑥 = 0
Only when 𝛼 = 0 C1 = 0
𝑋′& + 𝛼 % 𝑋 = 0
𝑟 % +𝛼 % = 0 𝑟 = 𝑖𝛼
X = 𝐶/ cos 𝛼𝑥 + 𝐶% sin 𝛼𝑥
BC’s
X & = −𝐶/ 𝛼 sin 𝛼𝑥 + 𝐶% 𝛼 cos 𝛼𝑥
X & 0 = 0 + 𝐶% 𝛼 = 0 𝐶% = 0
X = 𝐶/ cos 𝛼𝑥
X = 𝐶/ cos 𝛼𝑥
0 = 𝐶/ 𝛼 sin 𝛼𝑎
sin 𝛼𝑎 = 0 𝛼>0 C1 ≠ 0
sin 𝛼𝑎 = 0 𝑛𝜋
𝛼𝑎 = 𝑛𝜋 𝛼= 𝑛 = 1, 2, 3, …
𝑎
𝑌 = 𝐶1 + 𝐶9 𝑦
BC 𝑌 0 =0 𝐶1 = 0
𝑌 = 𝐶9 𝑦
, !-!
For 𝜆n = V2!
Solution
Y′′ − , ! - !V 𝑌=0
2!
% %
%
𝑟 − 𝑛 𝜋 V =0 𝑟 = ± 𝑛𝜋⁄𝑎
𝑎 %
Becouse 0 < y < b is a finite interval, we write the general
solution in terms of hypeobolic functions
𝑛𝜋 𝑛𝜋
𝑌 = 𝐶1 𝑐𝑜𝑠ℎ 𝑦 + 𝐶9 𝑠𝑖𝑛ℎ 𝑦
𝑎 𝑎
𝑛𝜋
BC 𝑌 0 =0 𝑌 = 𝐶1 𝑐𝑜𝑠ℎ 𝑦 =0 𝐶1 = 0
𝑎
𝑛𝜋
𝑌 = 𝐶9 𝑠𝑖𝑛ℎ 𝑦
𝑎
𝑢! 𝑥, 𝑦 = 𝐴! 𝑦 𝑛=0 𝐴! = 𝐶/ 𝐶9
𝑛𝜋 𝑛𝜋
𝑢, 𝑥, 𝑦 = 𝐴, 𝑠𝑖𝑛ℎ 𝑦 𝑐𝑜𝑠 𝑥 𝑛 = 1, 2, 3, …
𝑎 𝑎
The superposition principle yields another solution
0
𝑛𝜋 𝑛𝜋
𝑢 𝑥, 𝑦 = 𝐴! 𝑦 + Q 𝐴, 𝑠𝑖𝑛ℎ 𝑦 𝑐𝑜𝑠 𝑥
𝑎 𝑎
,./
Substituting the y = b 𝑢 𝑥, 𝑏 = 𝑓 𝑥 0 < 𝑥 < 𝑎)
0
𝑛𝜋 𝑛𝜋
𝑢 𝑥, 𝑦 = 𝑓 𝑥 = 𝐴! 𝑏 + Q 𝐴, 𝑠𝑖𝑛ℎ 𝑏 𝑐𝑜𝑠 𝑥
𝑎 𝑎
,./
Solution
" & "
1 2 𝑛𝜋 𝑛𝜋 𝑛𝜋
𝑢 𝑥, 𝑦 = * 𝑓 𝑥 𝑑𝑥 𝑦 + . 𝑛𝜋 * 𝑓 𝑥 𝑐𝑜𝑠 𝑥 𝑑𝑥 𝑠𝑖𝑛ℎ 𝑦 𝑐𝑜𝑠 𝑥
𝑎𝑏 ! 𝑎𝑠𝑖𝑛ℎ 𝑏 ! 𝑎 𝑎 𝑎
#$% 𝑎
Steady State temperature u(x,y) in a rectangular plate
y
Baundary Conditions
𝑢 0, 𝑦 = 0 0<𝑦<𝑏 u = f(x)
(a, b)
x
𝑢 𝑥, 0 = 0 0<𝑥<𝑎 u=0
𝑢 𝑥, 𝑏 = 𝑓 𝑥 0<𝑥<𝑎
Separation ofvariables looks for simple-type solution to the PDE
of the form
𝑢 𝑥, 𝑡 = 𝑋 𝑥 𝑌 𝑦
𝑋′′ 𝑥 𝑌 𝑦 + 𝑋 𝑥 𝑌′′ 𝑦 = 0
𝑋′′ 𝑥 𝑌 -- $
=− = −𝜆
𝑋 𝑥 𝑌 𝑦
𝑋′′ 𝑥 𝑌 -- $
=− = −𝜆
𝑋 𝑥 𝑌 𝑦
𝑋′& + 𝜆𝑋 = 0
Two Ordinary Differential Equations (ODE’s)
Y′′ − 𝜆𝑋 = 0
BC’s: X(0) = 0, X(a) = 0, and Y(0) = 0.
The Sturn-Liouville problem associated with equation of X.
𝑋′& + 𝜆𝑋 = 0 𝑋 0 =0 𝑋 𝑎 =0
𝑋′& + 𝜆𝑋 = 0 𝑋 0 =0 𝑋 𝑎 =0
𝑋′& = 0
𝑟% = 0 𝑟=0
X = 𝐶/ + 𝐶% x
BC’s
X 0 = 𝐶/ 𝐶/ = 0
X = 𝐶% 𝑥 X 𝑎 =0
X = 𝐶% 𝑎 𝐶% = 0 Trivial solution
Case II: 𝜆 = -𝛼2 < 0
𝑋′& + 𝜆𝑋 = 0 𝑋 !
=0 𝑋 2
=0
𝑋′& − 𝛼 % 𝑋 = 0
𝑟 % −𝛼 % = 0 𝑟 = ±𝛼
X = 𝐶/ cosh 𝛼𝑥 + 𝐶% sinh 𝛼𝑥
𝑋 0 = 𝐶/ + 0 = 0 𝐶/ = 0
X = 𝐶% sinh 𝛼𝑥
Case III: 𝜆 = 𝛼2 > 0
𝑋′& + 𝛼 % 𝑋 = 0
𝑟 % +𝛼 % = 0 𝑟 = 𝑖𝛼
X = 𝐶/ cos 𝛼𝑥 + 𝐶% sin 𝛼𝑥
X = 𝐶% sin 𝛼𝑥
X = 𝐶% sin 𝛼𝑥
X 𝑎 =0
0 = 𝐶% sin 𝛼𝑎
sinh 𝛼𝑎 = 0 𝛼>0 C1 ≠ 0
sinh 𝛼𝑎 = 0 𝑛𝜋
𝛼𝑎 = 𝑛𝜋 𝛼= 𝑛 = 1, 2, 3, …
𝑎
The eigenvalues of the equation is 𝜆n =𝛼,% = , ! - !V , n = 1,2,3,…
2!
𝑛𝜋
X = 𝐶/ sin 𝑥
𝑎
Y′′ − 𝜆𝑌 = 0
, !-!
For 𝜆n = V2!
Solution
Y′′ − , ! - !V 𝑌=0
2!
% %
%
𝑟 − 𝑛 𝜋 V =0 𝑟 = ± 𝑛𝜋⁄𝑎
𝑎 %
𝑛𝜋 𝑛𝜋
𝑢, 𝑥, 𝑦 = 𝐴, 𝑠𝑖𝑛ℎ 𝑦 𝑠𝑖𝑛 𝑥 𝑛 = 1, 2, 3, …
𝑎 𝑎
Substituting the BC 𝑢 𝑥, 𝑏 = 𝑓 𝑥 0<𝑥<𝑎
0
𝑛𝜋 𝑛𝜋
𝑢 𝑥, 𝑦 = 𝑓 𝑥 = Q 𝐴, 𝑠𝑖𝑛ℎ 𝑏 𝑠𝑖𝑛 𝑥
𝑎 𝑎
,./
The expansion of f(x) in a Fourier sine series. If we make the
identification An sinh(n𝜋b/a) = an, n = 1, 2, 3,…
𝑛𝜋 2 2 𝑛𝜋
𝐴, 𝑠𝑖𝑛ℎ 𝑏 = R 𝑓 𝑥 𝑠𝑖𝑛 𝑥 𝑑𝑥
𝑎 𝑎 ! 𝑎
2
2 𝑛𝜋
𝐴, = 𝑛𝜋 R 𝑓 𝑥 𝑠𝑖𝑛 𝑎 𝑥 𝑑𝑥
𝑎𝑠𝑖𝑛ℎ 𝑏 !
𝑎
Solution
& (
2 𝑛𝜋 𝑛𝜋 𝑛𝜋
𝑢 𝑥, 𝑦 = * 𝑛𝜋 3 𝑓 𝑥 𝑠𝑖𝑛 𝑎 𝑥 𝑑𝑥 𝑠𝑖𝑛ℎ 𝑎 𝑦 𝑠𝑖𝑛 𝑎 𝑥
#$% 𝑎𝑠𝑖𝑛ℎ 𝑎 𝑏 '
0 /
2 2
𝑢 𝑥, 𝑡 = Q R 100𝑠𝑖𝑛 𝑛𝑥 𝑑𝑥 𝑠𝑖𝑛 𝑛𝑥 𝑠𝑖𝑛ℎ 𝑛𝑦 𝑛 = 1, 2, 3, …
1 𝑠𝑖𝑛ℎ 𝑛𝜋
,./ !
/
2 200 1 − −1 ,
𝐴, = R 100𝑠𝑖𝑛 𝑛𝑥 𝑑𝑥 =
𝑠𝑖𝑛ℎ 𝑛𝜋 𝑛 𝑠𝑖𝑛ℎ 𝑛𝜋
!
0
1 1 − −1 ,
𝑢 𝑥, 𝑡 = 200 Q 𝑠𝑖𝑛 𝑛𝑥 𝑠𝑖𝑛ℎ 𝑛𝑦 𝑛 = 1, 2, 3, …
𝑛 𝑠𝑖𝑛ℎ 𝑛𝜋
,./
0
1 1 − −1 ,
𝑢 𝑥, 𝑡 = 200 Q 𝑠𝑖𝑛 𝑛𝑥 𝑠𝑖𝑛ℎ 𝑛𝑦 𝑛 = 1, 2, 3, …
𝑛 𝑠𝑖𝑛ℎ 𝑛𝜋
,./
𝜕𝑢 𝜕%𝑢
= 𝑘 % + 𝐹 𝑥, 𝑡 0 < 𝑥 < 𝐿, 𝑡>0
𝜕𝑡 𝜕𝑥
BCs 𝑢 0, 𝑡 = 𝑢! 𝑡 𝑡>0
𝑢 𝐿, 𝑡 = 𝑢/ 𝑡
IC 𝑢 𝑥, 0 = 𝑓 𝑥 0≤𝑥≤𝐿
BCs 𝑢 0, 𝑡 = 𝑢! 𝑡>0
𝑢 𝐿, 𝑡 = 𝑢/
IC 𝑢 𝑥, 0 = 𝑓 𝑥 0≤𝑥≤𝐿
𝜕%𝜓
𝑘 % +𝐹 𝑥 =0 0 < 𝑥 < 𝐿, 𝑡>0
𝜕𝑥
BCs 𝜓 0 = 𝑢! 𝑡>0
𝜓 𝐿 = 𝑢/
Problem 2: homogeneous BVP PDE
𝜕𝜈 𝜕%𝜈
=𝑘 % 0 < 𝑥 < 𝐿, 𝑡>0
𝜕𝑡 𝜕𝑥
BCs 𝜈 0, 𝑡 = 0 𝑡>0
𝜈 𝐿, 𝑡 = 0
IC 𝜈 𝑥, 0 = 𝑓 𝑥 − 𝜓 𝑥 0≤𝑥≤𝐿
𝜕𝜈 𝜕%𝜈 𝜕%𝜓
=𝑘 +𝑘 % +𝑟
𝜕𝑡 𝜕𝑥 % 𝜕𝑥
𝜕𝜈 𝜕%𝜈 𝜕%𝜓
=𝑘 + 𝑘 + 𝑟
𝜕𝑡 𝜕𝑥 % 𝜕𝑥 %
𝑢 0, 𝑡 = 𝜈 0, 𝑡 + 𝜓 0 = 0 𝑡>0
𝑢 1, 𝑡 = 𝜈 1, 𝑡 + 𝜓 1 = 𝑢/
This equation reduces to a homogeneous PDE if we demand that 𝜓
be a function that satiesfies the ODE
𝑑% 𝜓 𝑢 = 𝑢!
𝑘 % +𝑟 =0 𝑢=0
𝑑𝑥
𝑑% 𝜓 𝑟
%
=−
𝑑𝑥 𝑘 𝐿=1
Solution
𝑟 %
𝜓 = 𝜓= + 𝜓> = 𝐶/ 𝑥 + 𝐶% − 𝑥
2𝑘
we have 𝜓(0) = 0 and 𝜓(1) = u1 𝑢=0 𝑢 = 𝑢!
Applying the BC
𝑟 % 𝐿=1
𝜓 = 𝜓= + 𝜓> = 𝐶/ 𝑥 + 𝐶% − 𝑥
2𝑘
𝜓 0 =0 𝐶% = 0
𝑟 %
𝜓 = 𝜓= + 𝜓> = 𝐶/ 𝑥 − 𝑥
2𝑘
? 𝑟
𝜓 1 = 𝑢/ = 𝐶/ − 𝐶/ = 𝑢/ +
%6 2𝑘
𝑟 𝑟 %
𝜓 = 𝜓= + 𝜓> = 𝑢/ + 𝑥− 𝑥
2𝑘 2𝑘
𝑢=0 𝑢 = 𝑢!
Finally
𝜕𝜈 𝜕%𝜈
=𝑘
𝜕𝑡 𝜕𝑥 % 𝐿=1
BCs 𝜈 0, 𝑡 = 0 𝑡>0
𝜈 1, 𝑡 = 0
IC 𝑟 𝑟 %
𝜈 𝑥, 0 = 𝑓 𝑥 − 𝑢/ + 𝑥+ 𝑥 0≤𝑥≤𝐿
2𝑘 2𝑘
0
'6 ,- ! $
𝜈 𝑥, 𝑡 = Q 𝐴, 𝑒 𝑠𝑖𝑛 𝑛𝜋𝑥 𝑛 = 1, 2, 3, … 𝐿=1
,./
/
𝑟 𝑟 %
𝐴, = 2 R 𝑓 𝑥 − 𝑢/ + 𝑥+ 𝑥 𝑠𝑖𝑛 𝑛𝜋𝑥 𝑑𝑥
2𝑘 2𝑘
!
The solution of the original proble is obtained by adding 𝜓(x) and 𝜈(x,t)
% !
𝑟 𝑟 " 𝑟 𝑟 " #) ! *
𝑢 𝑥, 𝑡 = 𝑢! + 𝑥− 𝑥 + + 2 , 𝑓 𝑥 − 𝑢! + 𝑥+ 𝑥 𝑠𝑖𝑛 𝑛𝜋𝑥 𝑑𝑥 𝑒 '( 𝑠𝑖𝑛 𝑛𝜋𝑥
2𝑘 2𝑘 2𝑘 2𝑘
#$! &
BCs 𝑢 0, 𝑡 = 𝑢! 𝑡 𝑡>0
𝑢 𝐿, 𝑡 = 𝑢/ 𝑡
IC 𝑢 𝑥, 0 = 𝑓 𝑥 0≤𝑥≤𝐿
Where the heat source term F and the boundary conditions are
time dependent
BCs 𝜈 0, 𝑡 = 0 𝑡>0
𝜈 𝐿, 𝑡 = 0
IC 𝜈 𝑥, 0 = 𝑓 𝑥 −𝜓 𝑥, 0 0≤𝑥≤𝐿
Where F(x,t) while the problem is still nonhomogeneous (the
boundaru conditions are homogeneous but the partial differential
equation is nonhomogeneous) it is a problem that we can solve.
Basic Strategy
Assume that time-dependent coefficient 𝜈n(t) and Gn(t) can be
found such that both 𝜈(x,t) and G(x,t) can be expandend in series
0 0
𝑛𝜋 𝑛𝜋
𝜈 𝑥, 𝑡 = Q 𝜈, 𝑡 𝑠𝑖𝑛 𝑥 𝐺 𝑥, 𝑡 = Q 𝐺, 𝑡 𝑠𝑖𝑛 𝑥
𝐿 𝐿
,./ ,./
IC 𝑢 𝑥, 0 = 0 0≤𝑥≤1
𝐹𝑜𝑟 𝐹 𝑥, 𝑡 = 0 𝑘=1
𝑥
𝜓 𝑥, 𝑡 = 𝑢! 𝑡 + 𝑢/ 𝑡 − 𝑢! 𝑡
𝐿
𝑢 𝑥, 𝑡 = 𝜈 𝑥, 𝑡 + 1 − 𝑥 cos 𝑡
To obtain a BVP for 𝜈(x,t)
𝜕%𝜈 𝜕𝜈
%
+ 1 − 𝑥 sin 𝑡 =
𝜕𝑥 𝜕𝑡
𝜈 0, 𝑡 = 0 𝑡>0 𝜈 𝐿, 𝑡 = 0
𝜈 𝑥, 0 = 0 − 1 − 𝑥 cos 0 = 𝑥 − 1
0 0
2
𝐺, 𝑡 = sin 𝑡
𝑛𝜋
0
2
1 − 𝑥 sin 𝑡 = Q sin 𝑡 sin 𝑛𝜋𝑥
𝑛𝜋
,./
𝜈$ − 𝜈## = 1 − 𝑥 sin 𝑡
0 0
& $ % %
2
Q 𝜈, + 𝑛 𝜋 𝜈, 𝑡 sin 𝑛𝜋𝑥 = Q sin 𝑡 sin 𝑛𝜋𝑥
𝑛𝜋
,./ ,./
0 0
& $ % %
2
Q 𝜈, + 𝑛 𝜋 𝜈, 𝑡 sin 𝑛𝜋𝑥 = Q sin 𝑡 sin 𝑛𝜋𝑥
𝑛𝜋
,./ ,./
& $ % % %
𝜈, + 𝑛 𝜋 𝜈, 𝑡 = sin 𝑡
,-
We see that the quantity in the brackets represent the Fourier sine
coefficient bn for x -1. That is
/
2 −1
9 9
+𝐶, = 2 R 1 − 𝑥 sin 𝑛𝜋𝑥 𝑑𝑥
𝑛𝜋 𝑛 𝜋 + 1 !
/
2 −1
9 9
+𝐶, = 2 R 1 − 𝑥 sin 𝑛𝜋𝑥 𝑑𝑥
𝑛𝜋 𝑛 𝜋 + 1 !
'% %
+ 𝐶, = −
,- , " - " */ ,-
2 2
𝐶, = 9 9
−
𝑛𝜋 𝑛 𝜋 + 1 𝑛𝜋
By substitution
A 5 5 ;4* 6* : ;4* 6* :
2 𝑛 𝜋 sin 𝑡 − cos 𝑡 + 𝑒 𝑒
𝜈 𝑥, 𝑡 = ) - sin 𝑛𝜋𝑥
𝜋 𝑛𝜋 𝑛. 𝜋 . +1 𝑛
4@?
0
% % ', ! - ! $ ', ! - ! $
2 𝑛 𝜋 sin 𝑡 − cos 𝑡 + 𝑒 𝑒
𝑢 𝑥, 𝑡 = 1 − 𝑥 cos 𝑡 + Q − sin 𝑛𝜋𝑥
𝜋 𝑛𝜋 𝑛9 𝜋 9 + 1 𝑛
,./