Let $A$ be a diagonalizable matrix and $\lambda$ an eigenvalue of $A$. Prove that
$ rank(\lambda I - A) = rank((\lambda I - A)^2) $
Any tips how I should get started proving this statement?
I've tried starting from the definition of A being a diagonalizable matrix i.e. there exists an invertible matrix $P$ such that $P^{-1}AP$ is a diagonal matrix, but have no clue on how to proceed.
If $M$ and $N$ are similar matrices, i.e. if there exists an invertible matrix $P$ such that $N=P^{-1}MP$, then they have the same rank (why?) and the same eigenvalues (again, why?).
Spoilers below.