Let $K$ be an infinite field, then I’d like to show that the morphism $\phi : K[x_1, \ldots, x_n] \rightarrow K$ such that $ P \mapsto ev(P)$ (mapping polynomials to polynomial functions) is injective. It is suggested in this answer to do this by induction, but I’m stuck in $n=1$:
If $n=1$, $P\in \ker(\phi)$ iff $P(k)=0$ ($k\in K$) iff $x_1-k$ divides $P(x_1)$, but I don’t see how this implies that $P=0$. Any help would be appreciated.