What is the Electric Field of a Charged Cylinder with Varying Density?

AI Thread Summary
The discussion focuses on deriving the electric field of an infinitely long charged cylinder with a charge density that varies with radius as ρ(r) = ρ₀r. For the electric field inside the cylinder (r < R), the derived expression is E = ρ₀r²/2ε, although there are suggestions to re-evaluate the integration process to ensure accuracy. For the electric field outside the cylinder (r > R), the approach involves using a Gaussian surface, and participants emphasize the importance of correctly determining the total charge enclosed. The conversation highlights the need for careful integration in cylindrical coordinates to account for the varying charge density. Overall, the participants are collaboratively refining their understanding of applying Gauss's Law in this context.
wolski888
Messages
25
Reaction score
0

Homework Statement


Consider an infinitely long charged cylinder of radius R, carrying a charge whose density varies with radius as ρ(r) = ρ_{o} r. Derive expressions for the electric field (a) inside the cylinder (i.e. r<R), and (b) outside the cylinder (i.e. r>R).

Homework Equations


Gauss's Law
q=\rho \delta\tau

The Attempt at a Solution


(a) E inside cylinder
I sketched a Gaussian surface inside of the cylinder.
I believe that E is parallel to ds ( \vec{E}||d\vec{s} )
So, gauss's law becomes E\ointds = q/\epsilon for the side

I believe the integral of ds is 2\pi r L (L being the length of the cylinder even though it is infinite.
And q = ρ_{o} r \pi r^{2} L
derived from q=\rho \delta\tau

So we have E (2\pi r L) = ρ_{o} r \pi r^{2} L /\epsilon
Simplifying to E = ρ_{o} r^{2}/ 2\epsilon

Is this correct for (a)?
And for (b) would it be the same idea but with a gaussian surface outside of R?

Thanks!
 
Physics news on Phys.org
I responded to this in your other thread, but I'll repeat here for completeness.
wolski888 said:

Homework Statement


Consider an infinitely long charged cylinder of radius R, carrying a charge whose density varies with radius as ρ(r) = ρ_{o} r. Derive expressions for the electric field (a) inside the cylinder (i.e. r<R), and (b) outside the cylinder (i.e. r>R).

Homework Equations


Gauss's Law
q=\rho \delta\tau

The Attempt at a Solution


(a) E inside cylinder
I sketched a Gaussian surface inside of the cylinder.
I believe that E is parallel to ds ( \vec{E}||d\vec{s} )
So, gauss's law becomes E\ointds = q/\epsilon for the side

I believe the integral of ds is 2\pi r L (L being the length of the cylinder even though it is infinite.
And q = ρ_{o} r \pi r^{2} L
derived from q=\rho \delta\tau

So we have E (2\pi r L) = ρ_{o} r \pi r^{2} L /\epsilon
Simplifying to E = ρ_{o} r^{2}/ 2\epsilon
So close! :cry: Try the final simplification once more. I think you forgot to cancel something out.
And for (b) would it be the same idea but with a gaussian surface outside of R?
Yes. The trick is to just be careful about determining q. When outside the cylinder, is the total charge q within the Gaussian surface a function of r or a function of R?

=====================
Edit:

I think I see the problem now. Take another look at what I've highlighted in red:
I believe the integral of ds is 2\pi r L (L being the length of the cylinder even though it is infinite.
And q = ρ_{o} r \pi r^{2} L
derived from q=\rho \delta\tau

So we have E (2\pi r L) = ρ_{o} r \pi r^{2} L /\epsilon
Simplifying to E = ρ_{o} r^{2}/ 2\epsilon
 
Last edited:
Thanks for the post!
I don't know what is wrong with the 'r'. Are you saying it should not be there? But, ρ(r) = ρ_{o} r. So I put in the 'r'. Hmm are you saying that \delta\tau is equal to: \pi r L?
 
Actually, let me give you a better hint than my previous one (admittedly, it probably wasn't a very useful hint).

Evaluate q again. I think you pulled an r out from under the integral sign when you shouldn't have.

dq = ρ dL dr rdθ

Where

ρ = ρ0r

Remember, ρ is a function of r so you can't pull it out from under the integral. You can pull ρ0 out, but not ρ. (i.e., make sure you substitute ρ0r in for ρ *before* you integrate. :wink:
 
Last edited:
Where did you get delta from?

For (a)

Q_{en} = 2 \pi \rho_0 \ell \int_{0}^{R} r^2 dr

Do you see why it is from 0 to R?
 
I will give it a shot tomorrow (its 12am here...)

flyingpig, who is the question directed to?
 
wolski888 said:
I will give it a shot tomorrow (its 12am here...)

flyingpig, who is the question directed to?

Who else but you...?
 
flyingpig said:
Where did you get delta from?

For (a)

Q_{en} = 2 \pi \rho_0 \ell \int_{0}^{R} r^2 dr

Do you see why it is from 0 to R?
Actually, that sounds great for part (b). But for part (a), I would write,

Q_{en} = 2 \pi \rho_0 \ell \int_{0}^{r} r&#039;^2 dr&#039;
where r&#039; is a dummy variable.
 
collinsmark said:
Actually, that sounds great for part (b). But for part (a), I would write,

Q_{en} = 2 \pi \rho_0 \ell \int_{0}^{r} r&#039;^2 dr&#039;
where r&#039; is a dummy variable.

Oh wait you are right, it's near my bedtime too...
 
  • #10
So then for a) E = (ρr^2)/ε ?
 
  • #11
I don't understand where the 2 is coming from in the integral... is it part of the integration of a cylinder's volume?
 
  • #12
I have E = ρ_{o} r^{2}/ε

Where r < R.

Is that right?
 
  • #13
wolski888 said:
I have E = ρ_{o} r^{2}/ε

Where r < R.

Is that right?

Not quite. (See below)

wolski888 said:
I don't understand where the 2 is coming from in the integral... is it part of the integration of a cylinder's volume?

You need to integrate the charge over the volume, meaning there's three dimensions involve. We'll use cylindrical coordinates, since that's the easiest for this particular problem.

One dimension is along the length of the cylinder, along the length of L. Let's call the differential length d \ell

Another dimension is along the radius r. Let's call the differential length of the radius dr&#039; (where r&#039; is a dummy variable, so as not to confuse it with r, one of the integration limits [the radius of the Gaussian surface]).

One remaining dimension is the direction perpendicular to r&#039;, along \theta. But this is a special differential length, because the length of this one not only varies with d \theta, but also with r&#039;. So this differential length is r&#039; d \theta.

dq = \rho \ d \ell \ dr&#039; \ r&#039;d \theta

Here, \rho is the charge density, a function of r', and should not be confused with \rho_0. We haven't made the substitution yet.

Integrating both sides we have,

q = \int_{r&#039; = 0}^r \int_{\theta = 0}^{2 \pi} \int_{\ell = 0}^L \rho \ d \ell \ dr&#039; \ r&#039; d \theta = 2 \pi L \int_0^r \rho r&#039; dr&#039;

Now make your \rho = \rho_0 r&#039; substitution and evaluate the last integral. :wink:
 
  • #14
so it is E = (ρ°r^2)/(3ε°) ?
 
Back
Top