How can I prove that if $R/I$ is a field then $I$ is a maximal ideal? In my book it says that this is a corollary of the following theorem:
If $φ:\mathbb{F}→S$ is a non trivial homomorphism and $\mathbb{F}$ is a field then $φ$ is injective.
Can someone explain to me why this is true?
edit: any proof would be helpful, not just using the theorem above.
Here is a proof that uses the given theorem.
Consider any ideal $J \supseteq I$ of $R$. We wish to prove that $J$ must be either $R$ or $I$ (so that $I$ is a maximal ideal).
Consider the canonical homomorphism $\varphi: R/I \to R/J$, $\varphi(x + I) = x + J$, $\forall x \in R$.
If $\varphi$ is trivial, then $x + J = J$ for all elements $x \in R$, and this implies that $J = R$.
If $\varphi$ is non-trivial, then it is injective (by the given theorem), so that $\ker \varphi = \{I\}$ ($I$ being the zero of $R/I$). Thus, for any element $x \in R$, $\varphi(x + I) = x + J = J$ if and only if $x + I = I$ or equivalently, $x \in J$ if and only if $x \in I$. This proves that $I = J$.