Week 3 Discussion Notes

Table of Contents

Triple Integrals

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)=1f\p{x, y, z} = 1 over the region W\mathscr{W} in the first octant bounded by the triangle with vertices (4,0,0)\p{4, 0, 0}, (0,4,0)\p{0, 4, 0}, and (0,0,6)\p{0, 0, 6}.

Solution.

When approaching these types of problems, you always want to sketch the region first:

W\mathscr{W} is an example of a vertically simple (or zz-simple) region. In other words, W\mathscr{W} is a region between two surfaces, meaning you can express W\mathscr{W} in the form

W={(x,y,z)R3|(x,y)D, z1(x,y)zz2(x,y)}.\mathscr{W} = \set{\p{x, y, z} \in \R^3 \st \p{x, y} \in \mathscr{D},\ z_1\p{x, y} \leq z \leq z_2\p{x, y}}.

Here, z=z1(x,y)z = z_1\p{x, y} is the lower surface and z=z2(x,y)z = z_2\p{x, y} is the upper surface. For this problem, z1(x,y)=0z_1\p{x, y} = 0 is equation of the xyxy-plane, and z2(x,y)=32(4xy)z_2\p{x, y} = \frac{3}{2}\p{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 zz-bounds:

0z32(4xy),0 \leq z \leq \frac{3}{2}\p{4 - x - y},

so now, we need to figure out our bounds for xx and yy. If we project the region to the xyxy-plane, we get another triangle:

You can express the region as a vertically simple domain:

D={(x,y)R2|0x4, 0y4x}\mathscr{D} = \set{\p{x, y} \in \R^2 \st 0 \leq x \leq 4,\ 0 \leq y \leq 4 - x}

Now that we have all our bounds, we can set up the integral:

Wf(x,y,z)dV=0404x032(4xy)dzdydx=16\iiint_\mathscr{W} f\p{x, y, z} \,\diff{V} = \int_0^4 \int_0^{4-x} \int_0^{\frac{3}{2}\p{4-x-y}} \diff{z} \,\diff{y} \,\diff{x} = \boxed{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:

dA=rdrdθ,x=rcosθ, y=rsinθdV=rdzdrdθ,x=rcosθ, y=rsinθ, z=zdV=ρ2sinφdρdφdθ,x=ρsinφcosθ, y=ρsinφsinθ, z=ρcosφ\begin{aligned} \diff{A} &= r \,\diff{r} \,\diff{\theta}, && x = r\cos\theta,\ y = r\sin\theta \\ \diff{V} &= r \,\diff{z} \,\diff{r} \,\diff{\theta}, && x = r\cos\theta,\ y = r\sin\theta,\ z = z \\ \diff{V} &= \rho^2\sin{\phi} \,\diff\rho \,\diff{\phi} \,\diff{\theta}, && x = \rho\sin\phi\cos\theta,\ y = \rho\sin\phi\sin\theta,\ z = \rho\cos\phi \end{aligned}
Example 2.

Use spherical coordinates to find the volume of the region W\mathscr{W} bounded below by the plane z=1z = 1 and above by the sphere x2+y2+z2=4x^2 + y^2 + z^2 = 4.

Solution.

Like always, let's sketch the region first:

This region is symmetric in θ\theta, i.e., if you rotate it about the zz-axis, you always get the same shape. This means that our bounds can only depend on ρ\rho or φ\phi.

The region is ρ\rho-simple, which means that we can write our ρ\rho bounds as

ρ1(φ)ρρ2(φ).\rho_1\p{\phi} \leq \rho \leq \rho_2\p{\phi}.

Here, ρ1(φ)\rho_1\p{\phi} is the inner surface (the red one), and ρ2(φ)\rho_2\p{\phi} is the outer surface (the blue one). The outer surface is the sphere, so ρ2(φ)=2\rho_2\p{\phi} = 2, the radius of the sphere. For the inner surface, we'll have to do some trig:

Thus,

cosφ=1ρ2    ρ2(φ)=1cosφ.\cos\phi = \frac{1}{\rho_2} \implies \rho_2\p{\phi} = \frac{1}{\cos\phi}.

To finish the problem, we need to find the bounds for φ\phi and θ\theta. φ\phi starts at φ1=0\phi_1 = 0, and to find the upper bound φ2\phi_2, we need to do more trig:

So,

cosφ2=12    φ2=π3,\cos\phi_2 = \frac{1}{2} \implies \phi_2 = \frac{\pi}{3},

which means 0φπ30 \leq \phi \leq \frac{\pi}{3}. Lastly, we're integrating over a full rotation, so 0θ2π0 \leq \theta \leq 2\pi. This gives

WdV=02π0π/31/cosφ2ρ2sinφdρdφdθ=5π3.\iiint_\mathscr{W} \diff{V} = \int_0^{2\pi} \int_0^{\pi/3} \int_{1/\cos\phi}^2 \rho^2\sin\phi \,\diff\rho \,\diff\phi \,\diff\theta = \boxed{\frac{5\pi}{3}}.

(Like before, the hard part of this problem is setting up the integral, so I'm going to omit the full computation.)