Why is $\mathbb{Z}[X]$ not a euclidean domain? What goes wrong with the degree function?

Try to divide something like $x+1$ by $2x+1$. If it were a Euclidean Domain, you should be able to write $x+1=q(x)(2x+1) + r(x)$ where $r(x)$ has to have degree 0. You can see why this is not possible to do by looking at the coefficient on the $x$ term, since $2$ is not invertible in $\mathbb{Z}$


In $K[x]$ the reason things go nicely is because every non-zero element in $K$ is invertible ($K$ being a field). So we can have $$a(x)=b(x)q(x)+r(x) \qquad \text{ with } \qquad 0 \leq \text{deg}r(x) < \text{deg}b(x).$$

But one of the problems in executing this in $\mathbb{Z}[x]$ is that unless the polynomial is monic you may not have the degree inequality (which is one the requirements of Euclidean Norm function). For example. if you try to carry out division with $a(x)=x+1$ and $b(x)=2x$, then you cannot have the degree of the remainder less than $1$. Thereby it does not fulfill the required conditions of an Euclidean Domain.


Try perform a division with remainder between $X$ and $2$ in $\mathbb Z[X]$.


Take the two polynomial of $\mathbb{Z}[X]$, $P(X)=X^2+1$ and $Q(X)=2X$ and try to perform the division while keeping integer coefficients.

You can see the obstruction is coming from non invertible elements of the ring $\mathbb{Z}$


Suppose you have a Euclidean domain. I claim that any element $x$ with $\deg x = 0$ should be invertible. Indeed the claim of the division algorithm gives that I can write $1 = qx + r$ with $r = 0$ or $\deg r < \deg x$. The latter is impossible if the degree is $0$, so $r = 0$ and thus $qx = 1$, giving that it is a unit.

Thus the explicit obstruction is that there are integers with degree 0 that are not invertible in the polynomial ring.

In fact, let $R$ be an integral domain and consider the ring $R[x]$ with the degree function. Then if $R[x]$ were a Euclidean domain under the degree function, every $r \neq 0 \in R$ would be invertible in $R[x]$, but since $R$ is an integral domain it is easy to see this cannot happen without $r$ being invertible in $R$. So $R$ is a field.