Coulomb's law to find electric field for charge density function

Click For Summary
SUMMARY

The discussion centers on calculating the electric field from a volumetric charge density function given by $$\rho(r) = \rho_0 \left(1 - \frac{ar}{R}\right)$$. The initial approach using Coulomb's law leads to complex integrals, making it inefficient compared to Gauss' law, which simplifies the problem significantly. Participants emphasize the necessity of defining limits for the charge density to avoid unbounded results and recommend using Gauss' law for a more straightforward solution.

PREREQUISITES
  • Understanding of Coulomb's law and Gauss' law in electrostatics
  • Familiarity with volumetric charge density concepts
  • Knowledge of multivariable calculus for integration
  • Basic principles of electric fields and symmetry in physics
NEXT STEPS
  • Study the application of Gauss' law for spherical charge distributions
  • Learn about volumetric charge density and its implications in electrostatics
  • Explore the derivation of Newton’s shell theorem through integration
  • Practice solving integrals involving radial symmetry in electric fields
USEFUL FOR

Students and professionals in physics, particularly those focusing on electromagnetism, electrical engineers, and anyone interested in advanced electrostatics problems.

Su6had1p
Messages
21
Reaction score
7
Thread moved from the technical forums to the schoolwork forums
The volumetric charge density is given as

$$\rho(r) = \rho_0 \left(1 - \frac{ar}{R}\right)$$

What shall be the Electric field at any distance ##r## ?

My approach was to directly use the coulomb's law and integrate with respect to volume.
$$ \mathbf{E}(\mathbf{r}) = \frac{1}{4\pi\epsilon_0} \int \frac{\rho({r})}{r^2} d\tau $$
$$E(r) = K \rho_0 \int_V \left(1 - \frac{ar}{R}\right) \frac{1}{r^2} r^2 \sin \theta dr d\theta d\phi $$
$$E(r) = K \rho_0 4\pi \int_0^r \left(1 - \frac{ar}{R}\right) dr $$
$$E(r) = K \rho_0 4\pi (r- \frac{ar^2}{2R})$$
$$E(r) = \frac{\rho_0}{\epsilon_0} (r- \frac{ar^2}{2R})$$

But this wrong according to my answer key and all the websites I've searched, use gauss law to get ##\vec{E}##.
My question is what did I get wrong, and can't this problem be solved using coulomb's law
 
Last edited by a moderator:
Physics news on Phys.org
Su6had1p said:
what did I get wrong

Coulomb's law ?

1722000796537.png



##\ ##
 
  • Like
Likes Delta Prime, nasu and Orodruin
BvU said:
This. The actual integrals you obtain from applying Coulomb’s law are rather nasty. This is why applying Gauss’ law makes this problem soooo much simpler.
 
I think the problem should set a limit to the charge density (r<???). Otherwise, the charge density grows without limit and we could get nasty results.
 
Last edited by a moderator:
Gordianus said:
I think the problem should set a limit to the charge density (r<???). Otherwise, the charge density grows without limit and we could get nasty results.

I second this notion. I assume ##R## is the radius of the sphere. So you have to specify whether ##r## is less than or greater than ##R##

you really ought to use Gauss’ Law as suggested above otherwise your r^2 term becomes really complicated because you have to realize that not every point on the sphere is the same distance from the field point. Furthermore you have to account for components (even if they are cancelled by symmetry)
 
BvU said:
ok, lets apply this formula!
what does it change ?
as far my thinking goes-
this integral simply adds up the product of elemental charges with the function next to them, now take for instance this ##\rho(r')## describes charge density for a sphere of radius ##R##. Now in the interior of the sphere suppose at an arbitrary distance ##r<R##, we wish to evaluate the integral, wouldn't that mean ##r'=r## ? But then we run into another problem...
 
Orodruin said:
This. The actual integrals you obtain from applying Coulomb’s law are rather nasty. This is why applying Gauss’ law makes this problem soooo much simpler.
damn!!!! a whole prof. engaging in my doubts ! thanks, and please point out if im conceptually wrong somewhere.
 
You aren't wrong. If you feel up to it, write down Coulomb's law integrand, just the integrand.
 
  • #10
Hopefully I'm not breaking PF rules but I'm going to (partially) do what @Gordianus said which is set up the integral for part ##a## and then you should ask yourself if direct integration is the best approach (I get a feeling you will find that it is not)

We know a priori the field is radially symmetric because the charge density depends solely on the radial distance so we can arbitrarily set ## \vec{r} = \left(\frac{R}{2},0,0\right)##. We know that ##\vec{r}' = \left( r' \sin \theta' \cos \phi', r' \sin \theta' \sin \phi', r' \cos \phi' \right)##

Given your ##\rho = \rho_0 \left( 1 - \frac{ar’}{R}\right)##, ##d \tau' = r'^{2} \sin \theta' d \theta' d \phi'## and your ##\vec{r}## and ##\vec{r}'##

is ##E_r = \frac{1}{4 \pi \epsilon_0} \int \,\frac{\rho \left(r’\right)}{\left| \vec{r} - \vec{r}' \right|^2} d\tau'## really something you want to tackle?
 
Last edited:
  • #11
PhDeezNutz said:
Hopefully I'm not breaking PF rules but I'm going to (partially) do what @Gordianus said which is set up the integral for part ##a## and then you should ask yourself if direct integration is the best approach (I get a feeling you will find that it is not)

We know a priori the field is radially symmetric because the charge density depends solely on the radial distance so we can arbitrarily set ## \vec{r} = \left(\frac{R}{2},0,0\right)##. We know that ##\vec{r}' = \left( r' \sin \theta' \cos \phi', r' \sin \theta' \sin \phi', r' \cos \phi' \right)##

Given your ##\rho = \rho_0 \left( 1 - \frac{ar}{R}\right)##, ##d \tau' = r'^{2} \sin \theta' d \theta' d \phi'## and your ##\vec{r}## and ##\vec{r}'##

is ##E_r = \frac{1}{4 \pi \epsilon_0} \int \,\frac{\rho \left(r\right)}{\left| \vec{r} - \vec{r}' \right|^2} d\tau'## really something you want to tackle?
No, it would be very difficult, I get your point.
 
  • #12
PhDeezNutz said:
should ask yourself if direct integration is the best approach (I get a feeling you will find that it is not)
While definitely not the easiest way forward, it should be pointed out that it is certainly possible to solve the integral. It essentially amounts to deriving Newton’s shell theorem by integration and is a pretty nice exercise in multivariable integration if one feels like it.

The easiest way of course is applying symmetry arguments and Gauss’ law, as mentioned earlier.
 

Similar threads

  • · Replies 11 ·
Replies
11
Views
1K
Replies
6
Views
1K
Replies
6
Views
3K
  • · Replies 12 ·
Replies
12
Views
1K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 18 ·
Replies
18
Views
1K
  • · Replies 4 ·
Replies
4
Views
999
Replies
2
Views
1K
Replies
6
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K