Cardinality of the quotient ring $\mathbb{Z}[x]/(x^2-3,2x+4)$ [duplicate]

This problem is from a practice exam I was working on.

What is the cardinality of the quotient $\mathbb{Z}[x]/(x^2-3,2x+4)$ ?

Thoughts. If I find a ring that is easier to handle then this then I can go from there. So I think this is isomorphic to $\mathbb{Z}_2[x]/(x^2-3,x+2)$. And then I am stuck.

Am I correct so far? What should I be looking to do from here?

Thanks for your time and your answers.


Solution 1:

Your start is good as long as you can show that $2\in(x^2-3,2x+4)$. Fortunately this is the case: $x(2x+4)-2(x^2-3)=4x+6$ and $2(2x+4)-(4x+6)=2$. (Actually one can show that $(x^2-3,2x+4)=(x^2+1,2)$.) So $$\mathbb{Z}[x]/(x^2-3,2x+4)\simeq \mathbb{Z}_2[x]/(x^2+1)$$ and this ring has $4$ elements.

Solution 2:

A slight modification of YACP's answer:

If a ring contains an element $x$ satisfying $x^2=3$ and $2x=-4$, then we get $6=2x^2=-4x=8$, hence $2=0$, and the second relation becomes superflous. This shows that $\mathbb{Z}[x]/(x^2-3,2x+4)=\mathbb{Z}/2[x]/(x^2-3)$.

I just want to emphasize that you don't have to come up with clever linear combinations of the generators of the ideal. Just compute inside the quotient ring!

(In fact, as usual, you can also see this as an application of the Yoneda Lemma: The algebraic manipulations above show that $\hom(\mathbb{Z}[x]/(x^2-3,2x+4),-) \cong \hom(\mathbb{Z}/2[x]/(x^2-3),-)$.)