1.5 Calculating Electric Fields of Charge Distributions

LEARNING OBJECTIVES


By the end of this section, you will be able to:

  • Explain what a continuous source charge distribution is and how it is related to the concept of quantization of charge
  • Describe line charges, surface charges, and volume charges
  • Calculate the field of a continuous source charge distribution of either sign

The charge distributions we have seen so far have been discrete: made up of individual point particles. This is in contrast with a continuous charge distribution, which has at least one nonzero dimension. If a charge distribution is continuous rather than discrete, we can generalize the definition of the electric field. We simply divide the charge into infinitesimal pieces and treat each piece as a point charge.

Note that because charge is quantized, there is no such thing as a “truly” continuous charge distribution. However, in most practical cases, the total charge creating the field involves such a huge number of discrete charges that we can safely ignore the discrete nature of the charge and consider it to be continuous. This is exactly the kind of approximation we make when we deal with a bucket of water as a continuous fluid, rather than a collection of H2OH2O molecules.

Our first step is to define a charge density for a charge distribution along a line, across a surface, or within a volume, as shown in Figure 1.5.1.

(Figure 1.5.1)   \begin{gather*}.\end{gather*}

Figure a shows a long rod with linear charge density lambda. A small segment of the rod is shaded and labeled d l. Figure b shows a surface with surface charge density sigma. A small area within the surface is shaded and labeled d A. Figure c shows a volume with volume charge density rho. A small volume within it is shaded and labeled d V. Figure d shows a surface with two regions shaded and labeled q 1 and q2. A point P is identified above (not on) the surface. A thin line indicates the distance from each of the shaded regions. The vectors E 1 and E 2 are drawn at point P and point away from the respective shaded region. E net is the vector sum of E 1 and E 2. In this case, it points up, away from the surface.
Figure 1.5.1 The configuration of charge differential elements for a (a) line charge, (b) sheet of charge, and (c) a volume of charge. Also note that (d) some of the components of the total electric field cancel out, with the remainder resulting in a net electric field.

Definitions of charge density:

  • \lambda\equiv charge per unit length (linear charge density); units are coulombs per metre (\mathrm{C/m})
  • \sigma\equiv charge per unit area (surface charge density); units are coulombs per square metre (\mathrm{C/m^2})
  • \rho\equiv charge per unit volume (volume charge density); units are coulombs per cubic metre (\mathrm{C/m^3})

Then, for a line charge, a surface charge, and a volume charge, the summation in Equation 1.4.2 becomes an integral and q_i is replaced by dq=\lambda dl, \sigma dA, or \rho dV respectively:

(1.5.1)   \begin{equation*}\mathrm{Point~charge:}&~~~~~&\vec{\mathbf{E}}(P)=\frac{1}{4\pi\epsilon_0}\sum_{i=1}^{N}\left(\frac{q_i}{r^2}\right)\hat{\mathbf{r}}\end{equation*}

(1.5.2)   \begin{equation*}\mathrm{Line~charge:}&~~~~~&\vec{\mathbf{E}}(P)=\frac{1}{4\pi\epsilon_0}\int_{\mathrm{line}}\left(\frac{\lambda dl}{r^2}\right)\hat{\mathbf{r}}\end{equation*}

(1.5.3)   \begin{equation*}\mathrm{Surface~charge:}&~~~~~&\vec{\mathbf{E}}(P)=\frac{1}{4\pi\epsilon_0}\int_{\mathrm{surface}}\left(\frac{\sigma dA}{r^2}\right)\hat{\mathbf{r}}\end{equation*}

(1.5.4)   \begin{equation*}\mathrm{Volume~charge:}&~~~~~&\vec{\mathbf{E}}(P)=\frac{1}{4\pi\epsilon_0}\int_{\mathrm{volume}}\left(\frac{\rho dV}{r^2}\right)\hat{\mathbf{r}}\end{equation*}

The integrals are generalizations of the expression for the field of a point charge. They implicitly include and assume the principle of superposition. The “trick” to using them is almost always in coming up with correct expressions for dl, dA, or dV as the case may be, expressed in terms of r, and also expressing the charge density function appropriately. It may be constant; it might be dependent on location.

Note carefully the meaning of r in these equations: It is the distance from the charge element (q_i,\lambda dl,\sigma dA,\rho dV) to the location of interest, P(x,y,z) (the point in space where you want to determine the field). However, don’t confuse this with the meaning of \hat{\mathbf{r}}; we are using it and the vector notation \vec{\mathbf{E}} to write three integrals at once. That is, Equation 1.5.2 is actually

    \[E_x(P)=\frac{1}{4\pi\epsilon_0}\int_{\mathrm{line}}\left(\frac{\lambda dl}{r^2}\right)_x,\]

    \[E_y(P)=\frac{1}{4\pi\epsilon_0}\int_{\mathrm{line}}\left(\frac{\lambda dl}{r^2}\right)_y,\]

    \[E_z(P)=\frac{1}{4\pi\epsilon_0}\int_{\mathrm{line}}\left(\frac{\lambda dl}{r^2}\right)_z.\]

EXAMPLE 1.5.1


Electric Field of a Line Segment

Find the electric field a distance z above the midpoint of a straight line segment of length L that carries a uniform line charge density \lambda.

Strategy

Since this is a continuous charge distribution, we conceptually break the wire segment into differential pieces of length dl, each of which carries a differential amount of charge dq=\lambda dl. Then, we calculate the differential field created by two symmetrically placed pieces of the wire, using the symmetry of the setup to simplify the calculation (Figure 1.5.2). Finally, we integrate this differential field expression over the length of the wire (half of it, actually, as we explain below) to obtain the complete electric field expression.

(Figure 1.5.2)   \begin{gather*}.\end{gather*}

A long, thin wire is on the x axis. The end of the wire is a distance z from the center of the wire. A small segment of the wire, a distance x to the right of the center of the wire, is shaded. Another segment, the same distance to the left of center, is also shaded. Point P is a distance z above the center of the wire, on the z axis. Point P is a distance r from each shaded region. The r vectors point from each shaded region to point P. Vectors d E 1 and d E 2 are drawn at point P. d E 1 points away from the left side shaded region and points up and right, at an angle theta to the z axis. d E 2 points away from the right side shaded region and points up and r left, making the same angle with the vertical as d E 1. The two d E vectors are equal in length.
Figure 1.5.2 A uniformly charged segment of wire. The electric field at point P can be found by applying the superposition principle to symmetrically placed charge elements and integrating.

Solution

Before we jump into it, what do we expect the field to “look like” from far away? Since it is a finite line segment, from far away, it should look like a point charge. We will check the expression we get to see if it meets this expectation.

The electric field for a line charge is given by the general expression

    \[\vec{\mathbf{E}}(P)=\frac{1}{4\pi\epsilon_0}\int_{\mathrm{line}}\frac{\lambda dl}{r^2}\hat{\mathbf{r}}.\]

The symmetry of the situation (our choice of the two identical differential pieces of charge) implies the horizontal (x)-components of the field cancel, so that the net field points in the z-direction. Let’s check this formally.

The total field \vec{\mathbf{E}}(P) is the vector sum of the fields from each of the two charge elements (call them \vec{\mathbf{E}}_1 and \vec{\mathbf{E}}_2, for now):

    \[\vec{\mathbf{E}}(P)=\vec{\mathbf{E}}_1+\vec{\mathbf{E}}_2=E_{ix}\hat{\mathbf{i}}+E_{1z}\hat{\mathbf{k}}+E_{2x}(-\hat{\mathbf{i}})+E_{2z}\hat{\mathbf{k}}.\]

Because the two charge elements are identical and are the same distance away from the point P where we want to calculate the field, E_{1x}=E_{2x}, so those components cancel. This leaves

    \[\vec{\mathbf{E}}(P)=E_{1z}\hat{\mathbf{k}}+E_{2z}\hat{\mathbf{k}}=E_1\cos\theta\hat{\mathbf{k}}+E_2\cos\theta\hat{\mathbf{k}}.\]

These components are also equal, so we have

    \begin{eqnarray*}\hat{\mathbf{E}}(P)&=&\frac{1}{4\pi\epsilon_0}\int\frac{\lambda dl}{r^2}\cos\theta\hat{\mathbf{k}}+\frac{1}{4\pi\epsilon_0}\int\frac{\lambda dl}{r^2}\cos\theta\hat{\mathbf{k}}\\&=&\int_0^{L/2}\frac{2\lambda dx}{r^2}\cos\theta\hat{\mathbf{k}}\end{eqnarray*}

where our differential line element dl is dx, in this example, since we are integrating along a line of charge that lies on the x-axis. (The limits of integration are 0 to \frac{L}{2}, not -\frac{L}{2} to +\frac{L}{2}, because we have constructed the net field from two differential pieces of charge dq. If we integrated along the entire length, we would pick up an erroneous factor of 2.)

In principle, this is complete. However, to actually calculate this integral, we need to eliminate all the variables that are not given. In this case, both r and \theta change as we integrate outward to the end of the line charge, so those are the variables to get rid of. We can do that the same way we did for the two point charges: by noticing that

    \[r=\left(z^2+x^2\right)^{1/2}\]

and

    \[\cos\theta=\frac{z}{r}=\frac{z}{\left(z^2+x^2\right)^{1/2}}.\]

Substituting, we obtain

    \begin{eqnarray*}\vec{\mathbf{E}}(P)&=&\frac{1}{4\pi\epsilon_0}\int_0^{L/2}\frac{2\lambda dx}{\left(z^2+x^2\right)}\frac{z}{\left(z^2+x^2\right)^{1/2}}\hat{\mathbf{k}}\\&=&\frac{1}{4\pi\epsilon_0}\int_0^{L/2}\frac{2\lambda z}{\left(z^2+x^2\right)^{3/2}}dx\hat{\mathbf{k}}\\&=&\frac{2\lambda z}{4\pi\epsilon_0}\left.\left[\frac{x}{z^2\sqrt{z^2+x^2}}\right]\right|_0^{L/2}\hat{\mathbf{k}}\end{eqnarray*}

which simplifies to

(1.5.5)   \begin{equation*}\vec{\mathbf{E}}(P)=\frac{1}{4\pi\epsilon_0}\frac{\lambda L}{z\sqrt{z^2+\frac{L^2}{4}}}\hat{\mathbf{k}}.\end{equation*}

Significance

Notice, once again, the use of symmetry to simplify the problem. This is a very common strategy for calculating electric fields. The fields of nonsymmetrical charge distributions have to be handled with multiple integrals and may need to be calculated numerically by a computer.

CHECK YOUR UNDERSTANDING 1.4


How would the strategy used above change to calculate the electric field at a point a distance z above one end of the finite line segment?

EXAMPLE 1.5.2


Electric Field of an Infinite Line of Charge

Find the electric field a distance z above the midpoint of an infinite line of charge that carries a uniform line charge density \lambda.

Strategy

This is exactly like the preceding example, except the limits of integration will be -\infty to +\infty.

Solution

Again, the horizontal components cancel out, so we wind up with

    \[\vec{\mathbf{E}}(P)=\frac{1}{4\pi\epsilon_0}\int_{-\infty}^{\infty}\frac{\lambda dx}{r^2}\cos\theta\hat{\mathbf{k}}\]

where our differential line element dl is dx, in this example, since we are integrating along a line of charge that lies on the x-axis. Again,

    \[\cos\theta=\frac{z}{r}=\frac{z}{\left(z^2+x^2\right)^{1/2}}.\]

Substituting, we obtain

    \begin{eqnarray*}\vec{\mathbf{E}}(P)&=&\frac{1}{4\pi\epsilon_0}\int_{-\infty}^{\infty}\frac{\lambda dx}{\left(z^2+x^2\right)}\frac{z}{\left(z^2+x^2\right)^{1/2}}\hat{\mathbf{k}}\\&=&\frac{1}{4\pi\epsilon_0}\int_{-\infty}^{\infty}\frac{\lambda z}{\left(z^2+x^2\right)^{3/2}}dx\hat{\mathbf{k}}\\&=&\frac{\lambda z}{4\pi\epsilon_0}\left.\left[\frac{x}{z^2\sqrt{z^2+x^2}}\right]\right|_{-\infty}^{\infty}\hat{\mathbf{k}},\end{eqnarray*}

which simplifies to

    \[\vec{\mathbf{E}}(P)=\frac{1}{4\pi\epsilon_0}\frac{2\lambda}{z}\hat{\mathbf{k}}.\]

Significance

Our strategy for working with continuous charge distributions also gives useful results for charges with infinite dimension.

In the case of a finite line of charge, note that for z\gg L, z^2 dominates the L in the denominator, so that Equation 1.5.5 simplifies to

    \[\vec{\mathbf{E}}\approx\frac{1}{4\pi\epsilon_0}\frac{\lambda L}{z^2}\hat{\mathbf{k}}.\]

If you recall that \lambda L=q, the total charge on the wire, we have retrieved the expression for the field of a point charge, as expected.

In the limit L\rightarrow\infty, on the other hand, we get the field of an infinite straight wire, which is a straight wire whose length is much, much greater than either of its other dimensions, and also much, much greater than the distance at which the field is to be calculated:

(1.5.6)   \begin{equation*}\vec{\mathbf{E}}(z)=\frac{1}{4\pi\epsilon_0}\frac{2\lambda}{z}\hat{\mathbf{k}}.\end{equation*}

An interesting artifact of this infinite limit is that we have lost the usual 1/r^2 dependence that we are used to. This will become even more intriguing in the case of an infinite plane.

EXAMPLE 1.5.3


Electric Field due to a Ring of Charge

A ring has a uniform charge density \lambda, with units of coulomb per unit meter of arc. Find the electric potential at a point on the axis passing through the center of the ring.

Strategy

We use the same procedure as for the charged wire. The difference here is that the charge is distributed on a circle. We divide the circle into infinitesimal elements shaped as arcs on the circle and use polar coordinates shown in Figure 1.5.3.

(Figure 1.5.3)   \begin{gather*}.\end{gather*}

A ring of radius R is shown in the x y plane of an x y z coordinate system. The ring is centered on the origin. A small segment of the ring is shaded. The segment is at an angle of theta from the x axis, subtends an angle of d theta, and contains a charge of d q equal to lambda R d theta. Point P is on the z axis, a distance of z above the center of the ring. The distance from the shaded segment to point P is equal to the square root of R squared plus squared.
Figure 1.5.3 The system and variable for calculating the electric field due to a ring of charge.

Solution

The electric field for a line charge is given by the general expression

    \[\vec{\mathbf{E}}(P)=\frac{1}{4\pi\epsilon_0}\int_{\mathrm{line}\frac{\lambda dl}{r^2}\hat{\mathbf{r}}.\]

A general element of the arc between \theta and \theta+d\theta is of length Rd\theta and therefore contains a charge equal to \lambda Rd\theta. The element is at a distance of r=\sqrt{z^2+R^2} from P, the angle is \cos\phi=\frac{z}{\sqrt{z^2+R^2}}, and therefore the electric field is

    \begin{eqnarray*}\vec{\mathbf{E}}(P)&=&\int_{\mathrm{line}}\frac{\lambda dl}{r^2}\hat{\mathbf{r}}=\frac{1}{4\pi\epsilon_0}\int_0^{2\pi}\frac{\lambda Rd\theta}{z^2+R^2}\frac{z}{\sqrt{z^2+R^2}}\hat{\mathbf{z}}\\&=&\frac{1}{4\pi\epsilon_0}\frac{\lambda Rz}{\left(z^2+R^2\right)^{3/2}}\hat{\mathbf{z}}\int_0^{2\pi}d\theta=\frac{1}{4\pi\epsilon_0}\frac{2\pi\lambda Rz}{\left(z^2+R^2\right)^{3/2}}\hat{\mathbf{z}}\\&=&=\frac{1}{4\pi\epsilon_0}\frac{q_{\mathrm{tot}}z}{\left(z^2+R^2\right)^{3/2}}\hat{\mathbf{z}}.\end{eqnarray*}

Significance

As usual, symmetry simplified this problem, in this particular case resulting in a trivial integral. Also, when we take the limit of z\gg R, we find that

    \[\vec{\mathbf{E}}\approx\frac{1}{4\pi\epsilon_0}\frac{q_{\mathrm{tot}}}{z^2}\hat{\mathbf{z}},\]

as we expect.

EXAMPLE 1.5.4


The Field of a Disk

Find the electric field of a circular thin disk of radius R and uniform charge density at a distance z above the centre of the disk (Figure 1.5.4).

(Figure 1.5.4)   \begin{gather*}.\end{gather*}

A disk of radius R is shown in the x y plane of an x y z coordinate system. The disk is centered on the origin. A ring, concentric with the disk, of radius r prime and width d r prime is indicated and two small segments on opposite sides of the ring are shaded and labeled as having charge d q. The test point is on the z axis, a distance of z above the center of the disk. The distance from each shaded segment to the test point is r. The electric field contributions, d E, due to the d q charges are shown as arrows in the directions of the associated r vectors. The d E vectors are at an angle of theta to the z axis.
Figure 1.5.4 A uniformly charged disk. As in the line charge example, the field above the center of this disk can be calculated by taking advantage of the symmetry of the charge distribution.

Strategy

The electric field for a surface charge is given by

    \[\vec{\mathbf{E}}(P)=\frac{1}{4\pi\epsilon_0}\int_{\mathrm{surface}}\frac{\sigma dA}{r^2}\hat{\mathbf{r}}.\]

To solve surface charge problems, we break the surface into symmetrical differential “stripes” that match the shape of the surface; here, we’ll use rings, as shown in the figure. Again, by symmetry, the horizontal components cancel and the field is entirely in the vertical \hat{\mathbf{k}}-direction. The vertical component of the electric field is extracted by multiplying by \cos\theta, so

    \[\vec{\mathbf{E}}(P)=\frac{1}{4\pi\epsilon_0}\int_{\mathrm{surface}}\frac{\sigma dA}{r^2}\cos\theta\hat{\mathbf{k}}.\]

As before, we need to rewrite the unknown factors in the integrand in terms of the given quantities. In this case,

    \begin{eqnarray*}dA&=&2\pi r'dr'\\r^2&=&r'^2+z^2\\\cos\theta&=&\frac{z}{\left(r'^2+z^2\right)^{1/2}}.\end{eqnarray*}

(Please take note of the two different “rs” here; r is the distance from the differential ring of charge to the point P where we wish to determine the field, whereas r' is the distance from the centre of the disk to the differential ring of charge.) Also, we already performed the polar angle integral in writing down dA.

Solution

Substituting all this in, we get

    \begin{eqnarray*}\vec{\mathbf{E}}(P)&=&\vec{\mathbf{E}}(z)=\frac{1}{4\pi\epsilon_0}\int_0^R\frac{\sigma(2\pi r'dr')z}{(r'^2+z^2)^{3/2}}\hat{\mathbf{k}}\\&=&\frac{1}{4\pi\epsilon_0}(2\pi\sigma z)\left(\frac{1}{z}-\frac{1}{\sqrt{R^2+z^2}}\right)\hat{\mathbf{k}}\end{eqnarray*}

or, more simply,

(1.5.7)   \begin{equation*}\hat{\mathbf{E}}(z)=\frac{1}{4\pi\epsilon_0}\left(2\pi\sigma-\frac{2\pi\sigma z}{\sqrt{R^2+z^2}}\right)\hat{\mathbf{k}}.\end{equation*}

Significance

Again, it can be shown (via a Taylor expansion) that when z\gg R, this reduces to

    \[\vec{\mathbf{E}}(z)\approx\frac{1}{4\pi\epsilon_0}\frac{\sigma\pi R^2}{z^2}\hat{\mathbf{k}},\]

which is the expression for a point charge Q=\sigma\pi R^2.

CHECK YOUR UNDERSTANDING 1.5


How would the above limit change with a uniformly charged rectangle instead of a disk?

As R\rightarrow\infty, Equation 1.5.7 reduces to the field of an infinite plane, which is a flat sheet whose area is much, much greater than its thickness, and also much, much greater than the distance at which the field is to be calculated:

(1.5.8)   \begin{equation*}\vec{\mathbf{E}}=\frac{\sigma}{2\epsilon_0}\hat{\mathbf{k}}\end{equation*}

Note that this field is constant. This surprising result is, again, an artifact of our limit, although one that we will make use of repeatedly in the future. To understand why this happens, imagine being placed above an infinite plane of constant charge. Does the plane look any different if you vary your altitude? No—you still see the plane going off to infinity, no matter how far you are from it. It is important to note that Equation 1.5.8 is because we are above the plane. If we were below, the field would point in the -\hat{\mathbf{k}}-direction.

EXAMPLE 1.5.5


The Field of Two Infinite Planes

Find the electric field everywhere resulting from two infinite planes with equal but opposite charge densities (Figure 1.5.5).

(Figure 1.5.5)   \begin{gather*}.\end{gather*}

The figure shows two vertically oriented parallel plates A and B separated by a distance d. Plate A is positively charged and B is negatively charged. Electric field lines are parallel between the plates and curved outward at the ends of the plates. A charge q is moved from A to B. The work done W equals q times V sub A B, and the electric field intensity E equals V sub A B over d.
Figure 1.5.5 Two charged infinite planes. Note the direction of the electric field.

Strategy

We already know the electric field resulting from a single infinite plane, so we may use the principle of superposition to find the field from two.

Solution

The electric field points away from the positively charged plane and toward the negatively charged plane. Since the \sigma are equal and opposite, this means that in the region outside of the two planes, the electric fields cancel each other out to zero.

However, in the region between the planes, the electric fields add, and we get

    \[\vec{\mathbf{E}}=\frac{\sigma}{\epsilon_0}\hat{\mathbf{i}}\]

for the electric field. The \hat{\mathbf{i}} is because in the figure, the field is pointing in the +x-direction.

Significance

Systems that may be approximated as two infinite planes of this sort provide a useful means of creating uniform electric fields.

CHECK YOUR UNDERSTANDING 1.6


What would the electric field look like in a system with two parallel positively charged planes with equal charge densities?

License

Icon for the Creative Commons Attribution 4.0 International License

Introduction to Electricity, Magnetism, and Circuits Copyright © 2018 by Daryl Janzen is licensed under a Creative Commons Attribution 4.0 International License, except where otherwise noted.