Suppose $A \subset B$ are integral domains, and $f = b_0 + b_1 x + \ldots + b_m x^m$, where $b_k \in B$. Is it true that if $f$ is integral over $A[x]$ then all the coefficients $b_k$ are integral over $A$?
Note that the other way is obvious, i.e. if all the coefficients $b_k$ are integral over $A$, then $f$ is integral over $A$ (e.g. see the proof here).
Below are some observations that I made.
Since $f$ is integral we have $f^n + f_{n-1} f^{n-1} + \dots + f_0 = 0$, $f_k \in A[x]$.
- Plugging in $0$ we immediately obtain that $b_0$ is integral over $A$. Hence $f - b_0$ is integral over $A[x]$.
- Similarly plugging in $1$ we obtain that $b_0 + \dots + b_m$ is integral over $A$.
- Expanding $f^n$, it's clear that coefficient in front of $x^{kn}$ has the form $b_k ^ n + $ (terms of lower degree in $b_k$). The coefficient in front of $x^{kn}$ coming from $f_l f^l$ will be homogenous polynomial in $\{b_k\}$ of degree $l$. Thus equating the coefficient to zero from our original expression will give us a monic polynomial in all the other coefficients which vanishes at $b_k$.
Edit: see here for the definition of integral element. In particular, a polynomial $f \in B[x]$ is integral over $A[x]$ if there exist polynomials $f_0, \ldots, f_{n-1} \in A[x]$ such that $f^n + f_{n-1} f^{n-1} + \dots + f_0 = 0$