Proof

Suppose that f, g are nonzero polynomials in R[X] such that fg = 0. Let m = deg (f) and n = deg (g). Then the corresponding top coefficients fm and gn are nonzero, whereas fmgn = 0, contradicting the fact that R is a domain.