A region in the spherical coordinates is mapped between a region in Cartesian coordinates by the equations in Table 7.5.1.
Spherical to Cartesian
|
Cartesian to Spherical
|
|
|
Table 7.5.1 Equations for spherical coordinates
|
|
|
the equations on the left mapping to ; those on the right, to . Figure 7.5.1 defines the spherical coordinate system typically used in mathematics texts. (Be aware that physics and engineering texts reverse the names and .) Figure 7.5.2 shows three coordinate surfaces: the red surface is ; the blue, ; and the green, .
|
Figure 7.5.1 Spherical coordinates (math texts)
|
|
|
|
|
Figure 7.5.2 Coordinate surfaces, spherical
|
|
|
|
|
|
The angle , called the polar angle, zenith angle, or colatitude, is measured downward from the positive -axis, and satisfies the inequality . (Some texts use the equation , thereby expressing both angles as arctangents.)
The angle , called the azimuthal angle, is measured around the -axis counterclockwise from the positive -axis, and satisfies the inequality , or its equivalent.
There is no uniformity in math or science texts about the order of the triple of coordinate names. There are about as many authors who write as there are who write . Since the meaning of the triple depends on the text, it is imperative that users verify conventions in any text containing calculations in spherical coordinates.
Maple supports both conventions. For plotting, you can specifically use coords=spherical_math or coords=spherical_physics to specify which convention to use:
coords=spherical_math: second coordinate is azimuthal angle and third coordinate is the polar angle.
coords=spherical_physics: second is polar angle and third is the azimuthal angle.
For example, Table 7.5.2 illustrates the syntax by means of which the plot3d command will graph a surface defined in spherical coordinates, using coords=spherical_math for the definition.
Explicit
|
|
Parametric
|
|
Table 7.5.2 Syntax by which the plot3d command will graph in spherical coordinates
|
|
|
In the explicit case, the first range and its coordinate name is interpreted as the angle ; the second, as . The function is interpreted as .
In the parametric case, the parameters and could be any two of . For example, if and , then the parametric list would be .
Note the order of the angles for the plot3d command; in computational commands, Maple uses the order , but in graphing, the order is reversed! Hence, in the Student VectorCalculus package, the order of the coordinates is taken as , and, regardless of the names used, the middle name must be that of the polar angle, that is, of the angle measured downward from the positive -axis.
Both the Student packages VectorCalculus and MultivariateCalculus use and not as the default radial variable. However, both packages use for polar and spherical coordinates. Since the radial variable of polar coordinates is not the radial variable of spherical coordinates, this manual insists on using different letters for these two coordinates. To use other than the default names in these packages, all the variable names must be explicitly given in a list following the system name.