Suppose det$(A)=0,$ then is there always a non-zero matrix $B$ satisfying $AB=BA=0?$(where $0$ means a matrix whose elements are all $0$)
It's easy to prove there is a matrix $B$ s.t. $AB=0$ and a matrix $C$ s.t. $CA=0,$ but can $B$ and $C$ be the same?
There is always such a matrix $B$. The matrix $A$ has a right eigenvector, call it $v$, with zero eigenvalue: $Av=0$. And it has a left eigenvector, $w$ with zero eigenvalue: $w^T A=0$.
Take the outer product of them. $$B = vw^T$$
This can be generalized if $A$ has rank $n-k$ then $$B=\sum_j^k v_j w_j^T$$ where $v_j$ are all the right eigenvectors with ev 0 and $w_j$ are the associated left eigenvectors.