How Do Coordinate Transformations Work Between Different Systems?

In summary, the conversation is about transforming coordinates from a red cartesian system to a blue system, using the equations x=Xcos∅+Ysin∅ and y=Ycos∅-Xsin∅. The goal is to understand the transformation and how it relates to the given diagram. There is some confusion about the signs in the equations, but it is agreed that the transformation involves rotational components.
  • #1
diredragon
323
15

Homework Statement


Transform the coordinates from the red c-system to the blue system. (Picture)

Homework Equations


Using(X Y) for the red cartesian system and (x y) for the blue system

The Attempt at a Solution


The solution to this problem gives
x=Xcos▼ + Ysin▼
y=-Xsin▼+Ycos▼
Im not sure i understand in what way was this transformed. How can x coordinate in blue system contain Y coordinate from red system? [/B]
 

Attachments

  • 20150816_192024.jpg
    20150816_192024.jpg
    36.7 KB · Views: 422
Physics news on Phys.org
  • #2
diredragon said:

Homework Statement


Transform the coordinates from the red c-system to the blue system. (Picture)

Homework Equations


Using(X Y) for the red cartesian system and (x y) for the blue system

The Attempt at a Solution


The solution to this problem gives
x=Xcos▼ + Ysin▼
y=-Xsin▼+Ycos▼
Im not sure i understand in what way was this transformed. How can x coordinate in blue system contain Y coordinate from red system? [/B]
It doesn't look like the coordinates were translated between the two systems.

What other manner of transformation is suggested by the diagram?
 
  • #3
I think i get it now, the change in x is given by x=(xcosp)i-(xsinp)j and y=(ysinp)i-(ycosp)i
r=xi + yj, getting the above result, this should be it.
 
  • #4
In you last post, you didn't differentiate between X and x which tells us which coordinate system you are referring to.
Looking at the diagram, it looks like
##(1,0)_{(X,Y)} = (\cos \theta, \sin \theta)_{(x,y)} ##
and
## (0,1)_{(X,Y)}=(- \cos \theta, \sin \theta)_{(x,y)}##
Indicating that the angle from the x - axis is the same for each of the red basis vectors.
Or is it that the red axes are orthogonal? In which case
##(1,0)_{(X,Y) }= (\cos \theta, \sin \theta)_{(x,y)} ##
and
## (0,1)_{(X,Y)}=(\sin \theta, - \cos \theta)_{(x,y)}##
 
  • #5
I think that the above equations correctly describe the transformation even if the red coordinate system is rotating, taking your example of (0,1) and putting the angle equal to end points of 0,pi/2,p we get the correct trabsformation. It agrees with the book answer, it goes with the proposed experiment so i think its right. Do you agree?
 
  • #6
diredragon said:
I think that the above equations correctly describe the transformation even if the red coordinate system is rotating, taking your example of (0,1) and putting the angle equal to end points of 0,pi/2,p we get the correct trabsformation. It agrees with the book answer, it goes with the proposed experiment so i think its right. Do you agree?
My question was if the red coordinate system was based on orthogonal vectors.
I did not think that the angle was a variable in the red system, is this some sort of polar coordinate system? I see the blue system as having the standard ##\hat i, \hat j## orthonormal basis vectors.
If the red coordinate system has orthonormal basis vectors ##\hat e_1, \hat e_2## such that any point in the plane may be expressed as ##X\hat e_1 +Y \hat e_2## you are looking for a way to transform coordinates given as ##(X,Y)_{(red)}## into ##(x,y)_{(blue)}##
The easiest way to do a coordinate transformation is to see what happens to the basis vectors themselves.
Assuming that ##\hat e_1## is the vector pointing at about 45 degrees off the x axis, then ##(1,0)_{(red)}## would translate to ##(\cos \theta, \sin \theta)_{(blue)}##.
Assuming that ##\hat e_2 ## is the vector pointing at about 135 degrees off the x-axis and orthogonal to ##\hat e_1##, then ##(0,1)_{(red)}## would translate to ##(-\sin \theta, \cos \theta)_{(blue)}##.
You can build the transformation matrix by stacking the transformations of the basis vectors like this:
##[T] = \begin{pmatrix} [Te_1]^T & [Te_2]^T \end{pmatrix} ##
Which would look like:
##[T]_{red \to blue} = \begin{pmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{pmatrix}##
Then your transformation would be a matrix multiplication of
## \begin{pmatrix} x\\y \end{pmatrix}_{(blue)} = [T] \begin{pmatrix} X\\Y \end{pmatrix}_{(red)}.##
 
  • #7
Yes, they are orthogonal and i get what you mean, I am not too familiar with matrices hut i get the idea. But what do you think about the equations i posted? They are correct right
 
  • #8
diredragon said:
I think i get it now, the change in x is given by x=(xcosp)i-(xsinp)j and y=(ysinp)i-(ycosp)i
r=xi + yj, getting the above result, this should be it.
Is this the result you think is correct? What is r? Where are X and Y? Why is y only composed of i components and x composed of i and j?
The matrix transformation I just posted (in #6) multiplies out to the result you posted originally as the solution. Try it out.
 
  • #9
The post has a mistake it ahould read X and Y equal to the stated and y's second component is j not i. Your way is right as well.
 
  • #10
I think I might have messed up my signs--Sorry.
Let's look at this without matrices.

In the red coordinates, (X,Y) is a point that is ##X \hat e_1 + Y \hat e_2##
In the blue coordinates, ##\hat e_1 = \cos \theta \hat i + \sin \theta \hat j ## and ##\hat e_2 = \cos (\theta+\pi/2) \hat i + \sin ( \theta+\pi/2) \hat j ##
## \cos (\theta+\pi/2) = - \sin \theta ## and ##\sin ( \theta+\pi/2) = \cos \theta ##
So, ##\hat e_2 = -\sin \theta \hat i + \cos \theta \hat j ##
Plug these into the first equation in terms of (X,Y) and you should have your points described by ##\hat i ## and ##\hat j ##.
Your x will be the sum of the i components and your y will be the sum of the j components.
 
  • #11
Yup, that's right, so the transformation from red to blue is
x=Xcos∅+Ysin∅
y=Ycos∅-Xsin∅
 
  • #12
For some reason I am getting different signs.
I get
## x = X \cos \theta - Y \sin \theta \\ y = X \sin \theta + Y \cos \theta##
 
  • #13
RUber said:
For some reason I am getting different signs.
I get
## x = X \cos \theta - Y \sin \theta \\ y = X \sin \theta + Y \cos \theta##
It is true, however not the answer the book gives. I get the same result as this though, but its confusing as everybody seems to be using the -Xsin() involving formula
 
  • #14
Maybe there is some direction or order assumption that is being made. Do you have a coordinate diagram that is labeled?
 
  • #15
In fact i have a scatch done last year by my friend which solves the problem. I added it below. Can you see where our mistreat was?
 
Last edited:
  • #16
Here it is.
 
  • #17
Still not seeing it. Is the image format compatible with the site?
 
  • #18
diredragon said:

Homework Statement


Transform the coordinates from the red c-system to the blue system. (Picture)

Homework Equations


Using(X Y) for the red cartesian system and (x y) for the blue system

The Attempt at a Solution


The solution to this problem gives
x=Xcos▼ + Ysin▼
y=-Xsin▼+Ycos▼
Im not sure i understand in what way was this transformed. How can x coordinate in blue system contain Y coordinate from red system? [/B]

There are two slightly different versions of such transformations.

Say you have on original coordinate system and a point ##p = (x,y)## in it. Then you can do two things:
(1) fix the point in place but rotate the coordinate system counterclockwise through the angle ##\theta## (which is actually clockwise if ##\theta < 0##). In this case the same physical point ##p## has new components ##(x',y')## in the new coordinate system.
(2) Fix the coordinate system but physically rotate the point ##p## clockwise through angle ##\theta##, to get a new point ##p' = (x',y')##.

One of these scenarios will have
[tex] x' = x \cos \theta - y \sin \theta\\
y' = x \sin \theta + y \cos \theta [/tex]
while the other one will have
[tex] x' = x \cos \theta + y \sin \theta\\
y' = - x \sin \theta + y \cos \theta [/tex]
I will leave it to you to figure out which is which.
 
  • #19
Based on this picture it seems like the equations presented on the blackboard depict a point rotation rather than whole syatem, is it not?
 

Attachments

  • 20150818_140956.jpg
    20150818_140956.jpg
    47.9 KB · Views: 368
  • #20
I see now. I was simply translating (X , Y) in the red coodinates to an (x, y) in the blue coordinates. Where (x , y) and (X, Y) refer to the same location.
I was not rotating them.
 
  • #21
RUber said:
I think I might have messed up my signs--Sorry.
Let's look at this without matrices.

In the red coordinates, (X,Y) is a point that is ##X \hat e_1 + Y \hat e_2##
In the blue coordinates, ##\hat e_1 = \cos \theta \hat i + \sin \theta \hat j ## and ##\hat e_2 = \cos (\theta+\pi/2) \hat i + \sin ( \theta+\pi/2) \hat j ##
## \cos (\theta+\pi/2) = - \sin \theta ## and ##\sin ( \theta+\pi/2) = \cos \theta ##
So, ##\hat e_2 = -\sin \theta \hat i + \cos \theta \hat j ##
Plug these into the first equation in terms of (X,Y) and you should have your points described by ##\hat i ## and ##\hat j ##.
Your x will be the sum of the i components and your y will be the sum of the j components.

So thos refers to rotation of the point as well as the system and the connection to the old system and the ones given by the whiteboard rotate the system but keep the point fixed, is it so?
 

Related to How Do Coordinate Transformations Work Between Different Systems?

1. What is coordinate transformation?

Coordinate transformation is the process of changing the coordinates of a point from one coordinate system to another. This is commonly used in mathematics, physics, and engineering to simplify the description of geometric objects or physical systems.

2. Why is coordinate transformation important?

Coordinate transformation is important because it allows us to describe and analyze objects or systems in different coordinate systems, making it easier to solve problems or understand complex phenomena. It also allows for easier comparison and communication between different fields of study.

3. What are the different types of coordinate transformation?

The three main types of coordinate transformation are translation, rotation, and scaling. Translation involves shifting the coordinates of a point by a fixed distance in a specific direction. Rotation involves rotating the coordinates of a point around a fixed point or axis. Scaling involves changing the size of an object by multiplying the coordinates by a constant factor.

4. How is coordinate transformation used in the real world?

Coordinate transformation is used in a variety of real-world applications, such as in navigation systems, engineering design, and computer graphics. It is also commonly used in geographic information systems (GIS) to map data onto different coordinate systems, allowing for easier analysis and visualization of spatial data.

5. What are some challenges of coordinate transformation?

One of the main challenges of coordinate transformation is ensuring accuracy, as even small errors can significantly impact the outcome of a calculation or analysis. Another challenge is understanding and choosing the most appropriate coordinate system for a given problem or application. Additionally, some coordinate systems may have limitations or singularities that make them difficult to work with.

Similar threads

  • Precalculus Mathematics Homework Help
Replies
16
Views
4K
  • Precalculus Mathematics Homework Help
Replies
20
Views
2K
  • Precalculus Mathematics Homework Help
Replies
1
Views
1K
  • Classical Physics
Replies
1
Views
544
Replies
40
Views
2K
  • Differential Geometry
Replies
9
Views
470
  • Special and General Relativity
Replies
5
Views
1K
  • Precalculus Mathematics Homework Help
Replies
2
Views
1K
  • Classical Physics
Replies
7
Views
758
  • Mechanics
Replies
13
Views
1K
Back
Top