Section 5.1 Non-Linear Coordinate Systems
Subsection 5.1.1 Polar Coordinates
In the linear algebra review, you studied linear transformations of \(\RR^n\text{,}\) expressed as matrices. In this section, I also want to study transformation of \(\RR^N\text{,}\) but not necessarily linear transformation.
There are many purposes to transformation of \(\RR^n\text{.}\) Linear transformation, as expressed through matrices, were consider as manipulations to space: taking the space and reflecting it, rotating it, stretching it, collapsing it. Here, I need a different perspective: I want to leave the space as-is, but simply change my description of is. What I want is a change of coordinates. In \(\RR^2\text{,}\) with standard coordinates \(x,y\text{,}\) I can think of a linear transformation, say \(u = x+v\) and \(v=x-v\text{,}\) as a new system of coordinates. I can describe points, loci, and any other objects in terms of \(u\) and \(v\) just as well as in terms of \(x\) and \(y\text{.}\) The transformation show how to go between the two sets of coordinates.
In linear algebra, all the linear transformations mentioned in the previous section (at least those which preserve dimension) are changes of coordinates. In this section, I look at changing to new coordinates in stranger ways; in particular, I look at non-linear transformations.
In \(\RR^2\text{,}\) the most common non-linear coordinate system is polar coordinates. Polar coordinates describes \(\RR^2\) in terms of circles and rays instead of the conventional lines of Cartesian coordinates. The system has two parameters (coordinates): \(r\) and \(\theta\text{.}\) \(r\text{,}\) the radius, is the distance of a point from the origin. The possible values of the radius are \(r \in [0, \infty)\text{,}\) since that distance can't be negative. If I draw a ray from the origin to a point, \(\theta\) is the angle between that line and the \(x\) axis, with the convention that \(\theta \in [0, 2\pi)\text{.}\)
I would like to be able to move between Cartesian and polar coordinates. To that end, I need to describe \(x\) and \(y\) in terms of \(r\) and \(\theta\text{,}\) and vice-versa. The relationships are just trigonometry.
Proposition 5.1.2.
The transformations between cartesian and polar coordinates are given by these equations.
Likewise, the reverse transformations are given by these equations.
If \(x\) is zero, then \(\tan \theta\) is undefined, but \(\theta\) will be \(\pi/2\) or \(3\pi/2\text{,}\) depending on whether \(y\) is positive or negative. If \(x\) and \(y\) are both zero, at the origin, the angle is not defined at all.
Loci in \(\RR^2\) are equations in \(x\) and \(y\text{.}\) The simplest such loci were \(x=c\text{,}\) which is a vertical line, and \(y=c\text{,}\) which is a horizontal line. I can produce loci in \(\RR^2\) in terms of \(r\) and \(\theta\) as well. \(r=c\) is a circle: the shape with any angle and a fixed radius. \(\theta =c\) is a ray: the shape with a fixed angle and any radius. Other polar loci are show in the following examples.
Example 5.1.3.
Figure 5.1.4 shows the polar locus \(r = \theta\text{.}\)
Example 5.1.5.
Figure 5.1.6 shows the polar locus \(r = | \sin \theta| \text{.}\)
Example 5.1.7.
Figure 5.1.8 shows the polar locus \(r = 1 + \sin \theta\text{.}\)
Example 5.1.9.
Figure 5.1.10 shows the polar locus \(r = 3 \sin (2 \theta)\text{.}\)
To translate between loci in polar coordinates and loci in Cartesian coordinates is simply a matter of replacement, according to the equations in Proposition 5.1.2. The line \(x=4\) in Cartesian coordinates becomes \(r\cos \theta = 4\) or \(\cos \theta = \frac{r}{4}\text{.}\) The circle \(x^2 + y^2 =1\) becomes \(r^2 \cos^2 \theta + r^2 \sin^2 \theta = 1\text{,}\) which is simply \(r^2 = 1 \implies r=1\text{.}\) The polar locus \(r=\theta\) becomes \(\sqrt{x^2 + y^2} = \arctan \frac{y}{x}\text{.}\)
Subsection 5.1.2 Spherical and Cylindrical Coordinates
In \(\RR^3\text{,}\) there two are similar coordinate systems. Cylindrical coordinates use polar coordinates in the \(xy\) plane and leave the \(z\) coordinate unchanaged. The transformations are again given by trigonometry.
I can invert the transformation.
These are called cylindrical coordinates since the equation \(r=c\) describes to a infinitely tall cylinder. \(r=c\) in the \(xy\) plane is a circle, as before. The \(z\) coordinate is left free, so the circle can be located at any \(z\) value. That infinitely tall stack of circles is a cylinder.
There are a few other simple loci in cylindrical coordinates. \(\theta = c\) is a vertical half plane of all points with a fixed angle but arbitrary distance out from the origin and arbitrary height. \(z = c\) is a horizontal plane, as it would be in cartesian coordinates (since the \(z\) coordinate is unchanges). The locus \(r = |z|\) is a double cone; cylindrical coordinates is often the preferred coordinate system for cones as well.
Subsection 5.1.3 Spherical Coordinates
Spherical coordinates uses a sphere the same way that polar coordinates uses a circle. There is a radius term \(r\text{,}\) which measures the distance from a point to the origin in \(\RR^3\text{.}\) \(r\) determines the size of a sphere on which the point is located. After determining a sphere, to find a specific point on the sphere, I use a system which is similar to the system of longitude and latitude on the surface of the earth. \(\theta\) is the same as longitude, but with \(\theta \in [0, 2\pi)\) instead of counting positively in both east and west directions. The \(0\) line of longitude is the line that passes through the positive \(x\) axis. \(\phi\) is co-latitude instead of latitude: it starts at \(0\) at the top of the sphere and counts down to \(\pi\) radians at the bottom of the sphere. The transformations involve some tricky trigonometry in \(\RR^3\text{.}\)
I can invert the transformation.
The equation \(r=c\) in spherical coordinates gives a sphere. \(\theta = c\) is a half plane as it was with cylindrical coordinates. \(\phi = c\) is a single cone, upward or downward depending on whether \(c\) is a colatitude below or above the equator.