Coulomb's law and spherical charge distribution

In summary, the homework statement is that to find the electric field inside a sphere with uniform charge density, use triple integration. I tried changing to spherical coordinates, but I could not find an equation that gave me the field magnitude and the z-component. I think it would be more convenient to place the point where the electric field is evaluated on the z-axis and at a distance of a from the origin. Finally, I found the z-component of the field unit vector by multiplying the magnitude by cos(θ).
  • #1
Avatrin
245
6

Homework Statement


Find the E produced by a spherical charge distribution with uniform charge density at a point inside the sphere, using triple integration.


Homework Equations


E = 1/4πε ∫f(x,y,z)/r^2 dV


The Attempt at a Solution


f(x,y,z) = p
Radius of sphere = R
Position of point = d = (a,b,c)

E = p/4πε ∫∫∫1/r^2 dxdydz

I tried several things. Among them:

I change to spherical coordinates.
0≤θ≤pi
0≤φ≤2pi
r ≤ R

E = 1/4πε ∫∫∫p/r^2 *r^2sinθdrdθdφ = p/4πε ∫∫∫sinθdrdθdφ = pR/ε

I tried setting (r-d)^2≤R^2, but didn't get anywhere.

Anyhow... The answer I get is not pr/3ε (I don't even know if the r in this answer is supposed to be the radius of the sphere or the distance from origin to what I called d)
 
Physics news on Phys.org
  • #2
You don't have to position the point at (a, b, c). This just makes things more complicated than it needs to be. Assume that the point is on the x-axis, at distance a from the origin (why can you do this?).
 
  • #3
Because I am dealing with the symmetries of a sphere (and can just turn the sphere around if the point is somewhere else), but I still do not know how to get the right integral.
 
  • #4
Take a small element at ##(r, \theta, \phi)## in the sphere. What is the electric field due to it at ##(a, \pi/2, 0)##?

Note the field is vectorial. Due to the symmetries, you can probably figure out the direction of the field without computing it explicitly, so you only have to consider the components of the field in that direction.
 
  • #5
The force is pointing in the radial direction.

E = k * dV/r12
r1 is the distance from dV to a

I tried rewriting r1 in terms of r and a using the law of cosines and got:

r12 = a2 + r2 - 2arcos(π/2 + θ)cos(ϕ)

E*dV = k *dV / (a2 + r2 - 2arcos(π/2 + θ)cos(ϕ)) =

This cannot possibly be the integral they are expecting me to solve (but, then again, I am horrible with spherical coordinates, so maybe there is something I am forgetting).
 
  • #6
I do not think your expression for the square of the distance is correct. In Cartesian coordinates, the square of the distance between ##(x, y, z)## and ##(X, Y, Z)## is ## (x - X)^2 + (y - Y)^2 + (z - Z)^2##. In this case, ##(X, Y, Z) = (a, 0, 0) ##, so the square of the distance is ## (x - a)^2 + y^2 + z^2 = a^2 - 2 ax + x^2 + y^2 + z^2 = a^2 - 2 a r \sin \theta \cos \phi + r^2 ##.

Secondly, ## E = k dV /r_1^2 ## is the magnitude of the entire vector of the electric field. You need to find its component parallel with the x axis.

Thinking about this some more, I believe it will be more convenient to place the point where the electric field is evaluated on the z-axis, also at distance ##a## from the origin. Then the square of the distance is ## a^2 - 2 ar \cos \theta + r^2 ##, which has no dependency on ## \phi ##. Then you need to find the component of the electric field in the direction of z.
 
  • #7
You are right. I wrote a2 + r2 - 2arcos(π/2 + θ)cos(ϕ). It should have been a2 + r2 - 2arcos(π/2 - θ)cos(ϕ) (since cos(π/2 - θ) = sin(θ)).

But, if I try spherical coordinates, and try to get only the z-component, I get:

k∫∫∫ cos(θ) r2 sin(θ)/ (a2 + r2[/SUP - 2arcos(θ)) = k∫∫∫ (r2 sin(2θ) / 2(a2 + r2 - 2arcos(θ))) dϕdθdr = 2kpi ∫∫ (r2 sin(2θ) / 2(a2 + r2 - 2arcos(θ))) dθdr

Another integral that seems too complex for this course.

Is there any clever trick I am missing? Or is there no easier way to do this?
 
  • #8
If you think you get the z-component by multiplying the magnitude by ## \cos \theta ##, you are mistaken.

The E-field is directed along the displacement vector. The displacement vector is ## (-x, -y, a - z) ##. The unit vector in the direction of the displacement vector is $$

\frac 1 {\sqrt{a^2 + r^2 - 2 a r \cos \theta }} (-x, -y, a - z)

$$ Hence, the z-component of the field unit vector is $$

\frac {a - z} {\sqrt{a^2 + r^2 - 2 a r \cos \theta }} = \frac {a - r \cos \theta } {\sqrt{a^2 + r^2 - 2 a r \cos \theta }}

$$ Now that you have the magnitude of the field, and the z-component of the field unit vector, what is the z-component of the field?
 
  • Like
Likes 1 person
  • #9
Right.. I always forget that there is supposed to be an r with a hat on it in the equation. In that case I get:

EzdV = kp (a-rcos(θ)) r2 sin(θ)dθdrdϕ/ (a2 + r2 - 2arcos(θ))3/2

Integrating that:

2∏kp∫∫(a-rcos(θ)) r2 sin(θ)dθdr/ (a2 + r2 - 2arcos(θ))3/2

I am again probably doing something wrong. I can't make the integral above become 2r/3.

Also, why is the displacement vector (-x,-y,a-z)?
 
Last edited:
  • #10
The integrals look OK to me now. Try ## u = \cos \theta ##.

The displacement vector is ## (-x, -y, a - z) ## because we evaluate the field due to the element at ## (x, y, z) ## at the point ## (0, 0, a) ##, hence the displacement is ##(0, 0, a) - (x, y, z) = (-x, -y, a - z)##.
 

Related to Coulomb's law and spherical charge distribution

1. What is Coulomb's law?

Coulomb's law is a fundamental law in physics that describes the electrostatic force between two point charges. It states that the force of attraction or repulsion between two charges is directly proportional to the product of the charges and inversely proportional to the square of the distance between them.

2. How does Coulomb's law apply to spherical charge distributions?

Coulomb's law can be used to calculate the force between two spherical charge distributions by considering them as a collection of point charges. The total force between the two distributions is the sum of the forces between each pair of point charges.

3. What is a spherical charge distribution?

A spherical charge distribution is a distribution of electric charge that is evenly spread over the surface of a sphere. This can occur in objects such as conductors or particles with a spherical shape.

4. How is Coulomb's law affected by changes in distance between charges?

According to Coulomb's law, the force between two charges decreases as the distance between them increases. This means that the force is inversely proportional to the square of the distance between the charges.

5. Can Coulomb's law be applied to non-spherical charge distributions?

Yes, Coulomb's law can be extended to non-spherical charge distributions by using vector calculus and integration. This allows the calculation of the force between any type of charge distribution, as long as the individual charges can be considered as point charges.

Similar threads

  • Introductory Physics Homework Help
Replies
3
Views
821
  • Introductory Physics Homework Help
Replies
17
Views
427
  • Introductory Physics Homework Help
Replies
6
Views
1K
  • Introductory Physics Homework Help
Replies
4
Views
833
  • Introductory Physics Homework Help
Replies
10
Views
2K
  • Introductory Physics Homework Help
Replies
8
Views
2K
  • Introductory Physics Homework Help
Replies
1
Views
1K
  • Introductory Physics Homework Help
Replies
17
Views
457
  • Introductory Physics Homework Help
Replies
12
Views
3K
  • Introductory Physics Homework Help
Replies
6
Views
79
Back
Top