Electric field due to a spherical charged shell (direct integration)

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 21K views
schrodingerscat11
Messages
86
Reaction score
1

Homework Statement


Find the electric field a distance z from the center of a spherical surface of radius R which carries a uniform density σ. Treat the case z<R (inside) as well as z>R (outside). Express the answers in terms of the total charge q on the sphere.

Homework Equations


[itex]E = \int \frac{dq~\hat({r-r'})}{(r-r')^2}[/itex]
where r is the vector from origin to the point where electric field will be evaluated and
r' is the vector from origin to the location of dq (source of electric field)

Let [itex]r-r' = ζ[/itex]

The Attempt at a Solution


(Attached is the sketch of the figure for reference.)

We treat it as a hollow thin shell and divide it in into infinitesimal dA. In spherical coordinates,
[itex]dA = R^2~sinθ~dθdψ[/itex]
[itex]dq = σdA[/itex]
[itex]dA =σ R^2~sinθ~dθdψ[/itex]

Also, the ζ vector is just
[itex]ζ^2=z^2+R^2 - 2Rz cosθ[/itex] via cosine law

Clearly, the total electric field felt at point p (a distance z) above the sphere is just in the z direction since the other components cancel. Therefore, we can just get the z component of E-field due to charge dq and add all of them together for the entire sphere.

[itex]dE_{z} = dE \hat{z}[/itex]
[itex]dE_{z} = dE sin ω[/itex]
[itex]dE_{z} = dE \frac {z-Rcosθ}{ζ}[/itex]

Electric field therefore is
[itex]E = \int \frac{dq~\hat{ζ}}{ζ^2}[/itex]
[itex]E = \frac{1}{4πε_o}\int\frac{σR^2~sinθdθdψ}{z^2+R^2-2Rzcosθ}\frac{z-Rcosθ}{\sqrt{z^2+R^2-2Rzcosθ}}[/itex]

since [itex]\int_0^{2π} = ψ~dψ = 2π[/itex]
and if we let u = Rcos du = -Rsinθ dθ
and noting that u=1 when θ=0 and u=-1 when θ=π

[itex]E = \frac{2πσR^2}{4πε_oR}~\int_{-1}^{1}\frac{(z-u)du}{(z^2+R^2-2zu)^\frac{3}{2}}[/itex]

Now, how do I integrate this? Any ideas? Thanks a lot. :biggrin:
 

Attachments

  • elecdy sphere.jpg
    elecdy sphere.jpg
    20.2 KB · Views: 2,087
Last edited:
Physics news on Phys.org
Nice work so far!

The final integral is:
$$2k\pi\sigma R^2\int_0^{\pi} \frac{z-R\cos\theta}{(z^2+R^2-2Rz\cos\theta)^{3/2}}\sin\theta\,d\theta=2k\pi \sigma \int_0^{\pi} \frac{a-\cos\theta}{(a^2-2a\cos\theta+1)^{3/2}}\sin\theta\,d\theta$$
where ##a=\dfrac{z}{R}##.

Next, use the substitution ##a^2-2a\cos\theta+1=t^2 \Rightarrow \sin\theta\,d\theta=\dfrac{t\,dt}{2a}##. Can you simplify the integral now? Notice that the new limits for integral are perfect squares!
 
  • Like
Likes   Reactions: 1 person
Hmm.. That was simpler.. Thank you very much! I think I can take it from here.. Also, sorry for the very late reply.. I had a very busy week. Many thanks again! :)
 
physicsjn said:
Hmm.. That was simpler.. Thank you very much! I think I can take it from here.. Also, sorry for the very late reply.. I had a very busy week. Many thanks again! :)

Glad to help! :smile:
 
I have a doubt in the very starting we should have found the magnitude of (r-r') and then square it. So, in this case why it is not (r2+z2 ) because of its magnitude first and then square. Please Explain
 
Vishesh Sharma said:
I have a doubt in the very starting we should have found the magnitude of (r-r') and then square it. So, in this case why it is not (r2+z2 ) because of its magnitude first and then square. Please Explain
Can you explain why you believe that ##|\vec{r} - \vec{r}'|^2## is equal to ##r^2 + z^2##? If would be helpful if you could show a diagram with ##\vec{r}##, ##\vec{r}'##, and ##z## labeled.
 
I got my mistake I was taking angle between r and z to be 90. Thank you for pointing out the mistake,and also the integration method was really good.
Thanks again.
 
rude man said:
Am I missing something? Why not just go with Gauss's theorem?
Its probably because that relevant equations work for every surface, although gauss law is also applicable to any surface but we can find out easily only for symmetrical surfaces. This was just for practice. I believe gauss law is much better technique in this question.