example of ring which is not a UFD
Example 1.
We define a ring with addition and multiplication inherited from (notice that is the ring of integers of the quadratic number field ). Notice that the only units (http://planetmath.org/UnitsOfQuadraticFields) of are . Then:
(1) |
Moreover, and are irreducible elements of and they are not associates
(to see this, one can compare the norm of every element). Therefore, is not a UFD.
However, the ideals of factor (http://planetmath.org/DivisibilityInRings) uniquely into prime ideals. For example:
where , , and are all prime ideals (see prime ideal decomposition of quadratic extensions of (http://planetmath.org/PrimeIdealDecompositionInQuadraticExtensionsOfMathbbQ)). Notice that:
Thus, Eq. (1) above is the outcome of different rearrangements of the product of prime ideals:
Notice also that if was a principal ideal then there would be an element with and . Thus such a number would have norm , but the norm of is so it is clear that there are no algebraic integers
of norm . Therefore is not principal. Thus is not a PID.