If it is given that $B^2=0$. Then can I directly take the determinant on both sides and prove that determinant of $B=0$?
Given:$B2=0$
Taking determinant both sides
$|B^2|=|B|^2$
$|B|^2=|0|$
$|B|=0$
This was correct.
But I now have a doubt when $A^2=I$, why can't $A=I$ the same way we did for $B=0$
If $A^2=I$
$|A|^2=|I|$
$|A|=1$
Why is this wrong?