Electric Field in a cavity of a charged sphere

In summary: I would assume that the equation for the electric field would be the same, but that the potential would be different.In summary, the student is trying to solve a problem involving electric fields and distances from a center. They state that they do not know how to solve the problem using direct integration, but they are excited to learn more about it. They mention that understanding the differential of a volume and charge is important before trying to integrate, and that doing the integration can make the Gauss law more appreciated.
  • #1
dumbdumNotSmart
41
3
NOTE: Other threads suggest solving it with Gauss' Law. I'd like to see an approach through direct integration, no full followthrough necessary..
1. Homework Statement

Consider a sphere with a uniform distribution of charge ρ (ro). Inside the sphere is a cavity (spherical). Calculate the electric field at any given point of the cavity (vacuum).
Radius of sphere: b
radius of cavity (spherical): a
a<b
Distance from center of sphere to center of cavity is vector c.

Please note the cavity is not necessarily centered.

Homework Equations


Answer to the question is E=(ρc)/(3ε)
ε is permissiveness of vacuum.

The Attempt at a Solution


So my initial approach to this would be through direct integration. I'm not sure if Gauss' Law is applicable here, if it is great, that's one way to do the problem though I'd still like to see it done through direct integration if it is not too much of a hassle.

So far the only problems I've seen done with direct integration are uniformly charged non conducting strings of varying lengths (infinite or length L). My understanding of these problems is you find some sort of way to represent the differential of charge along the volume of sphere dq. I believe in this case you'd have to use a double/triple integral when using this method, something I really am not sure how to apply in this case.

I do have a solid understanding of vector calculus, I just need to get a foothold on how to start seeing differentials in physics. I only hope that when I say I have no idea how to even begin, you will understand I really want to make the effort to do this, but "I can't even", as the youth of today says.

It'd be great to see tips on how you guys picture it, some pre-solving ritual or high quality online material that could help me out.
Thank you in advance.
 
Physics news on Phys.org
  • #3
Dr Transport said:
What does Gauss's law say about this problem...
Gauss' Law is great but I want to see how someone would integrate directly on this given example.
 
  • #4
this is a typical Gauss's law problem, three integration's are necessary for the three regions of interest.
 
  • #5
Alright, let's see... We could construct a sphere around the sphere since there's symmetry?
 
  • #7
dumbdumNotSmart said:
...I'd still like to see it done through direct integration if it is not too much of a hassle.
Yes, doing this integral is quite a hassle, it's a good exercise for mechanical part of your mathematical skills, but before you start integrating;​

Consider that you don't have a sphere with a cavity. You know that if you have 2 or more charges around that the field they produce is a sum(*) of the two vectors, same applies for the potential (in scalar sense). The idea of this problem is to use the Gauss law so that you can easily find the functional relation between the electric field and distance from the center of the sphere and then in the second step use the principle of superposition(*) to add these fields.

What will make you really appreciate Gauss(**) law is doing this integral.
Consider placing your non-empty sphere at a point [tex](0,0,d)\; \; \; where\; \; \; d<R [/tex] you probably know that [tex]\vec{E}=-\vec{\bigtriangledown} U \; \; \;and \; \; \; U=\frac{q}{4\pi\epsilon_{0}r}[/tex] for this simple case where field is radial with respect to the center of the sphere (it can be easily shown by symmetry) that [tex]\vec{E}=-\frac{\partial U}{\partial r}\hat{r}. [/tex] The differential of a volume and charge are:[tex]dq=\rho\cdot dV ,dV=r^2sin(\theta)drd\theta d\varphi [/tex]
Now, for a fixed angle [itex]\theta[/itex] and [itex]\varphi[/itex] radius will range from [tex]0<r<d\cdot cos(\theta)+\sqrt{R^2-d^2sin^2(\theta)}[/tex]

This should be enough of a hint how to directly integrate, this link can help a lot if you get stuck:
integral-calculator.com

Cheers!(**) With the Gauss law, solving the relational part of the problem is two short rows of math.
 
Last edited:
  • Like
Likes dumbdumNotSmart
  • #8
Woah! Thanks for the reply, I'll put it down on paper as soon as I get back home and try to squeeze the juice out of it until I give into gauss.
I'll let you know about how it goes!
 
  • #9
VMP said:

What will make you really appreciate Gauss(**) law is doing this integral.
So I see you are implementing potential here. I should have let you know I have just started the electricity and magnetism course in my university and so far we´ve only seen the core basics. So the equation you show in your work was completely uknown to me until now. I guess my teachers intention was we try it out using Gauss.

So if we were to do the problem using Gauss, we´d construct a sphere around the given sphere. If we were to imply symmetry, I´d put the cavity centered around (0,0,c) (if it is wise to take the spheres center as the origin). The charged part of the sphere would be the surface since all charges are drawn there by EM force between themeselves. So now all there is to it is to know how to integrate the bloody thing. We have two surfaces... how does this even work?
 
  • #10
first of all, draw a Gaussian surface for [itex] r < a [/itex], how much charge do you enclose?? Do the same for [itex] a<r<b[/itex], how much charge do you enclose (hint, [itex] \rho(r)[/itex] is a constant with respect to [itex] r [/itex]). Do the same for [itex] r > b [/itex].
 
  • #11
dumbdumNotSmart said:
So I see you are implementing potential here. I should have let you know I have just started the electricity and magnetism course in my university and so far we´ve only seen the core basics. So the equation you show in your work was completely uknown to me until now. I guess my teachers intention was we try it out using Gauss.

Okay, I tried to avoid integrating the differential [itex]d\vec{E}[/itex] since it contains [itex]\hat{r}[/itex] vector which is not invariant(*) to coordinate change like [itex](\hat{x},\hat{y},\hat{z})\equiv (\hat{i},\hat{j},\hat{k})[/itex] unit vectors.

After a few tries I noticed it simplifies quite a bit (pardon me for complicating the matter ), so I will proceed to hint a few critical points:

Starting from differential, [tex]d\vec{E}=\frac{dq}{4\pi\epsilon_{0}}\hat{r}.[/tex]

Vector [itex]\hat{r}[/itex] is related to [itex](\hat{x},\hat{y},\hat{z})[/itex] in the following way:[tex]\hat{r}=cos(\varphi)sin(\theta)\hat{x}+sin(\varphi)sin(\theta)\hat{y}+cos(\theta)\hat{z},[/tex]

where [itex]\varphi[/itex] is the azimuth (angle in the xy plane) and [itex]\theta[/itex] is the polar angle (from top to bottom angle ).
558px-3D_Spherical.svg.png


Let us place the nonempty sphere at [itex](0,0,d)[/itex] point as before. Recall that because of symmetry the direction of vector [itex]\vec{E}[/itex] must be in the [itex]-\hat{z}[/itex] direction, therefor once you set up your integral(**) the contributions of integrals that are multiplied by [itex]\hat{x}[/itex] and [itex]\hat{y}[/itex] are [itex]0.[/itex]

(*) In physics; Polar, cylindrical and spherical unit vectors are used a lot, but they vary with angles so when you're summing up ("integrating" ) contributions from charges at different positions the vectors point in various ways; Therefor you have to switch to [itex](\hat{x},\hat{y},\hat{z})[/itex] unit vectors that aren't functions of angles [itex]\theta[/itex] and [itex]\varphi [/itex] which means you can pull vectors [itex]\hat{x},\;\hat{y},\;\hat{z}[/itex] out of the integral.

(**)You can use the older post where I hinted what is the range of [itex]r[/itex].

Cheers!

P.S. You can vary the distance [itex]d[/itex] for values less than [itex](R:=radius \; \; of\; \; the\; \; sphere)[/itex] and more than [itex]R[/itex] to convince yourself that Gauss law really works, it should be the same setup with different integral bounds.
 
Last edited:
  • Like
Likes dumbdumNotSmart
  • #12
Start with the definition of the electric field

[itex]\vec{E}(\vec{r}) = \frac{1}{4\pi\epsilon_{0}}\int\int\int\frac{\rho(\vec{r}')(\vec{r} - \vec{r}')}{|\vec{r} - \vec{r}'|^{3/2}} d\tau'[/itex] where [itex] d\tau'= r'^2 dr \sin(\theta')d\theta' d\phi'[/itex]. The definition of [itex] \vec{r}' [/itex] is [itex] x'\hat{x} + y'\hat{y} + z'\hat{z}[/itex] with the corresponding definition for [itex] \vec{r}[/itex]. Plug the definitions of [itex] x, y, z[/itex] and [itex] x', y', z'[/itex] in spherical coordinates and do the math by integrating over the primed (source points). No need to start with the potential. Do not mess with the unit vectors, if you do the integrals correctly, the [itex] \hat{r}[/itex] should pop out at the end.

This is the way you always set up electric field, magnetic field and vector and scalar potential problems, start in Cartesian coordinates then work forward, I always told my students this is the only way to get the correct solution at the end, starting in any other coordinate system is looking for trouble.
 
Last edited:
  • Like
Likes dumbdumNotSmart

1. What is an electric field?

The electric field is a physical quantity that describes the force experienced by a charged particle at any given point in space. It is a vector quantity, meaning it has both magnitude and direction. The electric field is created by electric charges and can be either positive or negative.

2. How is the electric field in a cavity of a charged sphere calculated?

The electric field in a cavity of a charged sphere is calculated using the principle of superposition. This means that the electric field at any point inside the cavity is the sum of the electric fields created by all the charges present inside the cavity. This can be mathematically expressed using Coulomb's law and taking into account the direction and magnitude of the electric field created by each individual charge.

3. Why is the electric field inside a charged spherical cavity zero?

The electric field inside a charged spherical cavity is zero because of the principle of electrostatic shielding. This means that the electric field inside a conductor is zero because any excess charges will redistribute themselves on the surface of the conductor, creating an equal and opposite electric field inside the conductor that cancels out the original field.

4. How does the electric field in a cavity of a charged sphere change with the distance from the center?

The electric field in a cavity of a charged sphere follows an inverse-square law, meaning that it decreases with the square of the distance from the center of the sphere. This is consistent with Coulomb's law, which states that the force between two charges is inversely proportional to the square of the distance between them.

5. What is the significance of studying the electric field in a cavity of a charged sphere?

Studying the electric field in a cavity of a charged sphere has several practical applications, such as in understanding the behavior of electric fields in capacitors and conducting materials. It also helps in understanding the principles of electrostatic shielding, which is important in designing and protecting electronic devices from external electric fields. Additionally, studying the electric field in a cavity of a charged sphere is an important concept in electromagnetism and has various applications in engineering and physics.

Similar threads

  • Introductory Physics Homework Help
Replies
17
Views
398
  • Introductory Physics Homework Help
Replies
8
Views
2K
  • Introductory Physics Homework Help
Replies
2
Views
892
  • Introductory Physics Homework Help
Replies
14
Views
629
  • Introductory Physics Homework Help
Replies
1
Views
740
  • Introductory Physics Homework Help
Replies
7
Views
866
  • Introductory Physics Homework Help
Replies
8
Views
2K
  • Introductory Physics Homework Help
Replies
9
Views
258
  • Introductory Physics Homework Help
Replies
12
Views
1K
  • Introductory Physics Homework Help
Replies
12
Views
1K
Back
Top