Exercise 2.5 says (in part): "Let $F$ be an irreducible polynomial in $k[X,Y]$ [$k$ algebraically closed], and suppose $F$ is monic in $Y$: $F = Y^n + a_1(X)Y^{n-1} + \cdots$, with $n>0$. Let $V=V(F)\subset\mathbb{A}^2$. Show that the natural homomorphism from $k[X]$ to $\Gamma(V) = k[X,Y]/(F)$ is one-to-one".
Surely this is not a sharp condition; for example, if $F=XY-1$, then $\Gamma(F) \cong k[X,1/X]$, and the natural homomorphism is one-to-one.
What is an example of an irreducible $F$ for which this statement does not hold? It seems to me that if some polynomial $g\in k[X]$ maps to zero in $\Gamma(V)$, then it must be a multiple of $F$, which never happens.