Proof (existence of maximal ideal)
Part 2 follows from part 1 by taking a maximal ideal of the non-zero ring $R/I$, which corresponds to a maximal ideal of $R$ containing $I$.
Let $R$ be a non-zero ring. We apply Zorn's lemma to the partial order $$ \begin{align*} (S = \sb{\text{ideal $I$ of $R$}}{I\subsetneq R}, \; \subseteq ). \end{align*} $$
Because $R$ is non-zero, $(0)$ is a proper ideal of $R$ so $S\neq \emptyset$.
If $T$ is a chain (total order under $\subseteq$) of $S$, we take $(0)$ to be the upper bound if $T$ is empty. Otherwise, let $J := \bigcup_{I\in T} I$. $J$ is a maximal ideal:
-
Because $1\not\in I$ for all $I\in T$, $1\not\in J$, so $J\neq R$.
-
If $r\in R$ and $x\in J$, then $x\in I$ for some $I\in T$, so $rx\in I$ thus $rx\in J$.
-
$0\in J$.
-
If $x_1, x_2\in J$, then $x_i\in I_i$ for some $I_1, I_2\in J$. As $J$ is totally ordered, either $I_1 \subseteq I_2$ or $I_2 \subseteq I_1$, WLOG the former. Then $x_1, x_2\in I_2$, so $x_1-x_2\in I_2$, and hence $x_1-x_2\in J$.
Hence $J\in S$ is an upper bound of $T$.
Thus by Zorn, there is a $\subseteq$-maximal element $I\in S$. Then $I$ is a maximal ideal.