True or false: If all the eigenvalues of A are either $\lambda=1$ or $\lambda = -1$ then $A^{12}$= I
If we have a matrix $$\mathbf A = \begin{pmatrix}1&0\\0&-1\end{pmatrix}$$ this has eigenvalues of 1 or -1 then $$\mathbf A = \begin{pmatrix}\lambda-1&0\\0&\lambda+1\end{pmatrix}$$ and if we plug in $\lambda=1 $ $$\mathbf A = \begin{pmatrix}0&0\\0&2\end{pmatrix}$$ So $A^{12}$ $\neq$ I
Is this a correct way of proving this is false?
EDIT: Use the decomposition in terms of eigenvalues. (Sorry i called this the "SVD" the first time, haven't used lin alg acronyms in a while). Since the eigenvalues are roots of 1, we know that $D^{12}=I$ because 12 is even. So $$A^{12}=SD^{12}S^{-1}=SIS^{-1}=SS^{-1}=I$$ as desired.
However, you would have to check that the matrix is actually diagonalizable in all instances. I'm not sure if the question is assuming this or not.