I'm studing the ring of formal series with complex coefficients $\mathbb{C}[[x]]$. I proved that the polynomial $y^2-x^3-x^2$ is irreducible in $\mathbb{C}[x,y]$ but reducible in $\mathbb{C}[[x,y]]$. In fact we can factorize $y^2-x^2(x+1)$. So if we take $u=x\sqrt{x+1}=x(1+1/2x^2-1/8x^3+\cdots)$ we can write $(y-u)(y+u)$.
But sometimes these polynomials can't be factorized in $\mathbb{C}[[x,y]]$, because geometrically are cusps.
Is there a method to classify the polynomials that correspond to ''irreducible series''? If not, could you give some examples?