If A is a square matrix with A^2=A, then (I+A)^2 equals
Single correct option
If A is a square matrix with A2=A, then (I+A)2 equals
A.I+2A
B.I+3A
C.2I+A
D.I+A
Show answer and solution
Answer:(B) I+3A
Since I commutes with A, (I+A)2=I+2A+A2. Substituting A2=A gives I+3A. The tempting answer I+2A ignores A2, and treating A2 as 0 would be a mistake because idempotent matrices are not nilpotent.