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)}.##