If A and B are two matrices such that AB = A and BA = B, then B2 is equal to

AB = A ----- (i)


BA = B ------(ii)


From equation (ii)


B × (AB) = B


B2A= B


From equation (ii)


B2A = BA


B2 = B


Option (A) is the answer.

1