I'm reading some notes about coordinate rings. On the third example on the second page, the author notes that the coordinate ring $K[\mathcal{C}]$ is not a UFD.
If $f=X^2+Y^2-1$, then in $K[\mathcal{C}]$, we have $$ Y^2+(f)=(1-X)(1+X)+(f) $$ but the elements $Y+(f)$, $1+X+(f)$ and $1-X+(f)$ are irreducible.
Is there a reason that it is clear that these three elements are irreducible?
Writing $Y+(f)=g(X,Y)h(X,Y)+(f)$ and trying to verify one of $g+(f)$ or $h+(f)$ is a unit is getting a little hairy.
At least $Y$ is not irreducible if there is some $i\in K$ such that $i^2=-1$. We have $$K[\mathcal C]\cong K[\cos \theta,\sin \theta]\cong K[e^{ix},e^{-ix}]\cong K[t,t^{-1}]$$ via the maps $$X\mapsto \cos\theta\mapsto \frac{e^{ix}+e^{-ix}}{2}\mapsto \frac{t+t^{-1}}{2}$$ $$Y\mapsto \sin\theta\mapsto \frac{-ie^{ix}+ie^{-ix}}{2}\mapsto \frac{-it+it^{-1}}{2}$$
Note that $Y\mapsto \frac12(-it+it^{-1})$ is irreducible iff $2i\cdot \frac12(-it+it^{-1})=t-t^{-1}$ is. But $t-t^{-1}=(1+t^{-1})(t-1)$, and neither of these are units since the units of $K[t,t^{-1}]$ are of the form $at^n$ with $a$ nonzero and $n\in\mathbb Z$. In $K[\mathcal C]$ this factorization looks like:
$$(X-iY+1)(X+iY-1)=2iY+(X^2+Y^2-1)$$