Is there a polynomial f with integer coefficients that satisfies the following criteria:
- f is not constant;
- for all $x\in[0,1]$, $1-\frac{1}{x}\leq f(x)\leq \frac{1}{x}$;
- For all $x\in [1,4]$, $0\leq f(x)\leq 1$.
Is there a polynomial f with integer coefficients that satisfies the following criteria:
Set $g(x)=x\cdot(f(x)-\frac{1}{2})$. Then the maximum of $\lvert g(x)\rvert$ on $[0,4]$ is at most $2$. From David Speyer's answer of a similar question and the reference given there, it should follow that $g(x)=2T_n(\frac{x}{2}-1)$, where $T_n$ is the Chebyshev function of degree $n$, and $n$ is the degree of $g$. However, $g(0)=0$, while $-1$ is not a root of $T_n$. So there is no such $f$.