MULTIVARIABLE CALCULUS • MULTIPLE INTEGRALS

Triple Integrals: Spherical — Triple integrals in spherical coordinates

Harness the geometry of spheres to evaluate three-dimensional integrals with elegance and efficiency.

Historical Context & Motivation

Throughout the history of mathematics and physics, scientists have needed to compute quantities like mass, charge, and gravitational pull for objects with curved, round shapes. Imagine trying to calculate the mass of a solid sphere using rectangular coordinates — you would end up wrestling with square roots and complicated boundary expressions at every step. Spherical coordinates were developed precisely to match the natural symmetry of spheres, cones, and other round shapes, making certain triple integrals far simpler to set up and evaluate.

1600s
Newton & Leibniz Develop Calculus
Isaac Newton and Gottfried Wilhelm Leibniz independently invent calculus, providing the foundational tools for integration and differentiation that would eventually extend to multiple dimensions.
1700s
Euler Formalizes Coordinate Systems
Leonhard Euler systematically describes multiple coordinate systems, including spherical coordinates using the angles θ and φ alongside a radial distance ρ, giving mathematicians a powerful new geometric language.
1780s
Laplace and Gravitational Theory
Pierre-Simon Laplace uses spherical coordinates extensively in his work on celestial mechanics and gravitational potential. His famous Laplace equation is most naturally expressed in spherical form.
1800s
Jacobians and Change of Variables
Carl Gustav Jacob Jacobi develops the theory of determinants for coordinate transformations, giving us the Jacobian factor ρ²sin φ that appears in every spherical triple integral.
1900s
Quantum Mechanics and Modern Applications
Spherical coordinate integrals become indispensable in quantum mechanics for describing electron orbitals and in engineering for antenna radiation patterns, solidifying their place in modern science.

The central question is this: when a region of three-dimensional space has spherical symmetry — like a ball, a cone, or a shell — how can we rewrite a triple integral so the boundaries and the integrand become as simple as possible? The answer lies in converting to spherical coordinates and applying the correct volume element.

Core Principles & Definitions

Before diving into integration, you need to understand the three spherical coordinates and how they locate a point in space. In Cartesian (rectangular) coordinates, you specify a point by how far it is along the x-, y-, and z-axes. In spherical coordinates, you instead specify how far a point is from the origin, and in which direction you need to look to find it.

1

ρ (rho) — Radial Distance

The distance from the origin to the point. Always non-negative: ρ ≥ 0. Think of it as the length of the line segment from the center of a sphere to a point on or inside it.
2

φ (phi) — Polar Angle

The angle measured down from the positive z-axis to the line connecting the origin to the point. It ranges from 0 to π (0° to 180°). When φ = 0 you point straight up; when φ = π you point straight down.
3

θ (theta) — Azimuthal Angle

The angle measured in the xy-plane from the positive x-axis, sweeping counterclockwise. It ranges from 0 to 2π (0° to 360°). This is the same angle θ you use in polar or cylindrical coordinates.
4

The Jacobian Factor ρ²sin φ

When converting dV = dx dy dz to spherical coordinates, you must include the volume element ρ²sin φ dρ dφ dθ. This factor accounts for how the coordinate grid stretches and compresses at different locations in space.
5

Conversion Formulas

To convert back and forth: x = ρ sin φ cos θ, y = ρ sin φ sin θ, z = ρ cos φ. Also, ρ² = x² + y² + z². These relations let you rewrite any function of x, y, z in terms of ρ, φ, θ.
KEY TAKEAWAY
Think of spherical coordinates like a GPS system for space. Instead of saying "go 3 blocks east, 4 blocks north, and 5 floors up" (Cartesian), you say "look in this direction (angles θ and φ) and travel this far (distance ρ)." The extra factor ρ²sin φ is like a correction that accounts for the fact that "slices" of space get bigger as you move away from the origin, just as slices of pizza get wider toward the crust.

Visualizing Spherical Coordinates

The diagram below illustrates how the three spherical coordinates ρ, φ, and θ locate a point P in three-dimensional space. Notice how ρ extends from the origin O to the point, φ sweeps down from the positive z-axis, and θ sweeps around in the xy-plane.

The point P is located by traveling a distance ρ from the origin, tilting down from the z-axis by angle φ, and rotating around the z-axis by angle θ.

Notice the dashed lines showing how the point P "projects" down onto the xy-plane. The angle θ is measured in that plane, just like in polar coordinates. Meanwhile, φ measures the tilt away from the vertical z-axis. When φ = 0 the point sits on the positive z-axis, and when φ = π/2 the point lies in the xy-plane. Understanding this geometry is essential before writing any spherical integral.

Mathematical Framework

The key to setting up a triple integral in spherical coordinates is the volume element (also called the differential of volume). In Cartesian coordinates, the volume element is simply dV = dx dy dz. When we switch to spherical coordinates, the shape of each tiny "box" of volume changes — it becomes a curved wedge — and we must account for this with the Jacobian determinant.

CONVERSION FORMULAS
x = ρ sin φ cos θ, y = ρ sin φ sin θ, z = ρ cos φ
These three equations let you express any Cartesian function f(x, y, z) in terms of the spherical variables ρ, φ, and θ.
SPHERICAL VOLUME ELEMENT
dV = ρ² sin φ dρ dφ dθ
The factor ρ² sin φ is the Jacobian. It corrects for the fact that coordinate "boxes" near the poles (φ near 0 or π) are smaller than those near the equator (φ = π/2), and boxes far from the origin (large ρ) are larger than boxes near it.
GENERAL TRIPLE INTEGRAL IN SPHERICAL COORDINATES
∫∫∫_E f(x,y,z) dV = ∫₀²π ∫₀^π ∫₀^R f(ρ sinφ cosθ, ρ sinφ sinθ, ρ cosφ) · ρ² sinφ dρ dφ dθ
Here E is the region of integration (shown for a full sphere of radius R). The limits on θ run from 0 to 2π, on φ from 0 to π, and on ρ from 0 to R. For other shapes, these limits will change accordingly.
INVERSE RELATION
ρ = √(x² + y² + z²)
This is especially useful because any integrand that contains x² + y² + z² simplifies to just ρ² in spherical coordinates, which often makes the integral much easier to evaluate.

The order of integration matters for setting up limits. The standard order is dρ dφ dθ (inside to outside), but you can rearrange it as needed, provided you adjust the limits correctly. For regions with full spherical symmetry, the three integrals often separate into independent factors, making evaluation straightforward.

Understanding the Volume Element ρ² sin φ

One of the trickiest parts of spherical integrals is understanding why the factor ρ² sin φ appears. The diagram below shows a tiny spherical volume element — the curved wedge shape that results when you increase each of ρ, φ, and θ by a small amount. The three edges of this wedge have different lengths depending on where you are in space.

The spherical volume element is a curved wedge with three edges: (radial), ρ dφ (polar arc), and ρ sin φ dθ (azimuthal arc). Multiplying these three edge lengths gives the volume dV = ρ² sin φ dρ dφ dθ.

Here is the geometric intuition. When you stand at distance ρ from the origin and tilt by angle φ from the z-axis, the circle you trace as θ changes has radius ρ sin φ, not just ρ. Near the poles (φ close to 0 or π), that circle is tiny, so sin φ is near zero and the wedge is thin. Near the equator (φ = π/2), sin φ = 1 and the wedge is at its widest. The factor ρ² comes from the fact that both the polar and azimuthal arcs grow in proportion to ρ — farther from the origin means bigger wedges.

⚠️ Common Mistake Alert
The single most common error when setting up a spherical integral is forgetting the Jacobian factor ρ² sin φ. If you write dV = dρ dφ dθ without the Jacobian, your answer will be wrong. Always include ρ² sin φ when converting from Cartesian to spherical.

Worked Example: Volume of a Sphere

Let's use a spherical triple integral to derive the well-known formula for the volume of a sphere of radius R. This serves as a perfect first example because the region has complete spherical symmetry, so all three integrals separate cleanly.

Find the volume of a solid sphere of radius R
1
Step 1 — Set Up the IntegralThe volume of a region E is V = ∫∫∫_E dV. Since the sphere is centered at the origin, we convert to spherical coordinates. The integrand f = 1 (we are computing volume, not weighting by any function). The volume element is dV = ρ² sin φ dρ dφ dθ.
2
Step 2 — Determine the Limits of IntegrationFor a full sphere of radius R: ρ ranges from 0 to R, φ ranges from 0 to π (top to bottom), and θ ranges from 0 to 2π (all the way around). So our integral is:
V = ∫₀²π ∫₀^π ∫₀^R ρ² sin φ dρ dφ dθ
3
Step 3 — Evaluate the ρ Integral (innermost)Holding φ and θ fixed, integrate with respect to ρ:
∫₀^R ρ² dρ = [ρ³/3]₀^R = R³/3
4
Step 4 — Evaluate the φ Integral (middle)Now integrate sin φ with respect to φ:
∫₀^π sin φ dφ = [−cos φ]₀^π = −cos π − (−cos 0) = −(−1) − (−1) = 2
5
Step 5 — Evaluate the θ Integral (outermost)Finally, integrate with respect to θ:
∫₀²π dθ = 2π
6
Step 6 — Multiply All Three ResultsCombine the three independent results:
V = (R³/3)(2)(2π) = 4πR³/3 ✓

We recovered the classic formula V = 4πR³/3, confirming that our setup was correct. Notice how neatly the integral separated into three independent one-variable integrals — this is one of the great advantages of spherical coordinates when the region has full spherical symmetry.

Comparing Coordinate Systems

Spherical coordinates are not always the best choice. The table below compares Cartesian, cylindrical, and spherical coordinates so you can decide which system to use for a given problem.

Comparison of coordinate systems for triple integrals
FeatureCartesian (x, y, z)Cylindrical (r, θ, z)Spherical (ρ, φ, θ)
Volume elementdx dy dzr dr dθ dzρ² sin φ dρ dφ dθ
Best for shapesBoxes, rectangular prismsCylinders, tubes, disksSpheres, cones, hemispheres
x² + y² + z² simplifies toStays x² + y² + z²r² + z²ρ² (simplest!)
Setup difficulty for sphereComplicated square-root limitsModerate — z limits involve √Simple constant limits
Number of coordinates3 (x, y, z)3 (r, θ, z)3 (ρ, φ, θ)
🎯 WHEN TO USE SPHERICAL
Use spherical coordinates whenever the region of integration looks like a sphere, shell, cone, or combination of these, or when the integrand contains x² + y² + z² (which becomes the much simpler ρ²). If the shape is more like a cylinder or tube, try cylindrical instead. If it's a box, stick with Cartesian.

Connections to Advanced Topics

Spherical triple integrals are not just a calculus exercise — they connect to powerful ideas in physics and higher mathematics. Understanding them now prepares you for several important topics you may encounter in college courses.

How this lesson's concepts extend to advanced mathematics and physics
This LessonAdvanced Extension
Volume element ρ² sin φ dρ dφ dθGeneral Jacobian determinants for arbitrary coordinate transformations (e.g., ellipsoidal coordinates)
Integrating f = 1 to find volumeIntegrating density functions ρ(x,y,z) to find mass, center of mass, and moments of inertia
Constant limits on ρ, φ, θ for a full sphereVariable limits for regions bounded by cones (φ = constant), spheres of different radii, or cardioid surfaces
Spherical coordinate systemLaplace's equation, spherical harmonics in quantum mechanics, and gravitational potential theory

In physics, you will encounter the Laplacian operator written in spherical coordinates, and you will solve partial differential equations using spherical harmonics — special functions that arise naturally from separating variables in spherical geometry. The electron orbitals you may have seen in chemistry (s, p, d, f) are direct visual representations of these spherical harmonics. The triple integrals you learn here form the computational backbone of all these applications.

Practice Problems

PROBLEM 1CONCEPTUAL
Explain why the volume element in spherical coordinates is dV = ρ² sin φ dρ dφ dθ rather than simply dV = dρ dφ dθ. What would go wrong if you forgot the factor ρ² sin φ?
PROBLEM 2BASIC CALCULATION
Evaluate the triple integral ∫∫∫_E dV where E is the solid sphere x² + y² + z² ≤ 4. (That is, find the volume of a sphere of radius 2.)
PROBLEM 3INTERMEDIATE
Evaluate ∫∫∫_E (x² + y² + z²) dV where E is the solid sphere of radius 3 centered at the origin.
PROBLEM 4APPLIED
A solid ball of radius 5 cm has density function δ(x, y, z) = 2(x² + y² + z²) grams per cubic centimeter. Find its total mass using a spherical triple integral.
PROBLEM 5CRITICAL THINKING
Set up (but do not fully evaluate) the triple integral in spherical coordinates for the volume of the region inside the sphere ρ = 4 and above the cone φ = π/6. Explain how the cone condition affects the limits and describe what the region looks like.

Lesson Summary

A triple integral in spherical coordinates uses three variables — ρ (radial distance), φ (polar angle from the z-axis), and θ (azimuthal angle in the xy-plane) — to describe regions with spherical symmetry. The crucial volume element is dV = ρ² sin φ dρ dφ dθ, where the factor ρ² sin φ is the Jacobian determinant that accounts for the stretching of coordinate "boxes" at different locations in space.

Spherical coordinates are the ideal choice when the region of integration is a sphere, hemisphere, cone, or spherical shell, or when the integrand contains x² + y² + z², which simplifies to just ρ². The conversion formulas x = ρ sin φ cos θ, y = ρ sin φ sin θ, z = ρ cos φ let you rewrite any Cartesian integrand, and the standard limits for a full sphere are ρ ∈ [0, R], φ ∈ [0, π], θ ∈ [0, 2π]. Mastering this technique prepares you for applications in physics, engineering, and higher mathematics.

Varsity Tutors • Multivariable Calculus • Triple Integrals: Spherical — Triple integrals in spherical coordinates