This is the question in full:
Let $A$ be a diagonalizable matrix whose eigenvalues are all either -1 or 1. Show that $A^{-1} = A$.
Since it's diagonalizable then I think we should use $A = PDP^{-1}$ but I'm not sure how to prove it, because I also know that it might involve $|A -\lambda I | = 0 $ or $Ax=\lambda x$
If $A$ is diagonalizable then you can write
$$A = PDP^{-1}$$
then
$$A^{-1} = (PDP^{-1})^{-1}=PD^{-1}P^{-1}$$
but $D$ is diagonal with $\pm 1$ then $D^{-1}$ is also diagonal with $(\pm 1)^{-1}=\pm 1$, so $D^{-1}=D$ and then
$$A^{-1} = PD^{-1}P^{-1}= PDP^{-1}=A$$