There is a problem that says for a matrix P such that $P^2 = P$, then P is diagonalizable.
However, I am kind of lost at how can we know that this matrix is diagonalizable, when we can't even show that it is invertible?
A related problem is "for a matrix A, if $(I - A)^k = 0$ for a positive integer k, then A is invertible". I have problems with this statement either. From the condition $(I - A)^k = 0$ I agree that we can conclude that one of the eigenvalues of A is 1, but we cannot rule out the possibility that A has 0 as eigenvalue. Why is this statement true? (By the way, A is a 3 by 3 matrix, though I don't think it matters here).
Thanks