Let $A\in\mathbb{C}^{n\times n}$ be a $n$ by $n$ matrix such that $A^k = I$ for some natural number $k$. Find a nonzero annihilating polynomial of A and prove that A is diagonalizable.
I will say beforehand that this is exam preparation, not homework. Now to my attempt:
Since $A^k = I$, the polynomial $X^k - 1$ annihilates A. Now we still must prove that A is diagonalizable. That is to say, A has $n$ different eigenvalues, or, the polynomial $X^k - 1$ has $n$ distinct zeros.
Is that true so far? How do I proceed from here? Are there better approaches to this?
Thank you.
Hint: The minimal polynomial of $A$ will divide $X^k-1$. Since there are $k$ distinct $k$th roots of unity in $\mathbb{C}$, $X^k-1$ will be a product of distinct linear factors, and hence the minimal polynomial of $A$ will be a product of distinct linear factors. Now, a matrix is diagonalizable if and only if its minimal polynomial is a product of distinct linear factors. Using this result, the matrix $A$ will be diagonalizable.