Calculating the electric field of a continuous charge distribution usually requires setting up and evaluating integrals—a skill you’ve been learning in calculus. It is common to think that “an integral is the area under a curve,” an idea we used in our study of kinematics.
But integration is much more than a tool for finding areas. More generally, integration is summation. That is, an integral is a sophisticated way to add an infinite number of infinitesimally small pieces. The area under a curve happens to be a special case in which you’re summing the small areas of an infinite number of tall, narrow boxes, but the idea of integration as summation has many other applications.
Suppose, for example, that a charged object is divided into a large number of small pieces numbered having small quantities of charge . Figure 23.9 showed small pieces of charge for a charged rod and a charged sheet, but the object could have any shape. The total charge on the object is found by summing all the small charges:
If we now let and , then we define the integral:
That is, integration is the summing of an infinite number of infinitesimally small pieces of charge. This use of integration has nothing to do with the area under a curve.
Although Equation 23.15 is a formal statement of “add up all the little pieces,” it’s not yet an expression that can actually be integrated with the tools of calculus. Integrals are carried out over coordinates, such as or , and we also need coordinates to specify what is meant by “integrate over the object.” This is where densities come in.
Suppose we want to find the total charge of a thin, charged rod of length L. First, we establish an x-axis with the origin at one end of the rod, as shown in FIGURE 23.10. Then we divide the rod into lots of tiny segments of length . Each of these little segments has a charge , and the total charge on the rod is the sum of all the values—that’s what Equation 23.15 is saying. Now the critical step: The rod has some linear charge density . Consequently, the charge of a small segment of the rod is . Densities are the link between quantities and coordinates. Finally, “integrate over the rod” means to integrate from to . Thus the total charge on the rod is
Now we have an expression that can be integrated. If is constant, as it is for a uniformly charged rod, we can take it outside the integral to find . But we could also use Equation 23.16 for a nonuniformly charged rod where is some function of x.
This discussion reveals two key ideas that will be needed for calculating electric fields:
Integration is the tool for summing a vast number of small pieces.
Density is the connection between quantities and coordinates.