Partial Differential Equations
Partial Differential Equations
Partial Differential Equations
1
1. Introduction (partial differential equation)
ex 1) Laplace equation
2 2 2
u x, y , z 0 2 u 2 u 2 u 0
2
x y z
: gravitational potential, electrostatic potential, steady-state
temperature with no source
ex 2) Poisson’s equation: u f x, y, z
2
2
1 2u
ex 4) Wave equation u 2 2
2
v t
3
2. Laplace’s equation: steady-state temperature in a rectangular
plate (2D)
In case of no heat source
2T 2T
T 0 or
2
2 0
x 2
y
"Separation of variables"
4
2T 2T 2 XY 2 XY
0 0
x 2 y 2 x 2 y 2
d2X d 2Y XY 1 d 2 X 1 d 2Y 1 d2X 1 d 2Y
Y 2
X 2 0 2
2
0, 2
dx dy X dx Y dy X dx Y dy 2
5
e ky sin kx
e ky sin kx
General solution : T XY
ky
e cos kx
ky
e cos kx
i ) T 0 as y . discard e ky
ii ) T 0 when x 0. discard cos kx
iii ) T 0 when x 10. sin 10k 0 k n / 10
iv ) T 10 when y 0.
nx
nx
T exp[ny / 10] sin T bn sin 100.
10 n 1 10
6
nx
nx
T exp[ny / 10] sin T bn sin 100.
10 n 1 10
400
200
n
1 n 1 n
, odd n,
0, even n.
400 x 1 3y / 10 3x
T exp[ny / 10] sin e sin .
10 3 10
7
2) How about changing the boundary condition? Let us consider a finite
plate of height 30 cm with the top edge at T=0.
T=0 at 30 cm
e ky ae ky be ky
T 0 at y 30 12 e k 30 y 12 e k 30 y ( that is, a 12 e30k , b 12 e 30k ) sinh k 30 y
n
30 y sin nx
T Bn sinh
n 1 10 10
nx nx
Ty 0 100 Bn sinh 3n sin bn sin , where bn Bn sinh 3n .
n 1 10 n 1 10
n
T
400
1
sinh 30 y sin nx
odd n n sinh 3n 10 10
8
- To be considered I
e kx sin ky
kx
e sin ky
We could have another general solution, T XY , for k 2 .
kx
e cos ky
kx
e cos ky
- To be considered II
n case that the two adjacent sides are held at 100 (ex. C=D=100),
he solution can be the combination of C=100 solutions (A, B, D: 0)
and D=100 (A, B, C: 0) solutions.
9
. Summary of separation of variables.
10
3. Diffusion or heat flow equation; heat flow in a bar or slab
1 u
- Heat flow : 2u .
2 t
u F x, y , z T t "Separation of variables"
1 dT 1 2 1 1 dT
T 2 F F F k 2 .
2
dt F T dt
2
1 2 1 1 dT
F k 2 , k 2
F 2 T dt
2 F k 2 F ,
dT
dt
2 2
k 2 2T T e k t
11
Let’s take a look at one example.
u 2 2
k t
e cos kx
nx
nx
n / l 2 t
u bn e n / l t sin
2
ue sin
l n 1 l
At t 0, u u0
nx 100
u bn sin u0 x.
n 1 l l
1 n 1 200 1
n 1
100 2l 1
bn
l n n
200 / l 2 t x 1 2 / l 2 t 2x 1 3 / l 2 t 3x
u e sin e sin e sin .
l 2 l 3 l
13
or some variation, when T0,
we need to consider uf.as the final state, maybe a linear functio
this case, we can write down the solution simply like this.
nx
u bn e n / l t sin
2
uf .
n 1 l
nx
nx
u0 bn sin u f u0 u f bn sin .
n 1 l n 1 l
14
4. Wave equation; vibrating string
node
Under the assumption that the string is not stretched,
2 y 1 2 y
x 2 v 2 t 2
x=0 x=l
y X x T t
1 d2X 1 1 d 2T
2
2 2
const. k 2
X k 2
X 0 and T k v T 0.
2 2
X dx v T dt
15
sin kx sin t
sin kx, sin kvt, sin kx cos t
X T y XT , where kv.
cos kx, cos kvt, cos kx sin t
cos kx cos t
Boundary condition : y 0 at x 0, x l.
nx nvt
sin sin
l l
y
sin nx cos nvt .
l l
16
nx nvt nx nvt
sin sin sin cos
l l l l
y y
sin nx cos nvt sin nx sin nvt
l l l l
1) case 1
17
nx nvt
sin sin
l l
y
sin nx cos nvt .
l l
2) case 2
For y (t 0) 0 and y0 ' 0, cos nvt / l should be discarded.
nx nvt
y Bn sin sin .
n 1 l l
y
nv nx nx
Bn sin bn sin V x (Use Fourier series expansion.)
t t 0 n 1 l l n 1 l
18
3) Eigenfunctions
nx nvt
y sin sin : a characteristic function or eigenfunction
l l
n nv / l 2 n : characteristic frequency
A vibration with a pure freuquencyis called the normal mode of vibration.
third fourth
19
Mathematical methods in the physical sciences 2nd edition Mary L. Boas
20
5. Steady-state temperature in a
cylinder
1 u 1 2u 2u
u
2
r 2 2 0
r r r r 2
z
u R r Z z
Putting this into the equation, and dividing with u RZ ,
1 1 d dR 1 1 d 2 1 d 2 Z
r 0
R r dr dr r d
2 2
Z dz 2
21
1 1 d dR 1 1 d 2 1 d 2 Z
r 0
R r dr dr r d
2 2
Z dz 2
- 1st step
1 1 d dR 1 1 d 2 1 d 2Z
r k 2
R r dr dr r d
2 2
Z dz 2
1 d 2Z e kz
k 2, Z .
Z dz 2 e kz
Because u ~ 0 at z , u ~ e kz .
22
- 2nd step
1 1 d dR 1 1 d 2 r 2 r d dR 1 d 2
k 0 r 2k 2 0
2
r r
R r dr dr r d
2 2
R dr dr d 2
Here,
1 d 2 sin n ,
n ,
2
d 2
cos n .
- 3rd step
r d dR 2
r
R dr dr
n k r 0 r r
2 2 d dR
dr dr
2 2 2
2 2 2 2
k r n R 0 r R rR k r n R 0
" Bessel equation": x xy x 2 p 2 y x 2 y xy x 2 p 2 y 0
Solution of the Bessel equations : J n kr (Bessel), N n kr (Neumann or Weber) .
Boundary condition : u z 0 cm J 0 km r 100.
n 1
cm r J 0 km r dr 100rJ 0 km r dr.
1 2 1
0 0
J p ( a) 0 J p (b)
0, if a b
0 xJ p ax J p bx dx 1 J p2 1 a 1 J p2 1 a 1 J p21 a , if a b
1
2 2 2
24
cm r J 0 km r dr 100rJ 0 km r dr.
1 2 1
0 0
d
For the right term : xJ1 x xJ 0 x (recusion relation)
dx
1 d
For x km r , km rJ1 km r km rJ 0 km r ,
km dr
1 d
rJ 0 km r rJ1 km r
km dr
1
1 1
J1 k m .
1
0 0 m
rJ k r dr
km
rJ 1 mk r
k m
0
0
cm r J 0 km r dr 100rJ 0 km r dr cm 12 J12 km
1
km
100 J1 km 2 200
cm 2
km J1 k m k m J1 k m
25
If the given temperature of the base of the cylinderis f r , , 1, but an cos n bn sin n .
u J n kmnr amn cos n bmn sin n e k mn z .
m 1 n 0
u z 0 J n kmnr amn cos n bmn sin n f r , .
m 1 n 0
0 0 0 0
a 12 J21 k .
f r , J k r sinrdrd .
2 1 2
Similarly, b
J 2
1 k
0 0
26
- Bessel’s equation Bessel’s equation 1
27
Bessel’s equation 2
x xy x 2 p 2 y x 2 y xy x 2 p 2 y 0
- Solution :
J p x
1
n
x
2n p
e dx p 1!,
p 1 x
, where p x p 0.
n 0 n 1 n p 1 2
0
cos p J p x J p x
N p x (Neumann or Weber)
sin p
general solution y AJ p x BN p x
- Graph
28
Bessel’s equation 3
2) Recursion relations
1)
d p
dx
x J p x x p J p 1 x
2)
d p
dx
x J p x x p J p 1 x
2p
3) J p 1 x J p 1 x J p x
x
4) J p 1 x J p 1 x 2 J p x
p p
5) J p x J p x J p 1 x J p x J p 1 x
x x
29
Bessel’s equation 4
3) Orthogonality
cf. Comparison
sin x, cos x J p x, N p x
consider just sin x consider just J p x for one value of p
x nx, sin x 0 x a, b,, J p x 0
x 1, sin nx 0 x 1, J p ax 0, J p bx 0,
For y sin nx, y n y 0
2
For J p ax , x xy a 2 x 2 p 2 y 0
xJ ax J bx dx 0,
1 1
sin nx sin mxdx 0,
0
for n m,
0
p p for a b
30
Bessel’s equation 5
x xy x 2 p 2 y x 2 y xy x 2 p 2 y 0
x xy a 2 x 2 p 2 y 0
J p (a) 0 J p (b)
0, if a b
0 xJ p ax J p bx dx 12 J p21 a 12 J p21 a 12 J p21 a , if a b
1
31
6. Vibration of a circular membrane (just like drum)
1 2 z
z 2 2
2
v t
z F x, y T t 2 F k 2 F 0 and T k 2v 2T 0
1 F 1 2 F
In polar coordinate, r 2 k 2 F 0.
r r r r 2
F R r . Putting this form into the above equation, and then dividing with F ,
1 1 d dR 1 1 d 2
r 2 k2 0
r R dr dr r d 2
1 d 2 d 2
n 2
n 2
0 (simple harmonic equation)
d 2
d 2
r
d dR
r
dr dr
2 2 2
n k r R 0 (Bessel's equation)
Boundary condition : z (r 1) 0 J n k 0.
kmn : zeros of J n (double series)
cf. They are not integral multiples of the fundamental as is true for the
string (characteristics of the bessel function). This is why a drum is less
musical than a violin.
33
ex) z J n k mn r cos n cos k mn vt
34
(m,n)=(1,0) (2,0) (1,1)
35
Mathematical methods in the physical sciences 2nd edition Mary L. Boas
36
7. Steady-state temperature in a
sphere
Sphere of radius 1 where the surface of upper half is 100, the other is 0 degree.
1 2 u 1 u 1 2u
u 2 r 2 sin 2 2 0
2
r r r r sin r sin 2
1 d 2 dR 1 1 d d 1 1 d 2
For u R r , r sin 0
R dr dr sin d d sin 2 d 2
1 d 2 sin m
m ,
2
d 2 cos m
1 d 2 dR 1 1 d d m2
r sin 0.
R dr dr sin d d sin 2
1 d 2 dR r l
r k
R
R dr dr 1 / r l 1
1 d d m2
sin 2 k 0 (Associated Legendre equation k l l 1 )
sin d d sin
Pl m cos (Legendre polynomial).
37
1) For the interior of the sphere, no divergence. Therefore, discard 1 / r l 1.
sin m
u r Pl cos
l m
cos m
u cl r l Pl cos
2) Due to the azimuthal symmetry, m 0
l 0
100, 0 / 2
3) ur 1 cl Pl cos
l 0 0, /2
0, 1 x 0,
or ur 1 cl Pl cos 100 f x , where f x
l 0 1, 0 x 1.
In this case, we can expand this in a series of Legendre polynominals
f x 12 P0 x 34 P1 x 167 P3 x 11 P x (Here, x cos )
32 5
c P cos 100
l 0
l l
1
2
P0 cos 34 P1 cos 167 P3 cos 11 P cos
32 5
1 3 7
c0 100 , c1 100 , c2 100 ,.
2 4 16
u x 100 12 P0 cos 34 rP1 cos 167 r 3 P3 cos 11
32
r 5 P5 cos
38
Legendre’s equation 1
- Legendre’s equation
1) Equation and solution
i. .m 0 (Legendre equation)
l
1 x 2 y 2 xy l l 1 y 0 Solution : Pl x
1 d 2 l
x 1 .
2!l! dx
Solution : Pl x 1 x
m
2 m/2 d
Pl x l m l .
dx
For m l , Pl m 0
1 d d m2
cf . sin l l 1 0 (Associated Legendre equation).
sin d d sin 2
39
Legendre’s equation 2
1 d d m2
cf . sin l l 1 0 (Associated Legendre equation)
sin d d sin 2
1 d d cos d d cos m2
sin l l 1 0
sin d cos x d d cos d sin 2
d 2 d m2
sin l l 1 0
d cos x d cos sin
2
d
d
1 cos
d cos x
2
m2
d cos 1 cos2
l l 1 0
d 2 d
1 cos 2
d cos x 2
2 cos
m2
d cos 1 cos 2
l l 1 0
d 2 d
1 x 2
dx 2
2x
m2
dx 1 x 2
l l 1 0
40
Legendre’s equation 3
P0 x 1 Pl m x 1
m l m ! P m x
l m ! l
P1 x x
1
P11 x P11 x
P2 x
1 2
2
3x 1 2
P10 x x
1
2
P3 x 5 x 3 3x
P11 x 1 x 2 1/ 2
1 2
1
P4 x 35 x 4 30 x 2 3
8
P2 2 x
24
P2 x
1
P21 x P21 x
1
P5 x 63x 5 70 x 3 15 x
8
6
P6 x
1
231x 6 315x 4 105x 2 5
1
P20 x 3x 2 1
2
16
P21 x 3x 1 x 2 1/ 2
1
P22 x 3 1 x 2
cf . x 3P1 x 2 P3 x
3
5
41
Legendre’s equation 4
2) Orthogonality
2
1
1 0 sin d
2 2
Pl x dx Pl cos .
2l 1
2 l m !
P x 2 dx 0
Pl m cos sin d
1 2
m
.
2l 1 l m !
l
1
42
8. Poisson’s equation
F 0 (F : conservative) F V
1) For gravitational force, F 4G 2V 4G : Poisson equation
cf. 0 2V 0 : Laplace equation
2) For electrostatic force, E 4 2V 4 (in Gaussian unit).
cf. 0 2V 0
In general, 2u x, y, z f x, y, z
1 f x, y, z
u
4 x x y y z z
2 2 2
dxdydz.
2 w 0 (Laplace equation)
2 u w 2u 2 w f u w : solution of Poisson equation
43
Example 1
2V 4
1 4 x, y, z q
V x, y , z x x y y z z dxdydz .
4 x y z a
2 2 2 2 2 2
In spherical coordinate,
q
Vq .
r 2ar cos a
2 2
r l m sin m
Basic solution of Laplace equation Pl cos r l 1Pl cos
r l 1 cos m
1) zero at infinite discard r l
2) symmetric about z - axis solution is indep. of . m 0, cos m 1
V Vq cl r l 1Pl cos
l
grounded sphere
44
Boundary condition : V 0 for r R.
q
Vr R cl R l 1Pl cos 0.
R 2 2aR cos a 2 l
q R l Pl cos
Using q l 1
,
R 2aR cos a
2 2
l a
R l Pl cos
q l 1
cl R l 1Pl cos
l a l
l 1 qR l qR 2l 1
From this relation, cl R l 1 or cl l 1 .
a a
q R 2l 1r l 1Pl cos
V q
r 2ar cos a
2 2
l a l 1
q
q( R / a )
R / a P cos
2 l
l
‘Method of the images’
l 1
r 2ar cos a
2 2
l r
q
R / a q .
r 2ar cos a
2 2
2
r 2 R 2 / a 2r R 2 / a cos
In the second term, charge : R / a q, position : 0,0, R 2 / a
45
cf. Electric multipoles
monopole dipole quadrupole octopole
1 1
V r r dr
4 0 r r
r
2
r
r r r r 2rr cos r 1 2 cos
2
2
2
2
r r
r r
r r r 1 , where 2 cos
r r
1 1 1 1 3 5
1
1/ 2
1 2 3
r r r r 2 8 16
46
1 1 r r
2 2 3 3
1 3 r r 5 r r
1 2 cos 2 cos 2 cos
r r r 2 r r 8 r r 16 r r
1 r
2 3
r
r
1 cos 3 cos 1 / 2 5 cos 3 cos / 2
r r
2
3
r r
n
1 r
Pn cos Legendre polynominal
r n 0 r
1 1
V r r n 1
Pn cos r d multipole expansion
n
r
4 0 n 0
- n = 0 : monopole contribution
- n = 1 : dipole
- n = 2 : quadrupole
- n = 3 : octopole
47
Sekian Semoga
Dipahami