Electric field from infinite charges

AI Thread Summary
The discussion revolves around calculating the electric field at the origin due to an infinite series of alternating charges. The initial approach involves using the equation for electric field due to point charges and setting up an infinite alternating sum. Participants clarify that the electric field points in the positive x-direction due to the negative charge at x=a, despite some confusion over the sign of the final answer. The correct value for the electric field, considering the alternating series and proper sign handling, is identified as \(\frac{q\pi}{48\epsilon_0a^2}\). Overall, the importance of careful sign management in vector calculations is emphasized.
DieCommie
Messages
156
Reaction score
0
Here is my problem: A charge of -q is located at x=a. Another charge, +q, is at x=2a. This sequence of alternating charges continues indefinitely in the +x direction. What is the electric field at the origin?

So I figure I need an infinite alternating sum. The equation to be used is \frac{q}{4\pi\epsilon_0r^2} So the sum would be \sum \frac{(-1)^nq}{4\pi\epsilon_0(na)^2}. Which can be factored to \frac{q}{4\pi\epsilon_0a^2} \sum \frac{(-1)^n}{n^2}. (sum from n=one to n=infinity)

Is that correct so far? I am not sure how to do the sum... Any help please, Thx!
 
Last edited:
Physics news on Phys.org
With some help from the math forum, I believe I have the answer..

-\frac{q\pi}{48\epsilon_0a^2}
 
Last edited:
Be careful about the signs here. A negative charge at x=a will create a field that points in the positive x-direction at the origin. Otherwise what you got is correct.

The sum is very famous. I think they'd expect you to know/memorize it and leave the derivation for a math class:
\sum_{n=1}^{\infty}\frac{\pi^2}{6}

EDIT: You just beat me to it. But it should be 4*6=24 in the denominator.
 
Last edited:
So, the field goes to a negative charge and because the first charge is strongest, the field will terminate there. Meaning at the origion it points to x=a.

But I did get a negative answer in the end, which makes me think that the field is coming to the origin.

I can see that you are right the field points in the +x, but mathmatically shouldn't i get a positive value for the field then?

EDIT- also, I got the sum as -\frac{\pi^2}{12} (with help from the math forum). Your value i do memorize, but what i needed was slightly different... right? I needed an alternating sum, which is why I have a 48 in the denominator.
 
Last edited:
DieCommie said:
So, the field goes to a negative charge and because the first charge is strongest, the field will terminate there. Meaning at the origion it points to x=a.

But I did get a negative answer in the end, which makes me think that the field is coming to the origin.

I can see that you are right the field points in the +x, but mathmatically shouldn't i get a positive value for the field then?
Remember that the electric field is a vector. For a point charge:
\frac{q}{4\pi\epsilon_0r^2}\hat r where \hat r points radially away from the charge. That would be in the negative x-direction if the charge is at x=a. So E points in the positive x direction if q is negative. You got it just the other way around.

EDIT- also, I got the sum as -\frac{\pi^2}{12} (with help from the math forum). Your value i do memorize, but what i needed was slightly different... right? I needed an alternating sum, which is why I have a 48 in the denominator.
Erm, right. :blushing:
 
Well I got an F on the problem :( I guess -\frac{q\pi}{48\epsilon_0a^2} is not the right answer, but I just can't figure out what I did wrong or how to get the right answer...

Thx for you help anyway...
 
Well, the field points in the +x direction, so the answer should be positive.
\frac{q\pi}{48\epsilon_0a^2}
Which you get if you take care of all the signs carefully, but I think it's easier to just work with magnitude and determine the direction by inspection.

Anyway, that's the only minor error I can spot. You did mention the field pointed in the +x-direction in your answer, it's definitely not worth an F so I'm curious what comments you got on the answer
 
Back
Top