Section 6.6 Other Coordinate Systems
¶Coordinate systems are tools that let us use algebraic methods to understand geometry. While the rectangular (also called Cartesian) coordinates that we have been discussing are the most common, some problems are easier to analyze in alternate coordinate systems.
A coordinate system is a scheme that allows us to identify any point in the plane or in threedimensional space by a set of numbers. In rectangular coordinates these numbers are interpreted, roughly speaking, as the lengths of the sides of a rectangular “box.”
In two dimensions you may already be familiar with an alternative, called polar coordinates. In this system, each point in the plane is identified by a pair of numbers \((r,\theta)\text{.}\) The number \(\theta\) measures the counterclockwise angle between the positive \(x\)axis and a vector with tail at the origin and head at the point, as shown in Figure 6.15; the number \(r\) measures the distance from the origin to the point. Either of these may be negative; a negative \(\theta\) indicates the angle is measured clockwise from the positive \(x\)axis instead of counterclockwise, and a negative \(r\) indicates the point at distance \(r\) in the opposite of the direction given by \(\theta\text{.}\)
The relationship between polar and rectangular coordinates is given by
and
Example 6.20. Rectangular to Polar Coordinates.
Convert the point \((x,y) = (1, \sqrt3)\) into polar coordinates.
First calculate \(r\text{:}\)
Now find \(\theta\) such that \(\tan \theta = \frac{\sqrt{3}}{1}\text{.}\) The required \(\theta\) is \(\frac{\pi}{3}\text{.}\)
The polar coordinates are \((2, \frac{\pi}{3})\text{.}\)
Figure 6.15 also shows the point with rectangular coordinates \((1,\sqrt3)\) and polar coordinates \((2,\pi/3)\text{,}\) 2 units from the origin and \(\pi/3\) radians from the positive \(x\)axis.
We can extend polar coordinates to three dimensions simply by adding a \(z\) coordinate; this is called cylindrical coordinates. Each point in threedimensional space is represented by three coordinates \((r,\theta,z)\) in the obvious way: this point is \(z\) units above or below the point \((r,\theta)\) in the \(x\)\(y\)plane, as shown in Figure 6.16. The point with rectangular coordinates \((1,\sqrt3, 3)\) and cylindrical coordinates \((2,\pi/3,3)\) is also indicated in Figure 6.16.
Some figures with relatively complicated equations in rectangular coordinates will be represented by simpler equations in cylindrical coordinates. For example, the cylinder in Figure 6.17 has equation \(x^2+y^2=4\) in rectangular coordinates, but equation \(r=2\) in cylindrical coordinates.
Given a point \((r,\theta)\) in polar coordinates, it is easy to see (as in Figure 6.15) that the rectangular coordinates of the same point are \((r\cos\theta,r\sin\theta)\text{,}\) and so the point \((r,\theta,z)\) in cylindrical coordinates is \((r\cos\theta,r\sin\theta,z)\) in rectangular coordinates. This means it is usually easy to convert any equation from rectangular to cylindrical coordinates: simply substitute
and leave \(z\) alone. For example, starting with \(x^2+y^2=4\) and substituting \(x=r\cos\theta\text{,}\) \(y=r\sin\theta\) gives
Of course, it's easy to see directly that this defines a cylinder as mentioned above.
Cylindrical coordinates are an obvious extension of polar coordinates to three dimensions, but the use of the \(z\) coordinate means they are not as closely analogous to polar coordinates as another standard coordinate system. In polar coordinates, we identify a point by a direction and distance from the origin; in three dimensions we can do the same thing, in a variety of ways. The question is: how do we represent a direction? One way is to give the angle of rotation, \(\theta\text{,}\) from the positive \(x\)axis, just as in cylindrical coordinates, and also an angle of rotation, \(\phi\text{,}\) from the positive \(z\)axis. Roughly speaking, \(\theta\) is like longitude and \(\phi\) is like latitude. (Earth longitude is measured as a positive or negative angle from the prime meridian, and is always between 0 and 180 degrees, east or west; \(\theta\) can be any positive or negative angle, and we use radians except in informal circumstances. Earth latitude is measured north or south from the equator; \(\phi\) is measured from the north pole down.) This system is called spherical coordinates; the coordinates are listed in the order \((\rho,\theta,\phi)\text{,}\) where \(\rho\) is the distance from the origin, and like \(r\) in polar and cylindrical coordinates it may be negative. The general case and an example are pictured in Figure 6.18; the length marked \(r\) is the \(r\) of cylindrical coordinates.
As with cylindrical coordinates, we can easily convert equations in rectangular coordinates to the equivalent in spherical coordinates, though it is a bit more difficult to discover the proper substitutions. Figure 6.19 shows the typical point in spherical coordinates from Figure 6.18, viewed now so that the arrow marked \(r\) in the original graph appears as the horizontal “axis” in the left hand graph. From this diagram it is easy to see that the \(z\) coordinate is \(\rho\cos\phi\text{,}\) and that \(r=\rho\sin\phi\text{,}\) as shown. Thus, in converting from rectangular to spherical coordinates we will replace \(z\) by \(\rho\cos\phi\text{.}\) To see the substitutions for \(x\) and \(y\) we now view the same point from above, as shown in the right hand graph. The hypotenuse of the triangle in the right hand graph is \(r=\rho\sin\phi\text{,}\) so the sides of the triangle, as shown, are \(x=r\cos\theta=\rho\sin\phi\cos\theta\) and \(y=r\sin\theta=\rho\sin\phi\sin\theta\text{.}\) Therefore to convert from rectangular to spherical coordinates, we make these substitutions:
As the cylinder had a simple equation in cylindrical coordinates, so does the sphere in spherical coordinates.
Example 6.21.
Find an equation for the sphere of radius \(2\) in spherical coordinates.
If we start with the Cartesian equation of the sphere and substitute, we get the spherical equation:
Therefore, in spherical coordinates, a sphere of radius \(2\) is expressed \(\rho=2\text{.}\)
Although not as simple as with cylindrical coordinates, we can use spherical coordinates to describe the equation of a cylinder.
Example 6.22. Cylinder Equation in Spherical Coordinates.
Find an equation for the cylinder \(x^2+y^2=4\) in spherical coordinates.
Proceeding as in the previous example:
Exercises for Section 6.6.
Exercise 6.6.1.
Convert the following points in rectangular coordinates to cylindrical and spherical coordinates:

\((1,1,1)\)
Answer\(\ds (\sqrt2,\pi/4,1)\text{,}\) \(\ds (\sqrt3,\pi/4,\arccos(1/\sqrt3))\) 
\((7,7,5)\)
Answer\(\ds (7\sqrt2,7\pi/4,5)\text{,}\) \(\ds (\sqrt{123},7\pi/4,\arccos(5/\sqrt{123})\) 
\((\cos(1),\sin(1),1)\)
Answer\((1,1,1)\text{,}\) \(\ds (\sqrt2,1,\pi/4)\) 
\((0,0,\pi)\)
Answer\((0,0,\pi)\text{,}\) \((\pi,0,\pi)\)
Exercise 6.6.2.
Find an equation for the sphere \(x^2+y^2+z^2=4\) in cylindrical coordinates.
Answer\(r^2+z^2=4\)
Exercise 6.6.3.
Find an equation for the \(y\)\(z\)plane in cylindrical coordinates.
Answer\(r\cos\theta=0\)
Exercise 6.6.4.
Find an equation equivalent to \(x^2+y^2+2z^2+2z5=0\) in cylindrical coordinates.
Answer\(r^2+2z^2+2z5=0\)
Exercise 6.6.5.
Suppose the curve \(z=e^{x^2}\) in the \(x\)\(z\)plane is rotated around the \(z\)axis. Find an equation for the resulting surface in cylindrical coordinates.
Answer\(z=e^{r^2}\)
Exercise 6.6.6.
Suppose the curve \(z=x\) in the \(x\)\(z\)plane is rotated around the \(z\)axis. Find an equation for the resulting surface in cylindrical coordinates.
Answer\(z=r\)
Exercise 6.6.7.
Find an equation for the plane \(y=0\) in spherical coordinates.
Answer\(\sin\theta=0\)
Exercise 6.6.8.
Find an equation for the plane \(z=1\) in spherical coordinates.
Answer\(1=\rho\cos\phi\)
Exercise 6.6.9.
Find an equation for the sphere with radius 1 and center at \((0,1,0)\) in spherical coordinates.
Answer\(\rho=2\sin\theta\sin\phi\text{.}\)
Exercise 6.6.10.
Find an equation for the cylinder \(x^2+y^2=4\) in spherical coordinates.
Answer\(\rho\sin\phi=2\)
Exercise 6.6.11.
Suppose the curve \(z=x\) in the \(x\)\(z\)plane is rotated around the \(z\)axis. Find an equation for the resulting surface in spherical coordinates.
Answer\(\cos\phi=1/\sqrt2\)
Exercise 6.6.12.
Plot the polar equations \(r=\sin(\theta)\) and \(r=\cos(\theta)\) and comment on their similarities. (If you get stuck on how to plot these, you can multiply both sides of each equation by \(r\) and convert back to rectangular coordinates).
Exercise 6.6.13.
Extend Exercises 6.6.6 and 6.6.11 by rotating the curve \(z=mx\) around the \(z\)axis and converting to both cylindrical and spherical coordinates.
Answer\(z=mr\text{;}\) \(\cot\phi=m\) if \(m\neq0\text{,}\) \(\phi=0\) if \(m=0\)
Exercise 6.6.14.
Convert the spherical formula \(\rho=\sin \theta \sin \phi\) to rectangular coordinates and describe the surface defined by the formula (Hint: Multiply both sides by \(\rho\text{.}\))
AnswerA sphere with radius \(1/2\text{,}\) center at \((0,1/2,0)\)
Exercise 6.6.15.
We can describe points in the first octant by \(x >0\text{,}\) \(y>0\) and \(z>0\text{.}\) Give similar inequalities for the first octant in cylindrical and spherical coordinates.
Answer\(0\lt \theta\lt \pi/2\text{,}\) \(0\lt \phi\lt \pi/2\text{,}\) \(\rho>0\text{;}\) \(0\lt \theta\lt \pi/2\text{,}\) \(r>0\text{,}\) \(z>0\)