I am asked if the ideal $I = \left \{ \left ( x,7y \right ): x,y \in \mathbb{Z} \right \}$ of a ring R= $\mathbb{Z}\oplus \mathbb{Z}$ is a prime ideal.
Looking at the factor ring, $\mathbb{Z}\oplus \mathbb{Z} / I $, there exists zero-divisors;
in particular $\left ( x_{1},0 \right ) and \left ( 0,y_{2} \right ) \in \mathbb{Z}\bigoplus \mathbb{Z} \forall$ $x_{1}, y_{2}$ non-zero.
Hence, there exists a zero-divisor and hence the factor ring is not an integral domain and so the ideal $I$ is not prime.
However, my solution says the factor ring is an integral domain.
Am I wrong or is my solution wrong?
Note that the zero element of $\mathbb{Z}\oplus \mathbb{Z} / I $ is $I=0+I.$
Let $$((x_1,y_1)+I)((x_2,y_2)+I)=0+I$$ Then $$(x_1x_2,y_1y_2)\in I$$ Thus $$7\mid y_1y_2$$ As $7$ is prime, therefore $7 \mid y_1$ or $7 \mid y_2$. Hence, $(x_1,y_1) \in I$ or $(x_2,y_2)\in I$.
So, $(x_1,y_1)+I = 0 + I$ or $(x_2,y_2)+I=0+I$. So, $\mathbb{Z}\oplus \mathbb{Z} / I $ is an integral domain.