UFD implies GCDs exist

In a unique factorization domain, any two elements admit a gcd unique up to associates.
UFD implies GCDs exist

UFD implies GCDs exist: Let RR be a UFD and let a,bRa,b\in R be not both zero. Then there exists dRd\in R such that (i) dad\mid a and dbd\mid b, and (ii) if cac\mid a and cbc\mid b then cdc\mid d. Any two such dd differ by multiplication by a unit; one writes d=gcd(a,b)d=\gcd(a,b).

In a , write aa and bb as products of and take the product of the common primes with minimal exponents to obtain a . Uniqueness is up to , and in a UFD prime elements coincide with .