Reduce coefficients modulo :
This is a surjective ring homomorphism and its kernel consists exactly of polynomials all of whose coefficients lie in , namely . The first isomorphism theorem gives the coefficientwise quotient of a polynomial ring
If is prime, then is an integral domain, so is an integral domain. The quotient criterion therefore shows that is prime in .
Pass to . It is enough to prove that the zero ideal of is primary. The zero ideal of is primary, so every zero divisor of is nilpotent element.
Suppose in with . By McCoy theorem, some nonzero satisfies . Hence every coefficient of is a zero divisor and therefore nilpotent. There are only finitely many coefficients, so the ideal they generate is nilpotent; consequently some power of is zero. This proves that is primary in , and the coefficientwise quotient of a polynomial ring
shows that is primary.