Doing practice problems for my qualifying exam and am a bit stumped by the following:
Let $n \ge 1$, $F$ be a field, and let $M$ be a matrix in $M_n(F)$. Show that there exists an $N \in M_n(F)$ such that $M = MNM$.
Here is my attempt at a solution:
We first define the vector space $V = F^n$ on which the matrices in $M_n(F)$ act. Now take $M \in M_n(F)$ and by the rank-nullity theorem we have that $$ker(M) \oplus Im(M) = V$$ Now, first note that if $M$ is invertible, then there exists $N = M^{-1}$ such that $NM = I$ and moreover $$M = MNM$$ giving us the result. We now assume that $M$ is not invertible (ker$(M) \neq 0$). We have by the First isomorphism theorem that $$V / ker(M) \cong Im(M)$$ I want to use the above fact with the property that ideals of fields are trivial to give us that $Im(M) = 0$ and therefore $M$ is just the zero map or something to this effect?