Triple integral examples

Example 1

A cube has sides of length 4. Let one corner be at the origin and the adjacent corners be on the positive x, y, and z axes.

PIC

If the cube’s density is proportional to the distance from the xy-plane, find its mass.

Solution: The density of the cube is f(x,y,z) = kz for some constant k.

If W is the cube, the mass is the triple integral

W kzdV =040404kzdxdydz =0404 kxz x=0x=4 dydz =04044kzdydz =04 4kzy y=0y=4 dz =0416kzdz = 8kz2 z=0z=4 = 128k

If distance is in cm and k = 1 gram per cubic cm per cm, then the mass of the cube is 128 grams.

Example 2

Evaluate the integral

010x01+x+yf(x,y,z)dzdydx

where f(x,y,z) = 1.

Solution:

010x01+x+ydzdydx =010x z z=0z=1+x+y dydx =010x(1 + x + y)dydx =01 y + yx + y2 2 y=0y=x dx =01 x + x2 + x2 2 dx =01 x + 3x2 2 dx = x2 2 + x3 2 01 = 1 2 + 1 2 = 1

Note: when we integrate f(x,y,z) = 1, the integral W dV is the volume of the solid W.

Example 3a

Set up the integral of f(x,y,z) over W, the solid “ice cream cone” bounded by the cone z = x2 + y2 and the sphere z = 1 x2 y2.

PIC

Solution: The “ice cream cone” is between these two surfaces:

x2 + y2 z 1 x2 y2.

This gives the range of z as a function of x and y.

Now we need to find the maximal range of x and y. Inside the ice cream cone, the maximal range of x and y occurs where the two surfaces meet, i.e., where the “ice cream” (the sphere) meets the cone. From the figure, you can see that the surfaces meet in a circle, and the range of x and y is the disk that is the interior of that circle.

The surfaces meet when x2 + y2 = 1 x2 y2, which means x2 + y2 = 1 x2 y2 or

x2 + y2 = 1 2.

We have shown that in the “ice cream cone”

x2 + y2 1 2.

We write this as

12 x2 y 12 x2

This gives the range of y as a function of x.

Finally, we need the maximal range of x alone. Given that x2 + y2 12, the maximal range occurs when y = 0 so that x2 12. The maximal range of x is

12 x 12.

We have determined all the limits on the interated integral. The integral is

W fdV =121212x2 12x2 x2 +y2 1x2 y2 f(x,y,z)dzdydx

Example 3b

Find the volume of the ice cream cone.

Solution: Simply set f = 1 in Example 3a.

Volume is

W dV =121212x2 12x2 x2 +y2 1x2 y2 dzdydx

We won’t attempt to evaluate this integral in rectangular coordinates.

Example 4

Find volume of the tetrahedron bounded by the coordinate planes and the plane through (2, 0, 0), (0, 3, 0), and (0, 0, 1).

PIC

Solution:

The first step is to find the equation for the plane. You can follow the procedure in forming plane example 2 to calculate that the plane is

3x + 2y + 6z = 6.  (1)

In the tetrahedron, the total range of z is

0 z 1

Now we need to find the maximal total range of x for each value of z. For any value of z, x has the largest range when y = 0. So look at the cross section of the tetrahedron in the xz-plane (i.e., where y = 0).

PIC

The lower limit of x is zero, and the upper limit corresponds to the plane given by equation (1) when y = 0. Plugging y = 0 into equation (1), we obtain 3x + 6z = 6, or x = 2(1 z). Hence, for a given z, the range of x is

0 x 2(1 z).

Last, we need to find the range of y for a given value of z and x. The lowest y gets is zero. The upper value of y is given by equation (1) for the upper plane, which we can solve for y to write as y = 3(1 x2 z). Hence, for a given z and x, the range of y is

0 y 3 1 x 2 z.

To find the volume, we integrate the function 1 over this region:

0102(1z)03(1x2z)dydxdz =0102(1z)3 1 x 2 zdxdz =013 x x2 4 zxx=0x=2(1z) dz =013 2(1 z) (1 z)2 2z(1 z) dz =013(1 2z + z2)dz = 3 z z2 + z3 3 01 = 3 1 1 + 1 3 = 3 1 3 = 1

Example 5

Change the order of x and y in the integral we derived above,

0102(1z)03(1x2z)dydxdz,

so that the order will be dxdydz.

Solution: If y will be middle integral, we need limits of y in terms of z (independent of x).

For given z, how large can y range? From the above limits, we know

0 y 3 1 x 2 z.

The range is largest when x = 0, so

0 y 3 1 z

Then, given z and y, we need to know the range of the x. The following relationship must still be true.

y 3 1 x 2 z

Rewrite in terms of x:

3x 2 3 3z y

or

x 2 1 z y 3

Since we also know x 0, the new limits of integration are

0103(1z)02(1zy3)dxdydz.