Change of Coordinate Systems
From Math Images
(One intermediate revision not shown.)  
Line 4:  Line 4:  
ImageIntro=The same object, here a disk, can look completely different depending on which coordinate system is used.  ImageIntro=The same object, here a disk, can look completely different depending on which coordinate system is used.  
ImageDescElem=It is a common practice in mathematics to use different coordinate systems to solve different problems. An example of a switch between coordinate systems follows: suppose we take a set of points in regular xy '''Cartesian Coordinates''', represented by ordered pairs such as (1,2), then multiply their xcomponents by two, meaning (1,2) in the old coordinates is matched with (2,2) in the new coordinates.  ImageDescElem=It is a common practice in mathematics to use different coordinate systems to solve different problems. An example of a switch between coordinate systems follows: suppose we take a set of points in regular xy '''Cartesian Coordinates''', represented by ordered pairs such as (1,2), then multiply their xcomponents by two, meaning (1,2) in the old coordinates is matched with (2,2) in the new coordinates.  
+  <br>  
+  <br>  
+  
+  This transformation is shown below in the following to images. In the image on the left we have a square with four points marked: (0.2,0.7), (0.3,0.9), (0.4,0.3), and (0.9,0.3). The image on the right has undergone the transformation: instead of having a square, we now have a rectangle with the points (0.4,0.7), (0.6,0.9), (0.8,0.3), and (1.8,0.3). We can see that in call cases, y dimensions and coordinates remain the same, while all x coordinates and dimensions are doubled.  
+  [[Image:Unstretched.pngleft220px]] [[Image:Stretched.png400px]]  
+  
+  <br><br>  
+  
+  Under this transformation, a set of points would be stretched out in the horizontal xdirection since each point becomes further from the vertical yaxis (except for points originally on the yaxis, which remain on the axis).  
  +  We can also see that a set of points that was originally contained in a circle in the old coordinates would be contained by a stretchedout ellipse in the new coordinate system, as shown in the top two figures of this page's main image.  
Many other such transformations exist and are useful throughout mathematics, such as mapping the points in a disk to a rectangle.  Many other such transformations exist and are useful throughout mathematics, such as mapping the points in a disk to a rectangle.  
Line 12:  Line 21:  
<math> A\vec{x}=\vec{x'} </math>  <math> A\vec{x}=\vec{x'} </math>  
  Where <math> \vec{x}</math> is the <balloon title="A vector for which each  +  Where <math> \vec{x}</math> is the <balloon title="A vector for which each coordinate represents a component.">coordinate vector</balloon> of our point in the original coordinate system and <math> \vec{x'} </math> is the coordinate vector of our point in the new coordinate system. 
For example the transformation in the basic description, doubling the value of the xcoordinate, is represented in this notation by  For example the transformation in the basic description, doubling the value of the xcoordinate, is represented in this notation by  
Line 23:  Line 32:  
As can be easily verified.  As can be easily verified.  
  +  In the main image of the page, the ellipse that is tilted relative to the coordinate axes is created by a combination of rotation and stretching, represented by the matrix  
: <math>\begin{bmatrix}  : <math>\begin{bmatrix}  
Line 30:  Line 39:  
\end{bmatrix}\vec{x} = \vec{x'}</math>  \end{bmatrix}\vec{x} = \vec{x'}</math>  
  Some very useful mappings cannot be represented in matrix form, such as mapping points from '''Cartesian Coordinates''' to '''[[Polar Coordinates]]'''. Such a mapping, as shown in this page's main image, can map a disk to a rectangle. Each origincentered ring in the disk consists of points at constant distance from the origin and angles ranging from 0 to <math> 2\pi </math>. These points create a vertical line in Polar Coordinates. Each ring at a different distance from the origin creates its own line in the polar system, and the collection of these lines creates a rectangle.  +  Some very useful mappings cannot be represented in matrix form, such as mapping points from '''Cartesian Coordinates''' to '''[[Polar Coordinates]]'''. Such a mapping, as shown in this page's main image, can map a disk to a rectangle. We can think of the disk as a series of rings wrapped around the origin, and the rectangle as a series of lines. Each of these rings is a different distance from the origin, and gets mapped to a different line within the rectangle. 
+  
+  Each origincentered ring in the disk consists of points at constant distance from the origin and angles ranging from 0 to <math> 2\pi </math>. These points create a vertical line in Polar Coordinates. Each ring at a different distance from the origin creates its own line in the polar system, and the collection of these lines creates a rectangle.  
The transformation from Cartesian coordinates to Polar Coordinate can be represented algebraically by  The transformation from Cartesian coordinates to Polar Coordinate can be represented algebraically by  
Line 50:  Line 61:  
In 3 dimensions, similar coordinate systems and transformations between them exist. Three common systems are rectangular, cylindrical and spherical coordinates:  In 3 dimensions, similar coordinate systems and transformations between them exist. Three common systems are rectangular, cylindrical and spherical coordinates:  
  :*Rectangular Coordinates use standard <math> x,y,z </math> coordinates, where each  +  :*Rectangular Coordinates use standard <math> x,y,z </math> coordinates, where the three coordinates represent leftright position, updown position, and forwardbackward position, respectively. These three directions are mutually <balloon title="At right angles to each other">perpendicular </balloon>. 
<br>  <br>  
[[Image:Cylindrical.png200pxright]]  [[Image:Cylindrical.png200pxright]]  
Line 124:  Line 135:  
Finally, the transformation from spherical to cylindrical coordinates is given by  Finally, the transformation from spherical to cylindrical coordinates is given by  
  :<math> r=\rho \sin \  +  :<math> r=\rho \sin \phi </math> 
:<math> \theta =\theta </math>  :<math> \theta =\theta </math>  
  :<math> z=\rho \cos \  +  :<math> z=\rho \cos \phi </math>. 
{{Switchlink1=Click to show examplelink2=Click to hide example 1= 2=  {{Switchlink1=Click to show examplelink2=Click to hide example 1= 2=  
For one last example, we will take our previous result and transform it back to cylindrical coordinates  For one last example, we will take our previous result and transform it back to cylindrical coordinates 
Current revision
Change of Coordinates  

 
Change of Coordinates
 The same object, here a disk, can look completely different depending on which coordinate system is used.
Contents 
Basic Description
It is a common practice in mathematics to use different coordinate systems to solve different problems. An example of a switch between coordinate systems follows: suppose we take a set of points in regular xy Cartesian Coordinates, represented by ordered pairs such as (1,2), then multiply their xcomponents by two, meaning (1,2) in the old coordinates is matched with (2,2) in the new coordinates.
This transformation is shown below in the following to images. In the image on the left we have a square with four points marked: (0.2,0.7), (0.3,0.9), (0.4,0.3), and (0.9,0.3). The image on the right has undergone the transformation: instead of having a square, we now have a rectangle with the points (0.4,0.7), (0.6,0.9), (0.8,0.3), and (1.8,0.3). We can see that in call cases, y dimensions and coordinates remain the same, while all x coordinates and dimensions are doubled.
Error creating thumbnail: convert: unable to open image `/var/www/html/mathimages/images/Field//Unstretched.png': No such file or directory. convert: missing an image filename `/var/www/html/mathimages/images/Field//thumb/Unstretched.png/220pxUnstretched.png'. 
Under this transformation, a set of points would be stretched out in the horizontal xdirection since each point becomes further from the vertical yaxis (except for points originally on the yaxis, which remain on the axis).
We can also see that a set of points that was originally contained in a circle in the old coordinates would be contained by a stretchedout ellipse in the new coordinate system, as shown in the top two figures of this page's main image.
Many other such transformations exist and are useful throughout mathematics, such as mapping the points in a disk to a rectangle.
A More Mathematical Explanation
Some of these mappings can be neatly represented by vectors and matrices, in the form
Where is the coordinate vector of our point in the original coordinate system and is the coordinate vector of our point in the new coordinate system.
For example the transformation in the basic description, doubling the value of the xcoordinate, is represented in this notation by
As can be easily verified.
In the main image of the page, the ellipse that is tilted relative to the coordinate axes is created by a combination of rotation and stretching, represented by the matrix
Some very useful mappings cannot be represented in matrix form, such as mapping points from Cartesian Coordinates to Polar Coordinates. Such a mapping, as shown in this page's main image, can map a disk to a rectangle. We can think of the disk as a series of rings wrapped around the origin, and the rectangle as a series of lines. Each of these rings is a different distance from the origin, and gets mapped to a different line within the rectangle.
Each origincentered ring in the disk consists of points at constant distance from the origin and angles ranging from 0 to . These points create a vertical line in Polar Coordinates. Each ring at a different distance from the origin creates its own line in the polar system, and the collection of these lines creates a rectangle.
The transformation from Cartesian coordinates to Polar Coordinate can be represented algebraically by
ThreeDimensional Coordinates
In 3 dimensions, similar coordinate systems and transformations between them exist. Three common systems are rectangular, cylindrical and spherical coordinates:
 Rectangular Coordinates use standard coordinates, where the three coordinates represent leftright position, updown position, and forwardbackward position, respectively. These three directions are mutually perpendicular .
Error creating thumbnail: convert: unable to open image `/var/www/html/mathimages/images/Field//Cylindrical.png': No such file or directory. convert: missing an image filename `/var/www/html/mathimages/images/Field//thumb/Cylindrical.png/200pxCylindrical.png'. 
 Cylindrical Coordinates use , where are the same as twodimensional polar coordinates and z is distance from the xy plane as shown on the right.
Error creating thumbnail: convert: unable to open image `/var/www/html/mathimages/images/Field//Spherical.png': No such file or directory. convert: missing an image filename `/var/www/html/mathimages/images/Field//thumb/Spherical.png/200pxSpherical.png'. 
 Spherical Coordinates use , where is the distance from the origin, is rotation from the positive xaxis as in polar coordinates, and is rotation from the positive zaxis. Note that this standard varies from discipline to discipline. For example, the standard in physics is to switch the and labeling. Always be aware of what standard you should be using given a particular textbook or course. The mathematics standard noted above and shown in the image on the left is used for this page.
Converting between these coordinates
The conversion from rectangular (Cartesian) coordinates to cylindrical coordinates is almost identical to the conversion between Crtesian coordinates and polar coordinates.
 radians
The conversion from cylindrical coordinates to Cartesian coordinates is given by
 .
 .
In order to go from Cartesian to spherical coordinates, we have

 radians

 radians
The transformation from spherical coordinates to Cartesian coordinates is given by
 .
We can also write the transformation from cylindrical coordinates to spherical coordinates:
 .

 .
Finally, the transformation from spherical to cylindrical coordinates is given by
 .
Interactive Demonstration
Future Ideas for this Page
 add examples of transformations between three dimensional coordinate systems.
Teaching Materials
 There are currently no teaching materials for this page. Add teaching materials.
Leave a message on the discussion page by clicking the 'discussion' tab at the top of this image page.