Suppose A is a diagonlizable nxn matrix where 1 and -1 are the only eigenvalues (algebraic multiplicity is not given). Compute A^2.
The only thing I could think to do with this question is set A=PD(P^-1) (definition of a diagonalizable matrix) and then A^2=(PD(P^-1))(PD(P^-1))=P(D^2)(P^-1)...