Is the quotient ring $\Bbb C[x]/(x^2+1)$ an integral domain?
My solution goes like this:
If possible let us assume that $\Bbb C[x]/(x^2+1)$ an integral domain. This means $(x^2+1)$ is a prime ideal in $\Bbb C[x].$ Now, $x^2+1=(x+i)(x-i)\in (x^2+1)=I$ due to which, $x+i\in I$ or $x-i\in I.$
If $x+i\in I$ then $x+i=(x^2+1)p(x)$ for some $p(x)\in \Bbb C[x].$ Now, $p(x)\neq 0\implies \deg (p(x))+2=1,$ a contradiction. So, $x+i\notin I.$ Similarly, $x-i\notin I.$
This means, $(x^2+1)$ is not a prime ideal, again a contradiction. So, $\Bbb C[x]/(x^2+1)$ is not an integral domain.
However, when I approached in the following way, I found out that $\Bbb C[x]/(x^2+1)$ is supposed to be an integral domain:
Let $f:\Bbb C[x]\to \Bbb C$ such that $f(p(x))=p(i),\forall p(x)\in \Bbb C[x].$
Let $p(x),q(x)\in\Bbb C[x]$ then, $$f(p(x)+q(x))=f((p+q)(x))=(p+q)(i)=p(i)+q(i)=f(p(x))+f(q(x))$$ and $$f(p(x)q(x))=f(pq(x))=pq(i)=p(i)q(i)=f(p(x))f(q(x)).$$ Furthermore if $a+bi\in \Bbb C$ then $f(a+bx)=a+bi,$ where $a+bx\in\Bbb C[x].$ So, $f$ is an onto homomorphism.
Now, we see that if $p(x)\in (x^2+1)$ then $f(p(x))=p(i)=0\implies f(x)\in \ker(f)$. Next, if $p(x)\in\ker(f)$ then $f(p(x))=p(i)=0\implies x-i|p(x)\implies x+i|p(x)$ so, $x^2+1|p(x)\implies p(x)\in (x^2+1).$ Thus, $\ker f=(x^2+1).$
Hence, $\Bbb C[x]/(x^2+1)$ is isomorphic to $\Bbb C.$ But, $\Bbb C$ is an integral domain and so is, $\Bbb C[x]/(x^2+1).$
Both of the solution seems fine to me, but the conclusions I am arriving at, are different and this is absurd. I am in a big dilemma regarding which of the approach is the valid one. Both of the solutions can't be correct at the same time. So, I want to know the reason why the other approach is incorrect. Any help regarding this apparent issue will be greatly appreciated.
solution-verificationquestion to be on topic you must specify precisely which step in the proof you question, and why so. This site is not meant to be used as a proof checking machine. – Bill Dubuque Jun 04 '24 at 16:10