To evaluate a triple integral in spherical coordinates, write x = ρ sin φ cos θ, y = ρ sin φ sin θ, z = ρ cos φ, replace dV with ρ² sin φ dρ dφ dθ, and describe the solid with limits on ρ, φ and θ. Polar double integrals work the same way with dA = r dr dθ, and cylindrical triple integrals use dV = r dz dr dθ. The choice of system comes from the shape of the region, and the extra factor (the Jacobian) is the part most students forget.
Below is a decision table, a short explanation of where each factor comes from, and six worked examples that move from a plain polar integral to an off-centre sphere.
Pick the system from the shape
| Region or integrand contains | Use | Substitution | Area or volume element | ||
|---|---|---|---|---|---|
| Discs, annuli, sectors, x² + y² | Polar (2D) | x = r cos θ, y = r sin θ | dA = r dr dθ | ||
| Cylinders, paraboloids z = x² + y², cones over a disc | Cylindrical (3D) | polar in x, y; z stays | dV = r dz dr dθ | ||
| Spheres, balls, cones from the origin, x² + y² + z² | Spherical (3D) | ρ, φ from the positive z-axis, θ | dV = ρ² sin φ dρ dφ dθ | ||
| Boxes, triangles, planes | Cartesian | none | dA = dx dy, dV = dx dy dz | ||
| Parallelograms, ellipses, regions like 1 ≤ xy ≤ 4 | General change of variables | x(u, v), y(u, v) | ∂(x, y)/∂(u, v) | du dv |
Ranges in this post: r ≥ 0, ρ ≥ 0, 0 ≤ θ ≤ 2π, and 0 ≤ φ ≤ π. Many physics texts swap the names θ and φ, so check which angle your course measures from the z-axis.
Multiple integrals take up a large part of a Calculus III / Multivariable Calculus course, and our advanced calculus tutor page explains how online sessions with Ajay Vatsyayan work through them on your own syllabus.
Where r and ρ² sin φ come from
The Jacobian is the determinant of the matrix of partial derivatives of the substitution. For polar coordinates:
∂(x, y)/∂(r, θ) = det [cos θ, −r sin θ; sin θ, r cos θ] = r cos²θ + r sin²θ = r
Geometrically, a small polar box with sides dr and r dθ has area r dr dθ: boxes further from the origin are wider. For spherical coordinates the same determinant (a 3 × 3 one) works out to ρ² sin φ: the box has sides dρ, ρ dφ and ρ sin φ dθ. If the partial derivatives in that matrix feel rusty, our guide to partial derivatives and the gradient covers them.
Worked examples
Example 1: a polar double integral over part of an annulus
Evaluate ∬_D y dA, where D is the part of the region 1 ≤ x² + y² ≤ 9 in the first quadrant.
In polar form D is 1 ≤ r ≤ 3, 0 ≤ θ ≤ π/2, and y = r sin θ.
∬_D y dA = ∫₀^(π/2) ∫₁³ (r sin θ) r dr dθ = ∫₀^(π/2) sin θ dθ × ∫₁³ r² dr = 1 × (27 − 1)/3 = 26/3
The limits are constants, so the integral splits into a product. That only happens when the region is a polar rectangle and the integrand factorises.
Example 2: a circle that is not centred at the origin
Evaluate ∬_D √(x² + y²) dA, where D is the disc (x − 2)² + y² ≤ 4.
Expand: x² + y² = 4x, which in polar form is r² = 4r cos θ, so the boundary is r = 4 cos θ. The disc touches the origin and lies to its right, so −π/2 ≤ θ ≤ π/2 and 0 ≤ r ≤ 4 cos θ.
∬_D r · r dr dθ = ∫ from −π/2 to π/2 of (4 cos θ)³/3 dθ = (64/3) ∫ cos³θ dθ
Over −π/2 to π/2, ∫ cos³θ dθ = 4/3, so the answer is (64/3)(4/3) = 256/9 ≈ 28.44. A numerical Cartesian integration agrees.
Example 3: converting a Cartesian integral you cannot do directly
Evaluate ∫₀² ∫₀^(√(4 − x²)) e^(x² + y²) dy dx.
There is no elementary antiderivative of e^(y²), so convert. The limits describe the quarter disc of radius 2 in the first quadrant: 0 ≤ r ≤ 2, 0 ≤ θ ≤ π/2.
∫₀^(π/2) ∫₀² e^(r²) r dr dθ = (π/2) × ½(e⁴ − 1) = π(e⁴ − 1)/4 ≈ 42.10
The Jacobian r is exactly what makes the substitution u = r² work. The same trick gives the Gaussian integral ∫ e^(−x²) dx = √π over the whole real line, which is why the normal distribution in our binomial, Poisson and normal distributions guide has the constant 1/√(2π).
Example 4: cylindrical coordinates under a plane, above a paraboloid
Evaluate ∭_E √(x² + y²) dV, where E lies above the paraboloid z = x² + y² and below the plane z = 4.
The surfaces meet where r² = 4, so the shadow on the xy-plane is the disc r ≤ 2. For each (r, θ), z runs from r² up to 4.
∭_E r · r dz dr dθ = ∫₀^(2π) ∫₀² r²(4 − r²) dr dθ = 2π (32/3 − 32/5) = 128π/15
Leaving out the Jacobian r gives 8π instead, a common wrong answer.
Example 5: an ice-cream cone in spherical coordinates
Find the volume of the solid inside the sphere x² + y² + z² = 9 and above the cone z = √3 · √(x² + y²), and the height of its centroid.
The cone: z = √3 r means tan φ = r/z = 1/√3, so φ = π/6. The solid is 0 ≤ ρ ≤ 3, 0 ≤ φ ≤ π/6, 0 ≤ θ ≤ 2π.
Volume = ∫₀^(2π) ∫₀^(π/6) ∫₀³ ρ² sin φ dρ dφ dθ = 2π × (1 − √3/2) × 9 = 9π(2 − √3) ≈ 7.58
For the centroid, integrate z = ρ cos φ:
∭ z dV = ∫₀^(2π) ∫₀^(π/6) ∫₀³ ρ³ cos φ sin φ dρ dφ dθ = 2π × (81/4) × (1/8) = 81π/16
z̄ = (81π/16) ÷ 9π(2 − √3) = 9(2 + √3)/16 ≈ 2.10
The same volume in cylindrical coordinates, with z from √3 r to √(9 − r²) and r from 0 to 3/2, also gives 9π(2 − √3), but the spherical limits are all constants.
Example 6: a sphere that sits on the origin
Find ∭_E z dV, where E is the ball x² + y² + (z − 1)² ≤ 1.
Expand: x² + y² + z² = 2z, so ρ² = 2ρ cos φ and the boundary is ρ = 2 cos φ. The ball sits above the xy-plane and touches the origin, so 0 ≤ φ ≤ π/2 and 0 ≤ ρ ≤ 2 cos φ.
∭_E z dV = ∫₀^(2π) ∫₀^(π/2) ∫₀^(2 cos φ) ρ cos φ · ρ² sin φ dρ dφ dθ
= 2π ∫₀^(π/2) 4 cos⁵φ sin φ dφ = 2π × 4 × 1/6 = 4π/3
Sanity check: the ball has volume 4π/3 and its centroid is at height 1, so ∭ z dV must be 1 × 4π/3. Checks like this catch a wrong limit faster than redoing the algebra.
Setting limits without guessing
- Sketch the region, or at least its shadow on the xy-plane.
- Write each boundary surface in the new coordinates (sphere: ρ = constant; cone: φ = constant; cylinder: r = constant; plane through the z-axis: θ = constant).
- Choose the innermost variable to be the one that runs between two surfaces. Its limits may depend on the outer variables.
- Outer limits must be constants.
- Before integrating, check a volume you know (a hemisphere, a cylinder) with the same limits.
Where students lose marks
- Missing the Jacobian. dA = r dr dθ, not dr dθ; dV = ρ² sin φ dρ dφ dθ, not dρ dφ dθ. This is the most common single error in this topic.
- Wrong φ range. φ runs from 0 to π, not 0 to 2π. With 0 to 2π, ∫ sin φ dφ is 0 and a whole ball would have volume 0.
- Swapped angle conventions. If your course or textbook uses θ for the angle from the z-axis, rename before copying a formula.
- Off-centre circles and spheres. r = 4 cos θ needs −π/2 ≤ θ ≤ π/2, not 0 to 2π, where r would be negative for half the range.
- Converting the integrand but not the region. Every x, y, z in both the integrand and the limits must change.
- Cones. z = √(x² + y²) is φ = π/4; z = k√(x² + y²) is tan φ = 1/k. Students often write tan φ = k.
Practice questions
- Evaluate ∬_D (x² + y²) dA over the disc of radius 2 centred at the origin.
- Evaluate ∫ from −1 to 1 ∫ from 0 to √(1 − x²) of √(x² + y²) dy dx.
- Find the volume inside the cylinder x² + y² = 1, above z = 0 and below z = 2 + x.
- Find the volume between the spheres ρ = 1 and ρ = 2 in the first octant.
- Evaluate ∭ e^((x² + y² + z²)^(3/2)) dV over the unit ball.
Answers:
- ∫₀^(2π) ∫₀² r³ dr dθ = 8π.
- The upper half disc, so ∫₀^π ∫₀¹ r² dr dθ = π/3.
- ∫₀^(2π) ∫₀¹ (2 + r cos θ) r dr dθ = 2π.
- (1/8)(4π/3)(8 − 1) = 7π/6.
- 4π(e − 1)/3 ≈ 7.20.
What comes after multiple integrals
Triple integrals are one side of the divergence theorem, so they reappear in flux calculations in our guide to Green's, Stokes' and the divergence theorem. Polar substitution also replaces many trig substitutions from single-variable calculus, covered in our post on partial fractions and trig substitution. Optimising over a region bounded by a circle or sphere pairs naturally with Lagrange multipliers. In engineering, moments of inertia, centres of mass and probability densities all use the same set-up, which our engineering mathematics tutoring covers for B.Tech courses.
How Maths Bodhi helps
Students we teach can usually integrate; what costs marks is the set-up: the region, the limits and the Jacobian. Sessions practise sketching and limit-setting on your own course's problems and review your attempts. We explain and practise; we don't complete graded assignments or exams. US Calculus III students can read about the format on our college maths tutoring page.
Home tuition is available in Gurgaon (Gurugram). Students elsewhere in India and abroad learn with us online. You can book a free demo class.
Written and checked by the Maths Bodhi team (November 2026).
Frequently asked questions
- How do you set up a triple integral in spherical coordinates?
- Substitute x = ρ sin φ cos θ, y = ρ sin φ sin θ, z = ρ cos φ, use dV = ρ² sin φ dρ dφ dθ, and describe the solid with ρ, φ, θ limits.
- Why is there an extra r in polar double integrals?
- It is the Jacobian: a small polar box has sides dr and r dθ, so its area is r dr dθ.
- When should I use cylindrical instead of spherical coordinates?
- Use cylindrical for cylinders, paraboloids and regions over a disc; use spherical for spheres, balls and cones from the origin.
- What is the range of φ in spherical coordinates?
- From 0 to π, measured from the positive z-axis, while θ runs from 0 to 2π.
- How do you convert a circle like r = 4 cos θ into limits?
- Take θ from −π/2 to π/2 and r from 0 to 4 cos θ, so r is never negative.
- How can I check a triple integral answer?
- Integrate 1 with the same limits and compare with a volume you know, or use symmetry and the centroid.
