Let $A$ be a Noetherian domain of dimension 1 with infinitely many maximal ideals. Let $f \in A[y]$. Show that $(f)$ is not a maximal ideal of $A[y]$.
Since $A$ is noetherian, Krull dimension of $A[y]$ is 2, so not every prime ideal is maximal. For an arbitrary field $k$, also the ideal of $k[x,y]$ generated by $f$, where $f \in$ $k[x,y]$ is any non constant polynomial, is not maximal. Any idea for the proof ? Thanks