Let $R$ be a ring and $R[x,y]$ be the ring of all polynomials in variables $x$ and $y$ with coefficients in $R$. Then I need to check whether the ideal $\langle x^2+1,y\rangle$ is maximal, prime in $R[x,y]$?
My understanding is that $\langle x^2+1,y\rangle$ is not maximal, as it is a proper subset of the ideals $\langle x^2+1\rangle$ and $\langle y\rangle$.
However I think it is a prime ideal if $R=\Bbb{R}$, and not prime if $R=\Bbb{C}$. Am I right? Then how do I show it?.
$\langle x^2+1, y \rangle$ is not a subset of $\langle y \rangle$ or of $\langle x^2+1 \rangle$. It's a superset of those.
In $\Bbb{C}[x,y]$ it is a proper subset of $\langle x+i, y \rangle$ and hence not maximal. It's also not prime since factoring out $\langle y \rangle$ maps it to the ideal $\langle x^2+1 \rangle$ in $\Bbb{C}[x]$, which is not maximal and therefore not prime since $\Bbb{C}[x]$ is a PID. (And therefore $\Bbb{C}[x,y]/\langle x^2+1,y \rangle \cong \Bbb{C}[x]/\langle x^2+1 \rangle$ which is not an integral domain.)
In $\Bbb{R}[x,y]$ it is both maximal and prime, since $\Bbb{R}[x,y]/\langle x^2+1,y \rangle$ is isomorphic to a field, namely $\Bbb{C}$.