
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

Use Gauss’s Law to find E~ inside and outside of the sphere. Keep in mind that with the non-uniform charge density, Q = πkR^4 and q(r) = πkr^4. Thus we have
E^ ~inside = kr
2 4 ǫ 0
ˆr
and
E^ ~outside = kR
4 4 ǫ 0 r^2
rˆ
Then using
W =
ǫ 0 2
E^2 dV
we get
ǫ 0 2
0
∫ (^) π
0
∫ (^2) π
0
kr^2 4 ǫ 0
r^2 sin θdφdθdr +
ǫ 0 2
R
∫ (^) π
0
∫ (^2) π
0
kR^4 4 ǫ 0 r^2
r^2 sin θdφdθdr
πk^2 8 ǫ 0
0
r^6 dr +
πk^2 R^8 8 ǫ 0
R
dr r^2
W =
πk^2 R^7 8 ǫ 07
πk^2 R^7 8 ǫ 0
πk^2 R^7 7 ǫ 0
You could also use
W =
ρφdV
But then you need not only both E~outside and E~inside (which aren’t too hard to find, see above), but then you need to integrate to find φ(~r inside the sphere, and only then can you do the integral for work. I think the first method requires less integrating.
I think the biggest problem here was not actually working out the integral for charge enclosed by the Gaussian surface. The charge density is not constant here, so you can’t use q = ρV. You MUST use
q =
ρ(r)dV