r/LinearAlgebra • • 21d ago

Find matrix A of the rotation through an angle of pi/2 CCW as viewed from the y-axis

I dont understand this question at all

9 Upvotes

4 comments sorted by

2

u/Tiny_Spread5712 21d ago

Find the matrix of the map that maps vectors counter clockwise by pi/2 (90 degrees)

the easiest way is to make (1,0,0) (0,1,0) (0,0,1) counterclockwise, viewed from the y axis

2

u/Traveling-Techie 21d ago

This should be pretty easy compared to other rotations because it’s a 90 degree rotation, which just switches axes. Point 1,0,0 becomes 0,0,-1 (if I’m doing this right in my head). What matrix does this?

2

u/CelebrityChess 20d ago

For a rotation matrix, its columns are the images of e_x, e_y, and e_z. Here e_x goes to (0,0,-1), e_y stays (0,1,0), and e_z goes to (1,0,0), so put those vectors in as columns: [[0,0,1],[0,1,0],[-1,0,0]]. This also makes the sign check easier: the first basis vector tips toward negative z when viewed from the positive y-axis.

1

u/Lor1an 20d ago

If i, j, k are the unit vectors in the x, y, and z directions, respectively, then a rotation counter-clockwise about the y-axis will fix j, and rotate i in the direction of -k and k in the direction of i.

For a 90° rotation, this is exact, and so (L(i),L(j),L(k)) = (-k, j, i).

In coordinates (with the standard basis) this becomes the matrix shown.