How to convert a triple integral to cylindrical coordinates

A round base can make a triple integral easier to write in cylindrical coordinates. We’ll sketch the base first, then convert the height bounds and the function we’re integrating.

Convert the coordinates and the volume element

x=rcosθ,y=rsinθr2=x2+y2

The height z stays the same and r is the nonnegative distance from the z-axis. The volume element includes a factor of r from the polar area element. For the order dzdrdθ, write dV=rdzdrdθ.

Use the base to get the radial and angle bounds

The original integral uses xz over the region with y from -3 to 3, and x from -9-y2 to 9-y2. These are the horizontal slices of the disk x2+y2≤9. So r runs from 0 to 3, and θ runs from 0 to 2π because the base is the whole disk.

The lower surface is z=x2+y2=r and the upper surface is z=3. For a given r and θ, the vertical slice runs from r to 3.

Disk in the xy-plane and vertical slice from z equals r to z equals threeThe horizontal projection is a full disk of radius three. A radial slice shows the solid above z equals r and below z equals three. The bounds meet at r equals three.rxyFull diskz = 3z = rrz3Vertical slice
The full disk sets the r and θ bounds. The cone and the top plane set the z bounds.

Convert the integrand and integrate from the inside out

Substituting x=rcosθ gives xz=rzcosθ. Including the volume factor gives r2zcosθ.

I=∫02π∫03∫r3r2zcosθdzdrdθ

Integrating in z gives 12r2(9-r2)cosθ. Integrating this from r=0 to r=3 gives 815cosθ.

I=815∫02πcosθdθ=0

Why the integral is zero even though the solid has volume

The region is symmetric across the yz-plane. At matching points with opposite x values, xz has opposite signs, so the contributions cancel. To find the geometric volume, we integrate 1 over the same region.

V=∫02π∫03∫r3rdzdrdθ=2π∫03r(3-r)dr=9π

For more practice setting up an integral of 1, see finding volume in cylindrical coordinates.