I am trying to figure out whether $\mathbb{Z}[\sqrt{-11}]$ is a unique factorization domain. A hint provided is to "Consider for example the irreducibility of 2 and the primality of the ideal (2)". I assume that we will have to use the fact that in UFD's, irreducible elements generate (nonzero) prime ideals, and that the converse holds too.
So I first want to check whether 2 is irreducible and I set : $2=(a+b\sqrt{-11})(c+d\sqrt{-11})=(ac-11bd)+(ad+bc)\sqrt{-11}$ which implies that: $2=ac-11bd$ and $0=ad+bc$.
From there, I don't exactly see how to proceed in a smarter way than just trying out numbers for a,b,c and d.
Then I want to check whether the ideal generated by 2 is prime: An element in $(2)$ is of the form $2(x+y\sqrt{-11})$. Let two elements in our ring be such that their product is in $(2)$. We want to show that at least one of these elements must be in $(2)$ for the ideal to be prime.
$(p+q\sqrt{-11})(r+s\sqrt{-11})=2(x+y\sqrt{-11})$ implies that : $pr-11sq=2x \:\text{and}\: ps+qr=2y$.
Again, I don't see how to proceed from there. I'd be grateful for some insight on this!
This ring is not a U.F.D. because U.F.D.s are integrally closed, and as $-11\equiv 1\mod 4$, the integral closure of $\mathbf Q(\sqrt{-11})$ is $$\mathbf Z\biggl[\dfrac{1+\sqrt{-11}}2\biggr].$$