a) Find the standard matrix of the linear transformation $T$, if $T:R^2 \rightarrow R^2$ reflects points through the line $y=x$ and then rotates points counterclockwise through π/4 radians.
b) Find and draw the image of the triangle with vertices (2,1), (1, 2), (2,2)
I think I can do the transformation, but I get confused easily by terminology. Do I literally just draw a triangle given the points, or is their more to it? If so, how do I solve b?
What is the answer to a? I would like to compare answers. I'm getting [[0, sin(π/4)][-sin(π/4), 0]].