Electric field and Guass' Law question

AI Thread Summary
The discussion revolves around understanding Gauss' Law in the context of an infinite line of charge surrounded by a charged cylinder. The original poster seeks guidance on calculating the electric field in different regions defined by the inner and outer radii of the cylinder, expressing confusion over transitioning from point charge examples to this scenario. Key points include the importance of using a cylindrical Gaussian surface to apply Gauss' Law and determining the charge density's units, which are confirmed to be charge per unit volume. The conversation emphasizes the necessity of integrating the variable charge density across the volume to find the total charge, rather than treating it as constant. Ultimately, the discussion highlights the complexities of variable charge densities and the application of calculus in solving such problems.
l1fesavers
Messages
27
Reaction score
0
Hi, I'm trying to complete the weekly homework questions that have been assigned to me but I am quite stuck. I've searched all over the web and watched a few youtube lectures but I can't seem to wrap my head around Gauss' law. I was hoping someone could help point me in the right direction!

Homework Statement


Imagine an infinite line of charge with charger per unit (+)lamda. Surrounding the line of charge is a cylinder with inner radius a and outer radius b. The cylinder has a charge density of (ALPHA*r). Answer in terms of quantities given or a subset, use Gauss' law.

Units of Alpha?
Electric field for r < a
Electric field for a < r < b
Electric field for r > b

I have seen so many examples of a typical problem with a gaussian sphere around a point charge, but I cannot wrap my head around how to go from that to solving a problem like this. I don't want to solution, just someone to point me in the right direction so I can go from there and hopefully arrive at the correct solution!

Thanks!
 
Physics news on Phys.org
Probably the best way to start would be to calculate the field from the line of charge alone, without worrying about the other cylinder of charge outside of it. Are you familiar with how to do that problem?
 
My instinct is to use Coloumb's law...

E = kQ/r^2

Since the line is infinitely long, I can basically treat it as a point charge?

EDIT

Okay, so that's completely wrong. I'm going to type this out in words (hope it will help me solidify my understanding.

Using the definition of Electric Flux as "Electric field * Area perpendicular to the field", and then also using Gauss' law which says the flux is the enclosed charge over epsilon not, i can come to this:

EA = Q/epsilonNot

Then I know that Q = density*Length, and that the area of my "gaussian surface" is 2pi*r*L.

E * 2pi * r * L = density*L/epsilonNot

Then get the Electric field E:

E = density/2pi*r*epsilonNot

...
 
Last edited:
Hi l1fesavers,

No you cannot treat an infinite line charge as a point charge.

Let's look at the first question: Finding the units of \alpha.

If I place some charge on a hollow cylinder, what kind of charge density do I have? Is it Coulomb's per unit length? Coulombs per unit area? Coulombs per unit volume?
 
Not exactly. This problem is fundamentally different from a point charge problem, because the field doesn't fall off in all three dimensions, just two.

Gauss's Law can tell you the answer to this. For your Gaussian surface, try a cylinder of length L and radius r, surrounding the line of charge. Start by working out how much charge is inside of the cylinder, and then see what you can deduce from that using Gauss's Law.
 
l1fesavers said:
EA = Q/epsilonNot

Then I know that Q = density*Length, and that the area of my "gaussian surface" is 2pi*r*L.

E * 2pi * r * L = density*L/epsilonNot

Then get the Electric field E:

E = density/2pi*r*epsilonNot

...

Bingo. Now try and apply similar reasoning to the case where your surface encompasses the outer cylinder as well.
 
Thanks for the help so far! I just edited my post but I'll put it here as well...

Using the definition of Electric Flux as "Electric field * Area perpendicular to the field", and then also using Gauss' law which says the flux is the enclosed charge over epsilon not, i can come to this:

EA = Q/epsilonNot

Then I know that Q = density*Length, and that the area of my "gaussian surface" is 2pi*r*L.

E * 2pi * r * L = density*L/epsilonNot

Then get the Electric field E:

E = density/2pi*r*epsilonNot

------------------------------------------------------------

As for placing a charge on a hollow cylinder, it would be... Coloumbs per unit area? Because it is on the "surface"... ?
 
l1fesavers said:
As for placing a charge on a hollow cylinder, it would be... Coloumbs per unit area? Because it is on the "surface"... ?

My apologies, I misread the problem. Yes, that would have been correct. But it sounds like we're dealing with a cylinder of some volume, i.e. a cylinder that has had part of its middle cut out (perhaps Chopin can confirm that).

So if we're dealing with a volume, the charge density has what units then?
 
l1fesavers said:
As for placing a charge on a hollow cylinder, it would be... Coloumbs per unit area? Because it is on the "surface"... ?

If I read your problem right, the cylinder has finite thickness, right? If so, you need to be thinking about volume, not area.
 
  • #10
Yes. The surrounding cylinder has an inner radius a and outer radius b, and has a charge density of alpha*r

So then we're dealing charge per unit volume
 
  • #11
l1fesavers said:
Yes. The surrounding cylinder has an inner radius a and outer radius b, and has a charge density of alpha*r

So then we're dealing charge per unit volume

Right. So if the units of charge density are charge/volume, what are the units of alpha? Use dimensional analysis.
 
  • #12
It feels intuitively wrong but this is what I can come up with.

If the density is Q/m^3 and we have it defined as alpha*r, and r is "1 dimension" then for the density to work out to Q/m^3, alpha would have to be..

Q/m^4 ?
 
  • #13
l1fesavers said:
It feels intuitively wrong but this is what I can come up with.

If the density is Q/m^3 and we have it defined as alpha*r, and r is "1 dimension" then for the density to work out to Q/m^3, alpha would have to be..

Q/m^4 ?

That's correct. But you would want to say "Coulombs per meters^4" or "charge per unit length^4," since Q is not a unit.

Now you've already found the E-field for r < a, let's call it EI to denote the E-field for region I. Then:

\vec{E}_1 = \frac{\lambda}{2\pi\epsilon_0}\hat{r}

Again, you're going to use Gauss' Law to find the E-field for a < r < b, let's call it region II. So we're looking for EII.

First, it may be helpful to completely forget about the line charge, and simply find the field inside of the cylinder. Remember that we're looking for the field as a function of r.
 
  • #14
E_M_C said:
That's correct. But you would want to say "Coulombs per meters^4" or "charge per unit length^4," since Q is not a unit.

Are you sure that's right? I'm pretty sure you can't incorporate the radius into the units of the density like that. It so happens that the density is linearly dependent on the radius here, but it wouldn't have to be. What if the density were \alpha \sin(2\pi r), or something screwy like that? If your reasoning applies, what would the units be for that?

I'm pretty sure the units on the density need to just be charge per meters^3, because in order to turn the density into an amount of charge, you need to multiply by a volume, which is meters^3. However, since the density is variable across space, you will also need to integrate over the volume in question--you can't simply do it by straight multiplication like you could if the density was constant.
 
  • #15
Chopin said:
Are you sure that's right? I'm pretty sure you can't incorporate the radius into the units of the density like that. It so happens that the density is linearly dependent on the radius here, but it wouldn't have to be. What if the density were \alpha \sin(2\pi r), or something screwy like that? If your reasoning applies, what would the units be for that?

I'm pretty sure the units on the density need to just be charge per meters^3, because in order to turn the density into an amount of charge, you need to multiply by a volume, which is meters^3. However, since the density is variable across space, you will also need to integrate over the volume in question--you can't simply do it by straight multiplication like you could if the density was constant.

You guys have lost me...
 
  • #16
would the electric field within the cylinder (inner radius a, outer radius b) just be the electric field @ b minus the electric field @ a?

Also, how do you guys get the formatted equations?
 
  • #17
Sorry, that was a bit of a tangent. The fundamental thing you need to focus on now is, how do you determine how much charge is inside of a given volume? That's what you need for Gauss's Law to work. With the line of charge it was easy--just multiply the density times the length. For this, it's a bit trickier, because it's a density in three dimensions, and it's also variable across space--namely, it gets higher the closer you get to the center.

You might start by pretending the density is constant, i.e. it's just \alpha, instead of \alpha r. Try to work out how much charge is in a cylinder of a given size in that case. Then, generalize to a variable density.
 
  • #18
l1fesavers said:
would the electric field within the cylinder (inner radius a, outer radius b) just be the electric field @ b minus the electric field @ a?

Also, how do you guys get the formatted equations?

No, it's a bit more complicated than that. Once again, try to think through it step-by-step with Gauss's Law...don't try to take any shortcuts just yet.

To get the formatted equations, use the [ tex ] tag (or [ itex ] tag for inline equations). Those tags use the \TeX math formatting language, which is useful to know for lots of reasons if you're in the math/physics business.
 
  • #19
Chopin said:
I'm pretty sure the units on the density need to just be charge per meters^3, because in order to turn the density into an amount of charge, you need to multiply by a volume, which is meters^3.

That's the reasoning I tried to follow:

[\rho] = \frac{[charge]}{[length]^{3}} = [\alpha] \cdot [length] \rightarrow [\alpha] = \frac{[charge]}{[length]^{4}}

Are you're saying the units should be:

[\alpha] = \frac{[charge]}{[length]^{3}}\frac{1}{r}

And r should be kept separate?

I double-checked my units for all the E-fields, they appear to work out correctly.
 
  • #20
The units will happen to work out, but they're lying to you. You have to approach it differently.

Imagine taking a very small box of volume V, so small that the density variance from one end of the box to the other is so small that it's negligible. In that case, the total charge contained within the box is Q = \rho(r)\cdot V. Now imagine the next box over. It's a slightly different amount of charge, because the density is different: Q&#039; = \rho(r&#039;)\cdot V. And so on and so on...each box is going to have a different amount of charge in it. To get the total charge, you have to add up all of the little boxes. Also, our assumption that the charge density is constant is not actually true for any finite-sized box. So we also need to take the limit as V\rightarrow 0.

You should be starting to get itchy memories of Calculus I at this point--this is the definition of an Riemann sum, also known as an integral. Therefore, what you really need to do is to perform a volume integral of \rho(r) over the cylinder--that's the way to get the total amount of charge for a continuously-varying density. This method will work for any charge density, not just one which is of the form \alpha r--you could have something crazy like \rho(r) = r^{17} + e^{2 \cos(r)} and it would still work, assuming you were clever enough to do the integral.
 
  • #21
Chopin said:
The units will happen to work out, but they're lying to you. You have to approach it differently.

Those pesky units! :p

Chopin said:
Imagine taking a very small box of volume V, so small that the density variance from one end of the box to the other is so small that it's negligible. In that case, the total charge contained within the box is Q = \rho(r)\cdot V. Now imagine the next box over. It's a slightly different amount of charge, because the density is different: Q&#039; = \rho(r&#039;)\cdot V. And so on and so on...each box is going to have a different amount of charge in it. To get the total charge, you have to add up all of the little boxes. Also, since our assumption that the charge is constant is not actually true for any finite-sized box, we need to take the limit as V\rightarrow 0.

You should start to be getting itchy memories of Calculus I at this point--this is the definition of an Riemann sum, also known as an integral. Therefore, what you really need to do is to perform a volume integral of \rho(r) over the cylinder--that's the way to get the total amount of charge for a continuously-varying density. This method will work for any charge density, not just one which is of the form \alpha r--you could have something crazy like \rho(r) = r^{17} + e^{2 \cos(r)} and it would still work, assuming you were clever enough to do the integral.

That makes perfect sense, but that sounds a lot like the Coulomb integral, where you integrate over a volume. But when you're using Gauss' Law you're integrating over a surface (in this case the surface of a cylinder). Even if the charge density ρ varies over the volume of the cylinder, Gauss' Law still works. I'm still not getting how alpha wouldn't have units of charge/length^4.
 
  • #22
E_M_C said:
That makes perfect sense, but that sounds a lot like the Coulomb integral, where you integrate over a volume. But when you're using Gauss' Law you're integrating over a surface (in this case the surface of a cylinder). Even if the charge density ρ varies over the volume of the cylinder, Gauss' Law still works. I'm still not getting how alpha wouldn't have units of charge/length^4.

Can you clarify what you mean by "Coulomb Integral"?

Remember that Gauss's Law works off of the "total contained charge", which means it involves both a volume integral and a surface integral. Technically speaking, it's written as:

\int_V d^3x \frac{\rho(x)}{\epsilon_0} = \int_S d^2S \cdot E(S)

Which means you can take the volume integral of the density, and it will be equal to the surface integral of the flux (technically speaking, this is an application of the Divergence Theorem of vector calculus). Often, however, the "volume integral" is so trivial that we don't even think about it as an integral--for instance, if it's a point charge, then we know the total charge right away. In the case of a line of charge, the total charge is the density times the length, as we calculated up above. If it were a constant density, then the total charge is the density times the volume.

All of those calculations are technically volume integrals, but since they're constant, you can perform the integral trivially by just multiplying. In the case of a variable density like this, though, you aren't so lucky. You instead have to perform an integral over the volume in order to get the total charge.
 
Last edited:
  • #23
sometimes the correct response is - thank you...
 
  • #24
By the Coulomb integral, I just mean:

\vec{E}(\vec{r}) = \int_{V} \frac{1}{4\pi\epsilon_0}\frac{\rho(\vec{r&#039;})}{| \vec{r}-\vec{r&#039;}|^2}\hat{r}

Which accounts for a charge density that varies over space.

Let me confirm that I am assuming that alpha is a constant, but even if it were not, the units should still be charge/length^4. You spoke of integrating the charge density to get the total charge:

Q = \int_{V} \rho(\vec{r&#039;}) dV = \int \int \int \alpha \cdot r \cdot r \cdot dr d\phi dz = \frac{\alpha}{3}[b^3 - a^3] \cdot 2\pi l

Where l is the length of the cylinder. Looking at the units, we have:

[Q] = [\alpha][length]^3[length] = [charge] \rightarrow [\alpha] = \frac{[charge]}{[length]^4}

Even if alpha was somehow dependent on the position in space and we couldn't pull it out of the integral, it should still work out to have the same units. It wasn't indicated in the problem that alpha does (or might) depend on position.

Anyway, I'm starting to get worried that we're frightening the OP, haha. Have you made any progress l1fesaver?
 
  • #25
Unfortunately at the moment I am quite stuck
 
  • #26
l1fesavers said:
Unfortunately at the moment I am quite stuck

Try thinking about how you would write the charge density for the cylinder alone. I have to run out for a short while, so I'll let you and Chopin work on it. If you still need help when I get back, I'll be happy to pick up where you and Chopin left off. I shouldn't be too long.

@Chopin
I appreciate the dialogue! Perhaps I have to think more deeply about what you're getting at.
 
  • #27
Ok, so just ignore everything E M C and I have been discussing. Gauss's Law says you need to know the total amount of charge inside your volume, right? So let's try to work out how to determine that.

Imagine that the density is constant--let's say it's \alpha for all space. In that case, how much charge is contained in an area of space with volume V?
 
  • #28
Okay, then charge contained would be Q = \alpha V
 
  • #29
E_M_C said:
@Chopin
I appreciate the dialogue! Perhaps I have to think more deeply about what you're getting at.

Just to close out our little side discussion--try running your same logic for the case \rho(r) = e^{r}. I think you'll find that it's more difficult to determine the units in that case.

The difference is that the m^{-3} of \alpha are attached to a volume (namely, the infinitesimal volume in the volume integral), whereas the other r is attached to a position in space, which is not an infinitesimal. That r is eliminated when we do the volume integral, and the m^{-3} is canceled by the d^3x of the volume integral.
 
  • #30
l1fesavers said:
Okay, then charge contained would be Q = \alpha V

Right. So if the density were constant, then we would be done--you'd just multiply by the volume of the funny hollowed-out cylinder, and that would be it. Unfortunately, since the density is not constant, it's not that simple.

Instead, you'll need to do an integral over the volume of the cylinder. See my description in Post #20 about why that is, and let me know if it makes sense.
 
  • #31
Okay so in our case \rho (r) = \alpha r. So...

I would integrate, from r=a to r=b of \alpha r \pi L r^2
 
  • #32
Not quite--think about this integral as being a bunch of cylindrical shells that have an infinitesimal thickness of dr. The volume of such a shell is 2\pi rL\:dr (imagine unrolling it).
 
  • #33
I'm heading in this direction... dQ = \alpha r 2 \pi L r dr
 
  • #34
l1fesavers said:
I'm heading in this direction... dQ = \alpha r 2 \pi L r dr

That's it. Now use that to find the total charge.
 
  • #35
\int_{a}^{b} \alpha r^2 2 \pi L dr

2 \pi L \alpha \int_{a}^{b} r^2 dr

2/3 \pi L \alpha (b^3 - a^3)
 
  • #36
Looks right to me. You're in the home stretch now..."finish him"!
 
  • #37
So now it's pretty much the same as before...

EA = Q_{enc}/\epsilon_{0}

E 2 \pi rL = 2\pi/3 L \alpha (b^3-a^3)

E = \dfrac{ \alpha (b^3 - a^3)}{3r\epsilon_{0}}

edit: really liking this Latex thing, sorry if it's a bit messy still
 
  • #38
And there you go. Now you've computed the field in Region I, and for Region III (but don't forget to add the line of charge back in--it contributes to Q_{enc} for all regions.) Last stop is calculating Region II, which you should be able to do from your existing work. As a final check, try confirming that the field strength is continuous as you move between regions.
 
  • #39
Okay, so I must have conceptually lost something. I was under the impression we were doing region II (a < r < b)?
 
  • #40
No, that expression doesn't work for Region II. Remember that you only count the charge which is inside the Gaussian surface, so your volume integral only goes up to r. If r &lt; b, then the bounds of your integral aren't right.

It might be clearer if you change the name of your integration variable...try calling it R instead of r, so that you can keep track of which ones are your integration variable, and which are the radius of your Gaussian cylinder.
 
  • #41
Woosh. Okay let me start from scratch real quick then. By the way, thank you so much for this walk through, I cannot even begin to express how much it helps and how thankful I am!

This is what I kind of figured...

I was integrating from r = a to b (the "thickness" of the cylinder shell) so that we would find the charge contained within that volume. Why doesn't that correspond to a < r < b?
 
  • #42
Because what you're ultimately trying to find is the electric field for any given radius r. Gauss's Law says that you can find this by finding the flux on a cylinder of radius r, which in turn is proportional to the charge contained inside of it. So what you're trying to work out is the total charge enclosed within a cylinder of radius r.

So if a &lt; r &lt; b, then we don't actually care about the total charge in the cylinder, only the amount of that charge which falls inside radius r. So you need to integrate from a to r only...the remaining charge outside of that radius makes absolutely no contribution to the electric field at r. This is a general result, and is, in my opinion, the single most surprising consequence of Gauss's Law.
 
  • #43
Okay that actually makes good sense to me. So in that case for region II our result would only need to be modified slightly...

E = \dfrac{ \alpha (r^3 - a^3)}{3r\epsilon_{0}}

Now you mentioned that I still need to include the original line charge so that would be something like:

Q_{enc} = Q_{1} + Q_{2} where Q1 was line charge and Q2 was the cylindrical shell?

I feel like I'm not doing that right...
 
  • #44
Going through the process for Region III again but this time including the line charge netted me this:

E = \dfrac{\alpha(b^3-a^3)+\lambda}{3 \epsilon_{o} r}
 
  • #45
l1fesavers said:
Now you mentioned that I still need to include the original line charge so that would be something like:

Q_{enc} = Q_{1} + Q_{2} where Q1 was line charge and Q2 was the cylindrical shell?

Something like that, but you've already calculated all the terms that you need, you just have to put them together correctly.

You may remember the concept of superposition when dealing with point charges. How would you use superposition to write the total electric field in region II? In region III?
 
  • #46
l1fesavers said:
Going through the process for Region III again but this time including the line charge netted me this:

E = \dfrac{\alpha(b^3-a^3)+\lambda}{3 \epsilon_{o} r}

Not quite. Was λ divided by 3ε0r in region I?
 
  • #47
That's why I suspected I was doing it wrong.

Well the superposition of point charges just says that it's the sum of all the electric fields... so I can really only conclude that its:

E_{t} = E_{1} + E_{2} where E_{1} = \dfrac{\alpha(b^3-a^3)}{3 \epsilon_{o} r} and E_{2} = \dfrac{\lambda}{2\pi r \epsilon_{o}}
 
  • #48
Ok. Now which terms do you add together and for what regions?

You're going to have 3 separate fields, one for each region (I, II, and III). What do you get for each region?
 
  • #49
A little confused by the question...

For field r < a

E = \dfrac{\lambda}{2\pi r \epsilon_{o}}

For field a < r < b

E = \dfrac{\alpha(r^3-a^3)}{3 \epsilon_{o} r}

For field r > b

The sum of the above two?
 
  • #50
Region II is missing a term. Think about the total charge enclosed. What fields are enclosed when you place a Gaussian cylinder at a < r < b ?

Region III is not the sum of the two you wrote, but close. First, what would the field be in region III, that is r > b, if we only considered the cylinder of charge? Then, what is the field in region III when we consider both the cylinder and the line of charge?

Again, for regions II and III, think superposition.
 
Back
Top