I was going over my notes on classical mechanics and just started to review rotation matrices which is the first topic the book starts with. On page 3
The rotation matrix associated with 1.2a and 1.2b is
\begin{pmatrix} \cos\theta & \sin\theta \\ -\sin\theta & \cos\theta \\ \end{pmatrix}
but when I try to derive the matrix by following the unit vectors $\hat i$ and $\hat j$
I get
\begin{pmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \\ \end{pmatrix}
The one that the book derives would be clockwise rotation, and the one I got would be for counter-clockwise rotation correct?