A prime ideal is a proper ideal such that implies or . Equivalently is an integral domain.
For each , and each , choose , using incomparability. Put
Then belongs to the other two prime ideals and does not belong to , by primality. In particular each lies in the union. But for every : modulo , the sum equals . The union is not closed under addition and is not an ideal. This is a concrete instance of prime avoidance.
The union of three incomparable nonprime ideals example can retain pairwise incomparability. In the ring
take
These distinct two-element ideals are pairwise incomparable, yet
which is an ideal. None is prime: its quotient ring still contains a nonzero element of square zero. The three one-dimensional vector subspaces cover the two-dimensional vector space over .