40. Spherical Coordinate System
A point π = (π₯, π¦, π§) described by rectangular coordinates in π
3 can also be described by three
independent variables, π (rho), π and π (phi), whose meanings are given below:
π: the distance from the origin to π.
π: the angle from the positive x-axis to the line connecting the origin to the point (π₯, π¦, 0).
π: the angle from the positive z-axis to the line connecting the origin to π.
Descriptively, π (rho) is the spherical radius, π is the βsweepβ angle of the pointβs projection onto
the xy-plane, and π (phi) is the βleanβ angle of the point relative to the positive z-axis.
A point P is shown in π
3 (above left). A line connects the origin to P (above middle). This line
has length π. This same line also βleansβ at an angle of π radians, relative to the positive z-axis
(above right). Furthermore, a line is drawn from the origin to the pointβs projection onto the xyplane, (π₯, π¦, 0). This line is at an angle of π radians relative to the positive x-axis in the counterclockwise manner. The use of π here is identical to its usage in the polar and cylindrical coordinate
systems and is confined to the xy-plane.
These three variables comprise the spherical coordinate system, and are best used to describe
regions in π
3 that are spheres, or parts of a sphere. For such regions, the bounds of π, π and π will
be constants. The common restrictions on π, π and π are:
π β₯ 0, 0 β€ π β€ 2π, 0 β€ π β€ π.
Any point in π
3 can be described by spherical coordinates (π, π, π) that meet the restrictions stated
above.
The variable π can be thought of as the βleanβ of the line connecting the origin to P relative to the
π
positive z-axis. If π = 0, then P lies on the positive z-axis. If π = 2 , then P lies on the xy-plane,
which is at right angles to the positive z-axis, and if π = π, then P lies on the negative z-axis.
227
The conversion formulas between rectangular coordinates (π₯, π¦, π§) and spherical coordinates
(π, π, π) are:
π = βπ₯ 2 + π¦ 2 + π§ 2 ,
π¦
βπ₯ 2 + π¦ 2
π = arctan ( ) , π = arctan (
).
π₯
π§
π₯ = π sin π cos π ,
π¦ = π sin π sin π , π§ = π cos π.
ο¨ο·ο¨ο·ο¨ο·ο¨ο·ο¨
A Review of the Arctangent Operator, or Getting your π½ and π angles correct!
Assume x and y are the usual coordinates in the xy-plane, and that π is the angle from the positive
x-axis to the line connecting the origin to the point (x,y), given by π = arctan(π¦βπ₯). When
calculating the angle π, we must be careful in handling the result as given by a calculator. Recall
that the arctangent operator only returns values in the first quadrant (if π¦βπ₯ is positive) or fourth
quadrants (if π¦βπ₯ is negative).
ο·
π¦
If both x and y are positive (in Quadrant 1), then π¦βπ₯ is positive, so that π = arctan (π₯ ) is in
the interval 0 β€ π β€
2
(the first quadrant).
Quadrant I
Example
π₯ > 0, π¦ > 0
π₯ = 3, π¦ = 2, so that
2
π = tanβ1 (3) β 0.59.
Thus, π¦βπ₯ > 0
and
π
0 < π < 2.
ο·
π
Picture
What needs to be
done?
Nothing. The arctan
operator returned a
value in the first
quadrant, as expected.
The correct answer is
π = 0.59 radians.
If x is negative and y is positive (in Quadrant 2), then π¦βπ₯ is negative, but π = arctan(π¦βπ₯)
π
is in the interval β 2 β€ π β€ 0 (the fourth quadrant). We must add π to this result to place the
angle in the interval
π
2
β€ π β€ π, the second quadrant.
Quadrant II
Example
π₯ < 0, π¦ > 0
π₯ = β3, π¦ = 2, so that
2
π = tanβ1 (β3) β β0.59.
Thus, π¦βπ₯ < 0
and
π
< π < π.
2
Picture
228
What needs to be
done?
The value β0.59 is in
quadrant IV, so we
add π to place the
angle into quadrant II.
The correct answer is
π = β0.59 + 3.14 =
2.55 radians.
ο·
If both x and y are negative (in Quadrant 3), then π¦βπ₯ is positive, but π = arctan(π¦βπ₯) is in
π
the interval 0 β€ π β€ 2 (the first quadrant). Thus, we add π to this result to place the angle in
the interval π β€ π β€
2
, the third quadrant.
Quadrant III
Example
π₯ < 0, π¦ < 0
π₯ = β3, π¦ = β2, so that
β2
π = tanβ1 (β3) =
Thus, π¦βπ₯ > 0
and
3π
π<π< 2.
ο·
3π
Picture
What needs to be
done?
The value 0.59 is in
quadrant I, so add π
to place the angle into
quadrant III. The
correct answer is π =
0.59 + 3.14 = 3.73
radians.
2
tanβ1 (3) β 0.59.
If x is positive and y is negative (in Quadrant 4), then π¦βπ₯ is negative, so that π = arctan(π¦βπ₯)
π
is in the interval β 2 β€ π β€ 0 (the fourth quadrant). This is usually acceptable. However, if we
desire that the angle be positive, then we add 2π to the result.
Quadrant IV
Example
π₯ > 0, π¦ < 0
π₯ = 3, π¦ = β2, so that
β2
π = tanβ1 ( 3 ) β β0.59.
Thus, π¦βπ₯ < 0
and
3π
< π < 2π.
2
Picture
What needs to be
done?
Nothing. The value is
in quadrant IV, as
expected. However, if
the angle is to be
stated as a positive
number, add 2π.
Thus, π = β0.59 +
6.28 = 5.69 radians.
For π, the process is simpler. If the point lies above the xy-plane (that is, z is positive), then the
π
result given by π = arctan(βπ₯ 2 + π¦ 2 βπ§) will be in the interval 0 β€ π β€ 2 and no adjustments
need to be made. If z is negative, then π must be in the interval
π
π
2
β€ π β€ π. However, the
expression arctan(βπ₯ 2 + π¦ 2βπ§) will give a value in β 2 β€ π β€ 0, in which case, add π to place
the angle π in the desired interval of
π
2
β€ π β€ π.
ο¨ο·ο¨ο·ο¨ο·ο¨ο·ο¨
229
Example 40.1: Convert the rectangular coordinate (2,5,3) into spherical coordinates.
Solution: Note that this point lies above the first quadrant of the xy-plane. Thus, we expect that
π
π
both π and π will be in the intervals 0 < π < 2 and 0 < π < 2 . We have
π = β22 + 52 + 32 = β38,
5
π = arctan ( ) β 1.1903 radians,
2
β22 + 52
π = arctan (
) β 1.0625 radians.
3
Since
π
2
β 1.571, the values for π and π are plausible.
ο¨ο·ο¨ο·ο¨ο·ο¨ο·ο¨
Example 40.2: Convert the rectangular coordinate (β3, β4, β2) into spherical coordinates.
Solution: This point lies below the third quadrant of the xy-plane. We expect that π will be in the
3π
π
interval π < π < 2 and that π will be in the interval 2 < π < π. We have
π = β(β3)2 + (β4)2 + (β2)2 = β29,
β4
4
π = arctan ( ) = arctan ( ) β 0.9273 radians,
β3
3
5
β(β3)2 + (β4)2
π = arctan (
) = arctan (β ) β β1.1903 radians.
β2
2
The current value for π is incorrect. The value of 0.9273 radians places π in the first quadrant.
Thus, add π, so that the correct value for π is 0.9273 + 3.1416 β 4.0689 radians, which is in the
3π
in the interval π < π < 2 , as desired.
π
Furthermore, we can rewrite π so that it is in the interval 2 < π < π. We add π to π β β1.1903,
getting β1.1903 + 3.1416 β 1.9513 radians, which is an angle in the desired interval.
To summarize, the point (β3, β4, β2) in rectangular coordinates is equivalent to the point
(π, π, π) = (β29, 4.0689, 1.9513) in spherical coordinates.
ο¨ο·ο¨ο·ο¨ο·ο¨ο·ο¨
230
Example 40.3: Describe the solid sphere of radius 2 centered at the origin using spherical
coordinates.
Solution: The solid sphere of radius 2 is described by
0 β€ π β€ 2, 0 β€ π β€ 2π,
0 β€ π β€ π.
ο¨ο·ο¨ο·ο¨ο·ο¨ο·ο¨
Example 40.4: Describe the solid hemisphere of radius 4, bounded by the xy-plane, extending into
the negative z direction.
Solution: We have
0 β€ π β€ 4, 0 β€ π β€ 2π,
π
β€ π β€ π.
2
π
Note that the bounds 2 β€ π β€ π indicate that points in this region lie below the xy-plane.
ο¨ο·ο¨ο·ο¨ο·ο¨ο·ο¨
Example 40.5: Describe π = 3, with 0 β€ π β€ 2π and 0 β€ π β€ π.
Solution: This is a sphere of radius 3, centered at the origin. Had we set 0 β€ π β€ 3, this would
describe the solid sphere of radius 3.
Converting back to rectangular coordinates, this same spherical surface is given by
π₯ = 3 sin π cos π
π¦ = 3 sin π sin π
π§ = 3 cos π,
with 0 β€ π β€ 2π and 0 β€ π β€ π.
ο¨ο·ο¨ο·ο¨ο·ο¨ο·ο¨
Example 40.6: Describe the solid given by 9 β€ π₯ 2 + π¦ 2 + π§ 2 β€ 25, where π₯ β₯ 0 and π¦ β₯ 0,
using spherical coordinates.
Solution: Note that x and y are restricted to the first quadrant in the xy-plane, so that π cannot be
π
greater than 2 . The object is two nested spheres, one of radius 3 and the other of radius 5, lying
above and below the first quadrant of the xy-plane. Note that z still may be positive or negative.
π
We have 3 β€ π β€ 5, 0 β€ π β€ 2 , 0 β€ π β€ π.
ο¨ο·ο¨ο·ο¨ο·ο¨ο·ο¨
231
Example 40.7: Given the point P defined by spherical
π π
coordinates (π, π, π) = (3, 6 , 5 ), find the reflection of P (a) cross
the xy-plane, (b) across the yz-plane, and (c) across the xz-plane.
Solution: Unlike the rectangular coordinate axis system, where
we can negate certain values within the ordered triple to achieve
a reflection, we must remember that the point in spherical
coordinates is partially described by angle measures.
a) When P is reflected across the xy-plane, the π and π values do not change. However, the
new π value is now the supplement of the original value. Thus, the reflection of P across
π
π
π 4π
the xy-plane is given by (3, 6 , π β 5 ) = (3, 6 , 5 ).
b) When P is reflected across the yz-plane, the π and π values do not change. However, the
new π value is now the supplement of the original value. Thus, the reflection of P across
π π
5π π
the yz-plane is given by (3, π β 6 , 5 ) = (3, 6 , 5 ).
232
c) When P is reflected across the xz-plane, the π and π values do not change. However, the
new π value is now the negation of the original value. Thus, the reflection of P across the
π π
xz-plane is given by (3, β 6 , 5 ). If we require that π be positive, then this point is also
π π
described by (3,2π β 6 , 5 ) = (3,
11π π
6
, 5 ).
ο¨ο·ο¨ο·ο¨ο·ο¨ο·ο¨
π π
Example 40.8: Rewrite the point P given by spherical coordinates (π, π, π) = (β3, 6 , 5 ) so that
all values are positive.
π
π
Solution: Note that the angles π = 6 and π = 5 describe a ray extending from the origin into the
positive octant, where x, y and z are all positive. Any point on this ray would have a positive value
for π, being the pointβs distance from the origin.
If the ray is extended in the opposite direction, it extends into the octant where x, y and z are all
negative. Thus, a βdistanceβ of π = β3 is interpreted as a point that lies on this ray such that its x,
y and z coordinates would all be negative
We adjust the angle values so that π β€ π β€
π
2
3π
2
, making both the x and y coordinates negative, and
β€ π β€ π, making the z coordinate negative. For π, we add π to the original angle measure, and
π π
for π, we use the supplement of the original angle measure. Thus, (β3, 6 , 5 ) is equivalent to
π
π
(β3, π + 6 , π β 5 ) = (3,
7π 4π
6
,
5
).
ο¨ο·ο¨ο·ο¨ο·ο¨ο·ο¨
See an error? Have a suggestion?
Please see www.surgent.net/vcbook
233
41. Integration with Spherical Coordinates
A function π(π₯, π¦, π§) integrated over a region R can be integrated in spherical coordinates, where
π2 sin π is the Jacobian, and present in all integrals defined in spherical coordinates.
π2
π2
β π(π₯, π¦, π§) ππ = β« β«
π
π1
π2
β« π(π₯(π, π, π), π¦(π, π, π), π§(π, π, π)) π2 sin π ππ ππ ππ.
π1
π1
Here, π(π₯(π, π, π), π¦(π, π, π), π§(π, π, π)) represents the integrand after the variables x, y and z
have been converted into spherical coordinates.
ο¨ο·ο¨ο·ο¨ο·ο¨ο·ο¨
Example 41.1: Use spherical coordinates to find the volume of a sphere of radius 1.
Solution. The sphere is described in spherical coordinates by
0 β€ π β€ 1, 0 β€ π β€ 2π,
0 β€ π β€ π.
The integrand is π(π₯, π¦, π§) = 1, since this is a volume integral in π
3 . The volume element is
ππ = π2 sin π ππ ππ ππ.
Thus, we have
2π
β 1 ππ = β«
π
0
π
1
β« β« 1 π2 sin π ππ ππ ππ.
0
0
Note that itβs not necessary to actually write the β1β in the integrand in later steps.
The inner-most integral is evaluated first with respect to π:
1
1
β« π2 sin π ππ = sin π β« π2 ππ
0
0
1
π3
= sin π [ ]
3 0
=
234
1
sin π.
3
This is then integrated with respect to π:
π
1
1 π
β« ( sin π) ππ = β« sin π ππ
3
3 0
0
1
[β cos π]π0
3
1
= [(β cos π) β (β cos 0)]
3
2
= .
3
=
{β cos π = β(β1) = 1
β cos 0 = β1
Finally, we integrate with respect to π:
2π
β«
0
2
2
4π
( ) ππ = (2π) =
.
3
3
3
4
From geometry, we know that the volume of a sphere of radius 1 is 3 π(1)3 =
our work.
4π
3
. This is a check
ο¨ο·ο¨ο·ο¨ο·ο¨ο·ο¨
Example 41.2: Evaluate βπ
βπ₯ 2 + π¦ 2 + π§ 2 ππ , where π
is a hemisphere of radius 5, centered
at the origin and above the xy-plane.
Solution: In rectangular coordinates, the triple integral is
5
β25βπ₯ 2
β« β«
β25βπ₯ 2 βπ¦ 2
β«
βπ₯ 2 + π¦ 2 + π§ 2 ππ§ ππ¦ ππ§.
β5 ββ25βπ₯ 2 0
In spherical coordinates, the integrand is rewritten as βπ₯ 2 + π¦ 2 + π§ 2 = βπ2 = π, then multiplied
by the Jacobian π2 sin π. This same integral in spherical coordinates is
πβ2
2π
β«
β«
0
0
5
πβ2
2π
2
β« (π) π sin π ππ ππ ππ = β«
0
0
β«
0
5
β« π3 sin π ππ ππ ππ.
0
This integral has constant bounds and is more easily solved using spherical coordinates than in
rectangular coordinates.
235
The inner-most integral is evaluated first with respect to π:
5
5
3
β« π sin π ππ = sin π β« π3 ππ
0
0
5
π4
= sin π [ ]
4 0
625
sin π.
4
=
Then, this is then integrated with respect to π:
πβ2
β«
0
625
625
[β cos π]π0 β2
(
sin π) ππ =
4
4
625
(0 β (β1))
4
625
=
.
4
=
Lastly, we integrate with respect to π:
2π
β«
0
(
625
625
625π
(2π) =
) ππ =
.
4
4
2
ο¨ο·ο¨ο·ο¨ο·ο¨ο·ο¨
Comment: When using spherical coordinates to find the volume of a solid in π
3 (or any situation
where the variables in the integrand can be isolated as separate factors) and assuming all bounds
are constants, then the triple integral can be written as the product of three single integrals:
π2
π2
Volume = β« β«
π1
π1
π2
π2
π2
π2
β« π2 sin π ππ ππ ππ = (β« ππ) (β« sin π ππ) (β« π2 ππ).
π1
π1
236
π1
π1
Example 41.3: Let Q be a sphere centered at the origin, and R be a cone whose vertex is at the
origin and opens in the positive z direction. The solid S bounded inside the cone and the sphere is
called a spherical sector. Suppose the point (4,5,7) in rectangular coordinates lies on the βlipβ,
where the sphere and the cone intersect. Find the volume of S.
Solution: We can determine bounds for π, π and π by sketching the solid and the point on its rim:
The distance from (0,0,0) to (4,5,7) is β42 + 52 + 72 = β90 = 3β10. Since the solid includes the
origin, the bounds of π are 0 β€ π β€ 3β10.
Note that the solid includes the positive z-axis, so the lower bound for π is 0. The upper bound is
found by observing a right triangle with the adjacent leg on the z-axis, and the hypotenuse
corresponding to a line from the origin to the point (4,5,7). From this, we see that for an upper
7
bound, we have π = arccos (3β10). Lastly, the solid encircles the z-axis. Thus, the bounds of π
are 0 β€ π β€ 2π.
237
The volume integral in spherical coordinates is
2π
7
)
arccos(
3β10
β«
β«
0
0
3β10
π2 sin π ππ ππ ππ.
β«
0
The inner-most integral is evaluated with respect to π:
3β10
3β10
β«
π2 sin π ππ = sin π β«
0
0
π2 ππ
3β10
π3
= sin π [ ]
3 0
3
(3β10)
=
sin π
3
= 3(10)3β2 sin π.
This is then integrated with respect to π:
β«
7
)
arccos(
3β10
(3(10)
3β2
sin π) ππ = 3(10)
3β2
0
β«
7
)
arccos(
3β10
sin π ππ
0
= 3(10)
3β2 [β
7
)
arccos(
3β10
cos π]0
7
= 3(10)3β2 [β cos ( arccos (
)) β (β cos 0)]
3β10
7
= 3(10)3β2 (1 β
).
3β10
Finally, we evaluate the outer-most integral with respect to π:
2π
β«
0
3(10)3β2 (1 β
7
7
) ππ = 3(10)3β2 (1 β
) 2π
3β10
3β10
= 6π(10)3β2 (1 β
7
3β10
β 156.25 cubic units.
238
)
Using the short form
π2
π2
β« β«
π1
π1
π2
π2
2
π2
π2
β« π sin π ππ ππ ππ = (β« ππ) (β« sin π ππ) (β« π2 ππ),
π1
π1
π1
π1
we have
2π
Volume = (β« ππ ) (β«
0
=
7
)
arccos(
3β10
3β10
sin π ππ) (β«
0
π2 ππ)
0
7
3β10
)
arccos(
π3
3β10
2π
([π]0 ) ([β cos π]0
) ([ ]
)
3 0
3
(3β10)
= (2π) (β
β (β1)) (
)
3
3β10
7
= 3(10)3β2 (1 β
7
) 2π
3β10
7
= 6π(10)3β2 (1 β
) β 156.25 cubic units.
3β10
ο¨ο·ο¨ο·ο¨ο·ο¨ο·ο¨
Example 41.4: Use spherical coordinates to find the volume contained within the cone π§ =
βπ₯ 2 + π¦ 2 and below the plane π§ = 6.
Solution: First, observe that the solid is not a spherical sector as in the previous example. The
value of π will vary as a function of π.
Note that π will vary as a function of π.
The bounds for π and π are easy to determine. The βsweepβ angle π encompasses a full counterclockwise rotation around the xy-plane from the positive x-axis back to the positive x-axis, so that
239
π
0 β€ π β€ 2π. The βleanβ angle π varies from 0 (the positive z-axis) to 4 (the side of the cone, which
is 45 degrees from both the positive x-axis and the positive y-axis).
For the plane π§ = 6, substitute π§ = π cos π, getting π cos π = 6. Then solving for π, we have π =
6βcos π = 6 sec π. Since the object is a solid and includes the origin, the lower bound for π is 0,
while the upper bound is the plane, so that the bounds for π are 0 β€ π β€ 6 sec π. Thus, the volume
integral is
πβ4
2π
6 sec π
β«
β«
β«
0
0
0
π2 sin π ππ ππ ππ.
The inner-most integral is integrated with respect to π:
6 sec π
β«
0
6 sec π
π3
π sin π ππ = sin π [ ]
3 0
2
216 sec 3 π
= sin π (
)
3
= 72 sin π cos β3 π.
This is now integrated with respect to π. Note that 72 sin π cosβ3 π can be antidifferentiated by a
u-du substitution, where π’ = cos π so that ππ’ = β sin π ππ. This results in a power-rule form,
β«(β72π’β3 ) ππ’ = 36π’β2:
πβ4
β«
0
72 sin π cos β3 π ππ = [36 cos β2 π]π0
β4
β2
β2
= 36 ( )
2
β (36(1)β2 )
= 36(2) β 36
= 36 .
Lastly, we integrate with respect to π:
2π
β« (36) ππ = 36(2π) = 72π cubic units.
0
ο¨ο·ο¨ο·ο¨ο·ο¨ο·ο¨
240
© Copyright 2026 Paperzz