Let $A ∈ M_n$. If $A^2 = I$, show that $$\operatorname{rank} (A + I) + \operatorname{rank} (A − I) = n$$
I know that $x^2=1$, $x^2-1=0$, and so $(x-1)(x+1)=0$. So depending on this formula, how I can complete my solution to this question or how can I use anther methods to solve it. Any one could help me please?
You know that $0=A^2-I = (A+I)(A-I)=(A-I)(A+I)$ (which follows from the same calculation that gives $x^2-1=(x-1)(x+1)$).
This means that $(A+I)(A-I)u=0$ which means that the range of $(A-I)$ is contained in the nullspace of $(A+1)$ and vice versa. This means that
$$n - \dim V(A-I) \ge \dim V(A+I)$$
or
$$\dim V(A+I) + \dim V(A-I) \le n$$
You also have that if $(A+I)u = 0$ then $(A-I)u = (A+I)u-2u\ne 0$ for non-zero $u$. which means that the null-spaces of $A+I$ and $A-I$ don't overlap. Which means that
$$\dim N(A+I)+\dim N(A-I) \le n$$
or
$$2n - \dim V(A+I) - \dim V(A-I) \le n$$ $$\dim V(A+I) + \dim V(A-I) \ge n$$
So
$$n \le \dim V(A+I) + \dim V(A-I) \le n$$
As pointed out in other answers this doesn't hold if the characteristic of the underlying field is $2$ if that means anything to you. This assumption is in fact used in $(A+I)u-2u = -2u \ne 0$ which fails if the characteristic is $2$ in which case in fact $-2u = 0$ so the null spaces may overlap. In that case we can only say that the $\dim V(A+I)+\dim V(A-I)\le n$.