Learning Objectives
- Evaluate a triple integral by changing to spherical coordinates.
Review of Spherical Coordinates
In three-dimensional space R3R3 in the spherical coordinate system, we specify a point PP by its distance ρρ from the origin, the polar angle θθ from the positive xx-axis (same as in the cylindrical coordinate system), and the angle φφ from the positive zz-axis and the line OPOP (Figure 1). Note that ρ ≥ 0ρ ≥ 0 and 0 ≤ φ ≤ π0 ≤ φ ≤ π. (Refer to Cylindrical and Spherical Coordinates for a review.) Spherical coordinates are useful for triple integrals over regions that are symmetric with respect to the origin.

Figure 1. The spherical coordinate system locates points with two angles and a distance from the origin.
Recall the relationships that connect rectangular coordinates with spherical coordinates.
From spherical coordinates to rectangular coordinates:
x=ρ sin φ cos θ,y=ρ sin φ sin θ, and z=ρ cos φ.x=ρ sin φ cos θ,y=ρ sin φ sin θ, and z=ρ cos φ.
From rectangular coordinates to spherical coordinates:
ρ2=x2+y2+z2, tanθ=yx,φ=arccos(z√x2+y2+z2).ρ2=x2+y2+z2, tanθ=yx,φ=arccos(z√x2+y2+z2).
Other relationships that are important to know for conversions are
- r=ρ sin φr=ρ sin φ
- θ=θθ=θ These equations are used to convert from spherical coordinates to cylindrical coordinates
- z=ρ cos φz=ρ cos φ
and
- ρ=√r2+z2ρ=√r2+z2
- θ=θθ=θ These equations are used to convert from cylindrical coordinates to spherical coordinates.
- φ=arccos(z√r2+z2)φ=arccos(z√r2+z2)
The following figure shows a few solid regions that are convenient to express in spherical coordinates.

Figure 2. Spherical coordinates are especially convenient for working with solids bounded by these types of surfaces. (The letter cc indicates a constant.)
Integration in Spherical Coordinates
We now establish a triple integral in the spherical coordinate system, as we did before in the cylindrical coordinate system. Let the function f(ρ,θ,φ)f(ρ,θ,φ) be continuous in a bounded spherical box, B={(ρ,θ,φ)∣a ≤ ρ ≤ b,α ≤ θ ≤ β,γ ≤ φ ≤ ψ}B={(ρ,θ,φ)∣a ≤ ρ ≤ b,α ≤ θ ≤ β,γ ≤ φ ≤ ψ}. We then divide each interval into ll, mm, and nn subdivisions such that Δρ=b−al, Δθ=β−αm, Δφ=ψ−γnΔρ=b−al, Δθ=β−αm, Δφ=ψ−γn.
Now we can illustrate the following theorem for triple integrals in spherical coordinates with (ρ∗ijk,θ∗ijk,φ∗ijk)(ρ∗ijk,θ∗ijk,φ∗ijk) being any sample point in the spherical subbox BijkBijk. For the volume element of the subbox ΔVΔV in spherical coordinates, we have ΔV=(Δρ)(ρΔφ)(ρ sin φΔθ)ΔV=(Δρ)(ρΔφ)(ρ sin φΔθ), as shown in the following figure.

Figure 3. The volume element of a box in spherical coordinates.
definition
The triple integral in spherical coordinates is the limit of a triple Riemann sum,
liml,m,n→∞l∑i=1m∑j=1n∑k=1f(ρ∗ijk,θ∗ijk,φ∗ijk)(ρ∗ijk)2sinφΔρΔθΔφliml,m,n→∞l∑i=1m∑j=1n∑k=1f(ρ∗ijk,θ∗ijk,φ∗ijk)(ρ∗ijk)2sinφΔρΔθΔφ
provided the limit exists.
As with the other multiple integrals we have examined, all the properties work similarly for a triple integral in the spherical coordinate system, and so do the iterated integrals. Fubini’s theorem takes the following form.
theorem: fubini’s theorem for spherical coordinates
If f(ρ,θ,φ)f(ρ,θ,φ) is continuous on a spherical solid box B=[a,b] × [α,β] ×[γ,ψ]B=[a,b] × [α,β] ×[γ,ψ], then
∭Bf(ρ,θ,φ) ρ2sin φ dρ dφ dθ=∫φ=ψφ=γ ∫θ=βθ=α ∫ρ=bρ=a f(ρ,θ,φ) ρ2sin φ dρ dφ dθ.∭Bf(ρ,θ,φ) ρ2sin φ dρ dφ dθ=∫φ=ψφ=γ ∫θ=βθ=α ∫ρ=bρ=a f(ρ,θ,φ) ρ2sin φ dρ dφ dθ.
This iterated integral may be replaced by other iterated integrals by integrating with respect to the three variables in other orders.
As stated before, spherical coordinate systems work well for solids that are symmetric around a point, such as spheres and cones. Let us look at some examples before we consider triple integrals in spherical coordinates on general spherical regions.
Example: evaluating a triple integral in spherical coordinates
Evaluate the iterated triple integral
∫θ=2πθ=0 ∫φ=π/2φ=0 ∫ρ=1p=0 ρ2sin φ dρ dφ dθ∫θ=2πθ=0 ∫φ=π/2φ=0 ∫ρ=1p=0 ρ2sin φ dρ dφ dθ.
The concept of triple integration in spherical coordinates can be extended to integration over a general solid, using the projections onto the coordinate planes. Note that dVdV and dAdA mean the increments in volume and area, respectively. The variables VV and AA are used as the variables for integration to express the integrals.
The triple integral of a continuous function f(ρ,θ,φ)f(ρ,θ,φ) over a general solid region
E={(ρ,θ,φ)∣(ρ,θ) ∈ D,u1 (ρ,θ) ≤ φ ≤ u2 (ρ,θ)}E={(ρ,θ,φ)∣(ρ,θ) ∈ D,u1 (ρ,θ) ≤ φ ≤ u2 (ρ,θ)}
in R3R3, where DD is the projection of EE onto the ρθρθ-plane, is
∭Ef(ρ,θ,φ)dV=∬D[ u2(ρ,θ)∫u1(ρ,θ) f(ρ,θ,φ)dφ]dA.∭Ef(ρ,θ,φ)dV=∬D[ u2(ρ,θ)∫u1(ρ,θ) f(ρ,θ,φ)dφ]dA.
In particular, D={(ρ,θ)∣g1 (θ) ≤ ρ ≤ g2 (θ),α ≤ θ ≤ β}D={(ρ,θ)∣g1 (θ) ≤ ρ ≤ g2 (θ),α ≤ θ ≤ β}, then we have
∭Ef(ρ,θ,φ)dV=∫βα ∫g2(θ)g1(θ) ∫u2(ρ,θ)u1(ρ,θ) f(ρ,θ,φ)ρ2sin φ dφ dρ dθ.∭Ef(ρ,θ,φ)dV=∫βα ∫g2(θ)g1(θ) ∫u2(ρ,θ)u1(ρ,θ) f(ρ,θ,φ)ρ2sin φ dφ dρ dθ.
Similar formulas occur for projections onto the other coordinate planes.
Example: setting up a triple integral in spherical coordinates
Set up an integral for the volume of the region bounded by the cone z=√3(x2+y2)z=√3(x2+y2) and the hemisphere z=√4−x2−y2z=√4−x2−y2 (see the figure below).

Figure 4. A region bounded below by a cone and above by a hemisphere.
try it
Set up a triple integral for the volume of the solid region bounded above by the sphere ρ=2ρ=2 and bounded below by the cone φ=π/3φ=π/3.
Example: interchanging order of integration in spherical coordinates
Let EE be the region bounded below by the cone z=√x2+y2z=√x2+y2 and above by the sphere z=x2+y2+z2z=x2+y2+z2 (Figure 5). Set up a triple integral in spherical coordinates and find the volume of the region using the following orders of integration:
- dρ dϕ dθdρ dϕ dθ,
- dφ dρ dθdφ dρ dθ.

Figure 5. A region bounded below by a cone and above by a sphere.
Before we end this section, we present a couple of examples that can illustrate the conversion from rectangular coordinates to cylindrical coordinates and from rectangular coordinates to spherical coordinates.
Example: converting from rectangular coordinates to cylindrical coordinates
Convert the following integral into cylindrical coordinates:
∫y=1y=−1∫x=√1−y2x=0 ∫z=√x2+y2z=x2+y2 xyz dz dx dy.∫y=1y=−1∫x=√1−y2x=0 ∫z=√x2+y2z=x2+y2 xyz dz dx dy.
Example: converting from rectangular coordinates to spherical coordinates
Convert the following integral into spherical coordinates:
∫y=3y=0∫x=√9−y2x=0∫z=√18−x2−y2z=√x2+y2 (x2+y2+z2) dz dx dy.∫y=3y=0∫x=√9−y2x=0∫z=√18−x2−y2z=√x2+y2 (x2+y2+z2) dz dx dy.
try it
Use rectangular, cylindrical, and spherical coordinates to set up triple integrals for finding the volume of the region inside the sphere x2+y2+z2=4x2+y2+z2=4 but outside the cylinder x2+y2=1x2+y2=1.

Figure 6.
Watch the following video to see the worked solution to the above Try It
Now that we are familiar with the spherical coordinate system, let’s find the volume of some known geometric figures, such as spheres and ellipsoids.
Example: chapter opener: finding the volume of L’hemisphÈric
Find the volume of the spherical planetarium in l’Hemisphèric in Valencia, Spain, which is five stories tall and has a radius of approximately 5050 ft, using the equation x2+y2+z2=r2x2+y2+z2=r2.

Figure 7. (credit: modification of work by Javier Yaya Tur, Wikimedia Commons)
For the next example we find the volume of an ellipsoid.
Example: finding the volume of an ellipsoid
Find the volume of the ellipsoid x2a2+y2b2+z2c2=1x2a2+y2b2+z2c2=1.
Example: finding the volume of the space inside an ellipsoid and outside a sphere
Find the volume of the space inside the ellipsoid x2752+y2802+z2902=1x2752+y2802+z2902=1 and outside the sphere x2+y2+z2=502x2+y2+z2=502.
Activity: hot air balloons
Hot air ballooning is a relaxing, peaceful pastime that many people enjoy. Many balloonist gatherings take place around the world, such as the Albuquerque International Balloon Fiesta. The Albuquerque event is the largest hot air balloon festival in the world, with over 500500 balloons participating each year.

Figure 8. Balloons lift off at the 2001 Albuquerque International Balloon Fiesta. (credit: David Herrera, Flickr)
As the name implies, hot air balloons use hot air to generate lift. (Hot air is less dense than cooler air, so the balloon floats as long as the hot air stays hot.) The heat is generated by a propane burner suspended below the opening of the basket. Once the balloon takes off, the pilot controls the altitude of the balloon, either by using the burner to heat the air and ascend or by using a vent near the top of the balloon to release heated air and descend. The pilot has very little control over where the balloon goes, however—balloons are at the mercy of the winds. The uncertainty over where we will end up is one of the reasons balloonists are attracted to the sport.
In this project we use triple integrals to learn more about hot air balloons. We model the balloon in two pieces. The top of the balloon is modeled by a half sphere of radius 2828 feet. The bottom of the balloon is modeled by a frustum of a cone (think of an ice cream cone with the pointy end cut off). The radius of the large end of the frustum is 2828 feet and the radius of the small end of the frustum is 66 feet. A graph of our balloon model and a cross-sectional diagram showing the dimensions are shown in the following figure.

Figure 9. (a) Use a half sphere to model the top part of the balloon and a frustum of a cone to model the bottom part of the balloon. (b) A cross section of the balloon showing its dimensions.
We first want to find the volume of the balloon. If we look at the top part and the bottom part of the balloon separately, we see that they are geometric solids with known volume formulas. However, it is still worthwhile to set up and evaluate the integrals we would need to find the volume. If we calculate the volume using integration, we can use the known volume formulas to check our answers. This will help ensure that we have the integrals set up correctly for the later, more complicated stages of the project.
- Find the volume of the balloon in two ways.
- Use triple integrals to calculate the volume. Consider each part of the balloon separately. (Consider using spherical coordinates for the top part and cylindrical coordinates for the bottom part.)
- Verify the answer using the formulas for the volume of a sphere, V=43πr3V=43πr3, and for the volume of a cone, V=13πr2hV=13πr2h.
In reality, calculating the temperature at a point inside the balloon is a tremendously complicated endeavor. In fact, an entire branch of physics (thermodynamics) is devoted to studying heat and temperature. For the purposes of this project, however, we are going to make some simplifying assumptions about how temperature varies from point to point within the balloon. Assume that just prior to liftoff, the temperature (in degrees Fahrenheit) of the air inside the balloon varies according to the function
T0(r,θ,z)=z−r10+210T0(r,θ,z)=z−r10+210
- What is the average temperature of the air in the balloon just prior to liftoff? (Again, look at each part of the balloon separately, and do not forget to convert the function into spherical coordinates when looking at the top part of the balloon.)
Now the pilot activates the burner for 1010 seconds. This action affects the temperature in a 1212-foot-wide column 2020 feet high, directly above the burner. A cross section of the balloon depicting this column in shown in the following figure.
Figure 10. Activating the burner heats the air in a 2020-foot-high, 1212-foot-wide column directly above the burner.
Assume that after the pilot activates the burner for 1010 seconds, the temperature of the air in the column described above increases according to the formula
H(r,θ,z)=−2z−48.H(r,θ,z)=−2z−48.
Then the temperature of the air in the column is given by
T1(r,θ,z)=z−r10+210+(−2z−48)T1(r,θ,z)=z−r10+210+(−2z−48),
while the temperature in the remainder of the balloon is still given by
T0(r,θ,z)=z−r10+210T0(r,θ,z)=z−r10+210.
- Find the average temperature of the air in the balloon after the pilot has activated the burner for 1010 seconds.
Candela Citations
- CP 5.32. Authored by: Ryan Melton. License: CC BY: Attribution
- Calculus Volume 3. Authored by: Gilbert Strang, Edwin (Jed) Herman. Provided by: OpenStax. Located at: https://openstax.org/books/calculus-volume-3/pages/1-introduction. License: CC BY-NC-SA: Attribution-NonCommercial-ShareAlike. License Terms: Access for free at https://openstax.org/books/calculus-volume-3/pages/1-introduction