We leave most of this to the reader.
One interesting observation is that
\(\Z/n\Z\) has zero divisors if and only if
\(n\) is not prime. It follows that
\(\Z/n\Z\) is a field if and only if
\(\Z/n\Z\) is an integral domain! This interesting fact is generalized in
TheoremΒ 2.2.10 below.
We are tempted to say that
\(A\in M_n(R)\) is a zero divisor if and only if
\(\det A\) is either zero or a zero divisor of
\(R\text{.}\) Indeed, this is the case! However, even with
TheoremΒ 2.2.2 at our disposal, one of the implications involved is somewhat involved. The easy direction is the forward one: if
\(A\) is a a zero divisor, then there is a nonzero matrix
\(B\) such that
\(AB=0\text{;}\) multiplying on the left by the adjoint matrix
\(A^\dagger\text{,}\) we see that
\((\det A)IB=(\det A)B=0\text{.}\) Since
\(B\ne 0\text{,}\) it follows that
\(\det A\) is either zero or a zero divisor in
\(R\text{.}\)
Although you might guess that this same argument could be employed to prove the reverse implication, we are foiled by the fact that
\(A^\dagger\) can be the zero matrix even when
\(\det A\) is nonzero! (This is true even in the familiar setting
\(R=\R\text{.}\)) The reader is invited to check out this
StackExchange post, which provides an answer as well as some useful references.