Professional Documents
Culture Documents
PE281 Green's Functions Course Notes
PE281 Green's Functions Course Notes
Tara LaForce
d2 w d2 w
+ 2 + δ (ξ − x, η − y) = 0 (1)
dx2 dy
on the domain −∞ < x < ∞, −∞ < y < ∞. δ is the dirac-delta function
in two-dimensions. This was an example of a Green’s Fuction for the two-
dimensional Laplace equation on an infinite domain with some prescribed
initial or boundary conditions. The difference between BEM and the method
of Green’s functions is that we will be looking at PDEs that are sufficiently
simple to evaluate the boundary integral equation analytically.
The PDE we are going to solve initially is
∇2 u = 0 (2)
u|∂Ω = f (x, y) (3)
Z Z Z
2 ∂u ∂G
(L (u) , G) = G∇ udΩ = G −u ds+ u∇2 GdΩ = 0 (4)
Ω ∂Ω ∂n ∂n Ω
1
where n is the outward pointing normal and ds is the distance along the
∂u
boundary, counterclockwise. Since u is given on the boundary and ∂n is not,
we will set G = 0 on ∂Ω.
Z Z
∂G
−f (x, y) ds+ u∇2 GdΩ = 0 (5)
∂Ω ∂n Ω
• Because we are using the Green’s function for this specific domain with
Dirichlet boundary conditions, we have set G = 0 on the boundary in
order to drop one of the boundary integral terms.
• The fundamental solution is not the Green’s function because this do-
main is bounded, but it will appear in the Green’s function.
2
2 Example of Laplace’s Equation
Suppose the domain is the upper half-plan, y > 0. We know that G =
−1
2π
ln r + g and that g must satisfy the constraint that ∇2 g = 0 in the domain
y > 0 so that the Green’s function supplies a single point source in the real
domain. We also know that along the line y = 0 g = −w so that G(x, 0) = 0.
This equation can be solved by the method of images. This means that we
will introduce point sources outside of the domain to satisfy the boundary
conditions.
In this example a negative point source at (ξ, −η) will give g = −w on
G(x, 0) = 0. The solution to ∇2 g = δ (ξ − x, η + y) will also satisfy the
constraint that ∇2 g = 0 since ∇2 g is nonzero only at the point source (ξ, −η),
which is not in the domain.
1
q
g= ln (ξ − x)2 + (η + y)2 (7)
2π
Now
G = g+w (8)
1 1
q q
= ln (ξ − x)2 + (η + y)2 − ln (ξ − x)2 + (η − y)2 (9)
2π ! 2π
2 2
1 (ξ − x) + (η + y)
= ln (10)
4π (ξ − x)2 + (η − y)2
so
Z ∞
∂G
u (ξ, η) = − f (x) (x, 0) dx (11)
−∞ ∂n
this can be multiplied out to show that
u (ξ, η) = (12)
−1/2 −1/2 !
η (ξ − x)2 + η 2 + η (ξ − x)2 + η 2
Z ∞
1
f (x) −1/2 dx(13)
−∞ 2π
(ξ − x)2 + η 2
3
!
Z ∞
η f (x)
= dx. (14)
(ξ − x)2 + η 2
π −∞
We could have gotten this solution by Fourier transforms, but Green’s func-
tions can also be used to find solutions for many problems that can’t be
solved by transform methods.
∇2 u = φ (x, y) (15)
u|∂Ω = f (x, y) (16)
Z Z Z Z
2 ∂u ∂G 2
G∇ udΩ = G −u ds+ u∇ GdΩ = Gφ (x, y) dΩ.
Ω ∂Ω ∂n ∂n Ω Ω
(17)
Once again we will choose G so that G(x, 0) = 0 in order to get rid of the
∂u
boundary integral that contains ∂n . Putting in the definition of the Green’s
function we have that
Z Z
∂G
u (ξ, η) = − Gφ (x, y) dΩ − u ds. (18)
Ω ∂Ω ∂n
The Green’s function for this example is identical to the last example because
a Green’s function is defined as the solution to the homogenous problem
∇2 u = 0 and both of these examples have the same homogeneous problem.
Putting G into the equation gives
!
Z ∞
η f (x)
u (ξ, η) = dx + (19)
(ξ − x)2 + η 2
π −∞
4
!
∞ ∞
(ξ − x)2 + (η − y)2
Z Z
1
φ (x, y) ln dxdy (20)
4π 0 −∞ (ξ − x)2 + (η + y)2
∇2 u = 0 (21)
u (x, 0) = f (x) (22)
∂u
(0, y) = h (y) (23)
∂n
(24)
Just like in the last two examples we will use the Green-Gauss theorem to
get
Z Z Z
2 ∂u ∂G
G∇ udΩ = G −u ds+ u∇2 GdΩ = 0 (25)
Ω ∂Ω ∂n ∂n Ω
Z Z 0
2 ∂u ∂G
G∇ udΩ = G −u dy + (26)
Ω ∞ ∂n ∂n x=0
Z ∞ Z
∂u ∂G
G −u dx + u∇2 GdΩ = 0 (27)
0 ∂n ∂n y=0 Ω
(28)
where the limits on the integral over y are switched so that we can evaluate
the boundary counterclockwise. In this problem we will choose G so that
∂u
G(x, 0) = 0 in order to get rid of the boundary integral that contains ∂n , just
∂G
like before. But in the integral over y we need to choose G so that ∂n = 0
5
on the boundary x = 0 because we know the value of the flux across the
boundary, but not the value of u. Inserting the Green’s function we get
∞ ∞
Z Z
∂G
u (ξ, η) = − Gh (y)|x=0 dy − f (x) dx. (29)
0 0 ∂n y=0
1
Now G = w +g and w = 2π ln r as before. In the last examples we introduced
a negative point source at (ξ, −η) in order to enforce G(x, 0) = 0. This will
also work here:
1 1
q q
2 2
G= ln (ξ − x) + (η + y) − ln (ξ − x)2 + (η − y)2 + bdry terms
2π 2π
(30)
Since a negative image point source worked to force a constant G boundary,
it makes sense that a positive image point source will force ∂G∂n
= 0 on the
x = 0 boundary. By inspection you can see that we will need two image point
sources. One to counteract the point source at (ξ, η) in the domain, and one
to counteract the image point source at (ξ, −η) that ensures the boundary
condition at y = 0 is being met. This means that the Green’s function for
this PDE is
−1 1 1 1 1 r2 r 4
G = ln r1 + ln r2 − ln r3 + ln r4 = ln (31)
2π 2π 2π 2π 2π r1 r 3
q
r1 = (ξ − x)2 + (η − y)2 (32)
q
r2 = (ξ − x)2 + (η + y)2 (33)
q
r3 = (ξ + x)2 + (η − y)2 (34)
q
r4 = (ξ + x)2 + (η + y)2 (35)
(36)
and u is given in Eq. 29. In this example we have traded the original PDE
for two integrals along the boundaries. These can be integrated analytically
as long as h(y) and f (x) are sufficiently simple for the integrals to exist.
6
5 The Freespace Green’s Function for the Dif-
fusion Equation
The diffusion equation is an example of a nonself-adjoint operator. The
operator L is given by:
∂u
L (u) = − ∇ · D∇u (37)
∂t
and an example of a diffusion equation problem with mixed boundary con-
ditions is
∂u
− ∇ · D∇u = F (x, t) (38)
∂t
u (a) = ua (39)
∂u (b)
= q̂b . (40)
∂t
∂u ∂ 2 u
Z
− 2 wdΩ = 0 (41)
Ω ∂t ∂x
Ω = [0, ∞] × [−∞, ∞] (42)
Z T Z Z
∂w
uwdΩ − u dΩdt (43)
Ω t=0 t Ω ∂t
Z Z Z Z Z Z
− (∇u · n) wdsdt + (∇w · n) udsdt + ∇2 wudΩdt(44)
t ∂Ω t ∂Ω t Ω
7
Z Z
= u (T, x) w (T, x) dΩ − u (0, x) w (0, x) dΩ (45)
Ω Ω
Z Z Z Z
∂w 2
+ (∇w · n) u − (∇u · n) wdsdt − u + ∇ w dΩdt(46)
t ∂Ω t Ω ∂t
Z Z
∂w 2
= bdry terms − u + ∇ w dΩdt. (47)
t Ω ∂t
Assuming that we can set all of the boundary terms to zero by some combi-
nation of intitial and boundary conditions and constraints on w the adjoint
operator, L∗ of the diffusion operator is
∂w 2
− +∇ w . (48)
∂t
The freespace Green’s function is the solution to the negative diffusion equa-
tion with a point source
∂w
− − ∇2 w − δ (ξ − x, τ − t) = 0 (49)
∂t
on the two or three-dimensional domain Ω. In this example we have changed
sign convention on the delta function from the last example. The reason for
this is that the sign convention L∗ (w) + δ = 0 is typically used in the deriva-
tion of the boundary element method, while the sign convention L∗ (w)−δ = 0
is typically used in the method of Green’s functions. As with the various con-
ventions used in Fourier transforms, both are “correct.” In Green’s functions
both conventions result in exactly the same answer. (verify this for yourself)
The one-dimensional case of equation (49) can be solved using a Fourier
transform on x
∂ ŵ
− + s2 ŵ − δ (τ − t) e−isξ = 0 (50)
∂t
where s has been used to denote the transform variable instead of the cus-
tomary ω in order to avoid confusing w and ω. Equation (50) can be solved
2
using the integrating factor e−is t
∞ Z ∞
−s2 t −isξ 2
e ŵ = e e−s t δ (τ − t) dt (51)
t t
8
∞
−s2 t 0 t>τ
e ŵ = (52)
−isξ −s2 τ
t e e t<τ
2 (τ −t)
ŵ = e−isξ e−s H (τ − t) (53)
R R
−u (ξ, τ ) = lim Ω u (x, T ) G (x, T ) dΩ − Ω u (x, 0) G (x, 0) dΩ (55)
T →∞
R R
+ t ∂Ω (∇G · n) u − (∇u · n) Gdsdt (56)
∂u ∂ 2 u
− 2 =0 (57)
∂t ∂x
Ω = (0 < x < ∞) , (0 < t < T ) (58)
u (x, 0) = uo (x) (59)
u (x, T ) = uT (x) (60)
lim u (x, t) = 0. (61)
x→∞
The first two boundary terms mean that u = 0 on ∂Ω. Since we don’t know
∇u · n = dudx
on the boundary we will make G = 0 on ∂Ω. This means that
G(0, t) = 0 since the domain in semi-infinite. Now
9
Z Z
−u (ξ, τ ) = lim u (x, T ) G (x, T ) dΩ − u (x, 0) G (x, 0) dΩ (62)
T →∞ Ω Ω
and
" ! !#
H (τ − t) − (ξ − x)2 − (ξ + x)2
G=w+g = p exp − exp . (64)
4π (τ − t) 4 (τ − t) 4 (τ − t)
H (τ − t)
G = p (65)
4π (τ − t)
10
" ! !#
XL=∞ − (2L + ξ − x)2 XL=∞ − (2L − ξ − x)2
exp − exp
L=−∞ 4 (τ − t) L=−∞ 4 (τ − t)
and
Z L Z L
u (ξ, τ ) = uo (x)G (x, 0) dx − uT (x)G (x, T ) dx (66)
0 0
8 Summary
In the method of Green’s functions we take PDEs that can’t be solved by
transforms and
• Plug the function G bac into the integral and integrate to find u at an
arbitrary point (−ξ, τ ) or (−ξ, η).
References
[1] Greenberg, M.D. Foundations of Applied Mathematics, Prentice-Hall,
Inc., Englewood Cliffs, NJ, 1978.
11