Triple integral change of variables examples
Spherical coordinates example

For spherical coordinates, the change of variables function is
| (x,y,z) | = T(ρ,θ,ϕ) |
| x | = ρ sin ϕ cos θ | ||
| y | = ρ sin ϕ sin θ | ||
| z | = ρ cos ϕ. |
![]() | = ![]() | ||
= ![]() | |||
| = -ρ2 sin ϕ. |
The change of variable factor is the absolute value of the determinant
= ρ2 sin ϕ. |
Now we’re ready for the example: find the mass of a star that is a ball of radius 3 centered at the origin if the density of the star is g(x,y,z) = 10 - x2 - y2 - z2.
If we try to compute the integral directly in rectangular coordinates, it isn’t so easy:
Sg(x,y,z)dxdydz | |||
= (10 - x2 - y2 - z2)dxdydz |
We can find the mass of the star more easily in spherical coordinates.
The star density g(x,y,z) = 10 - x2 - y2 - z2 becomes g(T(ρ,θ,ϕ)) = 10 - ρ2.
In spherical coordinates, the integral over ball of radius 3 is the integral over the region
| 0 ≤ ρ ≤ 3, 0 ≤ θ ≤ 2π, 0 ≤ ϕ ≤ π |
Therefore, the mass of the star is
| ∫ 03 ∫ 02π∫ 0π(1 - ρ2)ρ2 sin ϕdϕdθdρ | |||
= ∫
03 ∫
02π dθdρ | |||
| = ∫ 03 ∫ 02π(10 - ρ2)ρ22dθdρ | |||
= ∫
034π(10 - ρ2)ρ2dρ = ≈ 520 |
Cylinderical coordinates example

For cylindrical coordinates, the change of variables function is
| (x,y,z) | = T(r,θ,w) |
| x | = r cos θ | ||
| y | = r sin θ | ||
| z | = w. |
![]() | = ![]() | ||
= ![]() | |||
| = r cos 2θ + r sin 2θ = r |
Example: Find the volume of cone of height 1 and radius one. Bounded by surface
z =
and plane z = 1.
Volume is
![]() |
Easier to compute in cylindrical coordinates.
Cone is
| 0 ≤ θ ≤ 2π, 0 ≤ r ≤ 1 | ||
| r ≤ z ≤ 1 |
Volume of cone is
| ∫ 01 ∫ 02π∫ r1rdzdθdr | |||
| = ∫ 01 ∫ 02π(1 - r)rdθdr | |||
= ∫
012π(1 - r)rdr = ![]() |
Ice cream cone revisited
Armed with the knowledge of how to change to spherical coordinates, we can now revisit the ice cream cone example.
Earlier we tried to find the volume of an ice cream cone

and discovered volume was
W dV = ![]() |
We need to describe the bounds in terms of spherical coordinates. Since the
cone is symmetrical around the z axis, θ is easy. 0 ≤ θ ≤ 2π in the cone
and the ranges of the other variables don’t depend on θ. Also, we see
that 0 ≤ r ≤ 1, since a given line from the origin extends until it hits
the sphere z =
, which is a sphere of radius 1. Lastly, ϕ is
determined by requiring that we are in the cone z ≥
. (To see this is
exactly a condition on ϕ, look at the reading on spherical coordinates.) On
the cone, z =
, ϕ = π∕4. Consquently, the condition on ϕ is
0 ≤ ϕ ≤ π∕4.
In summary, the ice cream cone is described by
| 0 ≤ θ ≤ 2π, 0 ≤ r ≤ 1, 0 ≤ ϕ ≤ π∕4 |
Changing to spherical coordinates, we calculate that the volume of the ice cream cone is
| ∫ 01 ∫ 02π∫ 0π∕4ρ2 sin ϕdϕdθdρ | = ∫ 01 ∫ 02π[cos(0) - cos(π∕4)]ρ2dθdρ | ||
= ∫
01 ∫
02π ρ2dθdρ | |||
= ∫
01π(2 - )ρ2dρ | |||
= π![]() |



= 
(10








)