Read · 1 min

Given a point OO and angle θ\theta, a rotation is a transformation in which every point PP with position angle α\alpha is moved to the point P′P' such that OP=OP′OP=OP' and that P′P' has position angle α+θ\alpha+\theta.

To express rotation as a linear transformation, we must map the origin to itself. Thus, we will assume that the origin is our center of rotation. If this is not the case for your transformation, you should translate so that this holds, and then apply another translation that takes the problem back to the original center of rotation.

For now, we will just work with two dimensions. This is the simplest, and any single rotation may be shifted so that it is in only two dimensions, so this should be good enough.

Let P=(r,α)P=(r,\alpha) in polar coordinates. Then P′=(r,α+θ)P'=(r,\alpha+\theta).

For matrix representations, we will have to convert to Cartesian coordinates: P=(rcos⁡α,rsin⁡α)P=(r\cos\alpha,r\sin\alpha) P′=(rcos⁡(α+θ),rsin⁡(α+θ))P'=(r\cos(\alpha+\theta),r\sin(\alpha+\theta)) Using the angle addition formulas for P′P', P′=(rcos⁡(α+θ),rsin⁡(α+θ))P'=(r\cos(\alpha+\theta),r\sin(\alpha+\theta)) P′=(r(cos⁡αcos⁡θ−sin⁡αsin⁡θ),r(sin⁡αcos⁡θ+cos⁡αsin⁡θ))P'=(r(\cos\alpha\cos\theta-\sin\alpha\sin\theta),r(\sin\alpha\cos\theta+\cos\alpha\sin\theta)) Suppose the rotation matrix is as follows: A=[abcd]A=\left[ \begin{array}{ccc} a & b \\ c & d \end{array} \right] Thus, for AP=P′AP=P', we have the following equations: arcos⁡α+brsin⁡α=r(cos⁡αcos⁡θ−sin⁡αsin⁡θ)ar\cos\alpha+br\sin\alpha=r(\cos\alpha\cos\theta-\sin\alpha\sin\theta) crcos⁡α+drsin⁡α=r(sin⁡αcos⁡θ+cos⁡αsin⁡θ)cr\cos\alpha+dr\sin\alpha=r(\sin\alpha\cos\theta+\cos\alpha\sin\theta) Cancelling out the rr factors and solving, we have: a=cos⁡θa=\cos\theta b=−sin⁡θb=-\sin\theta c=sin⁡θc=\sin\theta d=cos⁡θd=\cos\theta Thus, here is the matrix for a rotation by an angle θ\theta counterclockwise: A=[cos⁡θ−sin⁡θsin⁡θcos⁡θ]A=\left[ \begin{array}{ccc} \cos\theta & -\sin\theta \\ \sin\theta & \cos\theta \end{array} \right]

Type a concept, like “slope” or “photosynthesis”.

↑ ↓ to choose · Enter to openSearch explanations and problems