1
Direct solution to Poisson equation using Greens function
2 D = f
The direct solution to the above Poisson equation is:
Z
1
|x p| f (x) dx
D(p) =
2
ZZ
p
1
D(p, q) =
log
(x p)2 + (y q)2 f (x, y) dxdy
2
ZZZ
1
1
p
D(p, q, r) =
f (x, y, z) dxdydz
2
4
(x p) + (y q)2 + (z r)2
That is, the Green functions in 1, 2 and 3 dimensions are
1
|x p|
2
p
1
G(x, y; p, q) =
log
(x p)2 + (y q)2
2
1
p
G(x, y, z; p, q, r) =
4 (x p)2 + (y q)2 + (z r)2
G(x, p) =
1-dimension
2 D = 1 for a < x < b.
1
D(p) =
2
=
=
=
=
|x p| dx
(Z
)
Z b
p
1
(p x) dx +
(x p) dx
2
a
p
(
p 2
b )
x2
x
1
px
+
px
2
2 a
2
p
2
2
2
2
1
p
a
b
p
2
2
p
ap
+
bp
p
2
2
2
2
2
1
a2 + b2
p2 (a + b)p +
2
2
Thus, the solution is quadratic.
D(x) =
x2
a+b
a2 + b2
x+
.
2
2
4
Clearly, D(x) = 1.
3-dimension
2 D = 3.
1
D(p, q, s) =
4
ZZZ
1
p
(x
p)2
+ (y q)2 + (z s)2
3 dxdydz
Converting to spherical coordinates,
x = r sin cos + p
y = r sin sin + q
z = r cos + s
we get
p
(x p)2 + (y q)2 + (z s)2
yq
= tan1
xp
zs
= cos1
r
r=
Then, the integral becomes
1
D(r, , ) =
4
Z2 Z Za
1
3 r2 sin drdd
r
=0 =0 r=0
3
=
4
Z2 Z Za
r sin drdd
=0 =0 r=0
Z2
=0
sin d
rdr
r=0
=0
3
(2) ( cos + cos 0)
4
3
a2
=
2 2
4
2
3 2
=
a
2
Za
a
2
Converting back to Cartesian,
D(p, q, s) =
3
(ax p)2 + (ay q)2 + (az s)2
2
Thus, D is quadratic in p, q, s. However, D = 9, but we tried to solve D = 3.
What did go wrong ?