Evaluation at i

Let ε:R[x]→C be the ring homomorphism that is evaluation at i, so ε(f)=f(i). (Here i denotes the complex number sometimes denoted −1.)
(a) Prove that ker⁡(ε)=(x2+1)⊆R[x].
(b) Prove that (x2+1) is a maximal ideal in R[x].