Understanding Rotational Mechanics: Finding Components of a Rotated Unit Vector

  • Thread starter Thread starter Genericcoder
  • Start date Start date
  • Tags Tags
    Mechanics Rotation
AI Thread Summary
The discussion focuses on the process of determining the components of a unit vector in a rotated coordinate system after successive rotations about the z, x, and z axes. Participants clarify the rotation matrices A, B, and C, with specific attention to the signs of the sine terms in matrix B, which represent the rotation about the x-axis. The right-hand rule is emphasized as a crucial tool for understanding the effects of these rotations on the axes. Additionally, the order of matrix multiplication is discussed, highlighting the necessity of applying transformations from right to left to achieve the correct final orientation. The conversation underscores the complexities of rotational mechanics and the importance of accurate matrix representation in physics.
Genericcoder
Messages
130
Reaction score
0
Consider two cartesian coordinate system xyz and x` y` z` that initally concide. The x` y` z` undergoes three successive counterclockwise 45 rotations about the following axes: first, about the fixed z-axis;second, about its own x`-axis( which has been now rotated); finally, about its own z`-axis ( which has now been rotated);finally, about its own z`-axis (which has also been rotated). Find the components of a unit vector X in the xyz coordinate system that points along the direction of the x`-axis in rotated x` y` z` system.



Attempted solution

Let matrix A,B,& C denote the 3 rotation such that A denote the rotation 45 about z-axis,B rotation 45 about its x-axis,& C denote the matrix which has been rotated about its own z` axis.

A = [cos 45 sin 45 0]
[-sin 45 cos45 0]
[0 0 1 ]

B = [ 1 0 0 ]
[ 0 cos45 -sin45]
[ 0 sin45 cos45]

C = [cos45 sin45 0]
[-sin45 cos45 0]
[0 0 1]



I have them everything right but in my book it has in second B matrix it has
j . k` as -sin45 but why is that!?
 
Physics news on Phys.org
I'm confused about what you are asking. Are you asking why it's then second row in the B matrix that has the negated value rather than the third?
 
Yes in the book its the answer for j.k` = -sin(45) instead of sin(45) even though its cos(90 - theta) = sin(theta)
or is their something I am missing?
 
There's an isomorphism consisting of rotating the three axes, z to x, x to y, y to z. This should map A to B.
Applying that to your A matrix gives
B = [ 1 0 0 ]
[ 0 cos45 sin45]
[ 0 -sin45 cos45]

Edit: on second thoughts, that's a rotation about the original x axis.
 
Last edited:
Ye I can see that coz cos(90 - theta) = sin(theta) thank you haru
And cos(90 + theta) = -sin(theta) so I was wondering do I have the other matrices right for A B and C? @ haru?
 
Talking about isomorphisms is perhaps a bit advanced for this Introductory Physics question.

The answer lies in the right hand rule. Set up a right handed coordinate system, with positive rotations indicated by the right hand rule. Now describe what happens with rotations about the various axes.

I'll start with rotation about the +z axis because that's equivalent to the canonical 2D rotation in the x-y plane. Here's a rotation about the z axis looks:

handz.gif


Notice that a positive rotation about the +z axis rotates the +x axis toward the +y axis and rotates the +y axis toward the -x axis:
\begin{aligned}<br /> \hat x&#039; &amp;= \phantom{-}\cos \theta\,\hat x + \sin \theta\,\hat y \\<br /> \hat y&#039; &amp;= -\sin\theta\,\hat x + \cos\theta\, \hat y \\<br /> \hat z&#039; &amp;= \phantom{-\sin\theta\,\hat x + \cos\theta\,\hat y} + \hat z<br /> \end{aligned}
Writing the above in matrix form,
<br /> \begin{pmatrix} \hat x&#039; \\ \hat y&#039; \\ \hat z&#039; \end{pmatrix} =<br /> \begin{pmatrix}<br /> \phantom{-}\cos \theta &amp; \sin \theta &amp; 0 \\<br /> -\sin \theta &amp; \cos \theta &amp; 0 \\<br /> 0 &amp; 0 &amp; 1<br /> \end{pmatrix} \,\,<br /> \begin{pmatrix} \hat x \\ \hat y \\ \hat z \end{pmatrix}<br />
That matrix on the right? That's your matrix C.Next let's look at a rotation about the +x axis:

handx.gif


Here a positive rotation about the +x axis rotates the +y axis toward the +z axis and rotates the +z axis toward the -y axis:
\begin{aligned}<br /> \hat y&#039; &amp;= \phantom{-}\cos \theta\,\hat y + \sin \theta\,\hat z \\<br /> \hat z&#039; &amp;= -\sin\theta\,\hat y + \cos\theta\, \hat z \\<br /> \hat x&#039; &amp;= \phantom{-\sin\theta\,\hat y + \cos\theta\,\hat z} + \hat x<br /> \end{aligned}
Writing the above in matrix form,
<br /> \begin{pmatrix} \hat x&#039; \\ \hat y&#039; \\ \hat z&#039; \end{pmatrix} =<br /> \begin{pmatrix}<br /> 1 &amp; 0 &amp; 0 \\<br /> 0 &amp; \phantom{-}\cos \theta &amp; \sin \theta \\<br /> 0 &amp; -\sin \theta &amp; \cos \theta<br /> \end{pmatrix} \,\,<br /> \begin{pmatrix} \hat x \\ \hat y \\ \hat z \end{pmatrix}<br />
That matrix on the right? That's your matrix A.Finally, let's look at a rotation about the +y axis:

handy.gif


Here a positive rotation about the +y axis rotates the +z axis toward the +x axis and rotates the +x axis toward the -z axis:
\begin{aligned}<br /> \hat z&#039; &amp;= \phantom{-}\cos \theta\,\hat z + \sin \theta\,\hat x \\<br /> \hat x&#039; &amp;= -\sin\theta\,\hat z + \cos\theta\, \hat x \\<br /> \hat y&#039; &amp;= \phantom{-\sin\theta\,\hat z + \cos\theta\,\hat x} + \hat y<br /> \end{aligned}
Writing the above in matrix form,
<br /> \begin{pmatrix} \hat x&#039; \\ \hat y&#039; \\ \hat z&#039; \end{pmatrix} =<br /> \begin{pmatrix}<br /> \cos\theta &amp; 0 &amp; -\sin\theta \\<br /> 0 &amp; 1 &amp; 0 \\<br /> \sin\theta &amp; 0 &amp; \cos \theta<br /> \end{pmatrix} \,\,<br /> \begin{pmatrix} \hat x \\ \hat y \\ \hat z \end{pmatrix}<br />
That matrix on the right? That's your matrix B.
I took the above images from slide 63 of a set of tutorial slides presented at Siggraph 98:
http://www.sdsc.edu/~moreland/courses/Siggraph98/vrml97/slides/mt0000.htm
 
Thanks a lot DH that makes sense.
 
I have a question why do we have to multiply the matrix right to left instead of left to right to get the product for example in my example it is :

CBA to get the total rotated components.
 
Back
Top