since RθTRθ=I. A matrix with this property is called orthogonal. Rotations and reflections are the only length-preserving linear maps.
Key properties of rotation matrices
Determinant:detRθ=cos2θ+sin2θ=1.
Inverse:Rθ−1=R−θ=RθT — the inverse is the transpose.
Composition:RαRβ=Rα+β — rotation matrices add their angles.
Fixed point: only 0 is fixed (for θ=2πk).
Transformations by inspection
Some useful matrices built via "where do the basis vectors go":
Scale x by 2:(1,0)→(2,0),(0,1)→(0,1): (2001).
Reflect across y=x:(1,0)→(0,1),(0,1)→(1,0): (0110).
Shear x by 1 unit per y:(1,0)→(1,0),(0,1)→(1,1): (1011).
Common mistakes
Putting the sine and cosine in the wrong spots. Double-check by rotating e1 and comparing.
Assuming every matrix represents a rotation. Only orthogonal matrices with det=1 are rotations; det=−1 orthogonals are reflections.
Mixing up clockwise vs. counter-clockwise. Our formula is CCW; for CW, replace θ with −θ (which flips the signs on the sin entries).
Try it in the visualization
Drag the angle θ via a slider from 0° to 360°. A sample vector rotates live; the matrix entries update; the unit circle stays a unit circle, confirming length preservation.
Interactive Visualization
Parameters
45.00
3.00
3.00
4.00
Your turn
Got your own math or physics problem?
Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.