R[x] is an integral domain if and only if R is an integral domain.
Proof
Suppose R[x] is an integral domain. Let a,b∈R[x] be two non-zero constant polynomials. Being constants, a and b live in the R-shaped subring of R[x]. Since R[x] is an integral domain, ab=0, and in particular, this inequality holds in the R-subring of R[x], demonstrating that R is an integral domain.
Suppose conversely that R is an integral domain, and let f,g∈R[x] such that fg=0. Let c1,c2∈R be leading coefficients of f and g. That is, f=c1xp+f′ and g=c2xq+g′, where p=deg(f) and q=deg(g). Then
Since xp+q=0, it must be that c1c2=0. Hence, either c1 or c2 must be zero. The only polynomial whose leading coefficient is 0 is the zero polynomial, so f=0 or g=0. Thus, R[x] is an integral domain.