Most of the textbooks state that provided a nonzero field $F$, a nonzero polynomial $f\in F[x]$ of degree $n$ has at most $n$ distinct roots. I am wondering whether the word "distinct" can be removed? I guess the answer is yes, but I cannot come up with a nice proof.
Sorry for the confusion. The question above can be rephrased as "if $f$ has roots $\alpha_i$ of multiplicity $n_i$, then is it possible that $\sum n_i>n$?"
Here $\alpha$ is of multiplicity $k$ means $(x-\alpha)^k\mid f$ but $(x-\alpha)^{k+1}\nmid f$.
For commutative ring this is possible, e.g, $x^2-x\in\mathbb{Z}_6[x]$ has roots $\overline{0},\overline{1},\overline{3},\overline{4}$.
Suppose that $\alpha$ were not a root of g.
Then $\alpha$ is a simple root of f, which is a contradiction.