How can I do this question:
Is it possible to find a $5 \times5$ invertible matrix $B$ over $\mathbb Z_2$ such that:
$B+B^{-1}=5\times5$ matrix where every element is $1$
anyway, I assume that the question requires a proof if such a matrix $B$ does not exist and working/solution(maybe?) if $B$ exists
Thanks!
No, this isn't possible. Denote the all-one matrix by $E$. If $B+B^{-1}=E$, then $BE=B^2+I=EB$. Therefore $B^2+I$ has identical columns and identical rows. Hence either $B^2+I=0$ or $B^2+I=E$.