Finding rotation matrix with given new and old frame

Click For Summary

Discussion Overview

The discussion revolves around finding a rotation matrix that relates a new coordinate frame to an old coordinate frame using a specific mathematical formulation. Participants explore the implications of the rotation matrix in the context of ZYZ Euler angles and the relationships between the components of vectors in different frames.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant questions the validity of the equation T(x,y,z) = R-1 T(X,Y,Z) R and seeks clarification on how to calculate the rotation matrix R in ZYZ order.
  • Another participant explains the relationship between the components of vectors in the old and new bases, suggesting that if the columns of T(x,y,z) represent the new basis vectors, then the equation is correct, leading to the identity matrix representation.
  • A later reply reiterates the relationship between the rotation matrix and the basis vectors, proposing that R can be derived from the relationship RA = B, where A and B are matrices representing the old and new frames, respectively.
  • Participants express uncertainty about the notation used in the Wikipedia article and how it relates to their discussion, particularly regarding intrinsic rotations and the calculation of Euler angles.
  • One participant acknowledges the complexity of the question and suggests that further clarification or insight from others may be needed.

Areas of Agreement / Disagreement

There is no consensus on the correct approach to deriving the rotation matrix, as participants present differing interpretations of the relationships between the matrices and the rotation conventions. The discussion remains unresolved with multiple competing views.

Contextual Notes

Participants note potential confusion arising from different notations and conventions used in literature, which may affect their understanding of the rotation matrix derivation.

faribataghavi
Messages
7
Reaction score
0
Hi,

I have a rotated frame (new matrix, T(x,y, z)) and the original frame (old matrix T(X,Y,Z)). I want to use this formula to find the Rotation matrix:

T(x,y, z) = R-1 T(X,Y,Z) R

Is this equation right? how can I calculate R (rotation matrix) in ZYZ order in this equation?

Thank You
 
Physics news on Phys.org
Let v be the components of a vector \mathbf{v} with respect to your old basis (frame). Let v', "v prime", be the components of \mathbf{v} with respect to your new basis. If the old and new components are related by

v'=Av,

then, in particular, the components of the vectors of the old basis, written as columns of a matrix, B, are related to their own representations, with respect to the new basis, B', by B'=AB,, so that A^{-1}B'=B. But the components of any basis vectors, with respect to themselves, comprise the identity matrix! So A^{-1}B'=I, and so B'=A. The components of your new basis, with respect to the old, are A^{-1}, since A^{-1}v'=Iv=v.

(Note also: It's a property of rotation matrices that R^{-1}=R^T, where R^T means the transpose of R.)

I'm not sure if the following is what you meant: but if the columns of T(x,y,z) contain the components of your new basis vectors, with respect to themselves, and T(X,Y,Z) the components of your old basis, with respect to themselves, then, and your R is my A, then your equation is correct, and says

I=R^{-1}IR=R^{-1}R.

I didn't understand you final question.
 
Rasalhague said:
Let v be the components of a vector \mathbf{v} with respect to your old basis (frame). Let v', "v prime", be the components of \mathbf{v} with respect to your new basis. If the old and new components are related by

v'=Av,

then, in particular, the components of the vectors of the old basis, written as columns of a matrix, B, are related to their own representations, with respect to the new basis, B', by B'=AB,, so that A^{-1}B'=B. But the components of any basis vectors, with respect to themselves, comprise the identity matrix! So A^{-1}B'=I, and so B'=A. The components of your new basis, with respect to the old, are A^{-1}, since A^{-1}v'=Iv=v.

(Note also: It's a property of rotation matrices that R^{-1}=R^T, where R^T means the transpose of R.)

I'm not sure if the following is what you meant: but if the columns of T(x,y,z) contain the components of your new basis vectors, with respect to themselves, and T(X,Y,Z) the components of your old basis, with respect to themselves, then, and your R is my A, then your equation is correct, and says

I=R^{-1}IR=R^{-1}R.

I didn't understand you final question.
Thank you for your replying

T(x,y, z) and T(X,Y,Z) in the new and old axes frame respectively.

More generally, my second question is that if I have two matrixes (old and new), how can I calculate the rotation matrix between these two matrices?

I have to mention that this rotation matrix should be a representation of successive rotation around z, y and again z axes.

I know that this rotation matrix should have a form like what is here:

http://en.wikipedia.org/wiki/Euler_angles#Matrix_orientation (jump to: Relationship to other representations and look at ZYZ rotation matrix orientation)

but I do know how to find if from given old and new matrix.

Thanks again
 
Sorry I haven't been much help to you. Your question is more complicated than I thought it was. Hopefully someone else can enlighten us.

Do you want the rotation matrix expressed as a composition of intrinsic rotations? I think this Wikipedia article uses a slightly different notation from you: (x,y,z) for the initial frame, and (X,Y,Z) for the moving frame. Regarding your formula, let A_{i1} be the components of the 1st basis vector of the initial frame, and B_{i1} the components of the first basis vector of the final frame, both with respect to some arbitrary frame.

\sum_{i=1}^{3}R_{ki}A_{i1}=B_{k1},

and similarly for A_{i2} and A_{i3}. Let the jth column of matrices A and B denote the components of the jth basis vector of your initial and final frames respectively. Then RA=B, so R=BA^{-1} doesn't it? Or am I missing something? I think you're saying that T(x,y,z) is such a matrix, whose columns are the basis vectors of your final frame, while T(X,Y,Z) is the corresponding matrix for your initial frame.

There's a subsection here called Intermediate frames which explicitly relates the basis vectors of initial and final frames via the intermediate frames. I think this refers to the ZYZ composition of intrinsic rotations convention. Could we get the Euler angles from here?

There's a lot a discussion of these sorts of questions on the internet, but it isn't always easy to know what conventions people are using.
 
Last edited:

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
Replies
27
Views
5K
  • · Replies 33 ·
2
Replies
33
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K