Triple integrals are like double integrals, except now you have one more iterated integral. However, despite this, triple integrals tend to be much harder than double integrals because the regions are harder to visualize, since they're 3-dimensional now.
Example 1.
Integrate f(x,y,z)=1 over the region W in the first octant bounded by the triangle with vertices (4,0,0), (0,4,0), and (0,0,6).
Solution.
When approaching these types of problems, you always want to sketch the region first:
W is an example of a vertically simple (or z-simple) region. In other words, W is a region between two surfaces, meaning you can express W in the form
W={(x,y,z)∈R3∣∣(x,y)∈D,z1(x,y)≤z≤z2(x,y)}.
Here, z=z1(x,y) is the lower surface and z=z2(x,y) is the upper surface. For this problem, z1(x,y)=0 is equation of the xy-plane, and z2(x,y)=23(4−x−y) is the equation of the plane that contains the triangle (you can find the equation, since you're given 3 points on the plane). This means we already have our z-bounds:
0≤z≤23(4−x−y),
so now, we need to figure out our bounds for x and y. If we project the region to the xy-plane, we get another triangle:
You can express the region as a vertically simple domain:
D={(x,y)∈R2∣∣0≤x≤4,0≤y≤4−x}
Now that we have all our bounds, we can set up the integral:
∭Wf(x,y,z)dV=∫04∫04−x∫023(4−x−y)dzdydx=16
(I'm going to omit the calculation, since the hardest part of the problem is just setting up the integral.)
Change of Variables
There are three change of variables we've seen so far:
Use spherical coordinates to find the volume of the region W bounded below by the plane z=1 and above by the sphere x2+y2+z2=4.
Solution.
Like always, let's sketch the region first:
This region is symmetric in θ, i.e., if you rotate it about the z-axis, you always get the same shape. This means that our bounds can only depend on ρ or φ.
The region is ρ-simple, which means that we can write our ρ bounds as
ρ1(φ)≤ρ≤ρ2(φ).
Here, ρ1(φ) is the inner surface (the red one), and ρ2(φ) is the outer surface (the blue one). The outer surface is the sphere, so ρ2(φ)=2, the radius of the sphere. For the inner surface, we'll have to do some trig:
Thus,
cosφ=ρ21⟹ρ2(φ)=cosφ1.
To finish the problem, we need to find the bounds for φ and θ. φ starts at φ1=0, and to find the upper bound φ2, we need to do more trig:
So,
cosφ2=21⟹φ2=3π,
which means 0≤φ≤3π. Lastly, we're integrating over a full rotation, so 0≤θ≤2π. This gives
∭WdV=∫02π∫0π/3∫1/cosφ2ρ2sinφdρdφdθ=35π.
(Like before, the hard part of this problem is setting up the integral, so I'm going to omit the full computation.)