University Physics Volume 2

# 5.5Calculating Electric Fields of Charge Distributions

University Physics Volume 25.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 5.22.

Figure 5.22 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:

• $λ≡λ≡$ charge per unit length (linear charge density); units are coulombs per meter (C/m)
• $σ≡σ≡$ charge per unit area (surface charge density); units are coulombs per square meter $(C/m2)(C/m2)$
• $ρ≡ρ≡$ charge per unit volume (volume charge density); units are coulombs per cubic meter $(C/m3)(C/m3)$

Then, for a line charge, a surface charge, and a volume charge, the summation in Equation 5.4 becomes an integral and $qiqi$ is replaced by $dq=λdldq=λdl$, $σdAσdA$, or $ρdVρdV$, respectively:

$Point charges:E→(P)=14πε0∑i=1N(qir2)r^Point charges:E→(P)=14πε0∑i=1N(qir2)r^$
5.8
$Line charge:E→(P)=14πε0∫line(λdlr2)r^Line charge:E→(P)=14πε0∫line(λdlr2)r^$
5.9
$Surface charge:E→(P)=14πε0∫surface(σdAr2)r^Surface charge:E→(P)=14πε0∫surface(σdAr2)r^$
5.10
$Volume charge:E→(P)=14πε0∫volume(ρdVr2)r^Volume charge:E→(P)=14πε0∫volume(ρdVr2)r^$
5.11

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 $(qi,λdl,σdA,ρdV)(qi,λdl,σdA,ρdV)$ to the location of interest, $P(x,y,z)P(x,y,z)$ (the point in space where you want to determine the field). However, don’t confuse this with the meaning of $r^r^$; we are using it and the vector notation $E→E→$ to write three integrals at once. That is, Equation 5.9 is actually

$Ex(P)=14πε0∫line(λdlr2)x,Ey(P)=14πε0∫line(λdlr2)y,Ez(P)=14πε0∫line(λdlr2)z.Ex(P)=14πε0∫line(λdlr2)x,Ey(P)=14πε0∫line(λdlr2)y,Ez(P)=14πε0∫line(λdlr2)z.$

### Example 5.5

#### 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 $λλ$.

#### 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=λdldq=λ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 5.23). 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 5.23 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

$E→(P)=14πε0∫lineλdlr2r^.E→(P)=14πε0∫lineλdlr2r^.$

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 $E→(P)E→(P)$ is the vector sum of the fields from each of the two charge elements (call them $E→1E→1$ and $E→2E→2$, for now):

$E→(P)=E→1+E→2=E1xi^+E1zk^+E2x(−i^)+E2zk^.E→(P)=E→1+E→2=E1xi^+E1zk^+E2x(−i^)+E2zk^.$

Because the two charge elements are identical and are the same distance away from the point P where we want to calculate the field, $E1x=E2x,E1x=E2x,$ so those components cancel. This leaves

$E→(P)=E1zk^+E2zk^=E1cosθk^+E2cosθk^.E→(P)=E1zk^+E2zk^=E1cosθk^+E2cosθk^.$

These components are also equal, so we have

$E→(P)=14πε0∫λdlr2cosθk^+14πε0∫λdlr2cosθk^=14πε0∫0L/22λdxr2cosθk^E→(P)=14πε0∫λdlr2cosθk^+14πε0∫λdlr2cosθk^=14πε0∫0L/22λdxr2cosθ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. (The limits of integration are 0 to $L2L2$, not $−L2−L2$ to $+L2+L2$, 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 $θθ$ 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=(z2+x2)1/2r=(z2+x2)1/2$

and

$cosθ=zr=z(z2+x2)1/2.cosθ=zr=z(z2+x2)1/2.$

Substituting, we obtain

$E→(P)=14πε0∫0L/22λdx(z2+x2)z(z2+x2)1/2k^ =14πε0∫0L/22λz(z2+x2)3/2dxk^ =2λz4πε0 [ x z2z2+x2 ] | 0 L/2 k^ E→(P)=14πε0∫0L/22λdx(z2+x2)z(z2+x2)1/2k^ =14πε0∫0L/22λz(z2+x2)3/2dxk^ =2λz4πε0 [ x z2z2+x2 ] | 0 L/2 k^$

which simplifies to

$E→(z)=14πε0λLzz2+L24k^.E→(z)=14πε0λLzz2+L24k^.$
5.12

#### 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.

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 5.6

#### 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 $λλ$.

#### Strategy

This is exactly like the preceding example, except the limits of integration will be $−∞−∞$ to $+∞+∞$.

#### Solution

Again, the horizontal components cancel out, so we wind up with
$E→(P)=14πε0∫−∞∞λdxr2cosθk^E→(P)=14πε0∫−∞∞λdxr2cosθ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θ=zr=z(z2+x2)1/2.cosθ=zr=z(z2+x2)1/2.$

Substituting, we obtain

$E→(P)=14πε0∫−∞∞λdx(z2+x2)z(z2+x2)1/2k^=14πε0∫−∞∞λz(z2+x2)3/2dxk^=λz4πε0[xz2z2+x2]|−∞∞k^,E→(P)=14πε0∫−∞∞λdx(z2+x2)z(z2+x2)1/2k^=14πε0∫−∞∞λz(z2+x2)3/2dxk^=λz4πε0[xz2z2+x2]|−∞∞k^,$

which simplifies to

$E→(z)=14πε02λzk^.E→(z)=14πε02λzk^.$

#### 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≫Lz≫L$, $z2z2$ dominates the L in the denominator, so that Equation 5.12 simplifies to

$E→≈14πε0λLz2k^.E→≈14πε0λLz2k^.$

If you recall that $λL=qλ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→∞L→∞$, 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:

$E→(z)=14πε02λzk^.E→(z)=14πε02λzk^.$
5.13

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

### Example 5.7

#### Electric Field due to a Ring of Charge

A ring has a uniform charge density $λλ$, with units of coulomb per unit meter of arc. Find the electric field 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 5.24.
Figure 5.24 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
$E→(P)=14πε0∫lineλdlr2r^.E→(P)=14πε0∫lineλdlr2r^.$

A general element of the arc between $θθ$ and $θ+dθθ+dθ$ is of length $RdθRdθ$ and therefore contains a charge equal to $λRdθ.λRdθ.$ The element is at a distance of $r=z2+R2r=z2+R2$ from P, the angle is $cosϕ=zz2+R2cosϕ=zz2+R2$, and therefore the electric field is

$E→(P)=14πε0∫lineλdlr2r^=14πε0∫02πλRdθz2+R2zz2+R2z^=14πε0λRz(z2+R2)3/2z^∫02πdθ=14πε02πλRz(z2+R2)3/2z^=14πε0qtotz(z2+R2)3/2z^.E→(P)=14πε0∫lineλdlr2r^=14πε0∫02πλRdθz2+R2zz2+R2z^=14πε0λRz(z2+R2)3/2z^∫02πdθ=14πε02πλRz(z2+R2)3/2z^=14πε0qtotz(z2+R2)3/2z^.$

#### Significance

As usual, symmetry simplified this problem, in this particular case resulting in a trivial integral. Also, when we take the limit of $z>>Rz>>R$, we find that
$E→≈14πε0qtotz2z^,E→≈14πε0qtotz2z^,$

as we expect.

### Example 5.8

#### 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 center of the disk (Figure 5.25)
Figure 5.25 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
$E→(P)=14πε0∫surfaceσdAr2r^.E→(P)=14πε0∫surfaceσdAr2r^.$

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 $(k^)(k^)$ direction. The vertical component of the electric field is extracted by multiplying by $cosθcosθ$, so

$E→(P)=14πε0∫surfaceσdAr2cosθk^.E→(P)=14πε0∫surfaceσdAr2cosθk^.$

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

$dA=2πr′dr′r2=r′2+z2cosθ=z(r′2+z2)1/2.dA=2πr′dr′r2=r′2+z2cosθ=z(r′2+z2)1/2.$

(Please take note of the two different “r’s” here; r is the distance from the differential ring of charge to the point P where we wish to determine the field, whereas $r′r′$ is the distance from the center 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
$E→(P)=E→(z)=14πε0∫0Rσ(2πr′dr′)z(r′2+z2)3/2k^=14πε0(2πσz)(1z−1R2+z2)k^E→(P)=E→(z)=14πε0∫0Rσ(2πr′dr′)z(r′2+z2)3/2k^=14πε0(2πσz)(1z−1R2+z2)k^$

or, more simply,

$E→(z)=14πε0(2πσ−2πσzR2+z2)k^.E→(z)=14πε0(2πσ−2πσzR2+z2)k^.$
5.14

#### Significance

Again, it can be shown (via a Taylor expansion) that when $z≫Rz≫R$, this reduces to
$E→(z)≈14πε0σπR2z2k^,E→(z)≈14πε0σπR2z2k^,$

which is the expression for a point charge $Q=σπR2.Q=σπR2.$

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

As $R→∞R→∞$, Equation 5.14 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:

$E→=σ2ε0k^.E→=σ2ε0k^.$
5.15

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 5.15 is because we are above the plane. If we were below, the field would point in the $−k^−k^$ direction.

### Example 5.9

#### The Field of Two Infinite Planes

Find the electric field everywhere resulting from two infinite planes with equal but opposite charge densities (Figure 5.26).
Figure 5.26 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 $σσ$ 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

$E→=σε0i^E→=σε0i^$

for the electric field. The $i^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.

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

Order a print copy

As an Amazon Associate we earn from qualifying purchases.

Want to cite, share, or modify this book? This book is Creative Commons Attribution License 4.0 and you must attribute OpenStax.

• If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
• If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution: