Partial Differential Equations (1)
Partial Differential Equations (1)
Department of Mathematics,
Visversvaraya National Institute of Technology,Nagpur
October 20, 2020
Course Details
Course name: Integral Transforms and Partial
Differential Equations
Course code: MAL-201
Credits:
B.Tech. Second Year
Visvesvaraya National Institute of Technology,
Nagpur
For more detials check the course book
Exams details can be found from Dean's note
available on the website for students
2
PREREQUISITES
Pre-requisite
4
Pre-requisite
4
Pre-requisite
4
Pre-requisite
4
INTRODUCTION TO
PARTIAL
DIFFERENTIAL
EQUATIONS (PDE)
Partial Differential Equations
6
Partial Differential Equations
Definition
Let u : R2 → R. Then an equation involving the partial
derivatives of u is known as partial differential
equation (PDE), say,
6
Linear second order PDE
Definition
A linear 2nd order PDE satisfied by a function u(x, y)
depending on two independent variables x and y can
be written as:
7
Linear second order PDE
Definition
A linear 2nd order PDE satisfied by a function u(x, y)
depending on two independent variables x and y can
be written as:
7
Linear second order PDE
Definition
A linear 2nd order PDE satisfied by a function u(x, y)
depending on two independent variables x and y can
be written as:
,→ Define D := b2 − ac
7
Classification
Hyperbolic : D > 0;
Wave Equation
8
Classification
8
Classification
Parabolic: D = 0;
Heat Equation
8
Classification
Parabolic: D = 0;
ut = κuxx
Heat Equation
8
Classification
Parabolic: D = 0;
ut = κuxx
Heat Equation
Elliptic : D < 0;
Laplace Equation
8
Classification
Parabolic: D = 0;
ut = κuxx
Heat Equation
Elliptic : D < 0;
Laplace Equation uxx + uyy = 0
8
Classification
Parabolic: D = 0;
ut = κuxx
Heat Equation
Elliptic : D < 0;
Laplace Equation uxx + uyy = 0
Why ?
8
Classification
Parabolic: D = 0;
ut = κuxx
Heat Equation
Elliptic : D < 0;
Laplace Equation uxx + uyy = 0
Why ?
Remember: ax 2 + 2hxy + by 2 + cx + dy + e = 0
8
Examples: Classify the following PDEs
9
Examples: Classify the following PDEs
9
Examples: Classify the following PDEs
9
Examples: Classify the following PDEs
9
WAVE EQUATION
Bounded Domain
Wave Equation
The pde:
11
Wave Equation
The pde:
u(0, t) = 0, u(l, t) = 0, t ≥ 0,
11
Wave Equation
The pde:
u(0, t) = 0, u(l, t) = 0, t ≥ 0,
11
Wave Equation
The pde:
u(0, t) = 0, u(l, t) = 0, t ≥ 0,
11
Wave Equation
The pde:
u(0, t) = 0, u(l, t) = 0, t ≥ 0,
11
Examples
Example 1:
Consider the problem with zero initial velocity, i.e.,
ut (x, 0) = 0
12
Examples
Example 1:
Consider the problem with zero initial velocity, i.e.,
ut (x, 0) = 0
12
Examples
Example 1:
Consider the problem with zero initial velocity, i.e.,
ut (x, 0) = 0
Solution procedure:
Fourier method/Separation of variable method
12
Important Steps...
Suppose u(x, t) = X(x)T(t)
X 00 T̈
From pde: = 2
X c T
13
Important Steps...
Suppose u(x, t) = X(x)T(t)
X 00 T̈
From pde: = 2 = −λ
X c T
From BCs and from above equations, we’ve a BVP:
X 00 + λX = 0; X(0) = X(l) = 0
n2 π 2
The eigenvalues for the BVP are: λn = .
l2
And the eigenfunctions are non-zero constant
multiples of
nπx
Xn (x) = sin , for n = 1, 2, ....
l
Ex2
13
Important Steps...
Now for T(t) : from zero initial condition
nπc 2
T̈ + T = 0; Ṫ(0) = 0.
l
The general solution for T(t) is:
nπct
Tn (t) = cn cos
l
14
Important Steps...
In order to satisfy the non-zero initial condition we
take infinite superposition
∞ nπx
X nπct
u(x, t) = cn sin cos .
n=1
l l
We can do this!
The r.h.s. is the Fourier sine expansion of f (x) on [0, l].
15
Important Steps...
Thus we obtain the solution:
∞ nπx
X nπct
u(x, t) = cn sin cos .
n=1
l l
Zl nπx
2
cn = f (x) sin dx
l l
0
4l nπ
Thus cn = 2 2 sin .
nπ 2
16
Examples
Example 2:
Consider the problem with zero initial displacement,
i.e.,
u(x, 0) = 0.
17
Examples
Example 2:
Consider the problem with zero initial displacement,
i.e.,
u(x, 0) = 0.
17
Examples
Example 2:
Consider the problem with zero initial displacement,
i.e.,
u(x, 0) = 0.
17
Ex. 2 Cont.
Now for T(t) : from zero initial condition
nπc 2
T̈ + T = 0; T(0) = 0.
l
The general solution for T(t) is:
nπct
Tn (t) = cn sin
l
18
Ex. 2 Cont...
In order to satisfy the non-zero initial condition we
take infinite superposition
∞ nπx
X nπct
u(x, t) = cn sin sin .
n=1
l l
We can do this!
The r.h.s. is the Fourier sine expansion of g(x) on [0, l].
19
Ex. 2 Cont...
nπc
Thus cn are the Fourier sine coefficients
l
And
Zl
nπc 2 nπx
cn = g(x) sin dx
l l l
0
We’ve with
πx
g(x) = x 1 + cos , for 0 ≤ x ≤ l.
l
(−1)n l2
if n 6= 1,
nπ(n2 − 1)
cn =
2
3l
if n = 1.
4π
20
Ex. 2 Cont...
21
Solution of a wave equation
With initial displacement and velocity.
Linearity !
If we let v(x, t) the solution with zero initial velocity
7→ non-zero initial displacement.
22
Example 3
Ques. Solve the IBVP
1
3 ≤ x ≤ 1,
ut (x, 0) = 2 0 ≤ x ≤ 2.
0 otherwise,
23
Non-homogeneous wave equation
Ques. Solve the IBVP
24
Non-homogeneous wave equation
25
Non-homogeneous wave equation
X 00 + λX = 0; X(0) = 0 = X(2π)
n2
λn =
4
and the eigenfunctions are any constant multiple of
nx
Xn (x) = sin
2
26
Non-homogeneous wave equation
The problem for T(t) is:
n2
T̈ + T = 0; Ṫ(0) = 0
4
Thus
nt
Tn (t) = bn cos
2
Taking infinite superposition of solution
∞ nx
X nt
w(x, t) = cn sin cos .
n=1
2 2
27
Non-homogeneous wave equation
Appling the non-zero initial condition
∞
X n
w(x, 0) = cos x − 1 = bn sin x
n=1
2
Thus w(x, t) =
∞
16 X 1 2n − 1 2n − 1
sin x cos t
π n=1 (2n − 1) ((2n − 1)2 − 4) 2 2
28
Non-homogeneous wave equation
29
Non-homogeneous wave equation
Ques. Solve the IBVP
u(x, 0) = 0, ut (x, 0) = 1, 0 ≤ x ≤ l,
30
Non-homogeneous wave equation
Recall that we want to have for w(x, t) :
32
WAVE EQUATION
Unbounded Domain
Wave equation on entire line.
ξ = x − ct, η = x + ct
34
D'Alembert's solution
Define w(ξ, η) = u(x(ξ, η), y(ξ, η)).
See that: utt − c2 uxx = 4c2 wξη
Since
ux = wξ + wη
uxx = wξξ + 2wξη + wηη
ut = c (−wξ + wη )
utt = c2 (wξξ − 2wξη + wηη )
wξη = 0.
35
D'Alembert's solution
After integration we’ve:
Z
w(ξ, η) = h(η)dη + F(ξ)
= G(η) + F(ξ)
36
D'Alembert's solution
37
D'Alembert's solution
Again from (2),
Thus
x+ct
Z
1 1
u(x, t) = (f (x − ct) + f (x + ct)) + g(s)ds.
2 2c
x−ct
38
HEAT EQUATION
Bounded Domain
Heat Equation
Ends of the bar kept at zero temperature
The pde:
40
Heat Equation
Ends of the bar kept at zero temperature
The pde:
u(0, t) = 0, u(l, t) = 0, t ≥ 0,
40
Heat Equation
Ends of the bar kept at zero temperature
The pde:
u(0, t) = 0, u(l, t) = 0, t ≥ 0,
u(x, 0) = f (x), 0 ≤ x ≤ l.
40
Examples
Example 1:
Consider the problem with constant temperature,
say,
u(x, 0) = f (x) = C for all x ∈ [0, l].
41
Examples
Example 1:
Consider the problem with constant temperature,
say,
u(x, 0) = f (x) = C for all x ∈ [0, l].
Solution procedure:
Fourier method/Separation of variable method
41
Important Steps...
Suppose u(x, t) = X(x)T(t)
X 00 Ṫ
From pde: =
X κT
42
Important Steps...
Suppose u(x, t) = X(x)T(t)
X 00 Ṫ
From pde: = = −λ
X κT
From BCs and from above equations, we’ve a BVP:
X 00 + λX = 0; X(0) = X(l) = 0
43
Important Steps...
In order to satisfy the non-zero initial condition we
take infinite superposition
∞
n2 π 2 κt
X nπx
u(x, t) = cn sin exp − 2 .
n=1
l l
We can do this!
The r.h.s. is the Fourier sine expansion of f (x) = K on
[0, l].
44
Important Steps...
Thus we obtain the solution:
∞
n2 π 2 κt
X nπx
u(x, t) = cn sin exp − 2 .
n=1
l l
Zl nπx
2 2K
cn = K sin dx = (1 − cos(nπ)) .
l l nπ
0
0 for n even.
Thus cn = 4K
for n odd.
nπ
45
Example 2
Temperature in a bar with insulated ends
The pde:
46
Example 2
Temperature in a bar with insulated ends
The pde:
ux (0, t) = 0, ux (l, t) = 0, t ≥ 0,
46
Example 2
Temperature in a bar with insulated ends
The pde:
ux (0, t) = 0, ux (l, t) = 0, t ≥ 0,
Solution procedure:
Fourier method/Separation of variable method
Suppose u(x, t) = X(x)T(t)
X 00 Ṫ
From pde: =
X κT
47
Important Steps...
Solution procedure:
Fourier method/Separation of variable method
Suppose u(x, t) = X(x)T(t)
X 00 Ṫ
From pde: = = −λ
X κT
X 00 + λX = 0; X 0 (0) = X 0 (l) = 0
47
Important Steps...
The eigenvalues for the BVP are:
n2 π 2
λn = , n = 0, 1, 2, 3, ....
l2
And the eigenfunctions are non-zero constant
multiples of
nπx
Xn (x) = cos , for n = 0, 1, 2, ....
l
Now for T(t) :
nπ 2
Ṫ + κT = 0, n = 0, 1, 2, ...
l
48
Important Steps...
49
Important Steps...
In order to satisfy the non-zero initial condition we
take infinite superposition
∞ 2 2
c0 X nπx n π κt
u(x, t) = + cn cos exp − 2 .
2 n=1
l l
We can do this!
The r.h.s. is the Fourier cosine expansion of f (x) on
[0, l].
50
Important Steps...
Thus
Zl/2
2
c0 = Kdx = K,
l
0
and
Zl/2 nπx nπ
2 2K
cn = K cos dx = sin .
l l nπ 2
0
Note that: (
nπ 0 for n even,
sin =
2 (−1)m+1 for m = 2n − 1 odd.
51
Important Steps...
K
u(x, t) = +
2
∞
2K X (−1)2n+1 (2n − 1)2 π 2
(2n − 1) π
cos x exp − κt .
π n=1 (2n − 1) l l2
52
Bar with ends at different temperatures
The pde:
53
Bar with ends at different temperatures
The pde:
u(0, t) = T1 , u(l, t) = T2 , t ≥ 0,
53
Bar with ends at different temperatures
The pde:
u(0, t) = T1 , u(l, t) = T2 , t ≥ 0,
53
Solution procedure
1
Let ψ(x) = (T2 − T1 )x + T1 a linear transformation.
L
54
Solution
The solution is
∞
n2 π 2 κt
X nπx
w(x, t) = cn sin exp − 2 .
n=1
l l
Or
Zl nπx
2 1
cn = (f (x) − (T2 − T1 )x − T1 ) sin dx.
l l l
0
55
Example 3
Consider the case:
3
T1 = 1, T2 = 2 and f (x) = , 0 ≤ x ≤ l.
2
Thus
Zl nπx
2 3 1
cn = − (2 − 1)x − 1 sin dx
l 2 l l
0
(1 + (−1)n )
= .
nπ
Hence u(x, t) =
∞
(1 + (−1)n ) n2 π 2
nπx
X 1
sin exp − 2 κt + x + 1.
n=1
nπ l l l
56
LAPLACE EQUATION
Bounded Domain
Laplace Equation
Basic equation
In Cartesian coordinates:
58
Laplace Equation
Basic equation
In Cartesian coordinates:
In polar coordinates:
1 1
urr + ur + 2 uθθ = 0, (r, θ) ∈ Ω.
r r
58
Laplace Equation
Basic equation
In Cartesian coordinates:
In polar coordinates:
1 1
urr + ur + 2 uθθ = 0, (r, θ) ∈ Ω.
r r
Example 1:
Solution procedure:
Fourier method/Separation of variable method
59
Important Steps...
Suppose u(x, t) = X(x)Y (y)
X 00 Ÿ
From pde: =−
X Y
60
Important Steps...
Suppose u(x, t) = X(x)Y (y)
X 00 Ÿ
From pde: = − = −λ
X Y
From BCs and from above equations, we’ve a BVP:
X 00 + λX = 0; X(0) = X(l) = 0
n2 π 2
The eigenvalues for the BVP are: λn = .
l2
And the eigenfunctions are non-zero constant
multiples of
nπx
Xn (x) = sin , for n = 1, 2, ....
l
60
Important Steps...
Now for Y (y) : from zero boundary condition
nπ 2
Ÿ − Y = 0; Y (0) = 0.
l
The general solution for Y (y) is:
nπy
Yn (y) = cn sinh
l
for each n ∈ N, with cn as yet to determine.
Now we’ve for n = 1, 2, ...
nπx nπy
un (x, t) = cn sin sinh .
l l
which are harmonic on the rectangle, and satisfies
zero boundary conditions.
61
Important Steps...
In order to satisfy the non-zero boundary condition
we take infinite superposition
∞
X nπx nπy
u(x, t) = cn sin sinh .
n=1
l l
63
Dirchlet problem for semicircle
Example 2: Obtain the steady state temperature
distribution in a semicircular plate of radius R whose
bounding diameter is kept at 0o C, while the
circumference is kept at 50o C.
The mathematical formulation of the problem is:
1 1
urr + ur + 2 uθθ = 0, 0 < r < a, 0 < θ < π,
r r
u(r, 0) = 0 = u(r, π), 0 ≤ r ≤ a,
u(a, θ) = 50, 0 ≤ θ ≤ π.
Solution procedure:
Fourier method/Separation of variable method !?
64
Important Steps...
Suppose u(r, θ) = R(r)Θ(θ)
r 2 R00 + rR0 Θ̈
From pde: − = = −λ
R Θ
From zero BCs and from above equation, we’ve a BVP:
Θ̈ + λΘ = 0; Θ(0) = Θ(π) = 0
The eigenvalues for the BVP are: λn = n2 .
And the eigenfunctions are non-zero constant
multiples of
65
Important Steps...
Now for R(r) :
r 2 R00 + rR0 − n2 R = 0.
R(r) = cn r n + dn r −n
66
Important Steps...
In order to satisfy the non-zero boundary condition
we take infinite superposition
∞
X
u(r, θ) = cn r n sin (nθ) .
n=1
67
Important Steps...
68
RUN FOR
SOME
QUESTIONS ? 69