So I am given this to prove:
If D is a square matrix and $D^2=D$, where I is the identity matrix, show that:
i) $(I-D)^2=I-D$
ii) $2D-I$ is invertible
My approach for i) was just to brute force is by plugging in a $2$ $X$ $2$ square matrix $\begin{vmatrix} a & b \\ c & d \end{vmatrix} $
and a $2$ $X$ $2$ identity matrix and just hopefully equating both sides after I multiplied the resultant but I think if I do that I have a loss of generality so I am not sure if that approach will work.
I'm really stuck on ii) though. A matrix is said to be invertible if one matrix along with another matrix are commutative and equal the identity matrix but again, if I just brute force this, I think i'll lose generality so I don't think that will work either.
I was hoping to get some guidance on this...
For (i), distribute the product $$ (I-D)^2 = (I-D)(I-D) = I(I-D) - D(I-D) = \\ I^2 - 2D + D^2 = I - D $$ For (ii), you may similarly distribute $$ (2D - I)^2 $$ what does this get you? What can you conclude?