The Integral Domain Hierarchy, Part 2
In any area of math, it's always good idea to keep a few counterexamples in your back pocket. This post continues part 1 with examples/non-examples from some of the different subsets of integral domains.

is an integral domain which is not a UFD
- That an integral domain is easy to check (just computation).
- It's not a UFD since we can write $6=2\cdot 3 = (1+i\sqrt{5})(1-i\sqrt{5})$ as two distinct facorizations into irreducibles*
- Note: Since is not a UFD, neither is it a PID nor a Euclidean domain.
is a UFD which is not a PID
- We know is a UFD because is a UFD (recall, a commutative ring is a UFD iff is a UFD).
- The ideal (polynomials with even constant term) is not principal**
is a PID which is not a Euclidean domain
- This is a PID since it has a Dedekind-Hasse norm (see Dummit and Foote, 3rd ed., ).
- It is not a Euclidean domain since it has no universal side divisors (ibid.).
is a Euclidean domain which is not a field
- is a Euclidean domain via the absolute value norm (which gives the familiar division algorithm).
- It is not a field since the only elements which are units are $1$ and .

(*) Check $2, 3, 1+i\sqrt{5}$, and $1-i\sqrt{5}$ are indeed irreducible in :
- Write $2=\alpha \beta$ for . Then and for some integers . Since $4=N(2)=N(\alpha)N(\beta)$, we must have or $4$. Notice must be true (since for and for any ). Hence either or $2$. If then is a unit. If , then we must have and so is a unit.
- Showing 3 is irreducible follows a similar argument.
- Write $1+i\sqrt{5}=\alpha\beta$ with so that since $6=N(\alpha)N(\beta)$. Consider two cases: (case 1) If , then which is only true if and so is a unit. (case 2) If , we can only have (since gives a contradiction), and so , which implies . Hence and so . This implies and so , which is a unit.
- Showing $1-i\sqrt{5}$ is irreducible follows a similar argument.

principal in :
- Suppose to the contrary for some polynomial . Since $2\in (f(x))$, we must have $2=f(x)p(x)$ for some . Hence $0=\deg f(x) + \deg p(x)$ which implies both and are constants. In particular, since $2=\pm 1\cdot \pm 2$, we need . If , then which is a contradiction since must be a proper ideal (not every polynomial over has even constant term). It follows that . But since as well, for some . But of course this is impossible for any polynomial with integer coefficients, . Thus is not principal.
*Reference:*D. Dummit and R. Foote, Abstract Algebra, 3rd ed., Wiley, 2004. (ch. 8)