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

In summary, Coulomb's law can be applied to determine the electric field generated by a continuous charge density function by integrating the contributions of infinitesimal charge elements over the entire charge distribution. The electric field at a point in space is calculated by considering the vector sum of the electric fields produced by each charge element, taking into account their distances and directions relative to the observation point. This approach allows for the analysis of complex charge distributions and provides a comprehensive understanding of the resulting electric field in various configurations.
  • #1
Su6had1p
5
1
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
  • #2
Su6had1p said:
what did I get wrong

Coulomb's law ?

1722000796537.png



##\ ##
 
  • Like
Likes nasu and Orodruin
  • #3
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.
 
  • #4
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.
 
  • Like
Likes PhDeezNutz
  • #5
Last edited by a moderator:
  • #6
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)
 
  • #7
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...
 
  • #8
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.
 
  • #9
You aren't wrong. If you feel up to it, write down Coulomb's law integrand, just the integrand.
 
  • Like
Likes PhDeezNutz
  • #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.
 
  • Like
Likes PhDeezNutz
  • #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.
 
  • Like
Likes PhDeezNutz

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

What is Coulomb's law and how does it relate to electric fields?

Coulomb's law describes the force between two point charges. It states that the electric force (F) between two charges (q1 and q2) is directly proportional to the product of the magnitudes of the charges and inversely proportional to the square of the distance (r) between them. The electric field (E) created by a charge can be derived from Coulomb's law, as the electric field is defined as the force per unit charge experienced by a positive test charge placed in the field.

How do you derive the electric field from a continuous charge density?

To derive the electric field from a continuous charge density, you can use the principle of superposition. First, express the charge density function (ρ) in terms of its spatial coordinates. Then, for each infinitesimal volume element (dV) containing charge (dq = ρ dV), calculate the electric field contribution (dE) at the point of interest. Integrate these contributions over the entire charge distribution to find the total electric field at that point.

What is the formula for the electric field due to a line charge?

The electric field (E) due to an infinitely long line charge with uniform linear charge density (λ) can be calculated using the formula: E = (λ / (2πε₀r)), where r is the perpendicular distance from the line charge to the point where the field is being calculated, and ε₀ is the permittivity of free space. The direction of the electric field will be radially outward from the line charge if the charge is positive and inward if it is negative.

How does the electric field due to a surface charge differ from that of a point charge?

The electric field due to a surface charge with uniform surface charge density (σ) is different from that of a point charge in that it is uniform and constant at a distance from the surface. For an infinite plane sheet of charge, the electric field is given by E = (σ / (2ε₀)), directed away from the sheet for positive charge and towards the sheet for negative charge. In contrast, the electric field from a point charge decreases with the square of the distance from the charge.

Can Coulomb's law be applied to non-uniform charge distributions?

Yes, Coulomb's law can be applied to non-uniform charge distributions by treating the distribution as a collection of infinitesimally small point charges. You can use the charge density function to determine the contribution of each infinitesimal charge to the electric field at a point of interest. By integrating these contributions over the entire charge distribution, you can find the total electric field, effectively applying Coulomb's law to non

Back
Top