Mathematical Physicshigh schoolundergraduate

Rotation Matrices

Also known as: SO(2)/SO(3) matrices · Orthogonal rotation · Direction cosine matrix

A rotation keeps lengths and angles fixed and the origin put — so its columns must be perpendicular unit vectors. In 2D those columns are (cosθ, sinθ) and its 90°-turned partner, giving the familiar cosine–sine block.

R(θ)=(cosθsinθsinθcosθ)R(\theta) = \begin{pmatrix} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{pmatrix}
Live simulation
warming up the physics…

A ring of points (count and radius slider-controlled) is rotated by an angle that advances with time plus the slider offset. Each point sweeps a circular arc while a trailing ghost shows the original positions, making it obvious that distances from the origin never change. The rotation matrix is printed live.

Equivalent forms

RR=I,detR=1R^{\top}R = I,\quad \det R = 1
R(α)R(β)=R(α+β)R(\alpha)R(\beta) = R(\alpha+\beta)
Composition of rotations is addition of angles — the matrix product R(α)R(β)=R(α+β) turns geometry into arithmetic.