TITLE: Roots of a polynomial in an integral domain
QUESTION [9 upvotes]: Let $R$ be a ring and $f(X) \in R[x]$ be a non-constant polynomial. We know that the number of roots, of $f(X)$ in $R$ has no relation, to its degree if $R$ is not commutative, or commutative but not a domain. But,

The number of roots, of a non-zero polynomial over commutative integral domain, is at most its degree.

How does one prove above result?

REPLY [6 votes]: This is a consequence of the fact that over a commutative ring with identity $A$, an element $a \in A$ is a zero of a polynomial $f \in A[x]$ if and only if $f(x) = (x - a)q(x)$ for some polynomial $q(x) \in A[x]$.

REPLY [2 votes]: It follows from the division algorithm, the fact that the evaluation maps gives a homomorphism from $R[x]$ to $R^R$ (functions from $R$ to $R$ with pointwise operations), and that $R$ is a domain. It is the exact same argument as for fields, with the division algorithm suitably restricted to certain kinds of polynomials over $R$ as divisors.