I am attempting to prove that given a field R, a matrix $A \in M_n(R)$ is invertible if and only if $A$ is not a zero divisor in $M_n(R)$. Furthermore I am trying to figure out whether or not this iff holds when R is only assumed commutative.
I have seen other posts asking similar questions, but they use methods (e.g. fraction fields) that are at least three lectures ahead of where I am currently at in my algebra class. I have proven the "invertible implies not a zero divisor" direction, can someone please help me with the converse and in finding this counterexample to the commutative R version - if there even exists one, but with how the proof of the R is a field case is going it seems like we do need R to be a field.
I have only just learned about matrix rings as well as types of rings like fields and domains and subrings.