2 Evaluating triple integrals

A triple integral is an integral of the form

a b p ( x ) q ( x ) r ( x , y ) s ( x , y ) f ( x , y , z ) d z d y d x

The evaluation can be split into an “inner integral" (the integral with respect to z between limits which are functions of x and y ), an “intermediate integral" (the integration with respect to y between limits which are functions of x ) and an “outer integral" (the integration with respect to x between limits which are constants. Note that there is nothing special about the variable names x , y and z : other variable names could have been used instead.

Triple integrals can be represented in different ways. V f d V represents a triple integral where the d V is replaced by d x d y d z (or equivalent) and the limit of V on the integral is replaced by appropriate limits on the three integrals.

Note that the integral V d V (i.e. integrating the function f ( x , y , z ) = 1 ) gives the volume of the relevant shape. Hence the alternative name of volume integral.

One special case is where the limits on all the integrals are constants (a constant is, of course, a special case of a function). This represents an integral over a cuboidal region.

Example 16

Consider a cube V of side 1.

  1. Express the integral V f d V (where f is any function of x , y and z ) as a

    triple integral.

  2. Hence evaluate V ( y 2 + z 2 ) d V

Figure 23

No alt text was set. Please request alt text from the person who provided you with this resource.

Solution
  1. Consider a little element of length d x , width d y and height d z . Then δ V (the volume of the small element) is the product of these lengths d x d y d z . The function is integrated three times. The first integration represents the integral over the vertical strip from z = 0 to z = 1 . The second integration represents this strip sweeping across from y = 0 to y = 1 and is the integration over the slice that is swept out by the strip. Finally the integration with respect to x represents this slice sweeping from x = 0 to x = 1 and is the integration over the entire cube. The integral therefore becomes

    0 1 0 1 0 1 f ( x , y , z ) d z d y d x

  2. In the particular case where the function is f ( x , y , z ) = y 2 + z 2 , the integral becomes

    0 1 0 1 0 1 ( y 2 + z 2 ) d z d y d x

    The inner integral is

    0 1 ( y 2 + z 2 ) d z = y 2 z + 1 3 z 3 z = 0 1 = y 2 × 1 + 1 3 × 1 y 2 × 0 1 3 × 0 = y 2 + 1 3

    This inner integral is now placed into the intermediate integral to give

    0 1 ( y 2 + 1 3 ) d y = 1 3 y 3 + 1 3 y y = 0 1 = 1 3 × 1 3 + 1 3 × 1 1 3 × 0 3 1 3 × 0 = 2 3

    Finally, this intermediate integral can be placed into the outer integral to give

    0 1 2 3 d x = 2 3 x 0 1 = 2 3 × 1 2 3 × 0 = 2 3

Example 17

Evaluate 0 1 0 2 0 3 8 x y z d z d y d x . This represents an integral over the cuboid given by 0 x 1 , 0 y 2 , 0 z 3 .

Solution

The inner integral is given by integrating the function with respect to z while keeping x and y constant.

0 3 8 x y z d z = 4 x y z 2 0 3 = 4 x y × 9 0 = 36 x y

This result is now integrated with respect to y while keeping x constant:

0 2 36 x y d y = 18 x y 0 2 = 18 x × 4 0 = 72 x

Finally, this result is integrated with respect to x :

0 1 72 x d x = 36 x 2 0 1 = 36 × 1 0 = 36

Hence, 0 1 0 2 0 3 8 x y z d z d y d x = 36

More generally, the limits on the inner integral may be functions of the “intermediate" and “outer" variables and the limits on the intermediate integral may be functions of the “outer" variable.

Example 18

V is the tetrahedron bounded by the planes x = 0 , y = 0 , z = 0 and x + y + z = 4 . (see Figure 24).

Figure 24

No alt text was set. Please request alt text from the person who provided you with this resource.

  1. Express V f ( x , y , z ) d V (where f is a function of x , y and z ) as a triple integral.
  2. Hence find V x d V .
Solution

The tetrahedron is divided into a series of slices parallel to the y z -plane and each slice is divided into a series of vertical strips. For each strip, the bottom is at z = 0 and the top is on the plane x + y + z = 4 i.e. z = 4 x y . So the integral up each strip is given by z = 0 4 x y f ( x , y , z ) d z and this (inner) integral will be a function of x and y .

This, in turn, is integrated over all strips which form the slice. For each value of x , one end of the slice will be at y = 0 and the other end at y = 4 x . So the integral over the slice is y = 0 4 x z = 0 4 x y f ( x , y , z ) d z d y and this (intermediate) integral will be a function of x .

Finally, integration is carried out over x . The limits on x are x = 0 and x = 4 . Thus the triple integral is x = 0 4 y = 0 4 x z = 0 4 x y f ( x , y , z ) d z d y d x and this (outer) integral will be a constant.

Hence V f ( x , y , z ) d V = x = 0 4 y = 0 4 x z = 0 4 x y f ( x , y , z ) d z d y d x .

In the case where f ( x , y , z ) = x , the integral becomes

V f ( x , y , z ) d V = x = 0 4 y = 0 4 x z = 0 4 x y x d z d y d x = x = 0 4 y = 0 4 x x z z = 0 4 x y d y d x = x = 0 4 y = 0 4 x ( 4 x y ) x 0 d y d x = x = 0 4 y = 0 4 x 4 x x 2 x y d y d x = x = 0 4 4 x y x 2 y 1 2 x y 2 y = 0 4 x d x = x = 0 4 4 x ( 4 x ) x 2 ( 4 x ) 1 2 x ( 4 x ) 2 0 y = 0 4 x d x = x = 0 4 16 x 4 x 2 4 x 2 + x 3 8 x + 4 x 2 1 2 x 3 d x = x = 0 4 8 x 4 x 2 + 1 2 x 3 d x = 4 x 2 4 3 x 3 + 1 8 x 4 0 4 = 4 × 4 2 4 3 × 4 3 + 1 8 × 4 4 0 = 64 256 3 + 32 = 192 256 + 96 3 = 32 3
Key Point 7

Triple Integration

The procedure for carrying out a triple integral is very similar to that for a double integral except that the procedure requires three stages rather than two.

Example 19

Find the integral of x over the shape shown in Figure 25. It represents half (positive x ) of a cylinder centered at x = y = 0 with radius 1 and vertical extent from z = 0 to z = 1 .

Figure 25

No alt text was set. Please request alt text from the person who provided you with this resource.

Solution

In terms of x , the shape goes from x = 0 to x = 1 . For each value of x , y goes from 1 x 2 to 1 x 2 . The variable z varies from z = 0 to z = 1 . Hence the triple integral is

I = x = 0 1 y = 1 x 2 1 x 2 z = 0 1 x d z d y d x = x = 0 1 y = 1 x 2 1 x 2 x z z = 0 1 d y d x = x = 0 1 y = 1 x 2 1 x 2 x 0 d y d x = x = 0 1 y = 1 x 2 1 x 2 x d y d x = x = 0 1 x y y = 1 x 2 1 x 2 d x = x = 0 1 2 x 1 x 2 d x

This outer integral can be evaluated by means of the substitution U = 1 x 2 i.e. d U = 2 x d x and noting that U = 1 when x = 0 and U = 0 when x = 1 i.e.

I = x = 0 1 2 x 1 x 2 d x = 1 0 U 1 2 d U = 0 1 U 1 2 d U = 2 3 U 3 2 0 1 = 2 3 0 = 2 3

It is important to note that the three integrations can be carried out in whatever order is most convenient. The result does not depend on the order in which the integrals are carried out. However, when the order of the integrations is changed, it is necessary to consider carefully what the limits should be on each integration. Simply moving the limits from one integration to another will only work in the case of integration over a cuboid (i.e. where all limits are constants).

Key Point 8

Order of Integration for Triple Integrals

  1. The three integrations can be carried out in whichever order is most convenient.
  2. When changing the order of the integrations, it is important to reconsider the limits on each

     integration; a diagram can often help.

Example 20

For the triangular prism in Figure 26, with ends given by the planes y = 0 and y = 2 and remaining faces given by the planes x = 0 , z = 0 and x + 4 z = 4 , find the integral of x over the prism, by

  1. Integrating first with respect to z , then y and finally x , and
  2. Changing the order of the integrations to x first, then y , then z .

Figure 26

No alt text was set. Please request alt text from the person who provided you with this resource.

Solution

For every value of x and y , the vertical coordinate z varies from z = 0 to z = 1 x 4 . Hence the limits on z are z = 0 and z = 1 x 4 . For every value of x , the limits on y are y = 0 to y = 2 . The limits on x are x = 0 and x = 4 (the limits on the figure). Hence the triple integral is 0 4 0 2 0 1 x 4 x d z d y d x which can be evaluated as follows

I = 0 4 0 2 0 1 x 4 x d z d y d x = 0 4 0 2 x z 0 1 x 4 d y d x = 0 4 0 2 x 1 x 4 0 d y d x = 0 4 0 2 x 1 4 x 2 d y d x = 0 4 x 1 4 x 2 y 0 2 d x = 0 4 x 1 4 x 2 × 2 x 1 4 x 2 × 0 d x = 0 4 2 x 1 2 x 2 d x = x 2 1 6 x 3 0 4 = 4 2 1 6 × 4 3 0 = 16 32 3 = 16 3

Now, if the order of the integrations is changed, it is necessary to re-derive the limits on the integrals. For every combination of y and z , x varies between x = 0 (left) and x = 4 4 z (right). Hence the limits on x are x = 0 and x = 4 4 z . The limits on y are y = 0 and y = 2 (for all z ). The limits of z are z = 0 (bottom) and z = 1 (top).

So the triple integral becomes 0 1 0 2 0 4 4 z x d x d y d z which can be evaluated as follows

I = 0 1 0 2 0 4 4 z x d x d y d z = 0 1 0 2 1 2 x 2 0 4 4 z d y d z = 0 1 0 2 1 2 ( 4 4 z ) 2 d y d z = 0 1 0 2 ( 8 16 z + 8 z 2 ) d y d z = 0 1 8 16 z + 8 z 2 y 0 2 d z = 2 0 1 ( 8 16 z + 8 z 2 ) d z = 2 8 z 8 z 2 + 8 3 z 3 0 1 = 2 8 8 + 8 3 0 = 16 3
Key Point 9

Limits of Integration

While for different orders of integration the integral will always evaluate to the same value, the limits of integration will in general be different.

Task!

Evaluate the triple integral: 0 2 0 3 0 2 x 3 y 2 z d x d y d z

The inner integral is

0 2 x 3 y 2 z d x = 1 4 x 4 y 2 z 0 2 = 1 4 2 4 y 2 z 0 = 4 y 2 z

This is put into the intermediate integral i.e.

0 3 4 y 2 z d y = 4 3 y 3 z 0 3 = 4 3 3 3 z 0 = 36 z

Finally, this is put in the outer integral to give

I = 0 2 36 z d z = 18 z 2 0 2 = 18 × 2 2 0 = 72

Exercises

Evaluate the following triple integrals

  1. 0 2 0 x 0 x + z ( x + y + z ) d y d z d x
  2. 2 4 1 3 x 2 2 2 x 2 ( x + y ) d z d y d x
  1. 14
  2. 88 3
Task!

Find the volume of the solid prism shown in the diagram below. Check that when the order of integration is changed, the volume remains unaltered.

No alt text was set. Please request alt text from the person who provided you with this resource.

The volume is given by the triple integral d V .



Putting z on the outer integral, y on the intermediate integral and x on the inner integral, the limits on z are z = 0 to z = 1 . For each value of z , y varies from y = 0 (base) to y = 1 z on the sloping face. For each combination of y and z , x varies from x = 0 to x = 3 . Thus, the volume is given by

V = d V = z = 0 1 y = 0 1 z x = 0 3 d x d y d z = z = 0 1 y = 0 1 z x 0 3 d y d z = z = 0 1 y = 0 1 z 3 d y d z = z = 0 1 3 y y = 0 1 z d z = z = 0 1 3 ( 1 z ) 0 d z = z = 0 1 3 3 z d z = 3 z 3 2 z 2 0 1 = 3 3 2 ( 0 0 ) = 3 2 = 1.5

Now, the three integrations can be carried out in a different order. For example, with x on the outer integral, z on the intermediate integral and y on the inner integral, the limits on x are x = 0 to x = 3 ; for each value of x , z varies from z = 0 to z = 1 and for each combination of x and z , y varies from y = 0 to y = 1 z . The volume is therefore given by

V = d V = x = 0 3 z = 0 1 y = 0 1 z d y d z d x = x = 0 3 z = 0 1 y y = 0 1 z d z d x = x = 0 3 z = 0 1 1 z d z d x = x = 0 3 z z 2 2 z = 0 1 d x = x = 0 3 1 1 2 2 0 d x = x = 0 3 1 2 d x = x 2 x = 0 3 = 3 2 0 = 1.5

There are in all six ways ( 3 ! ) to order the three integrations; each order gives the same answer of 1.5 .

Exercise

Find the volume of the solid shown in the diagram below. Check that when the order of integration is changed, the volume remains unaltered.

No alt text was set. Please request alt text from the person who provided you with this resource.

32