If A and B are two matrices such that AB = A and BA = B, then B2 is equal to
B
A
1
0
We have, AB= A and BA= B
∴ B2=BB⇒ B2=(BA)B [∵BA=B]⇒ B2=B(AB)⇒ B2=BA [∵ AB=A]⇒ B2=B [∵ BA= B]