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.
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].
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 , the general
formula is
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
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
Then for our integral in (1) we have
Substituting these relationships into (1)
The next step is to break the integral into its x and y components and then integrate
{\mathbf 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
Using u substitution set
notice that when we plug in the limits of integration from -L to L we get for both limits
however the limits of integration are the same, so we know that the integral is zero.
{\mathbf y} component:
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:
\includegraphics[scale=.4]{TrigSub.eps}
Putting all these together into the integral leaves us with
simplfying
but this is just
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
we cannot simply plug in the limits of integration here, first convert back using the right triangle in figure
Finally, evaluating this gives the the y component of the electric field.
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
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.
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
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.
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
rearranging gives
Starting with the x component of equation (6) we get the electric field at from the left side of the line segment by inserting and
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
The total electric field in the x direction is then
Inserting equations (8) and (9) into (10) we get
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
Once again, inserting equations (8) and (9) and a little rearranging of the signs we get
Combining equations (11) and (12), we get the total electric field at point due to a line segment of length 2L with the origin of the x and y coordinate frame at the center of the segment
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).