Rotation Transformation, Rotation Matrix
📂Matrix AlgebraRotation Transformation, Rotation Matrix
Definition
In the two-dimensional plane R2, the transformation that rotates an arbitrary vector counterclockwise by θ is given by
[x′y′]=[cosθsinθ−sinθcosθ][xy]
Explanation
The matrix [cosθsinθ−sinθcosθ] is called the rotation matrix or the rotation transformation.
Derivation
Let x=rcosϕ and y=rsinϕ. Let (x′,y′) denote the point obtained by rotating the point (x,y) by θ. By the trigonometric addition formulas (link), x′,y′ are respectively given by
x′=rcos(ϕ+θ)=rcosϕcosθ−rsinϕsinθ=xcosθ−ysinθ
y′=rsin(ϕ+θ)=rsinϕcosθ+rcosϕsinθ=ycosθ+xsinθ=xsinθ+ycosθ
⟹{x′=xcosθ−ysinθy′=ycosθ+xsinθ
Writing this system of equations as a matrix (link) yields
[x′y′]=[cosθsinθ−sinθcosθ][xy]
■