I am working on problem $7$, section $9.1$ in Dummit & Foote:
Let $R$ be a commutative ring with $1$. Prove that a polynomial ring in more than one variable over $R$ is not a principal ideal domain.
My Strategy:
It is enough to show it for polynomials of two variables. Then, for any polynomial ring $R[x_1, x_2, ..., x_n]$ we can view it as $R[x_1, x_2, ..., x_{n-2}] [x_{n-1}, x_n]$ (I think). And since $R[x_1, x_2, ..., x_{n-2}]$ is commutative with identity, $R[x_1, x_2, ..., x_n]$ will not be a P.I.D.
The Difficulty:
I am having trouble proving it for two variables. The issue is that there may be zero divisors in $R$. The previous problem in the book asked to prove that $(x, y)$ is not a principal ideal in $\mathbb{Q}[x, y]$. I proved it using the theorem that $\deg p \cdot q = \deg p + \deg q$ when there are no zero divisors in the coefficient ring. So I would like to also show that $(x,y)$ is not principal in $R[x, y]$ when $R$ is just commutative with identity, but I don't know how to get around the issue of possible zero divisors.
If $R$ has zero divisors, then so does $R[x,y]$, whence $R[x,y]$ is not a principal ideal domain, since by definition a principal ideal domain is also an integral domain.