Theorem: Every nonzero ring has a maximal ideal
Proof: Let be a nonzero ring and put . Then is a poset with respect to . Also is nonempty since it contains the zero ideal.
Let be a chain. If is empty, set , otherwise set . It can be checked that . Furthermore, otherwise one of the ideals of the chain would contain and thus all of , a contradiction since does not contain . Thus and is an upper bound for . By Zorn's Lemma, has a maximal element which is precisely a maximal ideal of .
Corollary: Let . Then there exists a maximal ideal containing .
Proof: The nonzero ring contains a maximal ideal for some , and this must be maximal in .
Corollary: Every nonunit of a nonzero ring is contained in some maximal ideal.
Proof: Apply the previous corollary to the prinipal ideal generated by the nonunits.
Remark: If it is known that is Noetherian, that is, satisfies the ascending chain condition (a.c.c.): for all sequences of ideals we have for some , then we may avoid using Zorn's Lemma. We take (or any other ideal) and if is not maximal, we set to some ideal strictly containing . Continuing in this fashion gives us an ascending chain of ideals, and by the a.c.c. we know we must eventually reach a maximal ideal.