I am trying to prove that $K[x,y]$ is not principal, $K$ a field.
I have taken in consider the polynomial $I=\langle x,y \rangle$. If $I$ is principal, then $I=\langle d\rangle$, for $d \in K[x,y]$. But in this case $d$ is a unit, it contains $1$ and hence $\langle d\rangle=K[x,y]$.
Now I have to show that $\langle d\rangle$ is distinct from $\langle x,y \rangle$. I think to prove this by showing that the polynomial $1$ does not lie in $\langle x,y \rangle$. If $1$ lies in $\langle x,y \rangle$, then $1=px+qy$, for some $p, q \in K[x,y]$, but I cannot arrive at a contradiction.
Would you help me, please? Thank you in advance.