On this page
Changing coordinates in a multiple integral is more than swapping x and y for r and θ. You must also change the size of the small piece you add up, and that is where the extra r, or r² sin φ, comes from.
Why does dA become r dr dθ in polar coordinates?
Cut the plane with circles and rays. Each piece, a polar rectangle, has one side dr along a ray and one side r dθ along an arc of radius r. So its area is close to r dr dθ.
OpenStax Calculus Volume 3, section 5.3 treats a polar rectangle as nearly a trapezoid with parallel sides r₁Δθ and r₂Δθ and width Δr, so its area is the average radius times Δr Δθ. That gives the rule ∬ f(x, y) dA = ∬ f(r cos θ, r sin θ) r dr dθ.
Cylindrical coordinates are polar coordinates plus an untouched z, so dV = r dz dr dθ, in any order of integration (OpenStax, section 5.5).
Where does r² sin φ come from in spherical coordinates?
In spherical coordinates a point is fixed by its distance r from the origin, its angle φ from the positive z-axis (0 to π) and its angle θ around the z-axis, with x = r sin φ cos θ, y = r sin φ sin θ and z = r cos φ (same source). The book writes ρ for the distance; we use r so that ρ can mean density.
The small box has three edges:
along the radius: dr
along a line of longitude (radius r): r dφ
along a line of latitude, whose radius is the distance from the z-axis, r sin φ: r sin φ dθ
Multiply them: dV = (dr)(r dφ)(r sin φ dθ) = r² sin φ dr dφ dθ. OpenStax writes the same product as ΔV = (Δρ)(ρΔφ)(ρ sin φ Δθ). The sin φ makes boxes near the poles thin, because the circles of latitude shrink to a point there.
The Jacobian determinant gives the same factors; our post on what the Jacobian is and how a change of variables scales area takes that route.
How do you set up a polar, cylindrical or spherical integral?
Three worked examples, one for each system.
First, the area of a disc of radius R, in polar coordinates:
A = ∫ from 0 to 2π ∫ from 0 to R of r dr dθ = 2π × R²/2 = πR².
Without the r you would get 2πR, the circumference.
Second, the volume of a cone, in cylindrical coordinates. Put the tip at the origin, axis along z, top a disc of radius R at height h. The side is z = hr/R, so z runs from hr/R up to h.
V = ∫ from 0 to 2π ∫ from 0 to R ∫ from hr/R to h of r dz dr dθ = 2π ∫ from 0 to R of (h − hr/R) r dr = 2πh(R²/2 − R²/3) = πR²h/3, one third of the surrounding cylinder.
Third, the mass of a ball whose density grows with r, in spherical coordinates. Take a ball of radius a whose density is ρ = kr: zero at the centre, ka at the surface.
M = ∫ from 0 to 2π ∫ from 0 to π ∫ from 0 to a of kr · r² sin φ dr dφ dθ.
The limits are constants, so it splits into three: ∫ r³ dr from 0 to a is a⁴/4, ∫ sin φ dφ from 0 to π is 2, and ∫ dθ from 0 to 2π is 2π. So M = kπa⁴.
Check it: a uniform ball of density ka would have mass (4/3)kπa⁴. Ours has three quarters of that: most of a ball's volume lies near its surface, where the density is close to ka, so the light core costs little. Integrating r² sin φ over the two angles alone gives 4πr², the area of a sphere; see our post on Archimedes' hat-box theorem and why a sphere's area is 4πr².
Which coordinate system should you choose?
OpenStax's rule: cylindrical coordinates suit solids symmetric about an axis, such as cylinders and cones; spherical ones suit solids symmetric about a point, such as spheres (OpenStax, section 5.5). Before you write a single limit, run this checklist:
Read the boundary. x² + y² suggests polar or cylindrical; x² + y² + z² suggests spherical.
Read the integrand. e^(−(x² + y²)) becomes e^(−r²), and the extra r is what lets you integrate it, the trick behind the √π result in our guide to evaluating double integrals for area and volume.
Prefer the system that makes every limit a constant: a ball is a box in spherical coordinates.
Write the factor first: r, or r² sin φ.
Test a known case: with density 1 a ball must give (4/3)πa³.
To revisit the idea underneath, the Fermi Concept Library covers every concept in mathematics and physics. When a setup keeps going wrong, the Fermi Problem Library has a step-by-step solver that explains the reasoning, so you can see where a limit or a factor went missing.



