Showing that the polynomial $Y^2+X^2(X-1)^2$ is irreducible 
How to show that the polynomial $Y^2+X^2(X-1)^2$ is irreducible in $\mathbb R[X,Y]$? 

I tried to show that $\mathbb R[X,Y]$ modulo this ideal is an integral domain but I cannot find any homomorphism.
 A: It is helpful to think of this polynomial not as an element of $\mathbb{R}[X,Y]$, but as an element of $A[Y]$, where $A=\mathbb{R}[X]$.  That is, we consider it as a polynomial only in $Y$, with polynomials in $X$ as coefficients.  Now suppose we had a factorization $Y^2+X^2(X-1)^2=f(X,Y)g(X,Y)$.  Then as polynomials in $Y$, the degrees of $f$ and $g$ must add to $2$, and their leading coefficients must multiply to $1$.  The only units in $A$ are constants, so we may multiply $f$ and $g$ by constants to assume they are both monic.  If either $f$ or $g$ has degree $0$, then it is just $1$, so we have the trivial factorization.  The only other possibility is that they both have degree $1$.  This means we have $f(X,Y)=Y+f_0(X)$ and $g(X,Y)=Y+g_0(X)$ for some $f_0(X),g_0(X)\in A$.  So we must have $$Y^2+X^2(X-1)^2=(Y+f_0(X))(Y+g_0(X))=Y^2+(f_0(X)+g_0(X))Y+f_0(X)g_0(X).$$
Thus $g_0(X)=-f_0(X)$ and $-f_0(X)^2=X^2(X-1)^2$.  But no such $f_0(X)$ exists (for instance, the leading coefficient of the left-hand side must be negative but the leading coefficient of the right-hand side is $1$).
