We have a ring $R$ and $I$ an ideal of $R$. Let $M$ be an ideal of $R$ containing $I$. Let $\overline{M}$ be $M/I$ and $\overline{R}$ be $R/I$. Prove that $M$ is maximal if and only if $\overline{M}$ is maximal.
I think I get the general idea, that $M$ not maximal means there exists a bigger $M'$ containing $M$ and so $M'/I$ contains $M/I$. How do I formalize this idea? And how do I show the other direction?
By the third isomorphy theorem you have $$R/M \cong (R/I) / (M/I).$$ Each of this quotients is a field if and only if $M$ is maximal, and if and only if $M/I$ is maximal.