<<

LECTURE 17

Green’s Identities and Green’s Functions

Let us recall The Theorem in n-dimensions.

Theorem 17.1. Let F : Rn → Rn be a vector field over Rn that is of class C1 on some closed, connected, simply connected n-dimensional region D ⊂ Rn. Then Z Z ∇ · F dV = F · n dS D ∂D where ∂D is the boundary of D and n(r) is the unit vector that is (outward) to the ∂D at the point r ∈ ∂D.

As a special case of Stokes’ theorem, we may set (1) F = ∇φ with φ a C2 function on D. We then obtain Z Z (2) ∇2φ dV = ∇φ · dS . D ∂D

Another special case of Stokes’ theorem comes from the choice (3) F = φ∇ψ . For this case, Stokes’ theorem says Z Z (4) ∇ · (φ∇ψ) dV = φ∇ψ · ndS . D ∂D Using the identity (5) ∇ · (φF) = ∇φ · F + φ∇ · F we find (4) is equivalent to Z Z Z (6) ∇φ · ∇ψ dV + φ∇2ψ dV = φ∇ψ · n dS . D D ∂D Equation (6) is known as Green’s first identity.

Reversing the roles of φ and ψ in (6) we obtain Z Z Z (7) ∇ψ · ∇φ dV + ψ∇2φ dV = ψ∇φ · n dS . D D ∂D Finally, subtracting (7) from (6) we get Z Z (8) φ∇2ψ − ψ∇2φ dV = (φ∇ψ − ψ∇φ) · n dS . D ∂D Equation (8) is known as Green’s second identity.

Now set 1 ψ(r) = |r − ro| + 

78 17. GREEN’S IDENTITIES AND GREEN’S FUNCTIONS 79

and insert this expression into (8). We then get Z  1  Z 1 φ ∇2 dV = ∇2φ dV D |r − ro| + ε D |r − ro| + ε Z  1  1   + ∇φ − φ ∇ · ndS . ∂D |r − ro| + ε |r − ro| + ε

Taking the  → 0 and using the identities

2 1 n lim ∇ = −4πδ (r − ro) →0 |r − ro| + ε 1 1 lim = →0 |r − ro| + ε |r − ro| 1 1 lim ∇ = ∇ →0 |r − ro| + ε |r − ro| we obtain R 1 2 −4πφ (ro) = D |r−r | ∇ φ dV (9) o     . + R 1 ∇φ − φ ∇ 1 · ndS ∂D |r−ro| |r−ro| Equation (9) is known as Green’s third identity.

Notice that if φ satisfies Laplace’s equation the first term on the right hand side vanishes and so we have −1 R  1  1   φ (ro) = 4π ∂D |r−r | ∇φ − φ ∇ |r−r | · ndS (10)  o o = 1 R φ ∂ 1 − 1 ∂φ dS . 4π ∂D ∂n r−ro |r−ro| ∂n ∂ Here ∂n is the directional corresponding to the surface normal vector n. Thus, if φ satisfies Laplace’s equation in D then its value at any point ro ∈ D is completely determined by the values of φ and ∂φ ∂n on the boundary of D. 1. GREEN’S FUNCTIONS AND SOLUTIONS OF LAPLACE’S EQUATION, II 80

1. Green’s Functions and Solutions of Laplace’s Equation, II

Recall the fundamental solutions of Laplace’s equation in n-dimensions  log |r| , if n = 2 (11) Φn (r, ψ, θ1, . . . , θn−2) = 1 . rn−2 , if n > 2 Each of these solutions really only makes sense in the region Rn − O; for each possesses a singularity at the origin.

We studied the case when n = 3, a little more closely and found that we could actually write 1  0 , if r 6= 0 (12) ∇2 = −4πδ3 (r) = r ∞ , if r = 0 In fact, using similar arguments one can show that 2 n (13) ∇ Φ(r) = −cnδ (r) n where cn is the surface area of the unit sphere in R . Thus, the fundamental solutions can actually be regarded as solutions of an inhomogeneous Laplace equation where the driving function is concentrated at a single point.

Let us now set n = 3 and consider the following PDE/BVP ∇2Φ(r) = f(r) , r ∈ D (14) Φ(r)|∂D = h(r)|∂D 3 where D is some closed, connected, simply connected region in R . Let ro be some fixed point in D and set −1 (15) G (r, ro) = + φo(r, ro) 4π |r − ro|

where φo(r, ro) is some solution of the homogeneous Laplace equation 2 (16) ∇ φo(r, ro) = 0 . Then 2 3 (17) ∇ G (r, ro) = δ (r − ro) .

Now recall Green’s third identity Z Z (18) Φ∇2Ψ − Ψ∇2Φ dV = (Φ∇Ψ − Ψ∇Φ) · n dS . D ∂D

If we replace ψ in (18) by G (r, ro) we get R 3 Φ(ro) = D Φ(r)δ (r − ro) dV R 2 = D Φ∇ GdV R 2 R (19) = D G∇ Φ dV + ∂D (Φ∇G − G∇Φ) · n dS R R ∂G ∂Φ  = D Gf dV + ∂D h ∂n − G ∂n dS R R ∂G R ∂Φ = D Gf dV + ∂D h ∂n dS − ∂D G ∂n dS .

Up to this point we have only required that the function φo satisfies Laplace’s equation. We will now make our choice of φo more particular; we shall choose φo(r, ro) to be the unique solution of Laplace’s equation in D satisfying the boundary condition

1 (20) = φo(r, ro)|∂D 4π |r − ro| ∂D

so that

G (r, ro)|∂D = 0 . 1. GREEN’S FUNCTIONS AND SOLUTIONS OF LAPLACE’S EQUATION, II 81

Then the last on the right hand side of (19) vanishes and so we have Z Z ∂G (21) Φ (ro) = G(r, ro)f(r) dV + h(r) (r, ro) dS . D ∂D ∂n

Thus, once we find a solution φo (r, ro) to the homogenenous Laplace equation satisfying the boundary condition (21), we have a closed formula for the solution of the PDE/BVP (14) in terms of of ∂G G (r, ro) times the driving function f(r), and of ∂n (r, ro) times the function h(r) describing the boundary conditions on Φ. Note that the Green’s function G (r, ro) is fixed once we fix φo which in turn depends only on the nature of the boundary of the region D (through condition (20)).

Example

Let us find the Green’s function corresponding to the interior of sphere of radius R centered about the origin. We seek to find a solution of φo of the homogenous Laplace’s equation such that (20) is satisfied. This is accomplished by the following trick.

Suppose Φ (r, ψ, θ) is a solution of the homogeneous Laplace equation inside the sphere of radius R centered at the origin. For r > R, we define a function R R2  (22) Φ(˜ r, ψ, θ) = Φ , ψ, θ . r r

I claim that Φ(˜ r, ψ, θ) so defined also satisfies Laplace’s equation in the region exterior to the sphere.

To prove this, it suffices to show that     2 2 ˜ ∂ 2 ∂Φ˜ 1 ∂ ∂Φ˜ 1 ∂ Φ˜ (23) 0 = r ∇Φ = ∂r r ∂r + sin(θ) ∂θ sin(θ) ∂θ + sin2(θ) ∂ψ2 or ! ! ∂ ∂Φ˜ 1 ∂ ∂Φ˜ 1 ∂2Φ˜ (24) r2 = − sin(θ) − . ∂r ∂r sin(θ) ∂θ ∂θ sin2(θ) ∂ψ2 Set R2 (25) u = . r so that R2 r = u ˜ u (26) Φ(r, ψ, θ) = R Φ(u, ψ, θ) ∂ du ∂ R2 ∂ u2 ∂ ∂r = − dr ∂u = − r2 ∂u = − R2 ∂u and so ∂  2 ∂Φ˜   u2 ∂   R4  u2 ∂  u  ∂r r ∂r = − R2 ∂u u2 − R2 ∂u R Φ u2 ∂ ∂  = R ∂u ∂u (uΦ) u2  ∂2Φ ∂Φ  = R u ∂u2 + 2 ∂u (27) u ∂ 2 ∂Φ  = R ∂u u ∂u u  1 ∂ ∂Φ  1 ∂2Φ  = − R sin(θ) ∂θ sin(θ) ∂θ + sin2(θ) ∂ψ2  1 ∂  ∂Φ˜  1 ∂2Φ˜  = − sin(θ) ∂θ sin(θ) ∂θ + sin2(θ) ∂ψ2

Notice that (28) lim Φ(˜ r, ψ, θ) = Φ (r, ψ, θ) r→R This transform is called Kelvin inversion. 1. GREEN’S FUNCTIONS AND SOLUTIONS OF LAPLACE’S EQUATION, II 82

Now let return to the problem of finding a Green’s function for the interior of a sphere of radius. Let R2  R2 (29) ˜r = r , ψ, θ = r . r r2 In view of the preceding remarks, we know that the functions

1 Φ1 (r) = |r−ro| (30) R 1 Φ2 (r) = = Φ˜ 1(r) r |˜r−ro| will satisfy, respectively,

2 3 ∇ Φ1(r) = −4πδ (r − ro) (31) 2 4πR 3  R2r  ∇ Φ2 (r) = − r δ r2 − ro .

2 However, notice that the support of ∇ Φ2 (r) lies completely outside the sphere. Therefore, in the interior of the sphere, Φ2 is a solution of the homogenous Laplace equation. We also know that on the boundary of the sphere that we have

(32) Φ1(r) = Φ2(r) . Thus, the function

R 1 1 G (r, ro) = − r 4π |˜r−ro| 4π|r−ro| (33) = 1 − 1 R r 4π|r−ro| 4π| r r− R ro| thus satisfies

2 3 (34) ∇rG (r, ro) = δ (r − ro) for all r inside the sphere and

(35) G (r, ro) = 0 or all r on the boundary of the sphere. Thus, the function G (r, ro) defined by (33) is the Green’s function for Laplace’s equation within the sphere.

Now consider the following PDE/BVP

∇2Φ(r) = f(r) , r ∈ B (36) Φ(R, ψ, θ) = 0 . where B is a ball of radius R centered about the origin.

According to the formula (21) and (33), the solution of (36) is given by Z Z ∂G Φ(ro) = G(r, ro)f(r) dV + h (ψ, θ) (r, ro) dS B ∂B ∂n Z = G(r, ro)f(r) dV B To arrive at a more explicit expression, we set

ro = (r cos(ψ) sin(θ), r sin(ψ) sin(θ), r cos(θ)) r = (ρ cos(α) sin(β), ρ sin(α) sin(β), ρ cos(β)) . Then dV = ρ2 sin2(θ) dρ dα dβ dS = ρ2 sin2(θ) dα dβ 1. GREEN’S FUNCTIONS AND SOLUTIONS OF LAPLACE’S EQUATION, II 83 and after a little trigonometry one finds 1 1 = p 4π |r − ro| 4π r2 + ρ2 − 2rρ (cos(ψ − α) sin(θ) sin(β) + cos(θ) cos(β)) 1 R = . R r p 4 2 2 2 4π r ro − R ro 4π R + r ρ − 2R rρ (cos(ψ − α) sin(θ) sin(β) + cos(θ) cos(β))

Thus, Z R Z 2π Z π Rf(r, ψ, θ)r2 sin(θ)drdθdψ Φ(r, ψ, θ) = p 4 2 2 2 0 0 0 4π R + r ρ − 2R rρ (cos(ψ − α) sin(θ) sin(β) + cos(θ) cos(β)) Z R Z 2π Z π f(r, ψ, θ)r2 sin(θ)drdθdψ − p 2 2 0 0 0 4π r + ρ − 2rρ (cos(ψ − α) sin(θ) sin(β) + cos(θ) cos(β))