Assume that $R$ is a commutative ring with a multiplicative identity element. Fix $a\in{R}$, and consider the evaluation map $e_{a} : R[x]\rightarrow{R}$ defined to be ${e_{a}}(f(x))=f(a)$. If $(x-a)$ is the principal ideal generated by $x-a$ in $R[x]$, it is clear that $(x-a)\subset \ker{e_{a}}$. Is the reverse inclusion always true? One can see immediately that it holds by the factor theorem if $R$ is a field.
This is Exercise 47 in J.J. Rotman's book Galois Theory (Second Edition), but I am not sure if $\ker{e_{a}}=(x-a)$ is true in an arbitrary ring. Thanks!