[Math] Minimal polynomial of a diagonal matrix

linear algebramatrices

How can I show that the minimal polynomial of a diagonal matrix is the product of the distinct linear factors $(A-\lambda_{j}I)$? In particular, if we have a repeated eigenvalue, why is it that we only count the factor associated with that eigenvalue once?

I know by the Cayley Hamilton theorem that the characteristic polynomial $p(t)$, i.e. the product of all the linear factors, not necessarily distinct, yields $p(A) = 0$. But I'm uncertain how this can be simplified for diagonal matrices when there is a repeated eigenvalue.

Best Answer

To start with the minimal polynomial is the "Polynomial of the smallest degree" which satisfies the relation P(M)=0, where M is your matrix. In case of the diagonal matrix the polynomial consisting of the factors (x-a) where a are diagonal entries (eigenvalues) these need to be written only once and the relation P(M)=0 is satisfied (proof is trivial) .