Which of the following rings are integral domains? Which ones are fields?
(a) $\mathbb{Z}[x]/(x^2 + 2x +3)$
(b) $\mathbb{F}_5[x]/(x^2+x+1)$
(c) $\mathbb{R}[x]/(x^4+2x^3 +x^2 +5x+2)$
For (a), $p(x) = x^2 + 2x + 3$ has no zero in $\mathbb{Z}$, so it is irreducible. This means $p(x)$ is maximal, and then $\mathbb{Z}[x]/p(x)$ is a field, also an integral domain.
Similarly in (b), $x^2+x+1$ has no zero in $\mathbb{F}_5$, so $\mathbb{F}_5[x]/(x^2+x+1)$ is a field, also an integral domain.
For the part (c), I think $x^4 + 2x^3 +x^2 +5x+2$ is irreducible, but I don't know how to prove it.
Also, I am not sure about the way I prove the first two parts is correct or not. So could you please help me to figure it out? Thank you!!!
(a) In a UFD (like $\mathbb Z[x]$) the irreducible elements are prime (see here), and prime elements generate prime ideals. In your case, $p(x)=x^2+2x+3$ is irreducible in $\mathbb Z[x]$, so it generates a prime ideal. This shows that the factor ring $\mathbb Z[x]/(x^2+2x+3)$ is an integral domain. However, it's not a field since the ideal $(x^2+2x+3)$ is not maximal: we have $$(x^2+2x+3)\subsetneq(x^2+2x+3,5)\subsetneq\mathbb Z[x].$$
(b) $\mathbb F_5[x]/(x^2+x+1)$ is an integral domain for similar reasons. But $\mathbb F_5[x]$ is a PID (which is not the case with $\mathbb Z[x]$), and in a PID a non-zero prime ideal is maximal; see here.
(c) $\mathbb{R}[x]/(x^4+2x^3 +x^2 +5x+2)$ can't be an integral domain because the polynomial $x^4+2x^3 +x^2 +5x+2$ is reducible over $\mathbb R$ (why?), so the ideal it generates is not prime.