376 CHAPTER 20. THE INTEGRAL IN OTHER COORDINATES

(xi+ yj+(z− z0)k)1(

x2 + y2 +(z− z0)2)3/2 Gα dV

Therefore, the total force is∫H(xi+ yj+(z− z0)k)

1(x2 + y2 +(z− z0)

2)3/2 Gα dV.

By the symmetry of the sphere, the i and j components will cancel out when the integralis taken. This is because there is the same amount of stuff for negative x and y as there isfor positive x and y. Hence what remains is

αGk∫

H

(z− z0)[x2 + y2 +(z− z0)

2]3/2 dV

as claimed. Now for the interesting part, the integral is evaluated. In spherical coordinatesthis integral is. ∫ 2π

0

∫ b

a

∫π

0

(ρ cosφ − z0)ρ2 sinφ(ρ2 + z2

0−2ρz0 cosφ)3/2 dφ dρ dθ . (20.1)

Rewrite the inside integral and use integration by parts to obtain this inside integral equals

12z0

∫π

0

2 cosφ −ρz0) (2z0ρ sinφ)(

ρ2 + z20−2ρz0 cosφ

)3/2 dφ =

12z0

−2−ρ2−ρz0√(

ρ2 + z20 +2ρz0

) +2ρ2−ρz0√(

ρ2 + z20−2ρz0

)−∫

π

02ρ

2 sinφ√(ρ2 + z2

0−2ρz0 cosφ) dφ

 . (20.2)

There are some cases to consider here.First suppose z0 < a so the point is on the inside of the hollow sphere and it is always

the case that ρ > z0. Then in this case, the two first terms reduce to

2ρ (ρ + z0)√(ρ + z0)

2+

2ρ (ρ− z0)√(ρ− z0)

2=

2ρ (ρ + z0)

(ρ + z0)+

2ρ (ρ− z0)

ρ− z0= 4ρ

and so the expression in 20.2 equals

12z0

4ρ−∫

π

02ρ

2 sinφ√(ρ2 + z2

0−2ρz0 cosφ) dφ



=1

2z0

4ρ− 1z0

∫π

2ρz0 sinφ√(ρ2 + z2

0−2ρz0 cosφ) dφ



376 CHAPTER 20. THE INTEGRAL IN OTHER COORDINATES. . 1(xt+ yj +(Z—20) k) yp GadV(22 +y2+(z—z9)*Therefore, the total force is. . 1| (xi+ yj + (zZ— 20) k) GadVv.H(2 +y?+(z- 0)’) *By the symmetry of the sphere, the 2 and 7 components will cancel out when the integralis taken. This is because there is the same amount of stuff for negative x and y as there isfor positive x and y. Hence what remains isas claimed. Now for the interesting part, the integral is evaluated. In spherical coordinatesthis integral is.2m pb pt _ 2[ If (pcos — 20) p me dg dp dd. (20.1)0 Ya 10 (p? +25 —2pzocos@)Rewrite the inside integral and use integration by parts to obtain this inside integral equals.a [F (0?c0s0 — pz») — Cnr sine) ag =zo JO (p? +z) —2pzocos@)_p2— 2I /_, po—P% 45 P* — P20220 \/(p?++2p20) — /(p? +3 -2p20)singdo |. (20.2)-[f TeThere are some cases to consider here.First suppose zo < a so the point is on the inside of the hollow sphere and it is alwaysthe case that p > zo. Then in this case, the two first terms reduce to242) —2pzcos@)2p(p+z0) , 2p(P =z) _ 2p (P+%0) | 2P(P 2) ~ 4pVe +29)" V(e-20)° (p +20) Pp —2z0and so the expression in 20.2 equalssin @dop? +25 —2pzocos¢)J 4p— [" 2p?2z0 p 0 mv2P zo singp? +25 — 2pzocos ¢)=5-(40-— |" do— 2z0 p Z0 oT