Prove that an $n \times n$ matrix $A$ over $\mathbb{Z}_2$ is diagonalisable and invertible if and only if $A=I_n$ Through some facts, when $A$ is invertible, I found out that the eigenvalue can't be $0$, since if the eigenvalue is $0$, then $\det(A)=0$, which means that is is not invertible. Since it is over $\mathbb{Z}_2$, then eigenvalue is $1$.
Since the eigenvalue $(\lambda)$ is $1$, and $Av = \lambda v$, then $Av = v$ when $A=I$.
However, I didn't quite get how it can be diagonalizable if and only if $A=I$, or did I get it wrong somewhere? please help :)

Since $0$ and $1$ are the only scalars available, and a diagonal entry$~0$ in a diagonal matrix makes it singular (for instance because there is then a zero column), the only invertible diagonal matrix is the identity matrices$~I_n$. A diagonalisable matrix is by definition similar to some diagonal matrix, and invertibility is unchanged under similarity. Hence an invertible matrix over $\Bbb Z/2\Bbb Z$ that is diagonalisable (over that field) is similar to$~I_n$, but only the identity matrix itself is similar to$~I_n$.
