[Math] the trace of a 3d rotation matrix have these properties

linear algebramatricesorthogonal matricesrotationstrace

On the Wikipedia article about Rotation Matrices (https://en.wikipedia.org/wiki/Rotation_matrix#Determining_the_angle), the article states that the trace of the matrix will be equal to 1 + 2 cos(theta), where the theta represents the angle of the rotation in axis/angle form.

How is this property found? There doesn't appear to be any derivation on the site, and I can't see any reason why it might be the case.

Best Answer

$3$D rotation is defined as fixing a pole and rotating the orthogonal sub space to that pole (a unit vector). For instance, if our pole is the vector $(0,0,1)$, we rotate the orthogonal subspace given by the $x-y$ plane.

The sub space is roared according the the rotational matrix.

Defined by:

$$\begin{bmatrix}\cos (\theta) &-\sin (\theta) \\\sin (\theta) & \cos (\theta) \end{bmatrix}$$ .

Choosing basis suitably, we can make $v_1$ our first basis vector and this is fixed by the rotation. While the other bases will be transformed according to our rotation angle. Therefore, all rotation matrices are similar to:

$$\begin{pmatrix} 1&0&0\\ 0&\cos(\theta)&-\sin(\theta)\\ 0&\sin(\theta)&\cos(\theta)\\ \end{pmatrix} $$

Similar matrices have same trace so it follows.

Edit: I should have a book somewhere explaining this in detail, if you want, let me know so that I can find the book and post an image.