I know that since (A-tI)x+0, the diagonal matrix has all the eigenvalues. I also have proved in my homework that similar matrices have the same eigenvalues. But I am stuck on how to show that in a proof way. Any help would be appreciated?