Solving Gauss' Law Problem: Zero E Field?

In summary: Force from 3 = 0The force from the charge on the outer shell that is closer to the test charge is zero.
  • #1
David112234
105
3
Lets consider a hollow sphere with charge +q and than a larger hollow sphere that encloses it with -q, so two spheres one inside the other. Now we use draw an even larger Gaussian sphere that encloses both of these,

∫EdA = Qinclosed/ ∈_0

the total enclosed charge is +q + -q = 0
so
∫EdA = 0
E ∫dA = E (area of sphere) =0
so the Electric field must be zero, but how could that be? So any test charge (black square in diagram) placed outside the two sphere will experience absolutely no electric force? Wouldn't it experience some force from the -q sphere since it is on the outside and always closer to any test charge?
gausslaw1.jpg
 
Physics news on Phys.org
  • #2
No it wouldn't. As you calculated.
To grasp this: where is the charge sitting on the outer sphere ?

By the way: your reasoning doesn't take into account that the negative charge 'on the left' is further away from the test charge ...
 
  • #3
BvU said:
No it wouldn't. As you calculated.
To grasp this: where is the charge sitting on the outer sphere ?

By the way: your reasoning doesn't take into account that the negative charge 'on the left' is further away from the test charge ...

I still don't get it, how would that effect it? According to Coulombs law a closer charge feels the force stronger,
what if we consider a situation where that issue is not present, such as a dipole?

The test charge (black) should feel a force on it since it is closer to the blue(+) charge but Gauss law says 0, My dilemma is still the same.

guassproblem.jpg
 
Last edited:
  • #4
In this case you misinterpret Gauss law: there is no spherical symmetry so you can't just take ##\vec E## out of the integral: it does indeed not have the same value on every point of the Gaussian surface.
 
  • #5
BvU said:
In this case you misinterpret Gauss law: there is no spherical symmetry so you can't just take ##\vec E## out of the integral: it does indeed not have the same value on every point of the Gaussian surface.

Oh so in the integral some EdA will be positive and some negative so it will be a total of 0,
Lets go back to the two sphere, you said that "the negative charge 'on the left' is further away from the test charge"
I used a phet simulation for that

phet.jpg


and it showed that it still felt an electric field from the closest (positive) charge
 
  • #6
I don't see two spheres anywhere. There are plenty proofs of Gauss' law around. A phet quadrupole simulation is no proof of the contrary.
 
  • #7
BvU said:
I don't see two spheres anywhere. There are plenty proofs of Gauss' law around. A phet quadrupole simulation is no proof of the contrary.

I know, I only selected those 4 as a slice of the spheres at the diameter to test what you said
"your reasoning doesn't take into account that the negative charge 'on the left' is further away from the test charge"

If I add more and keep on making it look like spheres the results don't change

phet2.jpg
I have seen how gauss law is derived and I do believe it works but for certain situations such as these its hard to accept these proofs when it goes against all my intuition.
 
  • #8
Are you using https://phet.colorado.edu/sims/html/charges-and-fields/latest/charges-and-fields_en.html ?
Have you viewed it using the "Electric Field" checkbox (showing magnitude [via brightness])... not just the sensors?

What happens further away from the centers?
Note that if your charged "spheres" are not placed precisely, the discrepancies will be more evident if you are not far enough away.

https://www.physicsforums.com/threads/decoding-flux-of-a-vector-field.885861/#post-5573908
is a description of a different visualization ( http://www.glowscript.org/#/user/ma...older/matterandinteractions/program/13-fields )
that doesn't need precise placements.
 
  • #9
robphy said:
Are you using https://phet.colorado.edu/sims/html/charges-and-fields/latest/charges-and-fields_en.html ?
Have you viewed it using the "Electric Field" checkbox (showing magnitude [via brightness])... not just the sensors?

What happens further away from the centers?
Note that if your charged "spheres" are not placed precisely, the discrepancies will be more evident if you are not far enough away.

https://www.physicsforums.com/threads/decoding-flux-of-a-vector-field.885861/#post-5573908
is a description of a different visualization ( http://www.glowscript.org/#/user/ma...older/matterandinteractions/program/13-fields )
that doesn't need precise placements.
As you move further away E decreases, I would expect that anyway even if E was not supposed to be 0 everywhere
That tool is helpful to visualize the flux but it does not help me understand it.
My intuition keeps telling me that E would not be zero, but the force from the charge on the outer shell that is closer to the test charge,
The only way I could see it being 0 is if the charges on the left would negate it, but they do not.

To check that here is what I did, I take a slice of the sphere,

--- = distance = d
[] = test charge

(+) --- (-) --- (-) --- (+) --- []
1 2 3 4

Force from 1 = kq/ (4d)2
F_2 = -kq/ (3d)(4d)2
F_3 = -kq/ (2d)(4d)2
F_4 = kq/ (d)(4d)2

kq/d2 [ (1/16) - (1/9) - (1/4) + (1/1) ] = kq/d ( .7) , not zero

So from this I concluded that the points on the sphere that are further from the text charge would not balance out the force felt from the charge on the outer sphere closest to the test charge.
 
  • #11
robphy said:
Yes that I understand, even tho the field close to one side is stronger, there are more of the weaker ones on the other side to counter act it, Since you bring it up I assume something similar will happen here? I can't figure out how. Here is my best case for the way I see it, the best way for me to understand this is to find out what is wrong with my current understanding.

lets consider the spheres as a stack of slices, as in an integral. Each point on each slice has one corresponding point bellow, and the forces of the test charge (green) will cancel in the Y direction, so only the X components will act,
2spheres1.jpg


So we can represent the forces as this

2spheres2.jpg


And If the spheres are just a stack of slices consisting of 4 points like the ones I drew
The total force from each slice is not zero, the sum of all these slices would also not be zero.
 
  • #12
In such proofs, I think the key is to cleverly exploit certain symmetries so that the individual terms sum nicely
(akin to the supposed story of Gauss adding up the numbers from 1 to 100 https://nrich.maths.org/2478 ).

I think your discrete examples don't exploit that symmetry.
There may be a discrete version of the approach taken here:
http://hyperphysics.phy-astr.gsu.edu/hbase/mechanics/sphshell.html#wtls
and https://en.wikipedia.org/wiki/Shell_theorem (see animation)

Try pg.85 of http://physics.wooster.edu/Lindner/Texts/Mechanics.pdf
 
  • #13
David112234 said:
I know, I only selected those 4 as a slice of the spheres at the diameter to test what you said
"your reasoning doesn't take into account that the negative charge 'on the left' is further away from the test charge"

If I add more and keep on making it look like spheres the results don't change

I have seen how gauss law is derived and I do believe it works but for certain situations such as these its hard to accept these proofs when it goes against all my intuition.
You test at 0 and ##-{\pi\over 4}## and find a field pointing away from the origin. Does it point towards the origin halfway ?
And is it very small ? Much smaller than in the previous (quadrupole) picture ?
If not, then that may be a numerical limitation of your simulation program. Gauss' law holds, period.

By the way, I don't see a conducting sphere ?
 
  • #14
I think this thread has very much deviated from the original question and is more confusing than helping. So let's go back to posting #1. To apply Gauss's Law in integral form as suggested here only works for systems of very high symmetry, and spherical symmetry is "symmetric enough". The point is that you can guess how the electric field should look like. For a spherically symmetric charge distribution the vector field schould be as spherically symmetric as possible. Taking the center of the spherical shell in the origin of the coordinate system thus the electric field should always point radially out, i.e., it should be of the form
$$\vec{E}(\vec{r})=E_r(r) \frac{\vec{r}}{r}, \quad r=|\vec{r}|.$$
To get the component in radial direction ##E_r(r)## in Gauss's Law you can now choose a spherical shell around the origin of radius ##R## with ##R## varying to get ##E_r(R)## at each distance from the center. The surface normal vector ##\mathrm{d}^2 \vec{A}=R^2 \vec{r}/r \sin \vartheta \mathrm{d} \vartheta \mathrm{d} \varphi## in the usual spherical coordinates. Thus your surface integral gives
$$\int \mathrm{d}^2 \vec{A} \cdot \vec{E}=\int_0^{2 \pi} \mathrm{d} \varphi \int_0^{\pi} \mathrm{d} \vartheta R^2 \sin \vartheta E_r(R) = 4 \pi R^2 E_r(R).$$
Now let's call the radius of the inner sphere ##a## and the radius of the outer sphere ##b##. You have to read off the charge enclosed by the sphere with radius ##R##, and thus you have to distinguish just three cases:

(1) ##0 \leq R<a##

Then there is no charge inside the sphere and thus according to Gauss's Law
$$4 \pi R^2 E_r(R)=0 \; \Rightarrow \; E_r(R)=0 \quad \text{for} \quad 0 \leq R < a.$$

(2) ##a<R<b##

Then there's the full positive charge ##Q## inside the sphere and thus
$$4 \pi R^2 E_r(R)=\frac{Q}{\epsilon} \; \Rightarrow \; E_r(R)=\frac{Q}{4 \pi R^2} \quad \text{for} a<R<b,$$

(3) ##R>b##

Then the total charge is again 0 and thus again
$$E_r(R)=0 \quad \text{for} \quad R>b.$$
This means you have a Coulomb field for ##a<R<b## and otherwise no field at all.
 
  • #15
Dear Hendrik,

I don't think David has a problem with this derivation, but instead he is searching for a way to align the outcome with an intuitive expectation that is somewhat contrary.
David112234 said:
Yes that I understand, even tho the field close to one side is stronger, there are more of the weaker ones on the other side to counter act it, Since you bring it up I assume something similar will happen here? I can't figure out how. Here is my best case for the way I see it, the best way for me to understand this is to find out what is wrong with my current understanding
At the moment all I can think of is to actually carry out the integration for two concentric shells of opposite charge. From symmetry it will be acceptable that the resulting field can only be radial, so all that remains is to integrate that component over the shell.

His choice of contributions in #11 is unfortunate and of course doesn't add up to zero -- it does not take into account all contributions.

[edit] The integration is carried out in full on various youtubies, but I have a feeling Dave is better off convincing himself :smile:
 
Last edited:
  • #16
I see! So you mean to use the Green's function to evaluate the potential. Of course, you can also try to evaluate directly the field, but that's more difficult since you have a vector rather than a scalar quantity. This calculation is not as trivial as the use of the integral Gauss's law.

So let's take the inner shell only. Say we have a total charge ##Q## on a sphere with radius ##a## around the origin. The surface-charge density is ##\sigma=Q/(4 \pi a^2)=\text{const}## along the surface. So what you have to evaluate is
$$\phi(\vec{r})=\sigma \int_{S_a} \mathrm d^2 A' \frac{1}{4 \pi \epsilon |\vec{r}-\vec{r}'|}.$$
The surface can be parametrized with spherical coordinates again,
$$\vec{r}=a (\cos \varphi \sin \vartheta,\sin \varphi \sin \vartheta,\cos \vartheta).$$
Again due to radial symmetry ##\phi(\vec{r})=\phi(r)##, and thus we can choose ##\vec{r}=r \vec{e}_z##. Then you get
$$|\vec{r}-\vec{r}'|=\sqrt{r^2+r^{\prime 2} + 2 r a \cos \vartheta}.$$
So the integral over ##\varphi## just gives a factor ##2 \pi##, and the challenge is the integration over ##\vartheta##. Since furter ##\mathrm{d}^2 A'=\mathrm{d} \vartheta \mathrm{d} \varphi a^2 \sin \vartheta##, you get
$$\phi(r)=\frac{\sigma a^2}{2} \int_0^{\pi} \mathrm{d} \vartheta \frac{\sin \vartheta}{\sqrt{r^2+a^2+ 2 r a \cos \vartheta}}.$$
The next step is to substitute ##u=\cos \vartheta##, ##\mathrm{d} u=-\mathrm{d} \vartheta \sin \vartheta##, which leads to
$$\phi(r)=\frac{Q}{8 \pi} \int_{-1}^1 \mathrm{d} u \frac{1}{\sqrt{r^2+a^2 + 2 r a u}}.$$
Now the integral is
$$I(u)=\int \mathrm{d} u \frac{1}{\sqrt{r^2+a^2+2 r a u}}=\frac{\sqrt{r^2+a^2+2rau}}{ra}.$$
Now we have to plug in the boundaries ##u=\pm 1##:
$$I(1)=\frac{r+a}{ra}, \quad I(-1)=\frac{|r-a|}{r a}$$
So we get
$$I(1)-I(-1)=\frac{1}{ra} \times \begin{cases} 2a & \text{for} \quad r>a,\\ 2r & \text{for} \quad r<a. \end{cases}$$
So we have
$$\phi(r)=\frac{Q}{4 \pi \epsilon_0} \times \begin{cases} 1/r & \text{for} \quad r>a,\\ 1/a & \text{for} \quad r<a. \end{cases}.$$
The field is thus
$$\vec{E}=-\vec{\nabla} \phi=-\frac{\vec{r}}{r} \phi'(r)=\frac{Q}{4 \pi \epsilon_0} \times \begin{cases} \vec{r}/r^3 & \text{for} \quad r>a,\\ 0 & \text{for} \quad r<a. \end{cases}.$$
 
  • #17
David ?
 
  • #18
BvU said:
I don't think David has a problem with this derivation, but instead he is searching for a way to align the outcome with an intuitive expectation that is somewhat contrary.

That is correct, robphy provided me with lots of information It is just taking me a bit to digest all of it.
BvU said:
His choice of contributions in #11 is unfortunate and of course doesn't add up to zero -- it does not take into account all contributions.

Can you please elaborate on this, I used 2 dimensional circles instead of spheres because it is easier to draw and It should, at least I think, behave the same way, in 2D the Y components from 2 points cancel out in 3D Y and Z would also cancel out.

I thought I did consider the contributions for all points, I treated the sphere (circle in this case) as a sum of slices and deduced that since the force from each pair of slices (top and bottom) is + than the sum of all the slices would no be 0.
What contributions am I missing? Or is my assertion that 2d can model 3d wrong?

vanhees71 said:
I see! So you mean to use the Green's function to evaluate the potential.
I am not familiar with Green's Function and you brought parametric functions and potential into this, Id prefer to keep away from that for now, that is beyond meI understand that a a test charge outside a hollow sphere will be modeled the same as single charge at its center, kq/ r^2, only the field will be weaker because r is larger,
So two spheres 1 q+ and 1 q- could be treated like two points +1 and -1 at the center, which is equivalent to 0
But that is the problem, it goes against all intuition,
the inner sphere is at a further distance from the test charge than the outer, doesn't shrinking down the two spheres to point charges just ignore that Δdistance?Another question this raises for me, since robphy brought up Shell theorem for gravity,
If you have one sphere, and than place a smaller one inside of same mass like in this situation, would the gravitational force always increase 2x stronger? regardless of how smaller the inner sphere is?
 
Last edited:
  • #19
David112234 said:
Can you please elaborate on this, I used 2 dimensional circles instead of spheres because it is easier to draw and It should, at least I think, behave the same way, in 2D the Y components from 2 points cancel out in 3D Y and Z would also cancel out
There is no problem working it out in 2D; the reason for that is rotational symmetry around an axis through the center of the charge and the point of observation. In the links I hinted at in post #15 they integrate over ##\phi## from ##0## to ##2\pi## because ##\phi## does not appear in the expression for the ##\vec E## field. (Hendrik does idem in #16)

In post #11 you pick 8 points, but forget a few things:
  • the black charges are smaller than the red
  • there are no red charges 'above' the radius of the inner shell
so looking at it this way gets you nowhere. The good news is you only have to look at one of the two shells: if that gives a radial ##|\vec E| = {1\over 4\pi\epsilon_0} {Q\over r^2} ## you're done (because the other gives the same but with a minus sign).

The bad news is the integral is a lot of work (at least for lazy dimwits like me).
And the very bad news is that you probably won't bother to work it out yourself because Hendrik has already done it for you. A bit of a spoiler, but fortunately for Hendrik PF only knows likes and not dislikes (probably fortunate for me too :smile:)
Still it's worth to look at it in detail. Do you want the links or did you find them already ?

David112234 said:
the inner sphere is at a further distance from the test charge than the outer
It's not: that is exactly what the integration proves (I must correct myself a little here: it shows the average ##{1\over r^2}## is equal to the 1/distance2 to the center).

David112234 said:
If you have one sphere, and than place a smaller one inside of same mass like in this situation, would the gravitational force always increase 2x stronger? regardless of how smaller the inner sphere is?
Provided it is concentric, yes !

(Coulomb's law and the gravitational force both go with ##{1\over r^2}##).

For me the counter-intuitive result that makes me remember all this vividly is: Inside the entire inner radius sphere of a hollow planet there is no gravity from that planet itself ! (so for you this factor 2 will play that role, perhaps).
 
  • #20
In physics, you have obey the law. Otherwise, you get all those replies.
 
  • #21
I'm starting to feel favourably inclined to introducing dislikes in PF. How does that help David ?
 
  • #22
Well, to my justification for giving the complete solution: (a) it's posted in the normal forum, not in the homework section; (b) the discussion so far was totally misleading, and at such a point it's in my opinion more helpful to give the correct answer; (c) the thread was labelled I, and I consider the calculations done in my postings to be appropriate for this level.
 
  • Like
Likes BvU
  • #23
I just wondered how Meir possibly thought how he could help David this way.

So, David, how's your intuition by now ? Make sure you cultivate it (you really need it to excel!) but you want some control over it. In that sense Meir's post isn't such a bad advice after all :smile:
 
  • #24
Interesting.

But if I consider a point radially on the right outside of the two charges, and then I rotate the two spheres 180 degrees clockwise about their centers at the same time, then the point on the left would be same as the point on the right in the unrotated case. If I look at the two spheres, I wouldn't be able to tell if there was any rotation in the first place.

So shouldn't by symmetry, the E be same at every value on a spherical gaussian surface encapsulating the 2 spheres?
 
  • #25
FallenApple said:
Interesting.

But if I consider a point radially on the right outside of the two charges, and then I rotate the two spheres 180 degrees clockwise about their centers at the same time, then the point on the left would be same as the point on the right in the unrotated case. If I look at the two spheres, I wouldn't be able to tell if there was any rotation in the first place.

So shouldn't by symmetry, the E be same at every value on a spherical gaussian surface encapsulating the 2 spheres?

How do you know it is symmetrical?
 
  • #26
lychette said:
How do you know it is symmetrical?

Well its concentic spheres of postive and negative. The only geometric discription is that the positive is so and so distance away from the center and the negative is so and so distance from the center. Left and right has no meaning.
 
  • #27
I don't think there is a contradiction. The field is 0 outside. Even though the charges are same in magnitude. The charge on the outer shell is less dense. Giving rise to fields that are equal in strength but opposite in magnitude to the inner shell.
 
  • #28
BvU said:
So, David, how's your intuition by now ? Make sure you cultivate it (you really need it to excel!) but you want some control over it. In that sense Meir's post isn't such a bad advice after all

I just discovered there is a second page on this thread
Now I have more questions

So referring to gravity, for the inner sphere to increase the gravity by 2X that would mean that the smaller sphere would have to have the same magnitude of gravity at a certain distance as the outer sphere, correct?

snip3.jpg

snip2.jpg

snip1.jpg


How can the smaller sphere have the same Gravity as the larger one when the value for Gravity is dependent on the radius? Gm1m2/ r^2

BvU said:
There is no problem working it out in 2D; the reason for that is rotational symmetry around an axis through the center of the charge and the point of observation. In the links I hinted at in post #15 they integrate over ##\phi## from ##0## to ##2\pi## because ##\phi## does not appear in the expression for the ##\vec E## field. (Hendrik does idem in #16)

In post #11 you pick 8 points, but forget a few things:
  • the black charges are smaller than the red
  • there are no red charges 'above' the radius of the inner shell
so looking at it this way gets you nowhere

I believe i copy and pasted the boxes, if they are different sizes that is a mistake, they are meant to be the same charge but opposite in magnitude.
So would my representation be valid for 2 cylinders instead? Gauss law also states E=0 outside them and it is the same concept.

snip4.jpg
 
Last edited:
  • #29
David112234 said:
I just discovered there is a second page on this thread :biggrin:
Now I have more questions :rolleyes:
So referring to gravity, for the inner sphere to increase the gravity by 2X that would mean that the smaller sphere would have to have the same value for G at a certain distance as the outer sphere, correct?
And what is capital G according to you ?
 
  • #30
David112234 said:
I just discovered there is a second page on this thread
Now I have more questions

So referring to gravity, for the inner sphere to increase the gravity by 2X that would mean that the smaller sphere would have to have the same value for G at a certain distance as the outer sphere, correct?

snip3.jpg

snip2.jpg

snip1.jpg


How can the smaller sphere have the same G(d) as the larger one when the value for G is dependent on the radius? Gm1m2/ r^2
I believe i copy and pasted the boxes, if they are different sizes that is a mistake, they are meant to be the same charge but opposite in magnitude.
So would my representation be valid for 2 cylinders instead?

snip4.jpg
The strength of the outer sphere seems like it is stronger because it is closer. But because they have the same mass, and the outer sphere is larger, the outer sphere is less dense.

The strength of the outer shell by being a distance x closer makes the field strength stronger by a factor of x squared but the density of mass decreases by a factor of x squared as well, cancelling out whatever advantages of the outer shell's proximitiy might give it's field.
Also, I think the situation is topologically the same as having two infinite parallel sheets, one positive and one negative. Because the sphere's continuous looping is infinite, like a plane. So by looking at two circles on the infinite plates, you get density= Q/(2*(2pi*rsquared)) which matches the field between two plates result of sigma/epsilon. this implies (1/(4pi*epsilon))*Q which is the answer.
 
Last edited:
  • #31
BvU said:
And what is capital G according to you ?

I meant gravitational field not the gravitational constant in the formula, bad choice of letters, il edit that.
 
  • #32
David112234 said:
So referring to gravity, for the inner sphere to increase the gravity by 2X that would mean that the smaller sphere would have to have the same magnitude of gravity at a certain distance as the outer sphere, correct?
The gravitational force ##\ {GMm\over r^2}\ ## is the same, yes. Same integral as before -- or same Gauss theorem.

David112234 said:
Gravity is dependent on the radius?
Nonsense. The ##r## in ##\ {GMm\over r^2}\ ## is the distance, not the radius. Same masses, same distance, same gravitational field, same gravitational force.

I think you've got it by now.
 
  • #33
BvU said:
The gravitational force ##\ {GMm\over r^2}\ ## is the same, yes. Same integral as before -- or same Gauss theorem.

Nonsense. The ##r## in ##\ {GMm\over r^2}\ ## is the distance, not the radius. Same masses, same distance, same gravitational field, same gravitational force.

I think you've got it by now.

For the most part.
The distance from the test charge to the center of the sphere, so since both spheres have the same center the distance is the same, is that correct?
 
  • #34
I still don't understand, where's the problem to follow one of the calculations, I offered above. All these debates must confuse you more than they help. Math helps, you just have to learn it anyway! Vector calculus is usually not easy to grasp, and thus you have to get used to it by doing a lot of problems and in this way get an intuition on this math. All these qualitative arguments won't help you to understand physics!
 
  • Like
Likes BvU
  • #35
It was not about a specific problem but a Guass law situation where I could not understand how it was true. Now i get it and learned to fully trust Gauss law. Thank you for all the help.
 
  • Like
Likes BvU

FAQ: Solving Gauss' Law Problem: Zero E Field?

1. What is Gauss' Law and how does it relate to electric fields?

Gauss' Law is a fundamental principle in electromagnetism that relates the electric flux through a closed surface to the charge enclosed by that surface. Essentially, it states that the total electric flux through a closed surface is equal to the total charge enclosed by that surface divided by the permittivity of free space.

2. What does it mean for an electric field to have a zero value?

A zero electric field means that there is no net electric force acting on any charged particles within a given region. This could be due to the presence of equal and opposite charges canceling each other out, or the absence of any charges altogether.

3. How do you solve a Gauss' Law problem with a zero electric field?

To solve a Gauss' Law problem with a zero electric field, you must first identify the symmetry of the problem and choose an appropriate Gaussian surface. Then, you can use the formula for electric flux (Φ = Q/ε0) to determine the total charge enclosed by the surface. If the total charge is zero, then the electric field must also be zero.

4. Can a region have a zero electric field but still contain charges?

Yes, it is possible for a region to have a zero electric field even if it contains charges. This can occur if the charges are distributed in a way that creates a net cancellation of the electric field, such as with equal and opposite charges positioned symmetrically.

5. What are some real-world applications of solving Gauss' Law problems with a zero electric field?

Solving Gauss' Law problems with a zero electric field can be useful in understanding the behavior of electric fields in various systems, such as in capacitors or conductors. It can also be applied in engineering fields, such as designing circuits or analyzing the electric fields around power lines.

Back
Top