Sum of two matrices equals product; prove that the matrices commute

134 Views Asked by At

Let $A,B$ be square real matrices of the same size such that $A+B=AB$. Show that $AB=BA$.

I have got the result for invertible matrices, but what about non-invertible ones?