Show that the map $\phi : \mathbb{Z}[x] \rightarrow \mathbb{R}$ given by $\phi(f(x)) := f( \sqrt 2)$ is a ring homomorphism.
Find out the kernel of $\phi $
My attempt : For $1$ we have $\phi(f(x_1 + x_2)) := \phi(f(x_1) + f(x_2))=\phi(f(x_1)) + \phi((x_2))= f( \sqrt 2) + f( \sqrt 2) = 2 f( \sqrt 2)$
$\phi(f(x_1)(f(x_2)) :=\phi(f(x_1)).\phi((x_2)) =f( \sqrt 2)^2$
For $2$ . $\ker \phi = (x- \sqrt 2)(x+ \sqrt 2)= (x^2-2)$
Is my way of answer is correct or not ?