Triple Integral – Definition, General Forms, and Examples

Through triple integrals, we can now extend our understanding of iterated integrals to expressions and functions with three variables. We can use triple integrals to calculate the volume and mass of different objects – which are important components we need in physics, structural engineering, and other fields. This is why understanding triple integrals are important if we want to work with setups where there are now three variables components.

Triple integrals represent the iterated of functions with three variables, f(x,y,z). Instead of integrating our function over a given area, we’re now integrating it over a three-dimensional figure that has volume.

At this point, it is important that you are familiar with how we set up and evaluate iterated and double integrals. Open the embedded links in a separate tab or window in case you need an immediate refresher.

Through this article, we’ll show you how we can visualize and understand what triple integrals represent. We’ll also provide a thorough explanation of how to evaluate different triple integrals. By the end of the discussion, you should also learn how to solve problems that involve triple integrals.

Are you ready?

Let’s begin by visualizing triple integrals in three-dimensional coordinate systems then use these representations to define them.

What Is a Triple Integral?

A triple integral is an iterated integral with three variables and over a three-dimensional region. We can treat triple integrals’ definition as an extension of that of the double integrals, but this time, we’re integrating over a volume instead of an area.

visualizing how a triple integral works

Similar to double integrals, we can start with a simple triple integral: divide the rectangular space into smaller boxes with the following dimensions: Δx×Δy×Δz. Adding the volume up and taking the volume’s limit will return the triple integral shown below:

Sf(x,y,z)xdV

Keep in mind that for the triple integral to exist for the region S, f(x,y,z) must be continuous and integrable on S. Let’s say we are integrating over the box with the following bounds:

S=[a,b]×[c,d]×,[m,n]

For this case, [a,b] represents the limits with respect to x, [c,d] are the limits for y, and [m,n] are the limits for z. We can write the triple integral of f(x,y,z) bounded by the box, S, as shown below.

Sf(x,y,z)xdV=mncdabf(x,y,z)xdxdydz

This is the common form that we’ll encounter when working with triple integrals, but there are six possible forms for triple integrals, in general. Now, let’s see how the expression for the triple integral changes when we’re working with more complex regions such as the one shown below.

visualizing how a triple integral works over a general region

Suppose that we’re now integrating the function over a general region, S. The image above shows a region, S, in space and parallel to the z-axis. This region is bounded by the region shown as T and is projection of S onto the xy-plane.

T={(x,y,z)|(x,y)T,z1(x,y)zz2(x,y)}

This notation highlights the conditions for S and T as well as the limits of integration for z defined by the two other variables: x and y. We use these limits to define the triple integral of f(x,y,z) over the space, S.

Sf(x,y,z)xdV=z1(x,y)z2(x,y)xdA

As we have learned in the past, we integrate the remaining double integral over dA by integrating with respect to x then y. Hence, we have the following:

Sf(x,y,z)xdV=z1z2y1(z)y2(z)z1(x,y)z2(x,y)xdA

There are two other possible three-dimensional figures that may encounter when working with triple integrals: the space that has a projected region on the xz-plane and the space that can be projection on the yz-plane.

xz-plane:{S=(x,z)T,y1(x,z)y2(x,z)}yz-plane:{S=(y,z)T,x1(y,z)x2(y,z)}

We’re now working with three variables where we project over a two-dimensional figure each time. This means that we’re expecting six possible iterated integrals in Cartesian form and we can find all six combinations by switching the places of dx, dy, and dz.

Order of IntegrationTriple IntegralOrder of IntegrationTriple Integral
xyzz1z2y1(z)y2(z)x1(y,z)x2(y,z)f(x,y,z)xdxdydzyzxx1x2z1(x)z2(x)y1(x,y)y2(x,y)f(x,y,z)xdxdydz
xzyy1y2z1(y)z2(y)x1(y,z)x2(y,z)f(x,y,z)xdxdzdyzxyz1z2x1(z)x2(z)y1(x,z)y2(x,z)f(x,y,z)xdxdzdy
yxzz1z2x1(z)x2(z)y1(x,z)y2(x,z)f(x,y,z)xdydxdzzyxx1x2y1(x)y2(x)z1(x,z)z2(x,z)f(x,y,z)xdydxdz

Let’s break down the first triple integral shown in this table to help you better understand how we define triple integrals.

z1z2y1(z)y2(z)x1(y,z)x2(y,z)f(x,y,z)xdxResulting function is in terms of y and zdyResulting function is in terms of zdz

Similar to double integrals, the bounds of the innermost integral are defined by the remaining variables. These bounds are the region we label as T. Now that we’ve shown you the different ways we can define triple integrals, it’s time for us to learn how we can set up the limits of integration for triple integrals and eventually learn how to evaluate them.

How To Do Triple Integrals?

Use the iterated form of the triple integral to evaluate the function with respect to x, y, and z. Here are some general pointers to remember when working with triple integrals:

  • Set up the three pairs of limits of integration correctly.
  • Integrate the function with respect to the innermost variable – innermost to the outermost.
  • When integrating the functions, only work with one variable while treating the remaining variables as constants.
  • Evaluate the resulting expression at the given bounds then repeat the process until we have integrated it three times in a row.

The complexity of the process will actually depend on the given values. As expected, integrating the function, f(x,y,z) over a rectangular box will be straightforward. It becomes more challenging when we have to integrate over a more complex region. In this section, we’ll show you examples to help you understand the process of triple integration.

Finding the Triple Integral Over a Rectangular Box

When working with a triple integral defined by a rectangular box, we simply use the limits based on the box’s bounds with respect to x, y, and z, respectively. Since we’re working with a rectangular box, S, we can define its limits as [a,b]×[c,d]×[m,n].

Sf(x,y,z)xdV=mncdabf(x,y,z)xdxdydz

Let’s say we want to evaluate S2xyzxdV over the region, S=[1,2]×[0,4]×[1,3]. Set up the triple integral by using [1,2], [0,4], and [1,3] as the limits of integrations for x, y, and z, respectively.

S2xyzxdV=1304122xyzxdxdydz

In fact, we can switch the orders for dx, dy, dz, and the value of the triple integral should remain the same. Just make sure that we use the correct limits of integration for each variable! Now, let’s evaluate our triple integral, S=1304122xyzxdxdydz, by integrating the function with respect to x first since it’s the innermost function. Keep in mind that we’ll be treating y and z as constants.

1304122xyzxdxdydz=1304[122xyzxdx]dydz=13042yz[12xxdx]dydz=13042yz[x22]12dydz=13042yz(222122)dydz=13043yzxdydz

As we have expected, the resulting function is defined by y and z only. We continue integrating our double integral, now with respect to y this time.

13043yzxdydz=13[043yzxdy]dz=133z[04yxdy]dz=133z[y22]04dz=133z[422022]dz=1324zxdz

We’re now left with a single integral, so let’s continue to evaluate and simplify our expression.

1324zxdz=24[z22]13=24[322122]=96

Hence, we’ve shown you how to evaluate 1304122xyzxdxdydz and in fact, it is equal to 96. Let’s now explore a more complex example – evaluating triple integrals over a more complex region.

Finding the Triple Integral Over a General Region

When working with triple integrals that involve more complex regions, it is important that we account for the projection the region forms with respect to the xy, xz, or yz planes- depending on what works for our problem.

Let us work on SzxdV, where S is a solid figure bounded by the following planes: x=0, y=0, z=0, and x+y+z=4. It is most helpful to sketch two graphs: 1) the actual solid region of S and 2) the projection of S on the plane (for our case, we’ll use the xy-plane).

sketching the tetrahedron and projection for the triple integral

Now, the left graph represents the tetrahedron defining the volume that we’re integrating z over. From the graph, we can see that with respect to x, our bounds are from z=0 to z=4xy. Now, the right graph shows the projection of S over the xy-plane. This occurs when z=0, hence, we have plane bounded by y=0 to y=4x as well as x=0 to x=4. We can summarize the limits of integration using the notation shown below.

S={(x,y,z)|0x4,0y4x,0z4xy}

Use these limits of integration to set up the complete expression for SzxdV – arrange the expressions so that we use the correct limits of integration for dx, dy, and dz.

SzxdV=0404x04xyzxdzdydx

Once we’ve set up the triple integral, it’s time for us to evaluate the triple integral by integrating z with respect to z first.

0404x04xyzxdzdydx=0404x[04xyzxdz]dydx=0404x[z22]04xydydx=120404x(4xy)2dydx

Integrate the resulting expression with respect to y then do the same with respect to x. We’ve simplified the calculations for you but you can work them out by applying the u-substitution method twice in a row.

120404x(4xy)2dydx=1204[04x(4xy)2dy]dx=1204[(4xy)33]04xdx=1604[(4x(4x))3(4x0)3]dx=1604(4x)3xdx=16[(4x)44]04=124[(44)4(40)4]=323

From this, we can see that 0404x04xyzxdzdydx is equal to 323 or approximately equal to 10.67.

Are you getting the hang of it? Don’t worry, we’ve prepared more examples for you – from triple integrals involving rectangular boxes to integrals involving complex regions. When you’re ready to work on more problems, head over to the next section to master the process of evaluating triple integrals!

Example 1

Calculate the triple integral, 010204(xz+y)xdxdydz.

Solution

The triple integral has constants as limits of integrations, so we know that we’re integrating it over a rectangular box. There is no need for us to sketch the region, so we’ll go ahead and integrate the expression three times in a row with respect to xyz- in that particular direction.

010204(xz+y)xdxdydz=0102[04(xz+y)xdx]dydz=0102[zx22+yx]04dydz=0102[z(42)2+y(4)]dydz=0102(8z+4y)xdydz=01[8zy+4y22]02dz=01(16z+8)xdz=[16z22+8z]01=8+80=16

From this, we can see that 010204(xz+y)xdxdydz is equal to 16. Apply a similar process when evaluating triple integrals over a rectangular box of any dimensions.

Example 2

Calculate the triple integral, 010z202ysin(z5)xdxdydz.

Solution

We’ll apply a similar process when integrating the expression, 010z202ysin(z4)xdxdydz. First, let’s integrate the expression with respect to x first and treating the rest of the variables constant.

010z202ysin(z5)xdxdydz=010z2[02ysin(z5)xdx]dydz=010z2[ysin(z5)02xdx]dydz=010z2[ysin(z5)(20)]dydz=010z2[2ysin(z5)]dydz

Now that we have a double integral, we apply a similar process but this time, we integrate with respect to y then with respect to z. Apply the u-substitution method to integrate the single integral expression. When you let u=z5, we have du=5z4xdz.

u=z5du=5z4xdzz4sin(z5)xdz=15sinuxdu=15cosu=15cosz5

Use this expression to simplify our triple integral further and find its actual value.

010z202ysin(z5)xdxdydz=01z4sin(z5)xdz=15[cosz5]01=15[cos11]0.0919

This means that the triple integral’s value is approximately equal to 0.0919.

Example 3

Evaluate the triple integral, Sx2+z2xdV, where S is a solid figure bounded by the following:

paraboloid:y=x2+z2plane:y=9

Solution

We’ve discussed projecting solids on the xy-plane and if we apply this technique to this problem, we’ll end up with a complex triple integral shown below.

Sx2+z2xdV=339x2yx2yx2sqrtx2+z2xdzdydx

This example will highlight why it’s helpful to also consider the other projections. Since we’re given a paraboloid, y=x2+z2, it’s much easier to project on the xz-plane.

sketching the praboloid as well as the xz projection for the triple integral

As with our previous example, it helps if you sketch the two graphs: the actual 3D figure (paraboloid) and the projected plane (circle). From the graph, we can see that the projected plane, x2+z2=9, occurs only when y=x2+z29. Now looking at the range of y from the 3D-coordinate system, we can see that our bounds are from the paraboloid, y=x2+z2, and the plane, y=9. This means that it’s most helpful when dy is the innermost differential.

Sx2+z2xdV=S3[x2+z29x2+z2xdy]dA

We won’t be expanding the rest of the triple integral, for now, so we’ll go ahead and work on integrating x2+z2 with respect to y.

x2+z29x2+z2xdy=x2+z2x2+z29xdy=x2+z2[y]x2+z29=x2+z2[9(x2+z2)]=x2+z2(9x2z2)S3[9x2+z2x2+z2xdy]dA=S3(9x2z2)x2+z2xdA

The reason why we’re not expanding dA (although it’s possible) is that it’s much easier to evaluate the remaining double integral using polar coordinates. Using the projection on the xz-plane, we can rewrite x as rcosθ and z as rsinθ, where 2πθ0 and 0r3. Rewrite the function and dA in polar form first.

Sx2+z2xdV=S3(9x2z2)x2+z2xdA=02π03(9r2)r2xrdrdθ=02π03(9r2r4)xdrdθ

Evaluate the resulting double integral in polar coordinates. Integrate the expression with respect to r then with respect to θ. Check out our calculations below in case you need a guide in working out the double integral.

Sx2+z2xdV=02π03(9r2r4)xdrdθ=02π[03(9r2r4)xdr]dθ=02π[3r3r55]03xdθ=02π1625xdθ=1625(2π)=324π5

This means that Sx2+z2xdV is equal to 324π5 or approximately equal to 203.58. You can also try setting up the triple integral in Cartesian form and confirm that they return the same value!

Example 4

One of the important applications of triple integrals is finding a solid object’s mass, moments, and center of mass. We can represent these components using the triple integrals shown below.

Massm=Sρ(x,y,z)xdV
MomentsMyz=Sxρ(x,y,z)xdVMxz=Syρ(x,y,z)xdVMxy=Szρ(x,y,z)xdV
Center of Massx=Myzmy=Mxzmz=Mxym

Determine the center of mass of a solid with a constant density, ρ(x,y,z), bounded by the solid, x=4y2, and the following planes: x=2z, z=0, and x=4.

Solution

First, let’s visualize how the solid (it’s in fact a parabolic cylinder) looks like and its project on the xy-plane.

sketching the parabolic cylinder as well as the xy projection for the triple integral

The graphs above highlight the solid, S, and its projection on the xy-plane. Using these regions, we can set up the bounds of S as shown below.

S={(x,y,z)|1y1,4y2x4,0zx2}

We can set up the triple integral representing the mass of the solid first and let ρ(x,y,z) as the constant, ρ.

m=SρxdV=114y240x/2ρxdzdxdy

Evaluate the expression by integrating the function with respect to the following variables in this specific order: zxy.

114y240x/2ρxdzdxdy=114y24[0x/2ρxdz]dxdy=ρ114y24x2xdxdy=ρ211[x22]4y24xdy=ρ411(1616y4)xdy=4ρ11(1y4)xdy=32ρ5

In terms of the constant density, ρ, the mass of the solid object is equal to 32ρ5. Now that we have the mass of the object, it’s time for us to calculate its moments as shown below.

Myz=Sxρ(x,y,z)dV114y240x/2xρxdzdxdy=114y24[0x/2xρxdz]dxdy=ρ114y24x22xdxdy=ρ211[x33]4y24xdy=ρ611[43(4y2)3]xdy=64ρ611(1y6)xdy=32ρ3[yy77]11=128ρ7
Mxz=Syρ(x,y,z)dV114y240x/2yρxdzdxdy=114y24[0x/2yρxdz]dxdy=ρ114y24yx2xdxdy=ρ211[yx22]4y24xdy=ρ411[42y(4y2)2y]xdy=4ρ11(yy3)xdy=4ρ[y22y44]11=0
Mxy=Szρ(x,y,z)dV114y240x/2zρxdzdxdy=114y24[0x/2zρxdz]dxdy=ρ114y24x2/42xdxdy=ρ811[x33]4y24xdy=ρ2411[43(4y2)3]xdy=64ρ2411(1y6)xdy=8ρ3[yy77]11=32ρ7

Now that we have the moments as well as the mass of the object, we can now find the coordinates for its center of mass using the equation, (x,y,z)=(Myzm,Mxzm,Mxym).

xyz
x=Myzm=128ρ732ρ5=207x=Mxzm=032ρ5=0z=Mxym=32ρ732ρ5=57
(x,y,z)=(207,0,57)

This means that the solid has a center of mass at (207,0,57). This problem shows just one of the many applications of triple integrals. This is why it’s important that we understand how to set up and evaluate triple integrals. When you’re ready, we’ve prepared more examples for you to try!

Practice Questions

1. Calculate the triple integral, 020401(xyz)xdxdydz.
2. Calculate the triple integral, 020z203ycos(z5)xdxdydz.
3. Evaluate the triple integral, SzxdV, where S is a solid figure bounded by the following planes: x=0, y=0, z=0, and x+y+z=9.
4. Evaluate the triple integral, Sx2+z2xdV, where S is a solid figure bounded by the following:
paraboloid:y=x2+z2plane:y=16

5. Set up a triple integral to determine the volume of the tetrahedron, S, bounded by the following planes: x=0, x=4y, z=0, and x+4y+z=4.
6. Determine the center of mass of a solid with a constant density, ρ(x,y,z), bounded by the solid, x=y2, and the following planes: x=z, z=0, and x=1.

Answer Key

1. 0909x09xyzxdzdydx=21878
2. 020z203ycos(z5)xdxdydz=3sin32100.165
3. 020401(xyz)xdxdydz=0
4.S3[x2+z216x2+z2xdy]dA=4096π15857.86
5. 02x/41x/404x4yxdzdydx=43
6. (x,y,z)=(57,0,514)

Images/mathematical drawings are created with GeoGebra.