The Fundamental Theorem of Arithmetic shows that an integer greater than 1 can be uniquely factorized into primes; a unique factorization domain is essentially a ring in which the fundamental theorem holds. Specifically, an integral domain R is a UFD if
In a UFD, an element is prime if and only if it is irreducible. If R is a UFD, then R[x] is also a UFD. Euclidean domains are UFDs.
Note in that are two essentially different factorizations of 4, and so R is not a UFD. By contrast, ℝ[x], the ring of real polynomials in a variable x, is a UFD. Note that 2x2 − 6x + 4 = (2x − 2)(x − 2) =(x − 1)(2x − 4), but these are essentially the same factorization as (2x − 2) = 2(x − 1) and (x − 2) = 2−1(2x − 4), and 2 is a unit in ℝ[x].