<<

Chapter 2 Introduction to

2.1 and Gauss’ Laws

We will restrict our discussion to the case of static electric and magnetic fields in a homogeneous, isotropic medium. In this case the electric field satisfies the two equations, Eq. 1.59a with a time independent charge density and Eq. 1.77 with a time independent magnetic flux density,

D (r)= ρ (r) , (1.59a) ∇ · 0

E (r)=0. (1.77) ∇ ×

Because we are working with static fields in a homogeneous, isotropic medium the constituent equation is

D (r)=εE (r) . (1.78)

Note : D is sometimes written : (1.78b)

D = ²oE + P .... SI units D = E +4πP in in these cases ε = [1+4πP/E] Gaussian

The solution of Eq. 1.59 is

1 ρ0 (r0)(r r0) 3 D (r)= − d r0 + D0 (r) , SI units (1.79) 4π r r 3 ZZZ | − 0| with D0 (r)=0 ∇ ·

If we are seeking the contribution of the charge density, ρ0 (r) , to the electric displacement vector then D0 (r)=0. The given charge density generates the electric field

1 ρ0 (r0)(r r0) 3 E (r)= − d r0 SI units (1.80) 4πε r r 3 ZZZ | − 0|

18 Section 2.2 The electric or 2.2 TheelectricorscalarpotentialFaraday’s law with static fields, Eq. 1.77, is automatically satisfied by any electric field E(r) which is given by

E (r)= φ (r) (1.81) −∇ The function φ (r) is the scalar potential for the electric field. It is also possible to obtain the difference in the values of the scalar potential at two points by integrating the tangent component of the electric field along any path connecting the two points

E (r) d` = φ (r) d` (1.82) − path · path ∇ · ra rb ra rb Z → Z → ∂φ(r) ∂φ(r) ∂φ(r) = dx + dy + dz path ∂x ∂y ∂z ra rb Z → · ¸

= dφ (r)=φ (rb) φ (ra) path − ra rb Z → The result obtained in Eq. 1.82 is independent of the path taken between the points ra and rb. It follows that the integral of the tangential component along a closed path is zero,

E (r) d` = dφ (r)=0. (1.83) · I I This last result actually follows from the requirement that E (r)=0 and the application of Stoke’s theorem. ∇ ×

To obtain the scalar potential due to the charge density ρ0 (r) we note that

1 (1.84) ∇  (x x )2 +(y y )2 +(z z )2  − 0 − 0 − 0   q(x x0) i +(y y0) j+(z z0) k = − − − 3/2 − 2 2 2 (x x ) +(y y ) +(z z ) − 0 − 0 − 0 hr r0 i = − . − r r 3 | − 0| Comparing the expression on the right hand side of Eq. 1.84 to the integrand in Eq. 1.80 we find that can write that the scalar potential due to the charge density ρo (r) is

1 ρ (r ) φ (r)= o 0 d3r + φ , (1.85) 4πε r r 0 0 ZZZ | − 0| where φ0 is a constant which fixes the (arbitrary) location of the zero for the scalar potential. Since the observed quantity is the electric force and, therefore, the electric field, only the difference in the values of the scalar potential at any two different points is significant. (See Eq. 1.82)

19 Section 2.3 Surface charges and charge dipoles 2.3 Surface charges and charge dipoles A is a charge density which is ‘restricted to lie on a surface’. It is characterized by the equation defining the surface, say F (r)=0, (or F (x, y, z)=0)and a surface charge density, σ (r) , with dimensions of /m2 in SI units and statcoulombs per square centimeter in gaussian units.

Restricting a integral to a surface with a delta function in the integrand The charge density associated with a surface charge will be the product of two terms. One term will contain a delta function which restricts the density to the surface, δ (F (r)) f (r). This term should have dimensions of inverse , 1 ∗ m− in our units. and the other will be the surface charge density, σ (r) . The function f (r) should be determined such that

H (r) δ (F (r)) f (r) d3r = H (r) dS (r) (1.86) ∗ ZZZ ZZ F (r)=0 where H (r) is any ‘smooth’ function and the on the right hand side is restricted to the surface F (r)=0.

Before attacking this problem we should note that, in one dimension,

∞ a (x) δ (b (x)) b0 (x) dx = a (x) δ (b (x)) db (x) (1.87) | | Z−∞ Z = a (x0) , with b (x0)=0

Since the delta function will restrict the integral to the surface we need only consider the region close to the surface. In this region let the coordinates system consist of a coordinate axis perpendicular to the surface at each point and two orthogonal axes which are tangent to the surface at each point. The unit vector which is perpendicular to the surface at each point is either n =+ F (r) / F (r) or n = F (r) / F (r) . ∇ |∇ | −∇ |∇ |

3 Ifb we let ξn be the displacementb of a point from the surface at r0 then d r =[dS (r0) n] dξn. In addition if r0 is a point on the surface then · b b b ∂F (r0 + ξn) F (r0)= . (1.88) ∇ ∂ξ · ¸ξ=0 b When performing the volume integration we carry out the integration perpendicular to the surface at each point r0 and then multiply the result by the differential surface element at r0,dS(r0) . We have in this way reduced our problem to a set of one dimensional problems, one for each point r0 on the surface. Viewing the problem in this way suggests that the appropriate expression for the function f (r) is

f (r0 + ξn)=n 0F (r0 + ξn) (1.89) · ∇ = 0F (r0 + ξn) ∇ b b b It follows then that the volume charge density associated with¯ a surface charge¯ density, σ (r) , on the surface defined by ¯ b ¯ F (r)=0is

ρ (r)=σ (r) δ (F (r)) F (r) (1.90) |∇ | 20 Section 2.3 Surface charges and charge dipoles

Note: A simpler way to obtain this result is as follows, where δ(F (r))dF =1: R σ (r) dS (r)= σ (r) 0 δ(F(r))dF dS (r) (1.90b) ZZ F (r)=0 ZZ F (r)=0 ·Z ¸ 0 = σ (r) δ(F(r))dr0 F dS (r) ·∇ ZZ F (r)=0 ·Z ¸ 0 F = σ (r) δ(F(r))dr0 ∇ F dS (r) · F |∇ | ZZ F (r)=0 ·Z |∇ | ¸ 0 = σ (r) δ(F (r)) F dr0 nˆs dS (r) |∇ | · ZZ F (r)=0 Z 0 = σ (r) δ(F (r)) F dr0 dS (r) |∇ | · ZZ F (r)=0 Z

where the primed integration symbol indicates that the integration must be taken along a direction, dr0 which is along the normal to the surface.

0 = σ (r) δ(F (r)) F dV 0 (1.90c) |∇ | ZZ F (r)=0 Z

σ (r) dS (r)= σ (r) δ(F (r)) F dV (1.90d) |∇ | ZZ F (r)=0 ZZZ V contains F (r)=0 Note that the final must be over a volume which contains all of the surface, Using this form for the charge density allows one to manipulate the variables of integration more freely

.

2.3.1 Example: uniformly charged ellipsoidal surface

2 2 2 The system is a uniformly charged ellipsoidal surface (Fig. ??)defined by x +y + z 1=0. The surface charge a2 b2 − density is σ0. Find the potential on the z axis.

Solution: From the class notes, Eq. 1.90, the volume charge density is given by

x2 + y2 z2 x2 + y2 z2 ρ (r)=σ0δ + 1 ( + 1) (1.91) a2 b2 − |∇ a2 b2 − | µ 2 2 2 ¶ 2 2 2 x + y z x + y z 1/2 = σ0δ + 1 2( + ) a2 b2 − a4 b4 µ ¶ Because of the cylindrical symmetry of the charge distribution it is convenient to work in cylindrical coordinates, x = ξ cos ϕ and y = ξ sin ϕ. In these coordinate the charge density is 21 Section 2.3 Surface charges and charge dipoles

.Fig. 3

ξ2 z2 ξ2 z2 ρ (r)=2σ0δ + 1 + a2 b2 − sa4 b4 µ ¶ Taking the zero of potential at infinity, the potential on the z axis due to the surface charge is

ξ2 z2 ξ2 z2 δ 2 + 2 1 4 + 4 2σ0 a b a b 3 φ (zˆz)= − d r0 SI units (1.92) 4πε ³ 2 ´ q 2 ZZZ ξ0 +(z z0) − 3 q with d r0 = ξ0dξ0 dϕ0 dz0. The integrand is independent of ϕ0 and the angle integration can be performed giving 2π. The

2 2 2 2 integrand is also only a function of ξ0 . This suggests that we define an η = a− ξ0 . In this case ξ0 dξ0 =0.5 a dη. With these changes the potential is given by

2 2 2 2 4 2 2πσ0a ∞ ∞ δ η + b− z0 1 a− η + b− z0 φ (zˆz)= − dη dz0 (1.93) 4πε 0 2 2 Z−∞ Z ¡ a η +(¢zp z0) − q The delta function allows the η integration to be carried out yielding

1/2 b 2 2 2 2 2 σ0a a− + b− z0 b− a− φ (zˆz)= − dz0 (1.94) 2ε 2 2 2 2 b "(1 b− z0 )+a− (z z0) # Z− − ¡ − ¢ 2 It is convenient to express the z coordinates in units of b, z = bξ0 and z0 = bξ0, then, with β =(b/a) ,

1/2 1 2 σ0a β + ξ0 (1 β) φ (ξ bˆz)= dξ0 (1.95) 0 2 − 2 2ε 1 " 1 ξ0 + β ξ ξ0 # Z− − 0 − ¡ 22 ¢ ¡ ¢ Section 2.3 Surface charges and charge dipoles

.Fig. 4

φ (zˆz) The integral in Eq. 1.95 can be done numerically and the normalized potential, Φ(a, b, zˆz)= , is plotted below in σ0a/ε a Fig. 4 for three cases. b =4a, a and . Note that when a = b the ellipsoid of revolution becomes a charged sphere. 4

Q The potential due to a spherical shell of radius a with total charge, Q, (and uniform surface charge density, σ = ) 0 4πa2 can be obtained using Gauss’ law. Because of the spherical symmetry E has a constant magnitude on a sphere of radius r

E dV = ρ/εdV ∇ · ZZZ ZZZ E dS = Qenclosed/ε · ZZ 2 2 E 4πr =4πa σ0/ε if r a | | ≥ =0 if r

For general information the potential, divided by σ0b/4ε (at z =0,.b,2b ) as a function of b/a isshowninFig.5.The small values of b/a correspond to a ‘pancake’ shaped ellipse and the at the origin, the middle of the ‘pancake surface’, and just above the ‘pancake’ surface are nearly the same. Large values of b/a give a ‘needle’ shaped ellipse. (Note that the curves have some strange behavior since the normalization potential is proportional to b.)

.Fig. 5

2.3.2 The potential and fields due to a surface charge density It is possible to have physical systems with

charge distributions which lie approximately along a surface. Unless one probes within the distribution one can approximate the fields and potentials by those of a surface charge density. The potential due to a surface charge density, σ (r) ,is formally given by

1 σ (r ) φ (r)= 0 dS + φ . SI units (1.96) 4πε r r 0 0 ZZ surface | − 0| For finite surface charge densities the potential will be continuous at the surface.

2.3.3 Example: uniformly charged plane Let the system be a uniform plane sheet of charge, surface charge density σ0, lying in the z =0plane. Determine the value of the potential at (x, y, z) (also denoted by r) with the condition that the potential vanish at the surface.

Solution: The differential surface area for this problem is dS0 = dx0dy0. ThiscanbeusedinEq.1.96toobtainthe 24 Section 2.3 Surface charges and charge dipoles required integral

∞ ∞ σ0/4πε φ (x, y, z)= dx0dy0 + φ0 (1.97) 2 2 2 Z−∞ Z−∞ (x x0) +(y y0) + z − − ∞ ∞ q σ0/4πε = d(x x0)d(y y0)+φ0 2 2 2 − − Z−∞ Z−∞ (x x0) +(y y0) + z − − σ0 ∞ q 1/2 = r2 + z2 − 2πrdr + φ . 4πε 0 Z0 £ ¤ The integral, which has the potential equal to zero at infinity, is divergent To handle this difficulty we note that the potential is independent of x and y. We will assume that the surface has a finite radius R centered on the z axis. Then the potential at x = y =0is

R σ0 2 2 1/2 φ (0, 0,z)= r + z − rdr + φ0(R). (1.98) 2ε 0 σ Z = 0 R£2 + z2 ¤ z + φ (R) 2ε − | | 0 hp i The condition that the potential is zero at z =0requires that φ (R)= σ0 R. With this value of φ (R) we can evaluate the 0 − 2ε 0 potential in the limit that R goes to infinity,

σ φ (0, 0,z)= lim 0 R2 + z2 z R (1.99) R 2ε →∞ − | | − σ0 hp i = − z = φ (x, y, z) 2ε | | This potential is normally obtained with less effort by starting with the electric field.Note that φ (x, y, z) <0 and that the resulting electric field is along the z axis, as expected.

σ0 σ0 E(z)= φ = ˆz = nˆ = E1(z) (1.99b) −∇ 2ε 2ε

On the other side of the surface charge, along -nˆ

σ0 σ0 E2(z)= φ = ˆz = nˆ (1.99c) −∇ 2 − 2ε − 2ε This gives a surface discontinuity of the electric field shown in Eq. 1.102 below.

+——————————————————————————————————————————— The field due to an arbitrary surface charge density is formally given by

1 σ (r0)[r r0] E (r)= φ (r)= − dS. (1.100) −∇ 4πε r r 3 ZZ | − 0| 25

Fields and potential due to a surface electric dipole layer

A surface electric dipole layer is a neutral charge layer with an electric dipole per unit area directed perpendicular to the surface. It can be modeled as two surface charge layers, (r,) and −(r,), lying on each side of the surface defined by F(r) = 0. The unit vector n = ∇F(r)/|∇F(r)| is directed from the negative surface charge density to the positive surface charge density (it’s sufficient to replace F(r) by −F(r) in order to adjust the sense of n ). The  charge layers lie on the surfaces F(r ±n /2) and the surface dipole moment density is

  d(r) = lim n (r,) = d(r)n 1.103 →0 lim (r,) = 0 →0

lim (r,) = d(r) →0

Since the surface is neutral (total charge = 0), in the limit that  → 0 with (r,) fixed ,  n(r)  (1E1(r) − 2E2(r))= o for electric dipole surface layer 1.104

From Gauss’ law one can determine the contributions, E+ and E− , and from Eq. (1.99) the potential field contributions, + and, −, from each individual layer . The latter contributions are shown in the schematics below. The total E1and 1(above the dipole layer) and total E2and 2 (below the dipole layer) are given by E+ + E− and + + −.in each region

Schematic of the E field contributions

(r,)n1/2 ↑ ++++++++++

− (r,)n1/2 ↓

− (r,)n2/2 ↓ −−−−−−−−−

(r,)n2/2 ↑ where n1 = n2 and the negative sign on the field due to the lower layer comes from the negative charge ”surface layer”. Schematic of the  field contributions − |z|(r,)/2 ++++++++++ − |z|(r,)/2 |z|(r,)/2 −−−−−−−−− |z|(r,)/2

Thus the total electric fields are:

E1,total(r,) = (r,)n1/2 − (r,)n2/2 = 0 above the dipole layer

E2,total(r,) =−(r,)n1/2 + (r,)n2/2 = 0 below the dipole layer giving

n1  [E1,total − E2,total]=0 Between the two layers for finite  the electric field is constant, directed downward and equal to,

E3,total(r,) =−(r,)n1/2 − (r,)n2/2 =−(r,)n1/.

The total potential above the dipole layer (where |z2 | =  + |z1 |)is

1,total(r,) = +(r,) + −(r,) =−|z1 |(r,)/2 + |z2 |(r,)/2 = (r,)/2

Below the dipole layer (where |z1 | =  + |z2 |)

.2,total(r,) = |z2 |(r,)/2 − |z1 |(r,)/2 =−(r,)/2, and for finite  between the two charge layers where |z2 | =  − |z1 | the total potential is

3,total(r,) =−|z1 |(r,)/2 + |z2 |(r,)/2 = (r,)/2 − |z1 |(r,)/

= (r,)/2 + z1(r,)/.

Note that  is continuous at each individual planar charged layer:

3,total = (r,)/2 = 1,total at the + layer when z1 = 0 #

3,total =−(r,)/2 = 2,total at the - layer when z1 =− # Finally the discontinuity in the potential above and below the surface dipole layer is 1 1 1(r) − 2(r) = lim[(r,)/2 −(−(r,)/2)] = lim (r,) = d(r) 1.106 0 0   To formally obtain the potential due to a surface dipole layer we follow the standard approach. The potential will be the sum of the potential of the positively charged surface layer and the potential of the negatively charged surface layer as follows. After the limit  → 0 is taken a point r′ on the planar dipole layer will be on the surface S′. 1 ′ 1  r′ − n),  r + n,  2   (r) = lim 1 2 dS′ − 1 dS′ ∫∫ ′ 1  ∫∫ 0 4 r −(r + n) 4 −( ′ − 1 ) 2 r r 2 n recall : df(r′)=dr′∇′f =f(r′ + dr′)−f(r′) (r′,)  (r′,) (r′,) −  (r′,) (r) = lim 1 + 1 n  ∇′ − − 1 n  ∇′ dS′ 0 4 ∫∫ |r − r′ | 2 |r − r′ | |r − r′ | 2 |r − r′ |  = lim 1 (r′,)n  ∇′ 1 dS′; (r′,) is a constant, independent of r′ 0 4 ∫∫ |r − r′ |

1 ′ ′ 1  ′ = d(r )∇  ndS 4 ∫∫ |r − r′ | ( ′ − ) ( − ′) −1 ′ r r  ′ ′ 1 1 r r = d(r )  ndS ;since∇ =−∇ = 4 ∫∫ |r′−r|3 |r − r′ | |r − r′ | |r − r′ |3

−1 ′ ′ = d(r )d 4 ∫∫

−1 ′ ′ (r) = d(r )d . 1.108 4 ∫∫ s

In this relationship ds is the solid angle subtended by the differential surface element of the dipole layer at r′, specifically as viewed from the observation point r when in the configuration shown in Fig. 6 below. Formally, the solid angle subtended by a surface, S,is the projection of the surface onto a unit sphere centered at the observation point, r: (r′ − r) = n̂ dS′.= d . 1.109 S ∫∫ 3  s ∫∫ s Sexposed |r′−r| Sexposed

S is defined by f(x,y,z)=0 and has normals, n̂ =±∇f/|∇f|.Then̂ s = n̂ in the solid angle expression of Eq. 1.109 is always directed out of the volume enclosed by the surface and the unit sphere upon which the surface is being projected. Using this prescription S is always positive. When calculating solid angles one often only integrates over that part of the surface which is visible to the observer. In Eq. 1.107, however, n̂ always points from − toward the  charge layer (where depending on the problem  could later be interpreted as negative) and one must integrate over the entire surface upon which the dipole surface charge density resides. Eq. 1.107 gives the correct sign for all r independent of configuration. The discontinuity in (r) arises automatically from the change in sign of the differential d′ as one traverses the dipole layer. ′ (In ds one adjusts the sign artifically to give a positive solid angle for all configurations.) Fig. 6a The relationship between the parameters is shown in the above figure.

Example 1: Find the electrostatic field inside and outside a constant dipole surface charge density, d = q/a, residing on a sphere of radius R. Let the sphere be centered at the origin. From Eq. 1.107 (r) is given by ( ′ − ) 1 ′ r r ′ (r) =− d(r )  n̂ dS 4 ∫∫ |r′−r|3 q (r′ − r) =−  n̂ dS′ 4a ∫∫ S |r′−r|3 q =− d′ 4a ∫∫ S where the sphere is defined by r′ = R. All solid angles viewed from inside the sphere are 4 and correspond to integrating over the entire sphere, so ( ) =− q <  r a for r R Outside the sphere, at r > R: q (rẑ) = r′  ∇′ 1 dS′; note that r > r′ 4a ∫∫ |r − r′ |

= q ( ′ − ) ′ ∇′ 4 r′l ∗ ( ′ ′) ( ) ′2 ′ ′ ′ ′  r R r  + Y  , Ylm , r sin d d dr 4 a ∫∫ ∫ ∑ 2l+1 rl 1 lm   l,m = q 4 ( ) ( ′ − ) ′2 ∂ r′l ′ ∗ ( ′ ′) ( ′ ′) ′ ′ ′ Ylm ,  r R r + dr 4 Y  , Y00  , sin d d 4 a ∑ 2l+1 ∫ ∂r′ rl 1 ∫∫ lm   l,m − = q 4 ( ) ( ′ − ) ′2 lr′l 1 ′ Ylm ,  r R r + dr 4 l0m0 4 a ∑ 2l+1 ∫ rl 1   l,m = q 4 ( ) ( ′ − ) ′2 0 ′ Y00 ,  r R r + dr 4 4a 1 ∫ rl 1 = 0forr > R Note that the above result of (rẑ) = 0 is only valid if r > r′. [One could use the above procedure to derive the result for r < r′ In this case the partial derivative with respect to r′ −( + ) − = −q gives an overall factor of l 1 or 1forl 0 and the final result is a . We will discuss these techniques later.] This result is consistent with spherical symmetry, Gauss’s law and a total charge enclosed = 0. The electric field is zero everywhere. (Note that outside the sphere the solid angle approach is not helpful. When determining the solid angle from outside the sphere part of the sphere is obscured and one integrates over only the visible part of S.The potential calculation, on the other hand, calls for integrating over the entire sphere! )

Fig. 6b Sphere with d = q/a q ( = ) = The normalized potential is divided by a and uses variables r, 0 where r zẑ.= rcosẑ

Example 2: Find the electrostatic potential along the symmetry axis inside and outside a sphere of radius, R, centered at the origin, with dipole surface charge density, d =[q/a]cos On the symmetry axis r =rẑ,and q cos′(r′ − r) (rẑ, ) =−  r̂ ′ r′2 sin′d′d′; r′ = R 4a ∫∫ S |r′−r|3 q  cos′(r′ − r) =−  r̂ ′ r′2 sin′d′ 2a ∫0 |r′−r|3 q  cos′(R3 − rcos′R2) =− sin′d′; r = R 2a ∫0 [R2 + r2 − 2rcos′R]3 where r̂  r̂ ′ = cos′ andthesymmetrygives2 for the ′ integration. The electric field along ẑ is d(r) E(r)  ẑ =− dz Fig. 6c Sphere with d = q/a cos Note that  is discontinuous and E  n̂ is continuous across the dipole layer. The normalized q ( = ) = = potential is divided by a and uses variables r, 0 where r zẑ. rcosẑ. Example 3 An infinite plane with a constant dipole surface charge density, d = q/a q (r′ − r) (r) =−  n̂ dS′ 4a ∫∫ S |r′−r|3 We let z′ = 0 define the plane, and let r =zẑ. Then r  r′ = 0andn̂ = ẑ. Thus

q − (rẑ. ) =− r  ẑ dx′dy′ 4a ∫∫ S |r′−r|3 = qz 1 ′ ′ ′ /  d d 4a ∫∫ S [′2 + z2]3 2 ∞ = qz2 1 1 ( ′2) / d  4a ∫0 [′2 + z2]3 2 2 qz ∞ = d(−2[′2 + z2]−1/2) 4a ∫0 qz q = [z2]−1/2 = z 2a 2a |z| The electric field is zero everywhere. This unique results occurs only when the plane is infinite as the next example indicates. Example 4 Assume the infinite plane is reduced to a finite disk of radius R and calculate the potential along the symmetry axis.

q − (zẑ. ) =− r  ẑ dx′dy′ 4a ∫∫ S |r′−r|3 = qz 1 ′ ′ ′ /  d d 4a ∫∫ S [′2 + z2]3 2 R2 = qz2 1 1 ( ′2) / d  4a ∫0 [′2 + z2]3 2 2 qz ′=R = d(−2[′2 + z2]−1/2) 4a ∫′=0 = qz [ 1 − 1 ] 2a |z| [R2 + z2]1/2 q ( = ) In the plot below the normalized potential is divided by a and uses variables r, 0 where r = zẑ.= rcosẑ

Just above disk’s center the potential is the same as for an infinite plane, q z .The 2a |z| magnitude, however can be adjusted with an appropriate o added to the potential.

. Section 2.4 Laplace and Poisson Equations

.

2.4 Laplace and Poisson Equations

As noted, Faraday’s law for static fields is satisfied by any electric field which can be written as

E (r)= φ (r) . −∇ The function φ (r) has been identified as the electric or scalar potential associated with the electric field E (r) . Since D (r)=εE (r) , in order to satisfy Gauss’ law for the displacement vector the scalar potential must be a solution to Poisson’s Equation,

1 2φ (r)= ρ (r) . (1.106) ∇ −ε

A special case of Poisson’s Equation is obtained for ρ (r)=0. The result is known as Laplace’s Equation,.

2φ (r)=0. (1.107) ∇ This is the equation satisfied by the scalar potential in a charge free region. The general problem is to obtain the solution, φ (r) , of Eq. 1.106 in a region of space with φ (r) satisfying specified boundary conditions on the boundary of the region . Green’s functions (3) There is a class of solutions, g (r, r0) , to Poisson’s Equation with the source term given by δ (r r0) . These { } − solutions are called ‘Green’s functions’. One possible solution for g (r, r0) which we have already seen is

1 g0 (r, r0)= − (1.108) 4π r r | − 0|

2 (3) g0 (r, r0)=δ (r r0) . (1.109) ∇ −

This g0 (r, r0) vanishes as r for all finite r0 . If g (r, r0) is known (and has the correct boundary conditions) a formal solution of Eq. 1.106 is| given| →∞ by | |

1 φ (r)= ρ (r ) g (r, r ) d3r . (1.110) ε 0 0 0 ZZZ

However, this solution will not generally satisfy the boundary conditions placed on φ (r) . Inthenextsectionwederivea more formally correct solution which contains the expression in Eq. 1.110 32 Section 2.4 Laplace and Poisson Equations 2.4.1 Green’s theorem and Green’s function solution for φ(r)

Green’s theorem, uses the theorem to relate solutions of Poisson’s equation. Assume that we have two functions, φ (r) and g (r, ro) , which satisfy Poisson equations as follows in volume, V, with surface, S:

2ϕ (r)= ρ(r)/ε (1.111) ∇ −

2 g (r, r )= δ(r ro) (1.112) ∇ o − The states that

3 [ϕ (r) g (r, ro) g (r, ro) φ (r)] d r = [φ (r) g (r, ro) g (r, ro) φ (r)] dS bounding volume V ∇ · ∇ − ∇ ∇ − ∇ · ZZZ ZZ surfaces, S (1.113)

The left hand side can be written as follows:

2 2 3 3 [φ (r) g (r, ro) g (r, ro) φ (r)]d r + [ φ (r) g(r, ro) g (r, ro) φ (r)]d r ∇ − ∇ ∇ · ∇ − ∇ · ∇ ZZZ volume ZZZ volume 3 3 = φ (r) δ (r ro) d r g (r, ro)[ ρ (r)]d r since the second term above is 0 − − − ZZZ volume ZZZ volume 3 = φ (ro) g (r, ro)[ ρ (r) /ε]d r if ro is in the volume! − − ZZZ volume

So if ro is in the volume, V, the left hand side substituted into Eq. 1.113 gives:

3 φ (ro)= g (r, ro)[ ρ (r) /ε]d r + [φ (r) g (r, r ) g (r, ro) φ (r)] nˆ (r) dS (1.114) bounding o volume − ∇ − ∇ · ZZZ ZZ surface

This is a Green’s function solution of Eq.1.111 . Outside the volume, where ro is not in V,

3 φ (r) δ (r ro) d r =0.forro not in V − ZZZ volume andweobtainnosolutionforφ (ro) . The surface terms in Eq. 1.114 suggest the interpretation that φ (r) nˆ (r) at the surface is surface charge layer (because φ (r) nˆ (r)= E nˆ (r) and the surface might be replaced∇ with· an effective discontinuity in E )andφ (r) nˆ (r) at the∇ surface· is a surface− dipole· layer (because the surface might be replaced with a an effective discontinuity in φ (r)). But the latter is not crucial to what we derive in this section. Here we have assumed that nˆ (r) is the bounding surface unit outward normal vector. In the next section we will find that specifying both the potential and the normal of the potential on the bounding surface will ‘over specify the problem’. In this case the problem will only have a solution when the specified potential and normal derivative are compatible. 33 Section 2.4 Laplace and Poisson Equations

2.4.2 Uniqueness of the solutions to Poisson’s Equation Let φ1 (r) and φ2 (r) be two solutions to Eq. 1.111 and let both satisfy the same boundary conditions (still of an unspecified nature) on the surface bounding the volume. It follows that

χ (r)=φ (r) φ (r) (1.115) 1 − 2 satisfies Laplace’s Equation,

2χ (r)= 2φ (r) 2φ (r) ∇ ∇ 1 −∇ 2 = ρ(r)/ε ρ(r)/ε − =0

with ‘zero boundary conditions’. If we now apply the divergence theorem to χ (r) χ (r) we obtain ∇

[χ (r) χ (r)]d3r = χ (r) χ (r) dS (1.116) bounding volume ∇ · ∇ ∇ · ZZZ ZZ surface

= [χ (r) 2χ (r)+ χ (r) 2]d3r = χ (r) χ (r) dS bounding volume ∇ |∇ | ∇ · ZZZ ZZ surface

χ (r) 2 d3r = χ (r) χ (r) dS bounding volume |∇ | ∇ · ZZZ ZZ surface

Using Eq. 1.116 we now investigate the boundary conditions satisfied by φ1 (r) and φ2 (r) ..

(1) First, let us assume that the values of the potential, but not its normal derivative, are given on the bounding surface. In this case χ (r)=0on the boundary and the right hand side of Eq.1.116 vanishes. Since the integrand of the volume integral cannot be negative it must be identically zero or χ (r)=0. This requires that φ (r) φ (r) be constant. ∇ 1 − 2 Since they are equal on the boundary the appropriate constant is zero and φ1 (r)=φ2 (r) . Specifying the potential on the boundary gives a unique boundary value problem satisfied by only one potential function. This particular problem in which the function on the boundary is specified is called a ‘Dirichlet problem’ and the boundary conditions are called ‘Dirichlet boundary conditions’.

(2) Next we assume that the values of the normal derivative of the potential on the boundary is given.. In this case the normal derivative of χ (r) will vanish on the boundary. Again the right hand side of Eq. 1.116 will vanish and therefore, as before, φ (r) φ (r) will be constant. In this case it’s only the normal derivative which vanishes on the boundary and the 1 − 2 gradient of any constant is zero. It follows that φ1 (r)=φ2 (r)+φ0 and the solution to this boundary value problem is only unique up to an additive constant. The problems in which the normal derivative is given on the boundary are known as ‘Neumann problems’ and the boundary conditions are called ‘Neumann boundary conditions’.

(3) One can also contemplate problems in which the value of the normal derivative of the potential is specified on some sections of the boundary and the value of the potential is specified on other, different, sections of the boundary. In this case the potential is said to satisfy ‘mixed boundary conditions’. 34 Section 2.5 The Green’s functions for Dirichlet and Neumann problems

Since the Dirichlet problem has unique solutions, specifying the potential on the boundary fixes the normal derivative of the potential on the boundary. Similarly the solution of a Neumann problem will give the potential on the boundary (up to an additive constant). We find then that Eq. 1.114, which requires the values of the potential and its normal derivative on the bounding surface, does not provide a convenient solution to Poisson’s equation unless one can eliminate one of the surface integrals by imposing boundary conditions on g (r, ro) .

2.5 The Green’s functions for Dirichlet and Neumann problems The difficulty with Eq.1.114 is that both the potential and it’s normal derivative appear in the integrand of the surface integral. However, we have not imposed any boundary conditions on the Green’s function. If we could find a function g (r, r0) ,satisfying Eq.1.112 whose normal derivative on the bounding surface vanished, only the potential on the surface would be required. In the other case, if the function g (r, r0) vanished on the bounding surface, only the normal derivative of the potential on the surface would be required. The apparent difficulty in applying Eq. 1.116 to obtain the solution of Poisson’s Equation is circumvented by obtaining the appropriate g (r, r0) . One approach is to write g (r, r0) in the region of interest as the sum of a solution to the inhomogeneous equation (Eq.1.112) and the homogeneous equation (Laplace’s equation). That is,

1 g (r, r0)= − + F (r, r0) (1.117) 4π r r0 | − | with

2F (r, r )=0. inside V (1.118) ∇ 0

V is the region for which the solution, φ (r),isdefined. The function F (r, r0) is determined so that g (r, r0) will satisfy the required boundary conditions.

2.5.1 The Dirichlet problem For Dirichlet problems we require that g (r, r0)=GD (r, r0) with

GD (r, r0)=0for r on the boundary. (1.119)

In this case we find that

1 3 φ (r0)=− GD (r, r ) ρ (r) d r + φ (rs) GD (rs, r ) dS (1.120) D 0 bounding 0 ε volume ∇ · ZZZ ZZ surface which only requires the values of the potential on the boundary. The function GD (r, r0) is the ‘Dirichlet green’s function’.

The function FD (r, r0) satisfies 1 FD (r, r0)= for r = rS (1.121) 4π r r0 | − | 1 where rS is on the boundary of the volume. Note that this does not mean that FD (r, r )= . Rather FD (r, r ) is a 0 4π r r0 0 function which reduces to the latter expression on the surface. In particular, Eq. 1.118 must be| satis− |fied in V. Symmetry of the Green’s function A characteristic of the Green’s function is that GD (r, r0)=GD (r0, r) . This result can be obtained by considering two Dirichlet Green’s functions GD (r, r0) and GD (r, r0) each satisfying the condition that they vanish for r on the boundary 35 Section 2.5 The Green’s functions for Dirichlet and Neumann problems surface. If we now apply the divergence theorem to GD (r, r ) GD (r, r0 ) GD (r, r0 ) GD (r, r )we find 0 ∇ 0 − 0 ∇ 0 3 [GD (r, r ) GD (r, r0 ) GD (r, r0 ) GD (r, r )] d r = ∇ · 0 ∇ 0 − 0 ∇ 0 ZZZ volume 3 3 GD (r, r ) δ (r r0 ) d r GD (r, r0 ) δ (r ro) d r 0 − o − 0 − ZZZ volume ZZZ volume = GD (r0 , r ) GD (ro, r0 ) o o − o = [GD (r, r ) GD (r, r0 ) GD (r, r0 ) GD (r, r )] nˆ (r) dS bounding 0 ∇ 0 − 0 ∇ 0 · ZZ surface =0

and

GD (r0, r0)=GD (r0, r0) . or (1.122)

GD (r0, r)=GD (r, r0) since r0, r0 are arbitrary variables.

2.5.2 The Neumann problem Since the solutions to the Neumann problems are only unique up to an additive constant the Green’s function for the Neumann problem,

GN (r, r0)=g (r, r0)+FN (r, r0) with

2 FN (r, r )=0 in V. ∇ 0 satisfies a slightly more complicated boundary condition. If we apply the divergence theorem to

2 (3) GN (r, r )= δ (r r0) (1.123) ∇ 0 − 3 (3) 3 GN (r, r ) d r = δ (r r0) d r ∇ · ∇ 0 − ZZZ ZZZ we find the Neumann restriction:

GN (r, r ) nˆ (r) dS=1 (1.124a) bounding ∇ 0 · ZZ surface

It follows that we are not permitted to set GN (r, r ) nˆ (r)=0on the boundary of the volume. The next simplest choice ∇ 0 · is to satisfy Eq.1.123 with a simple boundary condition on GN :

1 simple boundary condition: GN (r, r0) nˆ (r)= (1.124b) ∇ · Stot

The solution to the Neumann problem is then given by

1 3 φ (r0)= GN (r, r )[ ρ (r)]d r + φ + GN (r, r ) φ (r) nˆ (r) dS (1.125) 0 avg bounding 0 ε volume − ∇ · ZZZ ZZ surface 36 Section 2.5 The Green’s functions for Dirichlet and Neumann problems with φavg the average value of the potential on the bounding surface,

φ (r) dS φ = (1.126) avg dS RR where S is the area of the boundary RR

Stot = dS. bounding ZZ surface

Since the Neumann problem only defines the potential up to an additive constant we could arbitrarily take φavg =0without

losing any information. The function FN (r, r0) satisfies the condition that

1 1 [ GN (r, r0)] nˆ (r)= FN (r, r0)+ − nˆ (r)= . (1.127) ∇ · ∇ ∇ 4π r r0 · Stot · µ | − |¶¸

To investigate the relationship between GN (r, r0) and GN (r0, r) which we artificially label GN0 (r0, r) with a prime.and let

2 0 G0 (r0, r0 )= δ(r0 r0 ) (1.128) ∇ N o − o

G0 (r0, r0 ) is a solution to the Neumann problem, with ρ(r0)/ε = δ(r0 r0 ) and from Eq. 1.125, N o − o

3 G0 (r0, r0 )= GN (r0, r ) δ(r0 r0 )d r0 + (1.129) N 0 0 − o ZZZ volume G0 (r0 )+ GN (r0 , r ) 0G0 (r0 , r0 ) dS0 avg 0 bounding s 0 ∇ N s 0 · ZZ surface The result is

G0 (r0, r0 )=GN (r0 , r0)+G0 (r0 ) Gave(r0) (1.130) N 0 0 ave 0 − Dropping the primes on the G symbols,

GN (r0, r0 ) GN (., r0 ) = GN (r0 , r0) GN (., r0) . (1.131) 0 − h 0 iavg 0 − h iavg

Since the solutions of the Neumann problem are only unique up to an additive constant if we take any Neumann green’s function and subtract its average value on the boundary we will obtain a green’s function which is symmetric in the interchange of the parameters.

37 2 Section 2.6 Solutions Φ =0using GD and GN for Poisson’s Equation ∇ 1 2.5.3 The functions F (r, r0) The simple green’s function g (r, r0)= 4π −r r can be identified as the | − 0| potential due to a ‘unit’ negative point charge located at r0. The function F (r, r0) must satisfy Laplace’s equation in the volume, V, of interest. If we identify it as a potential its sources will be charges which lie outside our volume. We will find that viewing F (r, r0) as the potential due to charges outside the region of interest will provide us with a technique for generating this function.

2 2.6 Solutions Φ =0using GD and GN for Poisson’s Equation This section has introduced the Green’s functions for Poisson’s∇ equation with Dirichlet or Neumann boundary conditions given. Since Laplace’s equation is a special case of Poisson’s equation with the source term, ρ (r) , equal to zero, the Green’s functions can be used to provide a solution to the Dirichlet problems for Laplace’s equation, φL D (r) , −

3 φL D (ro)= 0 GD (r0, r0) d x0 + (1.132) − · ZZZ

φ (rs)L D GD (rs, r0) dS GD (rs, r0) φ(rs) dS bounding − ∇ · − ∇ · ZZ surface ZZ

= φ (rs)L D GD (rs, r0) dS bounding − ∇ · ZZ surface

2 where the second term and third terms are zero because Φ =0and GD (rs, r )=0, respectively. A solution to the ∇ 0 Neumann problem for Laplace’s equation,φL N (r) −

3 φL N (r)= 0 GN (r0, r0) d x0 + (1.133) − · ZZZ

φ (rs)L N GN (rs, r0) dS GN (rs, r0) φL N (rs) dS − ∇ · − bounding ∇ − · ZZ ZZ surface

= GN (rs, r0) φL N (rs) dS + φavg − bounding ∇ − · ZZ surface

= GN (rs, r0) φL N (rs) dS − bounding ∇ − · ZZ surface

as we can set φavg =0on the bounding surface because the Neumann problem gives the solution to within a constant.

38 Section 2.7 Electrostatic energy density,

2.7 Electrostatic energy density, capacitance 2.7.1 The electrostatic energy density Starting with Maxwell’s equations we can obtain the relationship

[E (r,t) H (r,t)] = E (r,t) [ [H (r,t)] + H (r,t) [ [E (r,t)] (1.134) ∇ · × − · ∇ × · ∇ × ∂ ∂ = E (r,t) [J (r,t)+ D (r,t)] + H (r, t) B (r,t) . − · ∂t · −∂t · ¸ We can identify E (r,t) J (r,t) as the rate at which the E field does work on the mechanical system per unit area, or · equivalently, the power density transfer between the fields and the mechanical system. With this identification we are led to associate E (r,t) H (r,t) with S (r,t), the energy carried in the electromagnetic field. S (r,t) is called the

S (r,t)=E (r,t) H (r,t) (1.135) ×

and to associate the term

∂u (r,t) ∂ ∂ = H (r, t) B (r,t)+E (r, t) D (r,t) (1.136) ∂t · ∂t · ∂t · ¸ with the time rate of change of the energy density stored in the ‘electromagnetic fields’.where

1 u (r,t)= [E(r,t) D(r,t)+H (r, t) B (r,t)] (1.137) 2 · · Then Eq. 1.134 gives

∂u (r,t) S(r,t)= E(r,t) J(r,t (1.138) ∇ · − ∂t − · and ∂u (r,t) S(r,t) dA + E(r,t) J(r,t)d3r = d3r (1.139) · · − ∂t ZZ ZZZ ZZZ Equation 1.139 states that the rate at which energy leaves a region plus the rate at which fieldenergyisconvertedto mechanical energy equals the rate at which energy is transferred to the fields and the material 1. We can expect that if the fields are varied ‘adiabatically’ we have a unique value for the energy stored by the electromagnetic fields. We will therefore ignore for the present some subtle or not so subtle problems which arise due to frequency dependent relationships between E and D. We will claim that the energy density stored in the electrostatic electric field is

1 ∂u We note that there is an ad hoc separation of hte charge currents. Part of the current is explicitly given by J(r,t) while ∂t has a contribution from an implicit current. In addition the magnetic field energy includes an implicit energy current density which transmits energy across the boundary of the region. 39 Section 2.7 Electrostatic energy density, capacitance

ε w (r)= φ (r) 2 SIunits (1.140) 2 |∇ | The electromagnetic energy of a system is given by integrating the energy density over the volume of the system

ε W = φ (r) 2 d3r 0. (1.141) 2 |∇ | ≥ ZZZ volume Let ρ (r) denote the charge density for the system. If the charge density is composed of charge densities for fixed elements, charged point particles, charged surfaces, etc., then it is convenient to express the total charge density as a sum of the individual charge densities

ρ (r)= ρi (r) . (1.142) i X Each charge density will contribute, φ (r) , to the total electric field at each point where 2φ (r)= ρ (r) /ε. In this −∇ i ∇ i − i case

φ (r)= φi (r) (1.143) −∇ − i ∇ X In terms of the fields of the individual charge elements the electromagnetic energy of the system is

ε W = φ (r) φ (r) d3r (1.144) 2 ∇ i j volume i · j ∇ ZZZ X X ε = φ (r) 2 d3r 2 i i volume |∇ | X ZZZ ε + 2 φ (r) φ (r) d3r 2 ∇ i · ∇ j i,j ZZZ volume Xi< j The term

ε 2 3 Wi = φ (r) d r self energy (1.145) 2 |∇ i | ZZZ volume is the electromagnetic ‘self energy’ of the ith charge element. As long as the charge density of the element does not change this ‘self energy’ will be fixed. The second term,

3 Wij = ε φ (r) φ (r) d r, interaction energy (1.146) ∇ i · ∇ j ZZZ volume 40 Section 2.7 Electrostatic energy density, capacitance with i = j provides the interaction energy between the charged elements. The significance of the various terms is illustrated 6 by the following example.

Example Consider two identical non-conducting spherical shells. Let each have a radius a and let their centers be separated by a distance 2a. The surface charge of one shell is σ0 and the surface charge of the other is -σ0 (a)What is the self energy of each spherical shell? ~(b)What is the interaction energy of the spherical shells?

2 Solution:(a)The magnitude of the charge on each shell is q =4πa σ0. The electric field of spherical shell vanishes inside the shell while outside the shell the electric field is

q (r r ) E (r r )= ± − ± SI units − ± 4πε r r 3 | − ±| q (r r ) = ± − ± in Gaussian units ε r r 3 | − ±| = φ (r). −∇ ± To calculate the self energy of each shell we evaluate, Eq.1.145 ,

εq2 d3r W0 = 2 4 . 2(4πε) r r >a r r ZZZ | − ±| | − ±| For each shell we can let r0 = r r and the self energy of each spherical shell is found to be − ±

2 3 2 εq d r 4πεq ∞ 1 W = 0 = dr 0 2(4πε)2 4 2(4πε)2 r 2 0 r0 >a r0 a 0 ZZZ | | Z 2 | | q 1 ∞ = − 2 4πε r · · 0 ¸a

q2 W = . Self energy of each shell in SI units (1.147) 0 2 4πεa q·2 = Gaussian units 2εa Aside: the charge radius of the

Equation 1.147 can be used to introduce a classic physics problem which persists in all models. Suppose we consider the electron to be a spherical charged shell. In this case the electromagnetic energy stored in the electric field of the electron would be (ε =1) e2 W = in Gaussian units e 2a 41 Section 2.7 Electrostatic energy density, capacitance

2 The total energy of an electron at rest is mec . The question now is what would be the radius of the electron if all its energy was that stored by the electric field? The answer is

2 10 2 e (4.8 10− statC) a = = × 2 28 10 2 2mec 2 (9.1 10− g) (3 10 cm/s) 13× × × × =1. 4 10− cm !! × If this were correct the electron radius would be the same order of magnitude as the observed proton radius. But the upper limit on the radius of the electron is several orders of magnitude below the radius of the proton. In fact the results of all experiments at this time are consistent with the electron being a point particle! What happened to its electromagnetic energy?

Solution(b) The potential due to a uniform spherical shell of charge centered at the origin is

q φ (r)= for r>a 4πεr q φ (r)= for r a 4πεa ≤ where q is the total charge of the shell and a is the radius of the shell. In terms of this potential the interaction energy stored by the electric fields is, Eq. 1.146,

3 Wint = ε φ (r r+) φ (r r ) d r ∇ − · ∇ − − ZZZ Using the identity,

2 [φ (r r+) φ (r r )] = φ (r r+) φ (r r )+φ (r r+) φ (r r ) ∇ · − ∇ − − ∇ − · ∇ − − − ∇ − −

2 3 Wint = ε φ (r r+) φ (r r ) d r + ε φ (r r+) φ (r r ) dS − all − ∇ − − surface − ∇ − − · space at ZZZ ZZ ∞

Now let r0 =r r − −

2 3 = ε φ (r0 r+ + r ) φ (r0) d r0 + ε φ (rs0 r+ + r ) φ (rs0 ) dS0 − all − − ∇ surface − − ∇ · space at r0 ZZZ ZZ s−→ ∞ 3 2 Since the product of the field and the potential vanish at infinity as rs0− whereas dS0only increases like rs0 the surface 2 integral does not contribute to the interaction energy. To evaluate the spatial integration we note that φ (r0) refers to the negative shell and (see Jackson problem 1.3a): ∇

2 σ0 φ (r0)= δ (r0 a) . SI units ∇ − ε − In the example the distance between the centers of the spheres is greater than the diameter of the spheres. Therefore the 42 Section 2.7 Electrostatic energy density, capacitance spheres do not overlap and the interaction energy is given by

2 3 Wint = ε φ (r0 r+ + r ) φ (r0) d r0 − all − − ∇ ZZZ space q σ0 3 = ε [ δ (r0 a)]d r0 − all 4πε r 2a − ε − ZZZ space | 0− | Letting 2a =Rˆz

q σ 1 π 2π δ (r a) W = 0 ∞ dγ r2dr sin θ dθ int − 1/2 − ε 4π 0 0 0 [r2 + R2 2rR cos θ] Z Z Z − The integration over the angle γ and the radial direction r are readily carried out leaving (ξ =cosθ) q σ 2π π a2 W = 0 sin θ dθ int 1/2 − ε 4π 0 [a2 + R2 2aR cos θ] Z −

q 2 +1 q 2 a dξ W = 4πa int 1/2 − 2ε 1 [a2 + R2 2aRξ] £ ¤ Z− − 2 ξ=+1 q 1 1/2 = d a2 + R2 2aRξ −2 4πε ξ= 1 −aR − · Z − q2 [R a] [R + a£] ¤ = − − 2 4πε aR · q2 = interaction energy of two shells −4πεR

The interaction energy is equal to that of two charged point particles, with charges q, separatedbyadistanceR. The total energy stored in the electrostatic field is ±

q2 q2 W = > 0 total energy for the two shells 4πεa − 4πεR

As R decreases the stored energy decreases.

∂ q2 q2 dW = dR = dR = F dR −| |∂R −4πεR −4πεR2 | | − | | · ¸

Therefore the force between the shells is attractive with a magnitude of q2/[4πεR2] and does work dW

q2 q2 dR W + dW = 1+ 4πεa − 4πεR R · ¸

43 Section 2.8 Conductors and Capacitance

2.8 Conductors and Capacitance A commonly encountered system consists of a set of N isolated charged conductors. (In electrostatics the potential inside and at the surface of a conductor is constant.). Let the ith conductor have th a charge Qi and let all other conductors have zero net charge. The charge on the i conductor will be distributed over its surface with a surface charge density σii (r) which is proportional to Qi. It also will induce a surface charge density on each of the other conductors σji (r) which will be proportional to Qi. Of course

Qi = σii (r) dS (1.148) ZZ i 0= σji (r) dS, j = i 6 ZZ j If all the conductors are charged then the surface charge density on a conductor will be the sum of the surface charge densities which would be on the conductor with only one conductor charged. [This follows from the uniqueness of the solution to the boundary value problem. In this case the potential of each conductor can not vary over the conductor. This is th th satisfied if either the i conductor has a charge Qi or the j conductor has a charge Qj. If the potentials obtained with each of these conditions are added the result will also satisfy the boundary conditions].

σi (r)= σij (r) . j X

th th The j term in the sum is proportional to Qj. The potential of the i conductor is given by

N σk (r) Vi = dS (1.149) ri r k=1 k X ZZ | − |

th where ri is any point on the i conductor. Because the σk (r) , are linear functions of the Qi , it follows that { } { }

N Vi = pijQj. (1.150) j=1 X

The proportionality constants pij will depend on the geometry of the system of conductors but not the charges on the { 1 } σj (r) conductors. ( Note that pij = dS since the charge distribution on the surface of each conductor depends 6 Qj j ri r linearly on the charges of the other conductors.)| − | The linear relationship in Eq. 1.150 can be inverted to obtain the charges on RR the conductors in terms of the potentials of the conductors

N Qi = Cij Vj (1.151) j=1 X

th The coefficient Cii is the capacitance of the i conductor in the system

...... while the Cij, with i = j are the coefficients of induction. { 6 }

44 Section 2.9 Variational calculations

th The capacitance of the i conductor is obtained by ‘grounding’ all the other conductors (forcing Vj =0for j = i)and measuring the ratio 6

Qi Cii= ,Vj=0for j = i. (1.152) Vi 6

The for a system of charged conductors is

1 N 1 N W = Q V = C V V (1.153) 2 i i 2 ij i j i=1 i,j=1 X X

This equation must give the energy stored by the electric fields of the system and therefore W 0 for all choices of Vi . It ≥ { } follows that Cii > 0 for all i and det [Cij ] > 0. (We have tacitly assumed that the inverse of the matrix Cij exists. In fact it is the matrix pij . The elements of Cij form a non-singular matrix and therefore det [Cij] =0.) If we know the Dirichlet green’s function for the region of space excluding the conductors6 we are able to generate the Cij.(The surface charge density on a conductor in electrostatics equals the normal derivative of the potential at the surface.) It is also possible by using a variational technique to obtain estimates of the Cij.

2.9 Variational calculations 2.9.1 A variational principle The behavior or properties of a system can generally be described by one or more functions. In , for example, we seek rk(t) for a system of particles. A common technique is to minimize the action integral, I = L( rk(t), r˙k(t))dt. Recall that this leads to the Euler-Lagrange equations. If constraints are imposed on the system one introduces Lagrange multipliers. In electrostatics we apply a similar technique to equations such as R

1 I(φ)= φ φ d3r. 2 ∇ · ∇ ZZZ volume subject to constraints. This works particularly well when the electrical potential φ is due to a system of charged conductors. More formally, we vary the functional form for the ”system function”, ψ (r) ,via a ”functional”, I,defined as

I [ψ, ψ]= F (r,ψ (r) , ψ (r))d3r (1.154) ∇ ∇ ZZZ which has an extremum in for the correct functional form for ψ (r) . We shall use the following definitions: δψ = ”the variation in the functional form for ψ δ ψ = [δψ] and δ∇I = I [ψ∇, ψ] I [ψ + δψ, ψ + δ ψ]. ∇ − ∇ ∇ 45 Section 2.9 Variational calculations

Using an expansion similar to a three dimensional Taylor series expansion,

∆r 2 n f(r + ∆r)=e ·∇f =[1+∆r +[∆r ] /2! + ....[∆r ] /n!+...]f (1.155) · ∇ · ∇ · ∇

one can obtain,

δ δ I [ψ + δψ, ψ + δ ψ]=exp[δψ + δ ψ ] I [ψ, ψ] (1.156) ∇ ∇ δψ ∇ · δ ψ ∇ ∇ δ δ δ δ =[1+[δψ + δ ψ ]+[δψ + δ ψ ]2/2! + ....] I + ... δψ ∇ · δ ψ δψ ∇ · δ ψ ∇ ∇ δ δ δ δ = I [ψ, ψ]+[δψ + δ ψ ]I +[δψ + δ ψ ]2I/2! + ... ∇ δψ ∇ · δ ψ δψ ∇ · δ ψ ∇ ∇

To first order in δψ we have:

δF δF δI = [ δψ (r)+ [δψ] ]d3r + higher order terms.... (1.157) δψ ∇ · δ ψ ZZZ vol ∇ where

δF 3 ∂ δF [δψ] δψ . ∇ δ ψ ∂x δ[∂ψ/x ] · ≡ i=1 i i ∇ X δF ∂F We can replace δψ by ∂ψ when F is a of ψ in the volume.

∂F ∂F δI = [ δψ (r)+ [δψ] ]d3r + higher order terms.... (1.158) ∂ψ ∇ · ∂ ψ ZZZ vol ∇ ∂F ∂F ∂F = [ δψ (r)+ (δψ ) δψ ]d3r + higher order terms... ∂ψ ∇ · ∂ ψ − ∇ · ∂ ψ ZZZ vol ∇ ∇ Using the divergence theorem,

∂F ∂F ∂F δI = [ ]δψd3r + (δψ )d3r + higher order terms (1.159) ∂ψ − ∇ · ∂ ψ ∇ · ∂ ψ ZZZ vol ∇ ZZZ vol ∇ ∂F ∂F ∂F = [ ]δψd3r + δψ nˆ dS + .higher order terms.... bounding vol ∂ψ − ∇ · ∂ ψ ∂ ψ · ZZZ ∇ ZZ surface ∇

The functional I will have an extremum when δI =0or,

3 3 ∂F ∂ ∂F (r,ψ (r) , ψ (r)) 3 δF [ ∇ δψd r + nˆ xˆi δψ dS =0 (1.160) ∂ψ ∂x ∂ (∂ψ/∂x ) bounding δ (∂ψ/∂x ) vol " − i=1 i i # "i=1 i · # ZZZ X ZZ surface X for all ‘permissible’ δψ (r) . Generally the values of the function ψ (r) are specified on the boundary of the volume. In this 46 Section 2.9 Variational calculations case only δψ (r) which vanish on the boundary would be permitted and the surface integral would be zero. If that is the only restriction on the variation in ψ(r) then the requirement that the first order term vanishes constrains ψ (r) to be a solution of the following ”Euler-Lagrange” equation.

∂F 3 ∂ ∂F (r,ψ (r) , ∂ψ/∂x ) i =0 (1.161) ∂ψ ∂x ∂ (∂ψ/∂x ) − i=1 i i X

To determine whether the extremum is a minimum, maximum, or stationary point the second order term in δψ must be calculated. 2.9.2 Variations with equality constraints and fixed boundary conditions In an extension of the variational calculations the function ψ (r) is required to satisfy one or more constraints in addition to the boundary conditions. Generally these have a form,

3 Cα [ψ]= Kα (r,ψ (r) , ψ (r)) d r = Dα (1.162) ∇ ZZZ where Dα, α =1, ..., N is a set of N constants. This places restrictions on the δψ (r) used in the variation of ψ (r) .in { }

Eqs.1.156-1.160. Proceeding as before to set the δCα =0,wehaveα =1, 2, 3, ...N. equations

3 3 δKα ∂ δKα 3 δKα δψd r + xˆi nˆ δψdS =0 (1.163) δψ ∂x δ (∂ψ/∂x ) bounding δ (∂ψ/∂x ) vol " − i=1 i i # i=1 i · ZZZ X ZZ surface X · ¸

Because ψ (r) must satisfy fixed boundary conditions δψ (r) is zero on the surface and the surface integral vanishes. The equations which must be satisfied are

δF (r,ψ (r) , ψ (r)) 3 ∂ δF(r,ψ (r) , ψ (r)) ∇ ∇ δψ (r) d3r =0 (1.164a) δψ ∂x δ (∂ψ/∂x ) vol " − i=1 i i # ZZZ X and

3 δKα(r,ψ (r) , ψ (r)) ∂ δKα(r,ψ (r) , ψ (r)) ∇ ∇ δψ (r) d3r =0. (1.164b) δψ ∂r δ (∂ψ/∂r ) vol " − i=1 i i # ZZZ X

We can consider the 47 Section 2.9 Variational calculations

δK 3 ∂ δK u (r)= α (1.165) α δψ ∂x δ (∂ψ/∂x ) − i=1 i i X to be a set of ‘vectors’ in a function space. In this case the restriction on δψ (r) is that it lie in the subspace which is orthogonal to the uα (r) . (Note that Eq. 1.164b looks like an inner product condition, (uα, δψ)=0 as does Eq.1.164a , ( δF 3 ∂ δF , δψ)=0.) In this case Eq. 1.164a requires that the function multiplying δψ (r) lie in the δψ − i=1 ∂xi δ(∂ψ/∂xi) subspace spanned by the u (r) or P α

δF 3 ∂ δF = λ u (r) (1.166) δψ ∂x δ (∂ψ/∂x ) α α − i=1 i i α X X The ‘expansion coefficients’ λα are constants, called Lagrange multipliers, which are determined such that the constraint equations are satisfied.

2.9.3 Approximation using the functional If the function describing the property of the system provides an extremum for Eq. 1.159 an approximation to the function can be generated. In the simplest case let ψ (r)=w (β, r) where β is a free parameter and the w (β, r) is chosen to satisfy the boundary conditions on ψ (r) but is otherwise arbitrary. The functional equation is now a function of β

W (β)= F (r,w (β, r) , w (β, r))d3r. (1.167) ∇ ZZZ Assume further that,

ε W (β)= w (β, r) 2d3r. 2 |∇ | ZZZ

To find the extremum of W (β) ( δW (β)=0)subject to w (β, rs1)=1,and w (β, rs2)=0 we find the value of β, say b0, for which W 0(β)=0restricted to functions of the form w (β, r) (See also Eq. 1.166.). If W 00 (bo) is consistent with the type of extremum required ,w (b0, r) is an approximation to ψ (r) .

2.9.4 Estimation of capacitance using a variational approach In an electrostatic problem the potential of each conductor is fixed. One then guesses a trial potential which satisfies the boundary conditions. This trial potential should depend on one or more parameters which are varied so as to obtain the minimum value of the energy for the system. In the case that the trial potential =1 on the ith conductor and zero on all other conductors the capacitance, Cii, is approximated by the estimated energy. That is, for two conductors,

1 2 W = C V V 2 ij i j i,j=1 X 1 1 = C V 2 = C if V =1and V =0 2 11 1 2 11 1 2 1 1 = C V 2 = C if V =1and V =0 2 22 2 2 22 2 1

48 Section 2.9 Variational calculations Exercise: Show that the electrostatic energy stored in the field of a charged conductor (with charge Q) and potential V is 1 W = QV . (Hint: solve the boundary value problem for φ(r) everywhere and calculate W from Eq. 1.141) 2

49 Section 2.9 Variational calculations

Example of simple variational method: coaxial cylinders Consider two coaxial cylinders, one with a radius b =0.2cm and the other with a radius c =0.8cm =4b.Let (x2 + y2)=ρ2 and let the z axis be along the cylindrical axis. Using the potential form ,

ρ ρ2 2ρ 5ρ2 w(β, ρ)=β[1 + )] + − 2b 2b 3c − 3c estimate the capacitance per unit length of the combination and compare the result to the actual value.

Solution :

Note that we want the function,φ(β, ρ), to be 1 at ρ = b and 0 at ρ = c.This can be done by normalizing w(ρ,z):

φ(β, ρ)=aw(β, ρ) b where a and b are constants to be determined after we find β − =[w(β, ρ) w(β,c)]/ [w(β,b) w(β,c)] − −

1 Since Vb = φ(β,b)=1,andVc = φ(β,c)=0we will obtain W = 2 Cbb. The estimated energy of the coaxial system per unit length, L, in Gaussian units is

²0 2 W(β)= φ ρdρdϕdz ²0 =1 in Gaussian units 8πL |∇ | ZZZ 1 ∂φ 1 ∂φ ∂φ ∂φ 1 ∂φ ∂φ = ρˆ + ϕˆ + ˆz ρˆ + ϕˆ + ˆz ρdρdϕdz 8πL ∂ρ ρ ∂ϕ ∂z · ∂ρ ρ ∂ϕ ∂z ZZ · ¸ · ¸ 1 ∂φ 2 = ρdρ 2πL 8πL ∂ρ · Z ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ a2 c β 2 W(β)= [ 1+2ρ]+ (1 5ρ) 2ρdρ 4 |2b − 3c − | Zb This has an extremum (minimum) for

a2 c β 2 1 W 0(β)= [ 1+2ρ]+ (1 5ρ) [ 1+2ρ] ρdρ =0 2 2b − 3c − 2b − Zb ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ c 1 2 c 1 2 β [ 1+2ρ] ρdρ = [ 1+2ρ] (1 5ρ) ρdρ 2b − − 2b − 3c − Zb ¯ ¯ Zb ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ ¯ c 1 [ 1+2ρ] 2 (1 5ρ) ρdρ β = b 2b − 3c − − c 1 2 R ¯ 2b [ 1+2ρ] ρdρ¯ ¯ b − ¯ R ¯ ¯ 0.8 cm ¯ ¯ 4b [ 1 cm +2ρ][2cm 5ρ] ρdρ β = 0.2 cm − − =1.35 −3c 0.8 cm [ 1cm +2ρ] 2 ρdρ R 0.2 cm | − | R 50 Section 2.9 Variational calculations

This gives an approximation to the capacitance per unit length equal to

a2 c β 2 2 2W(1.6) = C = [ 1+2ρ]+ (1 5ρ) ρdρ 2 2c − 3b − Zb ¯ ¯ =0.367 ¯ ¯ ¯ ¯ ¯ ¯

The plot in Fig. 7 shows the W(β) (using the normalized potential) generated via mathcad. The β from this numerical approach is approximately 1.35 (see two.cylinder.example.mcd on the web.). The value of W(1.35) = 0.183 and C = 2 .183 = 0.367. The capacitance appears to be not too dependent on β. Figure 8 is a plot of the normalized potential as a function· of ρ.

Fig. 7

Fig. 8

1 The exact result is C = 2ln 4 =0. 361. So the variational results differ by less than 2% . We shall determine the ”exact” result for L –> later in| | the notes. ∞

51 Section 2.9 Variational calculations The exact result for the coaxial cylinders is non-trivial: The exact result for the capacitance of two long cylindrical shells is non-trivial. But we can begin by letting the outer Q c conductor be at 0 potential and the inner potential at V then C = V . The length, L, of the cylinders satisfies L << 1.

1 1 Φ(ρ, ϕ,z)= − σ0δ(ρ0 b) (ρ0 b) ρ0dρ0dϕ0dz0 + Φ0(b, c) 4πε − |∇ − | r r ZZZ | − 0|

2 2 2 where Φ0(b, c) is a constant.and we shall let z be along the cylindrical axis, with ρ = x + y . Furthermore, we shall evaluate the potential on the x axis so that r = x = ρ cos ϕ = ρ,z=0 and r r0 = ρρ0 cos ϕ0 ·

1 1 Φ(ρ, 0, 0) = − σ0δ(ρ0 b) (ρ0 b) ρ0dρ0dϕ0dz0 + Φ0(b, c) 4πε − |∇ − | r r ZZZ | − 0| Q 1 Φ(ρ, 0, 0) = − δ(ρ0 b) ρ0dρ0dϕ0 + Φ0(b, c) 4πε(2πbL) − |[ρ2 + ρ 2 + z 2 2r r ]1/2 ZZ 0 0 0 L/2 2π − · Q bdϕ0dz00 − 1/2 + Φ0(b, c) ≈ 4πε(2πbL) L/2 0 2 2 2 2 2 1/2 Z− Z ρ + b + z 2ρ [b + z ] cos ϕ 0 − 0 0 Q L/2 2π h dϕ dz i = 0 0 + Φ (b, c) where a2 =[b2 + z 2] − 1/2 0 0 4πε(2πL) L/2 0 [ρ2 + a2 2ρa cos ϕ ] Z− Z − 0

Unfortunately this reduces to an elliptic integral which is unmanageable. In the next chapter we shall have some methods for handling this problem.

4π² Using Gauss’ law one can obtain the exact result: C = 0 b 2ln[ ] a 52 Section 2.9 Variational calculations Using the variational technique to find the upper and lower bounds for the capacitance: The capacitance of a system of conductors.depends on the geometry. However we often use the potential difference and the charges on the conductors to determine C. In Jackson problems 1.17 and 1.18 one is asked to show that upper and lower bounds can be placed on the capacitance by considering two different variations in the functional forms of C:

Q2[σ] maximized Cactual 2W[Ψ]minimized (1.90) 2W[σ] | ≤ ≤ · ¸

where

2 2 σ(r)dS1 Q [σ] S1 maximized =   (1.91) 2W[σ] | σh(Hr)G(r, r0)σ(ir0)dS1dS10 · ¸ S1 S1  max H H 

and is more commonly written:

1 σ(r)G(r, r0)σ(r0)dS1dS10 = S1 S1 (1.92)  2  C[σ] min H H · ¸ S σ(r)dS1  1 min  hH i 

The right hand side of Eq. 1.90 is relatively easy to use and is often employed to determine C. The left hand condition of Eq. 1.90 is in contrast often intractable because of the need to find G(r, r0). The Green’s function in Eqs. 1.91 and 1.92 must =0: on all conductors except S1. The solution to Problem 1.18 provides the derivation of Eq 1.92. In this solution one considers the system for which all Qi are fixed and all Φi =0but Φ1. Subject to this condition, the surface charge W[σ] densities are allowed to adjust to minimize 2 . For two conductors, this means Φ2 =0(with fixed Q2 )while Q1[σ] · 1 ¸ Φ varies as σ (r ) is adjusted to minimize . . Problem 1.19 provides an example of how the actual C is always less 1 1 S1 C[σ] than the approximated C[Ψ]., and is only equal to C[Ψ] when the correct potential function is used. The minimization of 1 occurs when the charge distributed on S puts all the other conductors at constant potential (0) C[σ] 1 53 Section 2.10 Linear charge density

2.10 Linear charge density Since a line is the intersection of two surfaces we could extend the approach used for

surface charge densities to the case of linear charge densities. In this case σ (r) would involve a delta function which would restrict the charge to also lie on a second surface, say G (r)=0. The result would be that

σ (r)=λ (r) δ (G (r)) G (r) |∇ |

with λ (r) the linear charge density. However a linear charge density is often given along a parametrized curve, r (s)=(x (s) ,y(s) ,z(s)) being the points along the curve. With this information we know that the charge at the point r0 (parameter s0)onthecurveis

d dq = λ (r ) r (s) ds = λ (r ) x (s )2 + y (s )2 + z (s )2ds 0 ds 0 0 0 0 0 0 0 ¯ ¯r0 ¯ ¯ q ¯ ¯ ¯ ¯

and the function which gives the variation in the electrostatic potential due to this linear charge density is

λ (r (s)) φ (R)= x (s)2 + y (s)2 + z (s)2ds R r (s) 0 0 0 Z | − |q

54 Appendix A Special problems 1. A hyperboloid of revolution has a uniform surface charge density of 7 statcoul /cm2. The charged surface lies between z = 2 cm and z =+2cm and is given by the equation − x2 + y2 z2 =1cm2. 2 − (a) Determine the function which gives the volume charge density corresponding to this surface charge. (b) Taking the potential at the origin to be zero, evaluate and plot the potential along the positive x axis from x =0cm to x =4cm. 2 (c) Evaluate and plot the components of the electric field along the positive x axis from x =0cm to x =4cm. 2. A line charge lies along the parabola z = x2/(3 cm),y=0cm in the region 0 cm z 3 cm. The linear charge density is given by λ (z)= 5 statcoul / cm2 z. Along the line z =3cm, x =0cm≤ for≤0 cm y 3 cm evaluate and plot the (a) potential and (b) the components of the electric field. ≤ ≤ ¡ ¢ 3. In Example ?? we found that the energy stored by the electric field of a charged spherical shell is q2 W = 0 2εa with q the total charge of the shell and a the radius of the shell. Since δW q2 0 = δa −2εa2 there is a force acting at each point on the shell which would cause the shell to expand. (a) Determine and explain the source of this force. (b) Demonstrate that the source is correct by calculating the force per unit area of the sphere and the total work done by the force if the radius of the sphere expands by δa. 4. A spherical consists of two concentric conducting spherical shells. The inner shell has a radius a and the outer aradius2a. Using the ‘test potential’

2πβ sin a (r a) φ(β,r)= − ,a

2 Note: At best the potential can be expressed in terms of tabulated integrals. Because those with experience with these tabulated integrals can often describe the general properties of the potentials the ‘closed’ form for the integral is often obtained. This capability is associated with having solved similar problems many times and checking the plots in a handbook of functions. In this course I will assume that the function is known if it is written as a convergent integral with a finite integrand. 55