Find Transformation Matrix for 45° Rotation Around x_2 Axis

In summary, you used a rotation matrix to rotate an axis 45 degrees towards the x-axis and around the y-axis.
  • #1
UrbanXrisis
1,196
1
Find the transformation matrix that rotates the axis [tex]x_3[/tex] of a rectangular coordinate system 45 degrees toward [tex]x_1[/tex] around the [tex]x_2[/tex] axis.

I have a question about what exactly are the [tex]x_1,x_2,x_3[/tex] supposed to be. Do I assume that they are the x,y,z axis?

Also, what is the general form of a two-dimensional transformation matrix? I know that there are different ones for rotation, scaling, shearing, and so on. But is there a general form for a 2x2 transformation matrix?
 
  • Like
Likes Sofia Dela Pena
Physics news on Phys.org
  • #2
Yes, they are the x, y, z axes. The x1 x2 x3 just refer to three coordinates in your vectors. The x2 axis is all points of the form (0, x2, 0).

The "general form" of a 2x2 matrix is just any 2x2 matrix. Every matrix can be seen as a "transformation matrix."
 
  • #3
[tex]\left(\begin{array}{c}x \\y\\z \end{array}\right)\left(\begin{array}{ccc} cos45 & 0 & -sin45 \\ 0&1&0 \\ sin25&0&cos45 \end{array}\right) [/tex]

would this be the matrix to rotate the z axis 45 degrees towards the x-axis and around he y axis?
 
  • #4
Well, (1, 0, 0), on the x-axis, should be rotated to [itex](\frac{\sqrt{2}}{2}, 0, \frac{\sqrt{2}}{2}). Does your matrix do that?

(The answer is "no" for two reasons! First, you are multiplying the matrices in the wrong order. You can't multiply the matrices as you show them. Second, you have a typo, writing one of the angles as "25" rather than "45".)
 
  • #5
this look better?

[tex]\left(\begin{array}{ccc}x &y&z \end{array}\right) \left( \begin{array}{ccc} cos45 & 0 & sin45 \\ 0&1&0 \\ -sin45&0&cos45 \end{array}\right) [/tex]
 
  • #6
UrbanXrisis said:
this look better?

[tex]\left(\begin{array}{ccc}x &y&z \end{array}\right) \left( \begin{array}{ccc} cos45 & 0 & sin45 \\ 0&1&0 \\ -sin45&0&cos45 \end{array}\right) [/tex]
Surprisingly, yes. But only because you did the inverse of an inverse. It gets you the correct result, but it's not set up in the standard way.

You only have one rotation matrix:

[tex]\left( \begin{array}{ccc} 1 & 0 & 0 \\ 0&cos \theta& sin\theta \\ 0&-sin \theta&cos \theta \end{array}\right)[/tex]
The '1' should be on the axis you're rotating around (xx, yy, or zz). Shift the rest of the matrix over and down as necessary (rows shifting off the bottom wrap around to the top; columns shifting off the right wrap around to the left).

The vector you're transforming should be written as a 3x1 matrix.

[tex]\left(\begin{array}{c}x\\y\\z \end{array}\right)[/tex]

Your rotation matrix is multiplied by the vector. Since you're rotating about the y axis, it would look like this:

[tex]\left( \begin{array}{ccc} cos \theta & 0 & -sin \theta \\ 0&1& 0\\ sin\theta&0&cos \theta \end{array}\right) * \left(\begin{array}{c}x\\y\\z \end{array}\right)[/tex]

The rotation is counter-clockwise. If you want to rotate clockwise, you need to the inverse of the rotation matrix you used. Since you're using an orthogonal rotation matrix, the inverse is just the transpose of the counter-clockwise rotation matrix.
 
Last edited:

1. What is a transformation matrix?

A transformation matrix is a mathematical tool used to represent how a shape or object is moved, stretched, or rotated in space. It is composed of rows and columns of numbers, and each number represents a specific transformation that is applied to the coordinates of a point in space.

2. How is a transformation matrix calculated?

The specific values in a transformation matrix are calculated based on the type of transformation being applied (e.g. rotation, translation, scaling) and the axis of rotation or direction of movement. In the case of a 45° rotation around the x2 axis, the matrix can be calculated using trigonometric functions such as sine and cosine.

3. What is the purpose of finding a transformation matrix for a rotation?

The purpose of finding a transformation matrix for a rotation is to be able to easily and accurately describe the new position and orientation of an object after it has been rotated. This can be particularly useful in computer graphics, robotics, and other fields where precise positioning and movement of objects is important.

4. How does a 45° rotation around the x2 axis affect an object?

A 45° rotation around the x2 axis will cause an object to rotate by 45 degrees in a counterclockwise direction when viewed from the positive direction of the x2 axis. This will result in a change in the object's orientation and potentially its position in space.

5. Can a transformation matrix be used for other types of transformations?

Yes, a transformation matrix can be used for a variety of transformations including rotations, translations, scalings, and shears. The type and direction of the transformation will determine the specific values used in the matrix. It is a versatile tool for representing and performing transformations in mathematics and various fields of science.

Similar threads

  • Advanced Physics Homework Help
Replies
26
Views
4K
  • Advanced Physics Homework Help
Replies
1
Views
2K
  • Advanced Physics Homework Help
Replies
4
Views
2K
  • Calculus and Beyond Homework Help
Replies
22
Views
2K
  • Advanced Physics Homework Help
Replies
9
Views
1K
  • Precalculus Mathematics Homework Help
Replies
31
Views
2K
Replies
5
Views
2K
  • Linear and Abstract Algebra
Replies
27
Views
3K
  • Nuclear Engineering
Replies
1
Views
1K
  • Advanced Physics Homework Help
Replies
1
Views
2K
Back
Top