MODULE3 Final MA207R1 SEPARATION VARIABLES PDE NOTES
MODULE3 Final MA207R1 SEPARATION VARIABLES PDE NOTES
MODULE3 Final MA207R1 SEPARATION VARIABLES PDE NOTES
MA207R1 MATHEMATICS - IV
TOPICS COVERED: Method of separation of variables and its application in solving one
dimensional wave and heat equations
3.1 Introduction
Problems of fluid flow, vibrations of a string, heat flow etc. give rise to partial
differential equations (pdes) of second order, hence, it is important to study methods
to solve second order pdes according to the given physical problem. In case of
physical or engineering problems, pdes are always accompanied by certain
conditions (boundary and initial conditions), so as to form the unique (or particular)
solution of the given pde. If the given conditions are specified at the boundary of the
region, then these are referred to as boundary conditions (BCs) and if conditions
are specified at time t = 0, then these are referred to as initial conditions (ICs). For
solving pdes with given initial & boundary conditions, method of separation of
variables is the most efficient analytical tool.
1
ABHINAV TANDON
IMSC (PHY. & CHEM.) - IV SEM. MA207R1 MATHEMATICS - IV
2u 2u 2u 2u 2u 2u
Problem 3.1: Classify the operator i) 2 ii) 5 2 9 4 2
t x t x 2 x xt t
Problem 3.2: Show that the equation u xx xu yy u y 0 is elliptic for x 0 & hyperbolic for x 0. .
Basics Concepts:
2
ABHINAV TANDON
IMSC (PHY. & CHEM.) - IV SEM. MA207R1 MATHEMATICS - IV
Fourier Sine series: If it is required to expand any function f (x) as a Fourier series
of sine terms in 0 x l , then its expansion will be given as:
nx 2l n x
f ( x ) bn sin , where bn f ( x ) sin dx
n 1 l l 0 l
3
ABHINAV TANDON
IMSC (PHY. & CHEM.) - IV SEM. MA207R1 MATHEMATICS - IV
2u 2 u
2
c --------- (*)
t 2 x 2
Boundary Conditions: I) u(0, t ) 0 i.e. u 0 when x 0 for all values of t
II) u( L, t ) 0 i.e. u 0 when x L for all values of t
u u
II) g ( x ) i.e. velocity = g (x ) at t 0
t t
t 0
4
ABHINAV TANDON
IMSC (PHY. & CHEM.) - IV SEM. MA207R1 MATHEMATICS - IV
d2X
2
p 2 X 0. Solution of this ode is X c1e px c2 e px ------ (8)
dx
d 2T
2
c 2 p 2T 0 , Solution of this ode is: T c3e pct c4 e pct ----- (9)
dt
From these solutions (8) and (9), we get the solution u( x, t ) X ( x)T (t ) as:
u( x, t ) X ( x )T (t ) c1e px c2 e px ( c3e pct c4 e pct ) ----- (A)
5
ABHINAV TANDON
IMSC (PHY. & CHEM.) - IV SEM. MA207R1 MATHEMATICS - IV
d2X
0 , Solution of this ode is: X c1 c2 x ------ (10)
dx 2
d 2T
0 , Solution of this ode is T c3 c4 t ----- (11)
dt 2
From these solutions (10) and (11), we get the solution u ( x, t ) X ( x)T (t ) as:
d2X
2
p 2 X 0 , Solution of this ode is X c1 cos px c2 sin px ------ (12)
dx
d 2T
2
c 2 p 2T 0 , Solution of this ode is T c3 cos cpt c4 sin cpt ----- (13)
dt
From these solutions (12) & (13) we get the solution u ( x, t ) X ( x)T (t ) as:
( k is –ve i.e. k p 2 )
So various values of k , the various possible solutions of wave equation are:
A) u( x, t ) X ( x )T (t ) c1e px c2 e px ( c3e pct c4 e pct )
B) u( x, t ) X ( x )T (t ) c1 c2 x ( c3 c4 t )
C) u( x, t ) X ( x )T (t ) c1 cos px c2 sin px ( c3 cos cpt c4 sin cpt )
Of these three possible solutions A, B & C, we have to choose the solution which is
in consistent with the physical nature of the problem (also gives non-trivial solution
6
ABHINAV TANDON
IMSC (PHY. & CHEM.) - IV SEM. MA207R1 MATHEMATICS - IV
STEP -2: Applying BCs to the obtained suitable solution from Step -1
Suitable solution is
u( x, t ) X ( x )T (t ) c1 cos px c2 sin px ( c3 cos cpt c4 sin cpt ) ---- (14)
BCs are I) u(0, t ) 0 II) u( L, t ) 0
i) Applying BC I) to the equation (14) we get:
u(0, t ) 0 c1 (c3 cos cpt c4 sin cpt ) c1 (c3 cos cpt c4 sin cpt ) 0
which gives c1 0
(since c3 cos cpt c4 sin cpt 0 , since sine and cosine terms cannot be zero
simultaneously).
ii) Applying BC II) to the equation (14), with c1 0 , we get:
u( L, t ) 0 (c2 sin pL )( c3 cos cpt c4 sin cpt ) c2 sin pL(c3 cos cpt c4 sin cpt ) 0
7
ABHINAV TANDON
IMSC (PHY. & CHEM.) - IV SEM. MA207R1 MATHEMATICS - IV
u
Now, we have ICs as: I) u( x,0) f ( x) II) g ( x)
t t 0
8
ABHINAV TANDON
IMSC (PHY. & CHEM.) - IV SEM. MA207R1 MATHEMATICS - IV
u
ii) Applying IC g ( x ) to the equation (16), we get
t t 0
First differentiating equation (16) partially w.r.t. t , we get:
u nc nc nc nc nx
an sin t bn cos t sin
t n 1 L L L L L
Now, putting t 0 , we get
u nc nx
g ( x) bn sin -------------- (19)
t t 0 n 1 L L
This also represents Fourier sine series (Half Range) in interval (0, L ),
therefore,
nc 2L nx
bn f ( x ) sin dx
L L0 L
or
2 L
nx
bn
nc
f ( x ) sin
L
dx ---------- (20)
0
Hence, finally we get the required solution of Wave equation with given BCs & ICs
as:
9
ABHINAV TANDON
IMSC (PHY. & CHEM.) - IV SEM. MA207R1 MATHEMATICS - IV
u
Corollary: If initial velocity is zero, i.e. 0, then bn 0. So we get
t t 0
solution as:
nc nx 2L nx
u( x, t ) an cos t sin where, a n f ( x ) sin dx
n 1 L L L0 L
u 2 u
2
One dimensional heat equation is of the form: c
t x 2
K
with c 2 , where c 2 is called diffusivity of the material of the bar.
S
Physical Problem: This PDE governs the temperature in a long thin bar or wire of
length L oriented along the x -axis and is perfectly insulated laterally, so that heat
flows in x direction only. Here, the temperature u depends only on x and time t.
The problem is to determine the temperature u( x, t ) in a bar at any point x and at any
time t . Here the solution of this heat equation should be of transient type (i.e.
temperature u decreases as time t increases)
The heat equation is of parabolic type, being B 2 4 AC 0 4.0. c 2 0.
10
ABHINAV TANDON
IMSC (PHY. & CHEM.) - IV SEM. MA207R1 MATHEMATICS - IV
Here, we need only one initial condition as compared to two in Wave Equation.
STEP-1: Applying method of separation of variables to get two ode’s & their solutions
Let
u( x, t ) X ( x)T (t ) --------- (1)
which are product of two functions , where X is a function of x only and T is a
function of t only, be a solution of the Heat Equation (*).
Then from equation (1) we get,
u dT 2u d 2 X
X XT and 2
'
T X ' 'T ----------- (2)
t dt x dx 2
11
ABHINAV TANDON
IMSC (PHY. & CHEM.) - IV SEM. MA207R1 MATHEMATICS - IV
d2X
2
p 2 X 0. Solution of this ode is X c1e px c2 e px ------ (7)
dx
dT 2 2
c 2 p 2T 0 , Solution of this ode is T c3e p c t -------- (8)
dt
From these solutions (7) & (8) we get the solution u( x, t ) X ( x)T (t ) as:
u( x, t ) X ( x )T (t ) c1e px c2 e px (c3e p
2 2
c t
) ----- (A)
( k is +ve i.e. k p 2 )
Case- 2: If k is zero i.e. k 0 , then odes (5) and (6) reduce into:
12
ABHINAV TANDON
IMSC (PHY. & CHEM.) - IV SEM. MA207R1 MATHEMATICS - IV
d2X
0, , Solution of this ode is X c1 c2 x ------ (9)
dx 2
dT
0, , Solution of this ode is T c3 ----- (10)
dt
From these solutions (9) & (10) we get the solution u( x, t ) X ( x)T (t ) as:
d2X
2
p 2 X 0 , Solution of this ode is: X c1 cos px c2 sin px ------ (11)
dx
dT
c 2 p 2T 0 , Solution of this ode is T c3e p c t ----- (12)
2 2
dt
From these solutions (12) & (13) we get the solution u ( x, t ) X ( x)T (t ) as:
i.e. k p 2 )
So for various values of k , we get various possible solutions of heat equation as:
A) u( x, t ) X ( x )T (t ) c1e px c2 e px c3e p
2 2
c t
B) u( x, t ) X ( x )T (t ) c1 c2 x c3
Of these three possible solutions A, B & C, we have to choose the solution which is
in consistent with the physical nature of the problem, since u decreases as time t
increases (transient solution).
So,
13
ABHINAV TANDON
IMSC (PHY. & CHEM.) - IV SEM. MA207R1 MATHEMATICS - IV
------- (14)
BCs are I) u(0, t ) 0 II) u( L, t ) 0
i) Applying BC I) to the equation (14) we get:
u(0, t ) 0 An e p
2 2
c t
(as e p
2 2
It implies that An 0 c t
0)
ii) Applying BC II) to the equation (14), taking An 0 , we get
e p
2 2
c t
0)
sin pL sin n pL n ( n I )
or
n
p where n 1,2,3,......
L
Hence, from these BCs, we get the following form of equation (14) as:
n 2 2 c 2
nx t
u( x, t ) X ( x )T (t ) Bn sin e L2 ----------------- (15)
L
14
ABHINAV TANDON
IMSC (PHY. & CHEM.) - IV SEM. MA207R1 MATHEMATICS - IV
STEP -3: Applying ICs to the obtained suitable solution from Step -2
n 2 2 c 2
nx t
After step 2, we get u( x, t ) Bn sin e L2 -------- (16)
n 1 L
Now, we have ICs as: u( x,0) f ( x)
Applying IC: u( x,0) f ( x) to the equation (16), we get
nx
u( x,0) f ( x ) Bn sin L
----------- (17)
n 1
This equation represents Fourier sine series (Half Range) in interval (0, L), therefore,
2L nx
Bn f ( x ) sin dx --------- (18)
L0 L
2L nx
where, Bn f ( x ) sin dx
L0 L
Note: If it is given that both ends of the rod are insulated, no heat flows through
u u
them and then the corresponding BCs are: 0 and 0
x x 0 x xL
15
ABHINAV TANDON