Show that $\Bbb Z[x]/\langle x^2+1\rangle\cong \Bbb Z[i]$.
Take the mapping $\phi :\Bbb Z[x]\to \Bbb Z[i]$ to be $\phi(f(x))=f(i)$ which is definitely a ring homomorphism.
Surely $\phi$ i ssurjective as $a+bi\in \Bbb Z[i]$ we have $f(x)=a+bx\in \Bbb Z[x]$
Then $\ker \phi=\{f(x):f(i)=0\}$ To show that $\ker \phi \cong \langle x^2+1\rangle$.
Now definitely $x^2+1\in \ker \phi\implies \langle x^2+1\rangle\subseteq \ker \phi$
Taking $f(x)\in \ker \phi\implies f(i)=0$.
Unable to show that $f(x)\in \langle x^2+1\rangle$.
Please help.