What Is the Electric Field Inside a Sphere with Varying Charge Density?

Click For Summary

Homework Help Overview

The discussion revolves around determining the electric field inside and outside a sphere with a spherically symmetric charge density that varies as 1/r. Participants are exploring the implications of this varying charge density on the electric field calculations.

Discussion Character

  • Exploratory, Conceptual clarification, Mathematical reasoning, Assumption checking

Approaches and Questions Raised

  • Participants discuss the application of Gauss's law and the proper evaluation of enclosed charge within the sphere. There are attempts to clarify the integration process for calculating total charge and enclosed charge, as well as the implications of the varying charge density on the electric field.

Discussion Status

The discussion is active, with participants questioning the integration bounds and the definitions of total charge versus enclosed charge. Some participants express confusion regarding the calculations, while others suggest that the results may align under certain conditions.

Contextual Notes

There are noted ambiguities in the problem statement regarding the total charge and the implications of the varying charge density on the calculations. Participants are also addressing potential typos and clarifying the mathematical expressions used in their attempts.

shinobi20
Messages
277
Reaction score
20

Homework Statement


A sphere with radius R has a spherically symmetric charge density that varies as 1/r. What is the electric field outside and inside the sphere?

Homework Equations


E=kQ/r^2, ε=permitivity of free space, Q=total charge, ρ=charge density, dτ=infinitesimal volume

The Attempt at a Solution


For the case (outside), due to the concept that we can treat the sphere as a point charge, E = (1/4*pi*e)(Q/r^2).

For the case (inside), by using a Gaussian surface, we have E (4πr^2) = Q/ε. By evaluating Q = ∫ ρ dτ. I got E = (R^2)/(2εr^2).

Is this correct? Or am I missing something?
 
Last edited:
Physics news on Phys.org
I don't see them matching up at r = R

Your inside case solution description isn't detailed enough for me to tell you where you derail.
And your problem description has holes in it. Is Q the total charge on the sphere? Is it a given ? What does that mean for the enclosed charge when r < R ?
 
Sorry, there was a typo, it should be E(4πr^2) = Q/ε and Q is the total charge. What I've done for the inside is, given ∫E⋅da = Q/ε, we have E(4πr^2) = Q/ε. But Q=∫ρ dτ and ρ=1/r. So Q=∫ dτ/r. Also, dτ= r^2 sinθ dr dθ d∅ is the change of the volume in spherical coordinates. So, Q=∫ r sinθ dr dθ d∅. 0≤r≤R, 0≤θ≤π, 0≤∅≤ 2π. By integration, I got Q = (4πR^2)/2. Thus, I got E = (R^2)/ 2εr^2.
 
Aha! Check your integration bounds for the contained charge when r < R ! Contained charge as a function of r is not a constant ! You confuse yourself by using the symbol Q both for the total charge and also for contained charge as a function of r...
 
Oh! So to rephrase, E(4 π r'^2) = Qenc/ε with Qenc as the enclosed charge in the gaussian surface. Qenc= ∫ r sinθ dr dθ d∅. 0≤r≤r', 0≤θ≤π, 0≤∅≤ 2π. Qenc = (4 π r'^2)/2. But this will cancel the r'. E(4 π r'^2) = (4 π r'^2)/2ε.
 
So nice it doesn't diverge for r to 0, and that now it matches at r = R !
 
BvU said:
Aha! Check your integration bounds for the contained charge when r < R ! Contained charge as a function of r is not a constant ! You confuse yourself by using the symbol Q both for the total charge and also for contained charge as a function of r...
I've done everything over and over, If I integrate, the two r' really cancel, is there something wrong here? I'm confused.
 
I think it's the right answer.
 
BvU said:
I think it's the right answer.
What do you mean right? But that will mean the electric field is not varying as we go from r=0 to r=r'. How is that?
 
  • #10
It means area and charge contained grow with the same power of r . In another example (number 4 here) charge grows with r3 and area with r2, so E grows with r1
 
  • #11
Thank you so much! That is kinda subtle.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 8 ·
Replies
8
Views
12K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
4
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
12
Views
2K
  • · Replies 13 ·
Replies
13
Views
6K
  • · Replies 37 ·
2
Replies
37
Views
13K
  • · Replies 1 ·
Replies
1
Views
2K