1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Electric field for non uniform line charge

  1. Aug 13, 2012 #1
    1. The problem statement, all variables and given/known data

    Find the Electric field at distance z above the mid point of a length L straight line segment, carrying a non-uniform line charge [itex]\lambda = \frac{1}{C} |x|[/itex] where C is a constant


    2. The attempt at a solution

    I note that the horizontal component cancels out.

    Hence

    E= 2* [itex]\frac{1}{4\pi\epsilon_{0}}[/itex][itex]\frac{\lambda z}{(z^{2}+x^{2})^{3/2}}[/itex] dx
    substitute the equation for [itex]\lambda[/itex] and Integrated from x=0 to 1/2 L

    I got the solution as [itex] \vec{E} = \frac{1}{4\pi\epsilon_{0}}\frac{2}{C} (1+\frac{z}{\sqrt{\frac{1}{4} L^{2} + z^{2}}})[/itex]

    However, I wanted to check my answer as I know that the line will be like a point charge when z>>L. With the equation I obtain, E becomes a constant value when z>>L.... Which does not make sense... I can't find where did I do wrong too... =(
     
  2. jcsd
  3. Aug 13, 2012 #2

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    Did you remember to cancel out the horizontal components in your equation?
    [edit - yep, seems you did ... I would have changed variables earlier than you]

    A couple of niggles:
    Your first equation is infinitesimal on the RHS but complete on the LHS .. shouldn't the LHS by [itex]\vec{dE}[/itex]?
    Both equations are for vectors, yet you failed to add in the direction on the RHS of either.

    Looking at the charge distribution - it's zero at the origin and getting bigger with x. At a distance they would appear as separate localized charges either side of the origin ... if the charge distribution were x/C instead of |x|/C then that would be a dipole field.

    However:
    Looking at that last integration - I think you should recheck your substitution:

    I'm guessing you did x=z.tanθ, so dz=z.sec2θdθ ?
    In which case, don't you get a z3 in the numerator to cancel with the z3 common factor from the denominator?
     
    Last edited: Aug 13, 2012
  4. Aug 13, 2012 #3
    Oh, my bad... the [itex]d\vec{E}[/itex] is a typo and it is in the vertical direction

    I am pretty sure the integration is correct.

    Initially the z3 in the numerator does cancel off, but the integration gives out another z in the equation.

    Hence, I end up getting the same solution. :cry:
     
  5. Aug 14, 2012 #4

    Simon Bridge

    User Avatar
    Science Advisor
    Homework Helper
    Gold Member
    2016 Award

    hmmm ... I get [itex]\int \sin(\theta)d\theta = c-\cos(\theta)[/itex] and limits 0 to arctan(L/2z) ?

    I see where you recover the z, it's from the ID: [tex]\cos(\arctan(a)) = \frac{1}{\sqrt{1+a^2}}[/tex]

    The difference between you and me is a minus sign.

    [tex]\vec{E} = \frac{1}{4\pi\epsilon_0}\frac{2}{C}\left [ 1 - \frac{1}{\sqrt{1+(\frac{L}{2z})^2}}\right ]\vec{k}[/tex]

    for z >> L, E → 0 ...
     
  6. Aug 18, 2012 #5
    Oh!!! I have solved it again and I did a mistake on the integration. So sorry and thank you!!! =D
     
  7. Aug 18, 2012 #6
    Why should E approach 0 as you reach infinite distances? Wouldn't it approach a point charge of the line charge's total charge-- because it varies as the absolute value it isn't simply two equal and opposite charges.
     
  8. Aug 18, 2012 #7
    Oh ya... I didn't notice that.

    I thought that it didn't make sense cz as z>>L, E should be approximately a point charge as you said. But I couldn't find anything wrong with the calculation.

    Will it be possible to help?? Thanks
     
  9. Aug 19, 2012 #8
    Hmmm... when I try to calculate the potential and from there find the E-field, I get V=2*(sqrrt(z^2+(L/2)^2) - z)/c... and then -dV/dz=E gives the same answer. (I was using cgs units, but just imagine I had a 1/(4pie_0) and they're the same).

    Could someone else help with this? It's bothering me now.

    Of course, the rod carries a total charge of L^2/(4C), so we know that it should approximate a point charge of this amount in the z>>L limit.
     
    Last edited: Aug 19, 2012
  10. Aug 19, 2012 #9
    And for the record, I didn't do the same substitution-- I did u=x^2+z^2, du=2xdx, but I still go the same solution, so something weird is going on here.
     
    Last edited: Aug 19, 2012
  11. Aug 19, 2012 #10
    Wait, how about this:

    dEz=dq/r^2 * cos(t)= zdq/r^3= (z*x/c) / r^3 dx, but z=rcos(t), x=rsin(t), so
    dEz= sin(t)cos(t)^2 dt, evaluated from 0 to arctan(L/2z).

    When I integrate this, I get some weird cubic function (= (1/3)(1- 8z^3/(L^2+4z^2)^(3/2))... and this still gives 0 as z>>L. Why is this so different, though?!
     
  12. Aug 19, 2012 #11

    gabbagabbahey

    User Avatar
    Homework Helper
    Gold Member

    The reason you're getting the wrong answer, is because you are calculating the wrong integral. For a linear charge distribution [itex]\lambda(\mathbf{r})[/itex], you have

    [tex]\mathbf{E}(\mathbf{r})=\frac{1}{4 \pi \epsilon_0} \int d \mathbf{r}' \frac{\lambda ( \mathbf{r}' )}{|\mathbf{r}-\mathbf{r}'|^3}( \mathbf{r}-\mathbf{r}' )[/tex]

    Here, your field point is on the [itex]z[/itex]-axis, so [itex]\mathbf{r} = z \mathbf{e}_z[/itex] and your charge distribution [itex]\lambda ( \mathbf{r}' ) = \frac{1}{C} |x'|[/itex] is along the [itex]x[/itex]-axis from [itex]-\frac{L}{2}[/itex] to [itex]\frac{L}{2}[/itex], so [itex]\mathbf{r}'=x' \mathbf{e}_x[/itex] and your integral becomes

    [tex]\mathbf{E}(z) = \frac{1}{4 \pi \epsilon_0} \int_{-\frac{L}{2}}^{\frac{L}{2}} dx' \frac{\frac{1}{C}|x'|}{ ( z^2 + (x')^2 )^{ \frac{3}{2} }}(z \mathbf{e}_z -x' \mathbf{e}_x ) = \frac{z \mathbf{e}_z}{2 \pi \epsilon_0 C} \int_{0}^{\frac{L}{2}} dx' \frac{x'}{ ( z^2 + (x')^2 )^{ \frac{3}{2} }}[/tex]

    In other words, you missed an [itex]x[/itex] in your integrand. Notice that the units of your electric field were off by a length factor :wink:
     
  13. Aug 19, 2012 #12
    Evaluating your integral, though, you get the same thing as the OP... and it doesn't approximate a point charge at long distances.
     
  14. Aug 19, 2012 #13

    gabbagabbahey

    User Avatar
    Homework Helper
    Gold Member

    I guess we just need to be a little more careful with the integral then (specifically, the absolute value part). Using integration by parts,

    [tex]\begin{aligned} \int_{-a}^{a} \frac{|x|}{(x^2+z^2)^{\frac{3}{2}}}dx &= \left. \frac{x|x|}{z^2(x^2+z^2)^{\frac{1}{2}}} \right|_{-a}^{a} - \int_{-a}^{a} \frac{x \newcommand{\sgn}{\mathop{\mathrm{sgn}}} \sgn x}{z^2(x^2+z^2)^{ \frac{1}{2} } } dx \\ &= \left. \frac{x|x|}{z^2(x^2+z^2)^{\frac{1}{2}}} \right|_{-a}^{a} - \frac{2}{z^2} \int_{0}^{a} \frac{x}{(x^2+z^2)^{ \frac{1}{2} } } dx \end{aligned}[/tex]
     
  15. Aug 19, 2012 #14
    So it's not just permitted to use the positive part of the x-axis and double the integral?
     
  16. Aug 19, 2012 #15

    gabbagabbahey

    User Avatar
    Homework Helper
    Gold Member

    When you do that, you are essentially double counting the contribution at [itex]x=0[/itex], which for this integral is finite and non-zero (due to the branch point singularity there). Integration by parts as described in my previous post "fixes" this problem in the sense that it produces the correct result (which we know is correct on physical grounds), but is not rigorous.

    Edit: Nevermind, the branch point of [itex]|x|[/itex] at [itex]x=0[/itex] does not affect the integral. To see the expected behaviour for large [itex]z[/itex], see vela's post below.
     
    Last edited: Aug 19, 2012
  17. Aug 19, 2012 #16

    vela

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper
    Education Advisor

    I got the same result Simon did. When z→∞, E goes to 0 as well, which is the same as for a point charge. What you want to look at, however, is the behavior when z>>L. If you expand the factor in the square brackets, you get
    $$1-\frac{1}{\sqrt{1+\left(\frac{L}{2z}\right)^2}} \cong 1 - \left[1-\frac{1}{2}\left(\frac{L}{2z}\right)^2\right] = \frac{1}{2}\left(\frac{L}{2z}\right)^2.$$ The leading term ends up being
    $$\frac{1}{4\pi\epsilon_0} \frac{L^2}{4C}\frac{1}{z^2}$$ which is what you expected.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Electric field for non uniform line charge
Loading...