Matrix Ops: R(x)v & R(x)w Rotate Counter-Clockwise

In summary, the matrix R(x) rotates about the origin in a counter clockwise direction by the angle x.
  • #1
brunette15
58
0
I have the following matrix R(x) = [cos(x) -sin(x) ; sin(x) cos(x)]

Now consider the unit vectors v = [1;0] and w = [0,1].

Now if we compute R(x)v and R(x)w the vectors are supposed to rotate about the origin by the angle x in a counter clockwise direction. I am struggling to see how this works.

Can anyone please further explain this idea?

Thanks in advance!
 
Physics news on Phys.org
  • #2
brunette15 said:
I have the following matrix R(x) = [cos(x) -sin(x) ; sin(x) cos(x)]

Now consider the unit vectors v = [1;0] and w = [0,1].

Now if we compute R(x)v and R(x)w the vectors are supposed to rotate about the origin by the angle x in a counter clockwise direction. I am struggling to see how this works.

Can anyone please further explain this idea?

Thanks in advance!

First of all, it helps if you can visualise a point in both Cartesian form (which it is usually written in its matrix form as) and its polar form, in other words, in terms of its distance from the origin (radius) and its direction (angle swept out).

Consider a point $\displaystyle \begin{align*} (x, y) \end{align*}$. It can be written in its polar form as $\displaystyle \begin{align*} \left( r\cos{ ( \theta ) }, r\sin{ (\theta )} \right) \end{align*}$. Suppose it is rotated by an angle of $\displaystyle \begin{align*} \alpha \end{align*}$ in the anticlockwise direction. Then the new point $\displaystyle \begin{align*} \left( x' , y' \right) \end{align*}$ has the same distance, but now its angle has $\displaystyle \begin{align*} \alpha \end{align*}$ added to it, thus $\displaystyle \begin{align*} \left( x' , y' \right) = \left( r\cos{ \left( \theta + \alpha \right) } , r\sin{ \left( \theta + \alpha \right) } \right) \end{align*}$. This doesn't really help us though, because we would like to be able to see a transformation in terms of the original x and y. Thankfully they simplify with the compound angle identities as

$\displaystyle \begin{align*} x' &= r\cos{ \left( \theta + \alpha \right) } \\ &= r \left[ \cos{ \left( \theta \right) } \cos{ \left( \alpha \right) } - \sin{ \left( \theta \right) } \sin{ \left( \alpha \right) } \right] \\ &= r\cos{ \left( \theta \right) } \cos{ \left( \alpha \right) } - r\sin{ \left( \theta \right) } \sin{ \left( \alpha \right) } \\ &= x\cos{ \left( \alpha \right) } - y\sin{ \left( \alpha \right) } \end{align*}$

and

$\displaystyle \begin{align*} y' &= r\sin{ \left( \theta + \alpha \right) } \\ &= r\left[ \sin{\left( \theta \right) } \cos{ \left( \alpha \right) } + \cos{ \left( \theta \right) } \sin{ \left( \alpha \right) } \right] \\ &= r \sin{ \left( \theta \right) } \cos{ \left( \alpha \right) } + r\cos{ \left( \theta \right) } \sin{ \left( \alpha \right) } \\ &= y\cos{ \left( \alpha \right) } + x\sin{ \left( \alpha \right) } \end{align*}$

Can you see how it would look in matrix form now?
 
  • #3
brunette15 said:
I have the following matrix R(x) = [cos(x) -sin(x) ; sin(x) cos(x)]

Now consider the unit vectors v = [1;0] and w = [0,1].

Now if we compute R(x)v and R(x)w the vectors are supposed to rotate about the origin by the angle x in a counter clockwise direction. I am struggling to see how this works.

Can anyone please further explain this idea?

Thanks in advance!

Hey brunette15! (Smile)

See how v = [1;0], the first unit vector, "selects" the leftmost column of the matrix?
So the leftmost column has to be the image of the first unit vector.
Indeed, [cos(x); sin(x)] is the unit vector rotated by an angle of x.

Same for the second unit vector, w = [0;1], that must be mapped to [-sin(x) ; cos(x)].

In general, if you want to find any matrix, consider what the images of the unit vectors must be.
Put them beside each other in a matrix and presto! (Mmm)
 
  • #4
Thankyou!
 

Related to Matrix Ops: R(x)v & R(x)w Rotate Counter-Clockwise

What is the purpose of "Matrix Ops: R(x)v & R(x)w Rotate Counter-Clockwise"?

The purpose of this operation is to rotate the vectors v and w in a counter-clockwise direction around the x-axis by a specified angle. This can be useful in various applications, such as computer graphics and robotics.

How does the rotation work?

The rotation is achieved by multiplying the original vectors v and w by a rotation matrix R(x) which contains the appropriate sine and cosine values for the specified angle. This results in new vectors with updated coordinates, representing the rotated versions of v and w.

What are the inputs for this operation?

The inputs for this operation are the original vectors v and w, as well as the angle of rotation in radians. These inputs are used to calculate the rotation matrix R(x) and then multiply it with the original vectors to obtain the rotated versions.

What is the output of this operation?

The output of this operation is a pair of rotated vectors, R(x)v and R(x)w, representing the new coordinates of v and w after the rotation. These vectors can then be used in further calculations or applications as needed.

What are some applications of this operation?

This operation can be used in various applications such as computer graphics, animation, robotics, and physics simulations. It can also be used to solve geometric problems involving rotations around the x-axis, such as finding the coordinates of a point after rotation.

Similar threads

  • Linear and Abstract Algebra
Replies
4
Views
984
  • Linear and Abstract Algebra
Replies
5
Views
950
Replies
31
Views
2K
  • Linear and Abstract Algebra
Replies
2
Views
2K
  • Linear and Abstract Algebra
Replies
3
Views
1K
  • Linear and Abstract Algebra
Replies
7
Views
2K
Replies
6
Views
1K
  • Precalculus Mathematics Homework Help
Replies
31
Views
2K
  • Linear and Abstract Algebra
Replies
8
Views
2K
Replies
2
Views
995
Back
Top