Canonical: https://knowlpedia.com/algebra-rings/gauss-lemma/

# Gauss's lemma

Over a UFD, primitive polynomials factor over the fraction field exactly when they factor over the ring.

**Gauss's lemma**: Let \(R\) be a [UFD](https://knowlpedia.com/algebra-rings/ufd/) with [fraction field](https://knowlpedia.com/algebra-rings/fraction-field/) \(K\). If \(f\in R[x]\) is [primitive](https://knowlpedia.com/algebra-rings/primitive-polynomial/), then any factorization \(f=gh\) in the [polynomial ring](https://knowlpedia.com/algebra-rings/polynomial-ring/) \(K[x]\) can be written (after multiplying \(g,h\) by nonzero scalars in \(K\)) as a factorization \(f=g'h'\) with \(g',h'\in R[x]\) primitive. In particular, a primitive \(f\in R[x]\) is [irreducible](https://knowlpedia.com/algebra-rings/irreducible-polynomial/) in \(R[x]\) if and only if it is irreducible in \(K[x]\).

## Remarks

This rests on the [content multiplicativity lemma](https://knowlpedia.com/algebra-rings/gauss-content-lemma/) and is the key bridge between factorization over \(R\) and over its field of fractions.
