HW 05 A
HW 05 A
3.14 A line charge of length 2d with a total charge Q has a linear charge density varying
as (d2 − z 2 ), where z is the distance from the midpoint. A grounded, conducting,
spherical shell of inner radius b > d is centered at the midpoint of the line charge.
a) Find the potential everywhere inside the spherical shell as an expansion in Leg-
endre polynomials.
We first ought to specify the charge density ρ(~x ) corresponding to the line charge.
By symmetry, we place the line charge along the z axis. In this case, it is specified
by cos θ = ±1. As a slight subtlety, in order to get a uniform charge density in
spherical coordinates, we need to divide out by r2 . Hence for charge density
varying as (d2 − z 2 ) we end up with
ρ0 2
ρ(~x ) = (d − r2 )[δ(cos θ − 1) + δ(cos θ + 1)]
r2
with the caveat that r < d. (This can be specified with a Heaviside step function
Θ(d − r), but we will not bother with that.) The constant ρ0 is specified by
evaluating the total charge
Z Z
2 ρ0 2
Q= ρ(~x )d x = (d − r2 )[δ(cos θ − 1) + δ(cos θ + 1)]r2 dr dφ d(cos θ)
r2
Z d
8π
= 2π · 2 · ρ0 (d2 − r2 ) dr = ρ0 d 3
0 3
Thus ρ0 = 3Q/(8πd3 ).
Since the spherical shell is grounded, the potential inside the shell is given by
Z
1
Φ(~x ) = ρ(~x 0 )G(~x, ~x 0 ) d3 x0
4π0
where
r >l
0
X 4π l 1 ∗
G(~x, ~x ) = r − 2l+1 Ylm (θ0 , φ0 )Ylm (θ, φ)
2l + 1 < l+1
r> b
l,m
∞ Z
1 X ρ0 2
Φ(~x ) = Pl (cos θ) (d − r02 )[δ(cos θ0 − 1) + δ(cos θ0 + 1)]
4π0 r02
l=0
l
1 r>
× r< l
l+1
− 2l+1 Pl (cos θ0 ) r02 dr0 dφ0 d(cos θ0 )
r> b
∞ Z d l
2πρ0 X 02 l 1 r>
= Pl (cos θ)[Pl (1) + Pl (−1)] 2
(d − r )r< l+1
− 2l+1 dr0
4π0 0 r> b
l=0
ρ0 X
= Il (r)Pl (cos θ)
0
l even
where
Z d l
02 1 r>
Il (r) = 2
(d − r l
)r< l+1
− dr0
0 r> b2l+1
The reason only even values of l contribute is simply because the source is an
even parity one. We are now left with evaluating the integral Il (r). There are
two cases to consider.
Case 1: r < d. This is the more involved computation, as the integral has to be
divided into two segments
r d
rl r0l
Z Z
1 02 0l 0 02 1
Il (r) = − 2
(d − r )r dr + r (d − r ) l
− 2l+12
dr0
rl+1b2l+1 0 r r0l+1 b
1
r 2l+1 d2 r 2
= l+1 1 − − rl+1
r b l+1 l+3
" 2 02
0 2l+1 2 02
# d
1 d r 1 r d r
+ rl − 0l − − 0l −
r l l−2 r b l+1 l+3
r
2l + 1 2 r l 2 r l d l+1
= d2 + −
l(l + 1) l(l − 2) d (l + 1)(l + 3) d b
2l + 1
− r2
(l − 2)(l + 3)
(1)
Note that for either l = 0 or l = 2 we end up with a log
1 2d
2 r 1
I0 (r) = d − − ln + r2
2 3 b d 6
2
(2)
5 2 2 7 2 d r
I2 (r) = d − r + − ln
6 10 15 b d
Case 2: r > d. In this case, since r0 < d < r there is only one integral. This is in
fact the first term of (1) with limits extended from 0 to d
d l+1
rl 2d2
Z r 2l+1
1 2 02 0l 0 d
Il (r) = − (d −r )r dr = 1−
rl+1 b2l+1 0 (l + 1)(l + 3) r b
(3)
The potential everywhere inside the sphere is thus given by
3Q X
Φ(~x ) = Il (r)Pl (cos θ)
8π0 d3
l even
Only the l = 0 term contributes to the total charge on the shell. Thus integrating
σ over the entire area (4πb2 ) demonstrates that there is a total charge of −Q on
the shell.
c) Discuss your answers to parts a) and b) in the limit that d b.
In this limit, the line charge shrinks to a point compared with the sphere. Thus
we assume d r as well as d b when examining the resulting limit. By
rewriting (4), we have
3Q X Pl (cos θ) b d l r l d l
Φ(~x ) = − (6)
4π0 b (l + 1)(l + 3) r r b b
l even
Because of the d/r and d/b factors, only the l = 0 term is important in this limit.
The result is
Q 1 1
Φ(~x ) = −
4π0 r b
which is the potential of a point charge surrounded by a grounded conducting
sphere. Similarly, taking the limit d/b → 0 in (5) yields
Q
σ=− (7)
4πb2
which is the expected uniform induced charge.
Note that if we did not assume r d (but still take d/b → 0) only the second
term in (6) would disappear for l > 0. This more general limit gives a multipole
expansion !
l
Q 1 X 3Pl (cos θ) d
Φ(~x ) = − +
4π0 b (l + 1)(l + 3) rl+1
l even
while the induced charge on the sphere is still uniform, and is given by (7).
3.26 Consider the Green function appropriate for Neumann boundary conditions for the
volume V between the concentric spherical surfaces defined by r = a and r = b, a < b.
To be able to use (1.46) for the potential, impose the simple constraint (1.45). Use
an expansion in spherical harmonics of the form
∞
X
0
G(~x, ~x ) = gl (r, r0 )Pl (cos γ)
l=0
l+1
where gl (r, r0 ) = r<
l
/r> + fl (r, r0 ).
a) Show that for l > 0, the radial Green function has the symmetric form
l
r<
gl (r, r0 ) = l+1
+
r>
l (ab)2l+1 r0l
l
1 l+1 0 l 2l+1 r
(rr ) + +a + l+1
(b2l+1 − a2l+1 ) l l + 1 (rr0 )l+1 r0l+1 r
There are several approaches to this problem. However, we first consider the
Neumann boundary condition (1.45)
∂G(~x ~x 0 )
4π
0
=−
∂n
bndy S
For this problem with two boundaries, the surface area S must be the area of both
boundaries (ie it is the total area surrounding the volume). Hence S = 4π(a2 +b2 ),
and in particular this is uniform (constant) in the angles. As a result, this will
only contribute to the l = 0 term in the expansion of the Green’s function. More
precisely, we could write
∂G(~x ~x 0 ) X ∂gl (r, r0 )
1
= Pl (cos γ) =− 2 P0 (cos γ)
∂n 0 ∂n 0 a + b2
bndy
l bndy
∂gl (r, r0 )
1
= − δl,0
∂n0 bndy a2 + b2
Noting that the outward normal is either in the −r̂0 or the r̂0 direction for the
sphere at a or b, respectively, we end up with two boundary condition equations
Now that we have written down the boundary conditions for gl (r, r0 ), we proceed
to obtain its explicit form. The suggestion of the problem is to write
l
r<
gl (r, r ) = l+1 + fl (r, r0 )
0
r>
Since
1 X rl
<
0
= l+1
Pl (cos γ)
|~x − ~x | r> l
we see that the first term in gl (r, r0 ) is designed to give the singular source delta
function. The remaining term
X
F (~x, ~x 0 ) = fl (r, r0 )Pl (cos γ)
l
then solves the homogeneous equation ∇2x0 F (~x, ~x 0 ) = 0. But we know how to
solve Laplace’s equation in spherical coordinates, and the result is that the radial
function must be of the form
1
fl (r, r0 ) = Al r0l + Bl
r0l+1
Note that we are taking the Green’s function equation to act on the ~x 0 variable,
where ~x may be thought of as a parameter (constant) giving the location of the
delta function source. We thus have
l
r< 1
gl (r, r0 ) = l+1
+ Al r0l + Bl 0l+1 (9)
r> r
All that remains is to use the boundary conditions (8) to solve for Al and Bl . For
the inside sphere (at a), we have
rl 1 δl,0
−(l + 1) + lAl bl−1 − (l + 1)Bl =− (11)
bl+2 bl+2 a2+ b2
For l 6= 0 we rewrite these equations as
2l+1
la −(l + 1) Al −la2l+1 /rl+1
=
lb2l+1 −(l + 1) Bl (l + 1)rl
(10)
which is valid for l 6= 0. Note that in the last few lines we have been able to
rewrite the Green’s function in terms of a product of u(r< ) and v(r> ) where u
and v satisfies Neumann boundary conditions at r = a and r = b, respectively.
This is related to another possible method of solving this problem. Using the
Legendre identity
∞
X 2l + 1
Pl (cos γ) = δ(φ − φ0 )δ(cos θ − cos θ0 )
4π
l=0
l a2l+1 l b2l+1
u(r0 ) = r0l + v(r0 ) = r0l +
l + 1 r0l+1 l + 1 r0l+1
Computing the Wronskian gives
u v l(2l + 1)(a2l+1 − b2l+1 )
u v0 =
0
(l + 1)r02
a2
0 1 1
g0 (r, r ) = − + f (r)
r> a2 + b2 r0
where f (r) is arbitrary. Show explicitly in (1.46) that answers for the potential
Φ(~x ) are independent of f (r).
The l = 0 case involves a non-homogeneous boundary condition. Hence the result
of (12) will not work. Of course, we can still work out the one-dimensional delta
function problem with matching and jump conditions at r0 = r. However it is
more direct to return to (10) and (11) and to simply solve those conditions for
l = 0. Both (10) and (11) result in
a2
B0 = −
a2 + b2
while leaving A0 completely undetermined. Finally, since r is thought of as a
parameter, this indicates that A0 = f (r) can be an arbitrary function of r. The
l = 0 Green’s function is given by (9)
1 a2 1
g0 (r, r0 ) = − 2 + f (r) (13)
r> a + b2 r 0
Incidentally, we note that without the inhomogeneous Neumann boundary con-
dition term −4π/S there will be no solution to the system (10) and (11) for l = 0
(unless b is taken to ∞). This demonstrates the inconsistency of simply setting
∂G/∂n0 = 0 for the Neumann Green’s function.
Note that, by setting f (r) = −a2 /[(a2 + b2 )r] we obtain a symmetrical Green’s
function
a2
0 1 1 1
g0 (r, r ) = − 2 +
r> a + b2 r 0 r
On the other hand, the choice of f (r) is unphysical. This arises because, for the
Neumann Green’s function, the f (r) contribution to the potential is given by
∂Φ(~x 0 )
Z I
1 0 3 0 1
Φ(~x ) = ρ(~x )f (r) d x + f (r) da0
4π0 V 4π S ∂n0
Z I
f (r) 0 3 0 ~ 0 0
= ρ(~x ) d x − 0 E(~x ) · dâ
4π0 V S
I
f (r) ~ x ) · dâ = 0
0 0
= qenc − 0 E(~
4π0 S
3.27 Apply the Neumann Green function of Problem 3.26 to the situation in which the
normal electric field is Er = −E0 cos θ at the outer surface (r = b) and is Er = 0 on
the inner surface (r = a).
a) Show that the electrostatic potential inside the volume V is
a3
r cos θ
Φ(~x ) = E0 1+ 3
1 − p3 2r
a3 a3
cos θ sin θ
Er (r, θ) = −E0 1− 3 , Eθ (r, θ) = E0 1+ 3
1 − p3 r 1 − p3 2r
Since there is no charge between the spheres, the solution to be boundary value
problem is given by
∂Φ(~x 0 )
I
1
Φ(~x ) = G(~x, ~x 0 ) da0
4π S ∂n0
Z
1
=− Er (Ω0 )G(~x, ~x 0 )b2 dΩ0
4π r0 =b
E0 b2
Z
= G(~x, ~x 0 )P1 (cos θ0 ) dΩ0
4π r0 =b
By writing Pl (cos γ) in terms of spherical harmonics, and by using orthogonality
of the Ylm , we see that Φ(~x 0 ) has only a pl = 1 component. Inserting l = 1
into (10), and making note that only Y10 = 3/4π cos θ is important because of
symmetry, we find
E0 b2
Z
Φ(~x ) = [g1 (r, r0 ) cos θ cos θ0 ] cos θ0 dΩ0
4π r0 =b
E0 b2 cos θ E0 b2 cos θ a3 3b
2
= g1 (r, b) = r+ 2 (14)
3 3 b3 − a3 2r 2
3
E0 r cos θ a
= 3
1+ 3
1 − (a/b) 2r
This is the potential for a constant electric field combined with an electric dipole.
Defining p = a/b, the components of the electric field are
a3 a3
∂Φ E0 cos θ 1 ∂Φ E0 sin θ
Er = − =− 1− 3 , Eθ = − = 1+ 3
∂r 1 − p3 r r ∂θ 1 − p3 2r
4.1 Calculate the multipole moments qlm of the charge distributions shown as parts a)
and b). Try to obtain results for the nonvanishing moments valid for all l, but in each
case find the first two sets of nonvanishing moments at the very least.
a) z
−q
−q a
a
y
a a q
q
x
The multipole moments are given by
Z
∗ ∗ π ∗ π π ∗ π ∗ π 3π
qlm = rl Ylm (θ, φ)ρ(~x ) d3 x = qal [Ylm ( 2 , 0)+Ylm ( 2 , 2 )−Ylm ( 2 , π)−Ylm ( 2 , 2 )]
Note by parity this vanishes unless l is odd. Hence only the odd l and m moments
are present. The lowest non-trivial ones are
r
∗ 3
q1,1 = −q1,−1 = −2qa(1 − i)
8π
and
r r
∗ 1 35 ∗ 1 21
q3,3 = −q3,−3 = −2qa3 (1 + i) q3,1 = −q3,−1 = 2qa3 (1 − i)
4 4π 4 4π
b) z
q
a
−2 q
y
a
q
x
In this case, we have
∗ ∗
qlm = qal [Ylm (0, 0) + Ylm (π, 0)]
for l > 0 and q00 = 0. By azimuthal symmetry, only the m = 0 moments are
non-vanishing. Hence
r r
l 2l + 1 l l 2l + 1
ql0 = qa [Pl (1) + Pl (−1)] = qa [1 + (−1) ] l>0
4π 4π
We end up with even multipoles
r
2l + 1
ql0 = qal l = 2, 4, 6, . . .
π
Explicitly r r
2 5 4 9
q20 = qa q40 = 2qa
π π
c) For the charge distribution of the second set b) write down the multipole expansion
for the potential. Keeping only the lowest-order term in the expansion, plot the
potential in the x-y plane as a function of distance from the origin for distances
greater than a.
The expansion of the potential is
r
1 X 4π Ylm (θ, φ) 1 X qal 2l + 1 Ylm (θ, φ)
Φ(~x ) = qlm l+1
=
4π0 2l + 1 r 0 2l + 1 π rl+1
l,m l=2,4,...
l
q X a q a2
= P (cos θ) =
l+1 l
(3 cos2 θ − 1) + · · ·
2π0 r 4π0 r3
l=2,4,...
0.8
0.6
0.4
0.2
d) Calculate directly from Coulomb’s law the exact potential for b) in the x-y plane.
Plot it as a function of distance and compare with the result found in part c).
For three charges, the potential is simply the sum of three terms, one for each
charge. In the x-y plane, if r is the distance from the origin we have
!
q 1 1 1 q 1
Φ= √ − +√ =− 1− p
4π0 r2 + a2 r r2 + a2 2π0 r 1 + (a/r)2
!
q 1 1
=− 2 −p
4π0 a (r/a) 1 + (r/a)2
The exact potential looks like
1
0.8
0.6
0.4
0.2
Divide out the asymptotic form in parts c) and d) to see the behavior at large distances
more clearly.
If we divide out by 1/r3 , the approximate and exact potentials are
0.8
0.6
0.4
0.2
where the straight line is the approximation of c) and the sloped line is the exact
result. The approximation improves as r a.