I was trying to solve the following problem:
Assume $A,B\in M_n\left( \mathbb{C} \right)$,satisfy $$AB^2A=AB.$$
I need to proof $$\left( AB \right) ^2=AB.$$
I tried to use some equivalent substitution of matrices, but I did not succeed. I also tried to find some counterexamples of matrices, such as 2nd order matrices, but I did not succeed either.
I don't know if this is a right problem or a wrong problem.
I hope to solve this problem. Thanks!
I have solved this problem!!!
Assume $I_n$ is a n-order unit matrix.
From $AB^2A=AB$,we can get $AB(BA-I_n)=0.$
So$$\mathrm{rank}(AB)+\mathrm{rank}(BA-I_n)\leqslant n.$$
Because $\mathrm{rank}(BA-I_n)=\mathrm{rank}(AB-I_n)$, we can get $$\mathrm{rank}(AB)+\mathrm{rank}(I_n-AB)\leqslant n.$$
Because $$\mathrm{rank}(AB)+\mathrm{rank}(I_n-AB)\geqslant \mathrm{rank}(AB+I_n-AB)=n,$$
we can get $$\mathrm{rank}(AB)+\mathrm{rank}(I_n-AB)=n.$$
Thus from the equivalent condition for idempotent matrixs, we can get $$(AB)^2=AB.$$