Chapter 26. Triple integrals
We’re going to now consider integrals with three variables, rather than two. If you understood double integrals, then triple integrals is more of the same:
§26.1 [RECAP] Recap of triple integrals
I’m cheekily calling this section a “recap” to emphasize that there’s nothing new to learn here. Everything in the below list corresponds to a double integral thing you learned except with three variables rather than two.
One notational change: for 3D solids, I’ll prefer to use the letter instead of for a 3D region moving forward. The reason is that much later on when we discuss the divergence theorem, we’ll sometimes have both a 2D region and 3D region at the same time, so one needs different letters.
- Over a rectangular prism, we still integrate one variable at a time.
You can use
as a shorthand if you want; this is the last row of Table 13.
Instead of integration we have -integration. Whereas for double integrations you had two choices ( outer and inner vs. outer and inner), now you have choices for the order to do things in:
- outermost, middle, inner
- outermost, middle, inner
- outermost, middle, inner
- outermost, middle, inner
- outermost, middle, inner
- outermost, middle, inner.
The idea is the same if you have a region that isn’t a rectangular prism: write your region as inequalities.
The change of variables formula is exactly the same, where the Jacobian is now a matrix: if is a transition map of 3D regions, sending to , then the Jacobian is
Volume is
You can take this as a definition of volume for this class.
If is a density function for a 3D space, then
is the total mass. The center of mass is given by three coordinates now:
(We use instead of for 3D typically, because gets used in spherical coordinates.)
§26.2 [TEXT] Examples of triple integrals
Solution. Both inequalities must be satisfied simultaneously. Notice that for a fixed , both and are bounded by:
The variable ranges from to .
Hence, we will write this as a triple integral
If you draw a picture of the region, you get the intersection of these two cylinders which forms something apparently called a Steinmetz solid.
Surprisingly, you actually don’t want to use polar (or cylindrical) coordinates on this example. If you try to do so, I think you’ll actually get stuck. Straight -integration turns out to work because of the unexpectedly convenient fact that you get two square roots that miraculously cancel.
Solution. The given surfaces are both paraboloids:
- is an upward-opening paraboloid.
- is a downward-opening paraboloid.
Before diving in, let’s figure out where these two intersect. If we set these equal we get
With that in mind, we can convert the region to an inequality format: we write
for the constraint on and then
for the constraint on and .
Hence, the volume can be written as
We’ll separate the integral into an integral over the circle and then a single integral over the resulting :
At this point we’ll use polar coordinates: writing , and as always, we have
This previous example shows how, because of the way the problem was set, it was natural to do the integral for separately but do and with polar coordinates. This technique is called cylindrical coordinates, a name that doesn’t need to exist because it’s just polar coordinates with tacked on.
(Actually, I think the most surprising thing is the example we need with the Steinmetz solid earlier is not good to do with cylindrical coordinates, despite appearances.)
§26.3 [TEXT] Cylindrical coordinates (i.e. polar with tacked on)
There’s actually nothing new happening here — it’s just polar coordinates with tacked on.22 If you were able to do the earlier example with and by yourself without reading the solution, then you can safely skip this entire section!
The transition map , illustrated in Figure 57, is given by
The volume scaling factor is unsurprisingly the same as the one for 2D polar coordinates, and you may have used it implicitly on some previous problem sets already:
If you want to see this fully explicitly, you could compute the Jacobian
OK, let’s run the example. Note that, as I said, we could have given this example before this section.
Solution. The given inequalities describe a single cone with its apex at the origin, extending upwards to . To solve for both the volume and the center of mass, we’ll employ cylindrical coordinates due to the symmetry of the cone. As always, denotes the region (cone).
The values of that appear at all are to , and within them we have only the requirement that
In other words, we can write
However, of course we should just change to cylindrical coordinates right away:
This gives us the volume of the cone. And since the density was constant, we also have .
As for the center of mass, nominally there are three integrals, but again we can shortcut the calculation by noting that by symmetry the center of mass should lie on the -axis, meaning . Hence the only one we need to bother with is
Hence the center of mass is .
§26.4 [TEXT] Gravity
Suppose a point of mass is located at the origin . In general, given a mass at a point and a point of mass at a point , Newton’s law says the gravitational force exerted by on is
where is the gravitational constant.
But in real life, we usually want our mass to take up a whole region , with some density . (Point masses don’t occur in real life unless you count black holes.) So let’s suppose we have a solid mass occupying region . In that case, each individual point in can be thought of a vector
The total gravitational force is then the integral of this over the entire mass .
So the total gravitational force is nominally
(12)
Now, if you have been following my advice to always audit type safety, then you should stop me right here. This is the first time in the entire notes that I’ve had an integral where the integrand is a vector rather than the number. What’s going on?
The general answer is that you should just do everything component wise. But to keep things simple for the course, I will never use Equation 12 in that form, so that our integrands always have type number rather than type vector. To do this, I’ll rewrite Equation 12 as follows:
Suppose is a region with density function . The gravitational vector on the origin is defined by
That is, .
Now , , are integrals of numbers again, so we’re fine.
Because the is so awkward to work with, you will commonly do a certain change-of-variables called spherical coordinates. So we’ll punt all the examples to next chapter, Chapter 27.