Proposition

Let RR be an integral domain and let aRa \in R be nonzero. Then aa is irreducible if and only if (a)(a) is maximal among proper principal ideals of R.R.

Proof

Suppose aa is irreducible and let (b)(b) be an ideal such that (a)(b).(a) \subseteq (b). This implies that there exists rRr \in R such that a=rb.a = rb. Since aa is irreducible, either rr is unit, in which case (a)=(b),(a) = (b), or bb is unit, in which case (b)=R.(b) = R. Thus aa is maximal among proper principal ideals of R.R.

Conversely, suppose (a)(a) is maximal among proper principal ideals of R,R, and let a=bca = bc for some b,cR.b, c \in R. In this case (a)(b)(a) \subseteq (b) and (a)(c).(a) \subseteq (c). By maximality of (a)(a) we know that (b)(b) must be either equal to (a)(a) or to R,R, in which case bb is a unit. The same holds for (c).(c).

If either bb or cc is a unit, we’re done. It cannot be that both of them are units, since that would make aa into a unit. The only remaining case is when neither of them is a unit, that is (a)=(b)=(c).(a) = (b) = (c). Hence there exists a unit rRr \in R such that a=rc.a = r c. Since a=bc=rca = bc = r c we can use cancellativity to infer b=r,b = r, so bb is a unit. Our use of cancellativity is justified, since aa is non-zero, and since a=bc,a = bc, neither bb nor cc can be zero.

\blacksquare