Let $K$ be a field, and consider the polynomial ring $K[x,y]$. I want to show the followings:
$y \notin (x^2,xy,y^2)$
$x \notin (x^2,y)$
It seems that to show these, for example in 2, I should suppose $x \in (x^2,y)$ and derive a contradiction, but I have no idea to do this. Is there a straightforward argument to handle these kind of problems? Any hints will be appreciated.
For (2), every element of $(x^2, y)$ is of the form $x^2f + yg$. So set $x = x^2f+yg$. Note that $x \mid yg$, and since $x$ is prime, $x \mid g$. So we can write $g=xg'$. Now plug this into the original equation gives $x = x(xf+yg')$. Do you see what to do from here?