Triple integrals and three-dimensional coordinates
Set up volume integrals in Cartesian, cylindrical and spherical coordinates.
§1.3Estimated reading time: 10 min
Accumulation in space
For a continuous density ρ on a suitable bounded solid E, its mass is M=∭EρdV. For constant density one, the integral is the volume. Iterated integration slices the solid successively, provided the bounds actually describe E; Fubini's theorem applies under standard continuity and regularity assumptions.
Worked example 1.3.1
(A tetrahedral solid)
Let E={x,y,z≥0:x+y+z≤1}. The bounds 0≤x≤1, 0≤y≤1−x, 0≤z≤1−x−y give
Vol(E)=∫01∫01−x∫01−x−y1dzdydx=61.
The inner upper bound is the plane expressed as z=1−x−y; projecting E onto the xy-plane gives the triangular outer bounds.
Quick check
(Find the volume of the tetrahedron x,y,z≥0, 2x+3y+z≤1 by an iterated integral in the order dzdydx.)
Solve the plane for z, then project the solid onto the xy-plane.
Solution · Answer
The bounds are 0≤x≤2, 0≤y≤3(1−2x), 0≤z≤1−2x−3y. With s=1−2x, the two inner integrals give ∫03s(s−3y)dy=3s2−23s2=23s2, and then ∫0223(1−2x)2dx=23⋅32=1. This is one sixth of the volume of the box 2×3×1 spanned by the three intercepts, as for the tetrahedron above.
Cylindrical and spherical coordinates
Definition 1.3.2
(Coordinate conventions and volume elements)
Cylindrical coordinates use x=rcosθ, y=rsinθ, z=z with r≥0 and dV=rdrdθdz. Spherical coordinates here use
x=ρsinϕcosθ,y=ρsinϕsinθ,z=ρcosϕ,
where ρ≥0, 0≤ϕ≤π is the angle from the positive z-axis and θ is azimuth. The volume element is dV=ρ2sinϕdρdϕdθ. Other sources may exchange names of the two angles; check definitions before using a formula.
Proof
(Why the spherical factor is ρ2sinϕ)
Differentiate the position vector with respect to ρ,ϕ,θ. The absolute value of their scalar triple product is ρ2sinϕ for 0≤ϕ≤π. The three-dimensional change-of-variables theorem then supplies the volume element; coordinate singularities on the axis and at the origin are negligible in standard solid integrations.
Worked example 1.3.3
(A sphere above a cone)
Let E be inside x2+y2+z2≤4 and above the cone z=x2+y2. In spherical coordinates this is 0≤ρ≤2, 0≤ϕ≤π/4, 0≤θ≤2π. Hence
Vol(E)=∫02π∫0π/4∫02ρ2sinϕdρdϕdθ=316π(1−22).
The cone fixes an angle, and the sphere fixes a radius. Those geometric observations determine bounds before any integration.
Worked example 1.3.4
(Cylindrical shells)
For the solid x2+y2≤1, 0≤z≤2−x2−y2, use 0≤r≤1, 0≤θ≤2π, 0≤z≤2−r2:
Vol(E)=∫02π∫01∫02−r2rdzdrdθ=23π.
Quick check
(Find the volume of the solid between the paraboloid z=x2+y2 and the plane z=4.)
In cylindrical coordinates the paraboloid is z=r2; find where it meets the plane.
Solution · Answer
The surfaces meet on the circle r=2, so the solid is 0≤θ≤2π, 0≤r≤2, r2≤z≤4. Its volume is ∫02π∫02∫r24rdzdrdθ=2π∫02(4r−r3)dr=2π(8−4)=8π.
Derive spherical scale before using radial symmetry
Use coordinates
T(ρ,ϕ,θ)=(ρsinϕcosθ,ρsinϕsinθ,ρcosϕ),
where ϕ is measured from the positive z axis, 0≤ϕ≤π, and θ is azimuth over one full turn. The derivative vectors have lengths 1,ρ,ρsinϕ and are mutually perpendicular with the corresponding positive orientation on the interior. Their scalar triple product is ρ2sinϕ, giving
dV=ρ2sinϕdρdϕdθ.
To verify the determinant explicitly, the derivative columns in the order (ρ,ϕ,θ) are
Their triple product is ρ2sinϕ>0 when ρ>0 and 0<ϕ<π. On the open parameter domain (0,∞)×(0,π)×(−π,π) the map is one-to-one onto its slit image, with smooth inverse ρ=x2+y2+z2, ϕ=arccos(z/ρ) and the usual smooth slit-plane azimuth. Thus the proved finite-dimensional change-of-variables theorem applies to every compact truncated parameter box inside that domain.
Counterexample mode
The sine factor depends on where the angle starts
Claim: dV=ρ2sinϕdρdϕdθ however the polar angle is measured. If instead a latitude λ∈[−π/2,π/2] is measured from the xy-plane, so that z=ρsinλ, the factor is ρ2cosλ. Keeping the sine would give ∫−π/2π/2sinλdλ=0, a ball of volume zero; the cosine gives 2 and the correct 34πR3.
The omitted target regions also need estimates independent of the formula we are proving. The ball of radius ε is in a cube of volume 8ε3. In a radius-R ball, the two polar caps with angle at most δ<π/2 from the axis lie in the box ∣x∣,∣y∣≤Rsinδ, ∣z∣≤R, of volume 8R3sin2δ. An azimuth seam of total angular width 2η, with 0<η<π/2, lies in ∣x∣,∣z∣≤R, ∣y∣≤Rsinη, a box of volume 8R3sinη. All three bounds vanish with their cutoff. Multiplying by a bound for the continuous target integrand controls its omitted integral, while the parameter estimates below control the other side. This completes the nonsingular-exhaustion argument without using spherical volume to justify its own formula.
The origin, poles and angular seam are coordinate-boundary exceptions. For bounded continuous integrands on a ball, use nonsingular truncated parameter regions and pass to their limit; the omitted parameter integral bounds tend to zero. For a bounded integrand, the radial factor near zero is bounded by a constant times ∫0ερ2dρ=ε3/3, while a polar cap has factor ∫0δsinϕdϕ=1−cosδ→0 and a shrinking azimuth seam has vanishing angle width. The formula is not a license to ignore an arbitrary unbounded singularity at those locations.
Quick check
(Compute ∭Bz2dV over the unit ball B in spherical coordinates, and check the answer using the symmetry between x, y and z.)
Write z=ρcosϕ and keep the factor ρ2sinϕ.
Solution · Answer
∭Bz2dV=∫02π∫0π∫01ρ2cos2ϕρ2sinϕdρdϕdθ=2π⋅32⋅51=154π. By symmetry the integrals of x2, y2 and z2 over B are equal, and their sum is ∭Bρ2dV=2π⋅2⋅51=54π; one third of this is 154π.
Choosing coordinates
Cartesian coordinates suit plane-bounded solids; cylindrical coordinates suit circular cross-sections around an axis; spherical coordinates suit spheres and cones about the origin. Transform the integrand as well as the bounds and include the Jacobian. Angles must cover the intended solid exactly once except for negligible coordinate seams. Triple integration computes signed accumulation if the integrand changes sign; geometric volume uses integrand 1.
Practice
Find the volume of the box 0≤x≤2, 0≤y≤3, 0≤z≤4.
Find the volume of the cylinder x2+y2≤4, 0≤z≤5 using cylindrical coordinates.
Find the volume of the ball x2+y2+z2≤R2 using spherical coordinates.
Rewrite x2+y2+z2 and z in the spherical convention of this unit.
Full solutions
Integrate 1 over the box: 2⋅3⋅4=24.
∫02π∫02∫05rdzdrdθ=20π.
For R≥0, ∫02π∫0π∫0Rρ2sinϕdρdϕdθ=4πR3/3.
They are ρ2 and ρcosϕ, respectively.
Synthesis
A triple integral is accumulated density over volume. Choose coordinates adapted to the solid, express every boundary and the integrand in those coordinates, and include the appropriate volume factor.