Coordinate Transformations

  • Thread starter Gackhammer
  • Start date
  • #1
13
0
Hey

So, I was wondering how to convert from one coordinate axes to another... in particular, where the new axes are y = x and y = -x, as seen by the picture below

axes_zps960a5326.png


I want it so that the Red dot in the new coordinate system will be ([itex]\sqrt2[/itex],[itex]0[/itex]). Is there an easy way to do this? (My lookings on the internet have not come up with anything good yet)

EDIT: Ok, I just found the equations to rotate, but I was wondering how I can write functions in this rotated coordinate system (Im trying to relate this to my recurrences work/fixed point stuff). Im trying to rotate the coordinate system then find the zeros in the rotated coordinate system to find the fixed points of the function
 
Last edited:

Answers and Replies

  • #2
773
0
Find formulas to transform your old parameters (x & y) into your new ones, and then substitute one for the other in equations.

Are you sure a rotation will be enough for you? (A.K.A., what x,y point do you want to be mapped to your new point root(2),0 ?)
 
  • #3
HallsofIvy
Science Advisor
Homework Helper
41,833
961
Vorde's point is that the distance from (0, 0) to (1, 0) is, of course, 1 while the distance from (0, 0) to your red point is [itex]\sqrt{2}[/itex]. You will need an expansion as well as a rotation.

x'= x- y, y'= x+ y will map (1, 0) to (1, 1) and map (0, 1) to (-1, 1).
That is, essentially, a rotation by 45 degree, counter-clockwise and a multiplication by [itex]\sqrt{2}[/itex].

You could have gotten those relations more easily by seeing that they must be linear, of the form x'= ax+ by and y'= cx+dy, since you do not want one part of the plane "stretched" or "squeezed" more than another. Further, you want (1, 0) to be mapped to (1, 1) so 1= a(1)+ b(0) and 1= c(1)+ d(0) giving a= 1, c= 1. You also want (0, 1) mapped to (-1, 1) so -1= a(0)+ b(1) and 1= c(0)+ d(1) giving b= -1, d= 1: x'= x- y, y'= x+ y as I said.
 

Related Threads on Coordinate Transformations

Replies
10
Views
1K
  • Last Post
Replies
1
Views
2K
  • Last Post
Replies
1
Views
2K
Replies
14
Views
1K
Replies
1
Views
836
Replies
1
Views
901
Replies
5
Views
13K
Replies
7
Views
7K
Replies
3
Views
6K
Replies
1
Views
565
Top