• 2D Rotation
Pasted image 20240222141207 x=rcos⁡ϕy=rsin⁡ϕx′=rcos⁡(ϕ+θ)=rcos⁡ϕcos⁡θ−rsin⁡ϕsin⁡θ=xcos⁡θ−ysin⁡θy′=rsin⁡(ϕ+θ)=rcos⁡ϕsin⁡θ+rsin⁡ϕcos⁡θ=xsin⁡θ+ycos⁡θ\begin{aligned} &\begin{aligned} x & =r \cos \phi \\ y & =r \sin \phi \\ x^{\prime} & =r \cos (\phi+\theta) \\ & =r \cos \phi \cos \theta-r \sin \phi \sin \theta \\ & =x \cos \theta-y \sin \theta \end{aligned}\\ &\begin{aligned} y^{\prime} & =r \sin (\phi+\theta) \\ & =r \cos \phi \sin \theta+r \sin \phi \cos \theta \\ & =x \sin \theta+y \cos \theta \end{aligned}\\ \end{aligned} (x′y′)=(cos⁡θ−sin⁡θsin⁡θcos⁡θ)(xy)\left(\begin{array}{l} x^{\prime} \\ y^{\prime} \end{array}\right)=\left(\begin{array}{cc} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{array}\right)\left(\begin{array}{l} x \\ y \end{array}\right)
  • 3D rotation about z-axis (R2R_2)

  • 3D rotation about x-axis ca be obtained through cyclic permutation: x-, y-, z-coordinates are replaced by y-, z-, and x-coordinates respectively.

  • One more cyclic permutation leads to 3D rotation about y-axis.

Built with LogoFlowershow