Physics Library
 An open source physics library
Encyclopedia | Forums | Docs | Random |  
Login
create new user
Username:
Password:
forget your password?
Main Menu
Sections

Meta

Talkback

Downloads

Information
[parent] Electric Field of a Line of Charge (Example)

1 The Electric Field of a Line of Charge

Calculating the electric field due to a non-moving continuous distribution of charge is a common task in electrostatics. Unfortunately, without resorting to numerical methods, we are limited to simple geometries and field points that rely on symmetry in order to make the integrals tractable.

Here we will examine the electric field due to a continuous line of charge on a line segment of length 2L. Analytically, we will compute the E-field at two different types of field points and then look at computing the entire field using the principle of superposition.

1.1 Center Line

The electric field at a height h above the line segment and along the center line as shown in below figure is straight forward and is one of the basic examples given in [1][2][3].

PIC

Once the problem is setup correctly, the rest is straightforward. Commbining the notation used in [1] and [2] helps us connect the general formulation with our special case given here. For a line of charge, with a charge density of λ(r), the general formula is

       1  ∫  λ(r′)(r − r′)dl′
E =  -----   ---------′3----
     4π𝜖0       |r − r|
(1)

The first assumption is that the line of charge has a uniform charge density. This means that for a infinitesimal part dl’, the charge per unit length is just λ. Then, with the coordinate system setup in the figure

λ(r′)dl′ = λdx

The vector setup is next and this is where practice is important. Try out different geometries and coordinate systems until your proficient. Remembering the convention that the prime vector is to the source point and the unprimed vector is to the field point, we get in Cartesian coordinates

r′ = xˆx

r = h ˆy

Then for our integral in (1) we have

r − r′ = hˆy − x ˆx

|r − r′| = √x2--+-h2-

Substituting these relationships into (1)

          ∫ L
E  = --λ--    (h-ˆy −-xˆx)dx-
     4π 𝜖0 − L (x2 + h2)3∕2
(2)

The next step is to break the integral into its x and y components and then integrate

x component:

Usually, one looks at this setup and quickly sees the symmetry and how all the x components cancel, so it should be obvious that this integral will be zero. However, for the practice let’s go throught the motions

        ∫ L
E  = −      ---xˆxdx-----
 x       −L (x2 + h2)3∕2

Using u substitution set

u = x2 + h2

du  = 2xdx

dx = du ∕2x

notice that when we plug in the limits of integration from -L to L we get for both limits

u = L2 + h2

        ∫ L2+h2   du
Ex  = −         ----3∕2
         L2+h2  2(u)

however the limits of integration are the same, so we know that the integral is zero.

Ex  = 0
(3)

y component:

     ∫
        L ---hˆydx-----
Ey =      (x2 + h2)3∕2
       −L

This integral is a little more tricky, but is straight forward once you realize you need to use trigonometric substitution. Trig. substitution is nicely explained in [4] or any other calculus textbook. Use the right triangle in below figure to setup the needed relationships:

PIC

        x-
tanu =  h

x = h tan u

dx =  hsec2udu

cosu =  √---h-----
          x2 + h2

√ --------    h
  x2 + h2 =  -----=  hsec u
             cosu

Putting all these together into the integral leaves us with

       ∫  h2 sec2udu
Ey =  ˆy   ---3---3---
            h sec u

simplfying

      ˆy ∫   du
Ey =  --   -----
      h    sec u

but this is just

        ∫
      ˆy-
Ey =  h    cosu

Note that we can pull out the unit vector ŷ because they are constant in cartesian coordinates. Make sure that you do not do this for other coordinate systems where the unit vectors may not be constant. Carrying out this simple integration yeilds

Ey =  ˆy-|L  sinu
      h − L

we cannot simply plug in the limits of integration here, first convert back using the right triangle in figure

            x
sinu =  √---------
          x2 + h2

E  =  ˆy-|L  √---x-----
  y   h  −L   x2 + h2

Finally, evaluating this gives the the y component of the electric field.

        (          )
      ˆy-  ---2L-----
Ey =  h   √L2--+-h2-

Now that we know the x component is zero, the overall electric field along the center line is just in the y direction and is given by

E =  -----λ√L-ˆy------
     2π𝜖0h  L2 + h2

1.2 End Line

The electric field at a height h above the line segment and along the end line as shown in below figure is simliar to the previous example, except our x components of the electric field will not cancel out this time.

PIC

The vector setup is the same as for the center line and the only difference is the limits of integration

          ∫
      λ     2L (hˆy − xˆx )dx
E =  4π𝜖--     (x2-+-h2)3∕2-
        0  0
(4)

Once again, break the integral into its x and y components and integrate

x component:

This time the x component is non zero

        ∫  2L    x ˆxdx
Ex  = −      ------------
          0  (x2 + h2)3∕2

Using u substitution set

u = x2 + h2

du  = 2xdx

dx = du ∕2x

notice that when we plug in the limits of integration we now get

      2
u =  h

and

       2    2
u =  4L  + h

         ∫  4L2+h2   du
Ex  = − ˆx         -------
           h2     2(u)3∕2

integrating yields

Ex  = ˆx |4L22+h2 --1---
         h     (u)1∕2

finally, evaluate the limits of integration and add in the constants to get

           (                )
      -λ---  ----ˆx------  ˆx-
Ex =  4π𝜖0   √4L2  + h2 − h
(5)

y component:

The y component also just differs in the limits of integration so starting from previous setup

     ∫ 2L
E  =      ---h-ˆydx----
 y    0   (x2 + h2)3∕2

which we now know gives

E   = ˆy-|2L √--x------
  y   h  0    x2 + h2

Finally, evaluating this gives the the y component of the electric field.

       (            )
     -ˆy  ----2L-----
Ey = h   √ ---2----2
           4L  +  h

Now combining x and y components with the other constants of integration, gives the overall electric field along the end line

          [                               ]
E  = --λ--  √---ˆx------− ˆx-+  -√--2Lˆy-----
     4π 𝜖0    4L2 + h2   h    h  4L2 + h2
(6)

1.3 General Solution

For the general solution of the electric field due to a line of charge, we will show off the power of the principle of superposition. Since, we know electric fields follow the principle of superposition, we can build upon simpler solutions to get a total electric field through their sums

Etot = E1 + E2 + ......+  En
(7)

So we can now find the electric field at any point, P(x,y), in the plane by adding two cases of the earlier end line example. One electric field to handle the line of charge left of the point and one to handle the line of charge right of the point and then sum their solutions.

PIC

The key here is to get the signs correct when adding the fields and make sure we do not mix up the new terms we introduce. The relationship between the above figure and our previous analysis is

2L1 + x = L

2L2 − x = L

rearranging gives

L1 =  (L −  x)∕2
(8)

L  =  (L +  x)∕2
  2
(9)

Starting with the x component of equation (6) we get the electric field at P(x,y) from the left side of the line segment by inserting L = L1 and h = y

           [                ]
E   = --λ--  ∘----ˆx-----−  ˆx-
 x1   4 π𝜖0    4L21 + y2   y

For the right side the electric field is in the x direction is opposite to the left side and we must apply a negative sign

           [                  ]
        λ           ˆx        ˆx
Ex2 =  ----- − ∘----------+  --
       4π𝜖0      4L22 + y2   y

The total electric field in the x direction is then

                        [                         ]
                    λˆx        1             1
Ex =  Ex1 + Ex2 =  ----- ∘----2----2-− ∘----2----2-
                   4π𝜖0     4L1 + y       4L2 + y
(10)

Inserting equations (8) and (9) into (10) we get

                        [                                   ]
                    λxˆ          1                 1
Ex =  Ex1 + Ex2  = -----  ∘--------2----2-− ∘---------2----2-
                   4π 𝜖0    (L − x)  + y       (L +  x) +  y
(11)

Now for the y components, this time however, both the left and right side are in the same direction so we add them straight away

           [                            ]
        λ       2L1 ˆy          2L2 ˆy
Ey  = -----  -∘----2----2 + -∘----2----2
      4π 𝜖0  y  4L 1 + y    y  4L 2 + y

Once again, inserting equations (8) and (9) and a little rearranging of the signs we get

            [                                   ]
        λˆy        (x + L)           (x − L )
Ey =  ------  ∘---------------− ∘----------------
      4π 𝜖0y     (x + L)2 + y2      (x − L )2 + y2
(12)

Combining equations (11) and (12), we get the total electric field at point P(x,y) due to a line segment of length 2L with the origin of the x and y coordinate frame at the center of the segment

          [                                                                          ]
     --λ--  -------ˆx--------  -------xˆ-------   ----ˆy(x-+-L-)----   ----ˆy(x-−-L)-----
E  = 4π 𝜖0  ∘ (L-−-x-)2-+-y2-− ∘  (L-+-x)2 +-y2 + y∘ (x-+-L-)2 +-y2-− y∘ (x-−-L-)2-+-y2-
(13)

Finally, it would be a good exercise for the reader to apply the techniques above regarding the field and source points to find the electric field directly from equation (1). The below figure displays the setup and you should get the same answer as equation (13).

PIC

[1] Reitz, J., ”Foundations of Electromagnetic Theory” Fourth Edition. Addison-Wesley Publishing Company, Inc. 1993.

[2] Griffiths, D. ”Introduction to Electrodynamics”, Prentice-Hall, Inc., 1999.

[3] Halliday, D., Resnick, R., Walker, J.: ”fundamentals of physics”. 5th Edition, John Wiley & Sons, New York, 1997.

[4] Etgen, G. ”Calculus” John Wiley & Sons, New York, 1999.


"Electric Field of a Line of Charge" is owned by bloftin.
(view preamble)
View style:

This object's parent.

Cross-references: fundamentals of physics, power, unit vector, motions, vector, system, formula, types, field, charge, electric field

This is version 22 of Electric Field of a Line of Charge, born on 2006-09-21, modified 2008-09-11.
Object id is 222, canonical name is ElectricFieldOfALineOfCharge.
Accessed 14090 times total.

Classification:
Physics Classification41.20.Cv (Electrostatics; Poisson and Laplace equations, boundary-value)
Pending Errata and Addenda
None.
[ View all 1 ]
Discussion
Style: Expand: Order:
Field at any given point in (x,y)-plane by nohumor on 2008-09-09 09:20:12
what if one wishes to know the electric field of the line charge at any given point (x,y) in the plane?

My problem is I don't see how to connect the field at the end with the one in the middle.

Also the electric potential of the wire?
[ reply | up ]

Interact
rate | post | correct | update request | add example | add (any)