# Video: Finding the Matrix of the Linear Transformation of Rotating Vectors in Two Dimension through a given Angle

Find the matrix for the linear transformation that rotates every vector in βΒ² through an angle of π/4.

01:18

### Video Transcript

Find the matrix for the linear transformation that rotates every vector in β two through an angle of π over four.

This kind of rotation takes each vector and moves them to a new position by rotating them about a certain angle. We can use the rotation matrix here cause what we can do is rotate the vectors β by π using this matrix that we have here. And thatβs the matrix cos π, negative sin π, sin π, cos π. If we want to rotate about π over four, weβre making a 45-degree rotation. So what weβd do is we would take cos π over four, negative sin π over four, sin π over four, and cos π over four.

Well, since we know that cos of 45, because π over four is 45, is equal to root two over two and the sin of 45 is equal to root two over two, what we can do is plug these in. And when we do plug these values in, what weβre gonna have is the matrix for the linear transformation that rotates every vector in β squared through an angle of π over four. And that matrix is going to be the matrix root two over two, negative root two over two, root two over two, root two over two.