Let $A$ and $B$ be the $n \times n $ real matrices such that $AB=0=BA$ and $A+B$ is invertible. Which of the following are always true?
1 $\mbox{rank}(A)=\mbox{rank}(B)$
2 $\mbox{rank}(A)+\mbox{rank}(B)=n$
3 $\mbox{nullity}(A)+\mbox{nullity}(B)=n$
4 $A-B$ is invertible.
option 1 is wrong if we take $A=0$ and $B=I_n$ but for rest options i stucked how to think ?