How can I use different angles in linear algebra rotations?

Click For Summary
SUMMARY

The discussion focuses on the application of rotation matrices in linear algebra, specifically how to utilize different angles for rotation. The rotation matrix is defined as A = [ cosθ -sinθ; sinθ cosθ ], and the user demonstrates its application using a 90-degree rotation. To rotate by angles such as 30 degrees or 5 degrees, the user correctly identifies that the sine and cosine values must be substituted accordingly, resulting in matrices like A = [ √3/2 -1/2; 1/2 √3/2 ] for 30 degrees. The conversation highlights the importance of understanding trigonometric functions in constructing rotation matrices for various angles.

PREREQUISITES
  • Understanding of rotation matrices in linear algebra
  • Knowledge of trigonometric functions (sine and cosine)
  • Familiarity with matrix multiplication
  • Basic knowledge of angles in degrees and radians
NEXT STEPS
  • Study the derivation of rotation matrices for various angles
  • Learn about the application of rotation matrices in computer graphics
  • Explore the use of rotation matrices in robotics and motion planning
  • Investigate the relationship between rotation matrices and complex numbers
USEFUL FOR

Students and professionals in mathematics, computer science, and engineering who are working with linear transformations, particularly in fields such as computer graphics, robotics, and physics simulations.

Pin Head
Messages
23
Reaction score
0
hi,
I understand how to do the rotation equation

A = [ cosθ -sinθ
sinθ cosθ]

A*v = [ cosθ -sinθ * [ x = [ xcosθ - ysinθ
sinθ cosθ] y ] xsinθ + ycosθ ]

A*v = [ cos90 -sin90 * [ 6
sin90 cos90 ] 4 ]

= [ 0, -1 * [ 6 = [ 0 * 6 - 1 * 4 = [ -4
1, 0 ] 4 ] 1 * 6 + 0 * 4 ] 6 ]

but the textbook I am using doesn't go into using different angle as you can see this is a 90 degree equation but what if I wanted to use 30 degrees or 5 degree instead.I have look on the internet for some advice but don't seem to be able to find some?
 
Physics news on Phys.org
What's wrong with just putting the different angle in for theta?
http://en.wikipedia.org/wiki/Rotation_matrix

eg. to rotate 30 degrees, sin(30)=1/2 and cos(30)=√3/2 so the matrix becomes:

$$\mathbf{A}=\left ( \begin{array}{cc}
\sqrt{3}/2 & -1/2 \\ 1/2 & \sqrt{3}/2
\end{array}\right )$$

I'm unsure about your notation though.
 

Similar threads

  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 44 ·
2
Replies
44
Views
5K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
4K