We are given that A and B are non-zero n×n matrices satisfying A2+B=A2B.
Rewriting the given equation, we have A2+B=A2B, which implies A2=A2B−B=(A2−I)B. It follows that A2(I−B)=−B.
If (I−B) is invertible, then from A2(I−B)=−B we deduce A2=−B(I−B)−1=B(B−I)−1. By Cayley-Hamilton, (B−I)−1 is a polynomial in B and hence commutes with B. Therefore,
A2B=B(B−I)−1B=B⋅B(B−I)−1=B⋅A2=BA2.
The correct answer is Option D: A2B=BA2.