Chapter 21. A zoomed out pep talk of Part Golf
This whole chapter is a pep talk. We’ll get to recipes and details in later sections.
§21.1 [TEXT] The big table of integrals
The rest of 18.02 is going to cover a bunch of different integrals. If you’ve been following my advice to pay attention to type safety so far, it’ll help you here. I’ll freely admit that I (Evan) often make type-errors in this part of 18.02 as well, so don’t let your guard down.
Remember that:
For example, this idea even makes sense for ! In 18.02, a -dimensional object is a point (or a bunch of points), and you can evaluate at a point by just plugging it in. So philosophically, a -dimensional integral is just a finite sum of at some points. This might seem stupid that I bring up this degenerate case, but it turns out later when we cover div/grad/curl the -dimensional case is relevant.
We give a giant chart in Figure 41. (The chart is so big it doesn’t quite fit in the page, but you can download a large PDF version). This chart has ten different kinds of integrals, one for each with . Here’s a rundown of the things in the chart.
The case is stupid, as I just said, and it’s only here because I’ll reference it later.
The case and was covered in 18.01. Good old single-variable integral computed using the antiderivative, via the fundamental theorem of calculus.
After that, the conceptually simplest cases are actually and — the ones on the diagonal. In general, these might be called double/area integrals for and triple/volume integrals for . We’ll say a bit in a moment about how to compute these in practice, but the good news is that often you can just chain together old 18.01 integrals; you don’t even need a parametrization some of the time.
When and , what you get are line integrals. The idea is that you have a trajectory in which is defined by some parametric equation . You also have a function . The line integral lets you add up the values of along the trajectory.
This just turns out to be a single 18.01 integral. Usually your path is parametrized by a single variable . So even though the expression inside the integral
inside the integral might look intimidating, if you are really given a concrete and , then what you really have is
which is an 18.01 integral! And so that’s something you already know how to do.
In other words, if you have and , you basically replace it right away with a single integral over the parametrizing line segment. In other words line integrals translate directly into single 18.01 integrals.
When and , we have the surface integral. To compute these, you usually have to parametrize a surface; but since a surface is two-dimensional, rather than for a time parameter you have for two parameters and to describe the surface. That makes these a little more annoying.
But like the line integral, after you work out the parametrization stuff, the surface integral will transform into a -variable area integral. In other words surface integrals translate directly into area integrals.
So the bottom trio — 2D/3D line integral and surface integral — end up being special instances of the single and double integrals. We’ll see some examples of this later; but it’ll actually be the last thing we cover in part Golf. Most of part Golf is dedicated towards double and triple integrals instead.
§21.2 [TEXT] Warning about the bottom trio
The integrals in Figure 41 would be better called scalar-field line integral and scalar-field surface integral to emphasize that this is integration for a scalar function or . The reason you won’t see this term much is the following important caveat the line integral and surface integral in Figure 41 are used rarely.
In 18.02 the only cases where we use these are:
- Arc length (for ) and surface area (for )
- Questions related to mass, or center of mass, of objects like wires (for ) or metal plates (for ).
In this book, this will happen in Chapter 29, and then after that the line and surface integrals will always be the vector field variant instead (in Part India and Juliett). If you want to flip ahead, take a glance at Figure 75 and Table 15.
§21.3 [TEXT] Idea of how these are computed when and
So as I just said, focus for now on or (the double and triple integral cells in chart Figure 41).
The easiest cases are when the region you’re integrating is a rectangle or prism. Despite looking scary because of the number of integral signs, they are actually considered the “easy case” to think about for practical calculations:
- A double integral over a rectangle is two 18.01 integrals followed one after another.
- A triple integral over a rectangular prism really is three 18.01 integrals followed one after another.
Then there are cases where or but the region is not rectangular. For example, maybe in you are trying to do an area integral over the disk or you are trying to do a volume integral over the ball for example.
Even in this case, sometimes you could still set up a double integral or triple integral without having to change variables. For example, an integral over the disk
might actually be rewritten a double integral
Although it looks more frightening because the limits of integration are expressions and not numbers, it doesn’t require any new techniques. It really is just two 18.01 integrals, one after another.
If rewriting as a double or triple integral fails, then the strategy is instead to change variables. This method will be covered extensively in Chapter 23.
So to summarize
This is actually really, really good news! You might have remembered from 18.01 that computing integrals of single-variable functions like was, well, hard!19 Computing antiderivatives was not easy at all; in fact, it’s so nontrivial that MIT students made an event called the integration bee that’s like the spelling bee but for integrals (I’m not kidding). You might have feared that in 18.02, you might need to learn something even more horrifying.
But no, you don’t! It’s a lot like how you might be scared of multivariate differentiation at first, with the symbols or partial derivatives, until you realize that calculating partial derivatives is something you actually already know how to do from 18.01.
The same will be true for multivariable integrals. The challenge won’t actually be the anti-derivatives, which are unchanged from 18.01. The hard part will actually be figuring out the limits of integration!