Let A and B are $2\times 2$ matrices, where $$\text{AB} = \text{BA}$$show that : $$\text{A B}^2 = \text{B}^2 \text{A}$$
Well, I assumed A and B are symmetric matrices, so $$ AB^2 = A^T B pow(2T) = (B^ 2A)^T = B^2T = A^T = B^2 A $$ I thought for long time but I didn't get the right solution, any expert can help please!