I'm trying to find out whether $A^2 = I_n$ $\implies A = I_n$ is a true or false statement. Here's my thought process.
I'm going to be lazy and prove it for a $2 \times 2$ matrix, but I don't think the size should matter.
In an identity matrix, $$a_{11}= 1$$ $$a_{12}=0$$ $$a_{21}=0$$ $$a_{22}=1$$
So, I'm taking matrix $A$, and made an expression for each entry of $A^2$, defining it as $B$.
$$b_{11} = a^2_{11} + a_{12}a_{21}$$ $$b_{12}= a_{11}a_{12}+ a_{12}a_{22}$$ $$b_{21}= a_{21}a_{11}+a_{22}a_{21}$$ $$b_{22}= a^2_{22}+a_{21}a_{12}$$
By this logic, since $[a]_{ij} = [b]_{ij}$, we have the following:
$$a^2_{11} + a_{12}a_{21} = a^2_{22}+a_{21}a_{12}$$
$$a_{11}a_{12}+ a_{12}a_{22} = a_{21}a_{11}+a_{22}a_{21}$$
From here, however, I don't really know what to do to go any further. If my thought process is do-able for this proof, what should I do next?
$$\begin{pmatrix}-1&0\\0&-1\end{pmatrix}^2=\begin{pmatrix}1&0\\0&1\end{pmatrix}.$$