Let $A$ and $B$ be two real $n\times n$ matrices such that $AB-BA=A$
Prove that $A$ is not invertible and that $A$ is nilpotent.
My attempt is the following.
It holds that $AB=(B+I)A$
If $A$ were invertible, $B=A^{-1}(B+I)A$.
Taking trace on both sides yields $tr(B)=tr(B)+n$, hence $n=0$, which is a contradiction.
I can't prove that $A$ is nilpotent though.