If A and B are two matrices such that AB=B and BA=A, then A2+B2 is equal to
2AB
2BA
A+B
AB
Explanation for the correct option:
Given, A and B are two matrices such that AB=B and BA=A.
A2+B2=AA+BB
⇒A2+B2=A(BA)+B(AB) ∵AB=B,BA=A
⇒A2+B2=(AB)A+(BA)B
⇒A2+B2=BA+AB ∵AB=B,BA=A
⇒A2+B2=A+B ∵AB=B,BA=A
Hence, option C is correct.