We’ve flirted with the idea of a line integral ever since introducing the concept of work in Chapter 9, but now we need to take a more serious look at what a line integral represents and how it is used. FIGURE 29.22a shows a curved line that goes from an initial point i to a final point f.
Suppose, as shown in FIGURE 29.22b, we divide the line into many small segments of length . The first segment is , the second is , and so on. The sum of all the is the length l of the line between i and f. We can write this mathematically as
where, in the last step, we let and the sum become an integral.
This integral is called a line integral. All we’ve done is to subdivide a line into infinitely many infinitesimal pieces, then add them up. This is exactly what you do in calculus when you evaluate an integral such as . In fact, an integration along the x-axis is a line integral, one that happens to be along a straight line. Figure 29.22 differs only in that the line is curved. The underlying idea in both cases is that an integral is just a fancy way of doing a sum.
The line integral of Equation 29.11 is not terribly exciting. FIGURE 29.23a makes things more interesting by allowing the line to pass through a magnetic field. FIGURE 29.23b again divides the line into small segments, but this time is the displacement vector of segment k. The magnetic field at this point in space is .
Suppose we were to evaluate the dot product at each segment, then add the values of due to every segment. Doing so, and again letting the sum become an integral, we have
Once again, the integral is just a shorthand way to say: Divide the line into lots of little pieces, evaluate for each piece, then add them up.
Although this process of evaluating the integral could be difficult, the only line integrals we’ll need to deal with fall into two simple cases. If the magnetic field is everywhere perpendicular to the line, then at every point along the line and the integral is zero. If the magnetic field is everywhere tangent to the line and has the same magnitude B at every point, then at every point and
We used Equation 29.11 in the last step to integrate ds along the line.
Tactics Box 29.3 summarizes these two situations.
1 If is everywhere perpendicular to a line, the line integral of is
2 If is everywhere tangent to a line of length l and has the same magnitude B at every point, then
Workbook Exercises 23–24