Rotation Matrix From Axis and Angle

1.3k Views Asked by At

Please anyone help me to explain how to find the standard matrix for a rotation of $\pi/2$ radians about the axis determined by $v = (1,1,1)$ using this formula: $$ \begin{bmatrix} a^2(1-\cos \theta)+\cos \theta & ab(1-\cos\theta)-c\sin\theta & ac(1-\cos\theta)+b\sin\theta \\ ab(1-\cos\theta)+c\sin\theta & b^2(1-\cos\theta)+\cos\theta & bc(1-\cos\theta)-a\sin\theta \\ ac(1-\cos\theta)-b\sin\theta & bc(1-\cos\theta)+a\sin\theta & c^2(1-\cos\theta)+\cos\theta \\ \end{bmatrix} $$ Note: This formula requires that the vector defining the axis of rotation have length $1$

1

There are 1 best solutions below

0
On

As you mention above, you need to normalize the vector first. $$v=(1,1,1) \implies v_{norm} = \frac{v}{\|v\|} = \frac{(1,1,1)}{\sqrt{1^2 + 1^2 + 1^2}} = \left(\frac{1}{\sqrt{3}},\frac{1}{\sqrt{3}},\frac{1}{\sqrt{3}}\right)$$

Then, take $\theta=\pi/2$ and $(a,b,c) = (1/\sqrt{3},1/\sqrt{3},1/\sqrt{3})$.