Somewhere I saw that
To show that $x^2-y^3$ is irreducible in $k[x,y]$ it suffices to show that $x^2-y^3$ is irreducible in $k(y)[x]$.
My question is what is the relation between $k[x,y]$ and $k(y)[x]$ ?
Also there is a confusion that if $k(y)$ is the smallest field containing $y$ and $k$ (by definition) then what will be the inverse of $y?$ Is it $1/y$ ?
To answer the question in the title, the two rings are different because $y$ has an inverse in $k(y)[x]$ but not in $k[x,y]$.