I've been trying to prove this for so many hours but nothing seems to work. Probably I am just missing something. Anyone has any idea about it?
The question is to prove: $B^{-1}=I+B-B^2$ Any suggestions are accepted!
I should mention that I have the values for $B$ and $B^{-1}$ but as it is asking for proof, I guess I am not allowed to use them.
Edit: as requested B is a 3x3 matrix and has an inverse ad det(B)!=0
B= \begin{bmatrix}1&3&2\\0&-1&4\\0&0&1\end{bmatrix}
In general $$(I+B-B^2)(B) = B+B^2-B^3$$ and there is no reason to believe that it is the identity matrix.