Let $a,b,c$ be integers and suppose the equation $$f(x) = ax^2 + bx + c = 0$$ has an irrational root $r$ . Let $u=\dfrac{p}{q}$ be any rational no. such that $|u-r|<1$.
Prove that $$\dfrac{1}{q^2} ≤ |f(u)|≤ K|u-r|$$ for some constant $K$ . Deduce that there is a constant $M$ such that $\bigl|r\dfrac{p}{q}\bigr| ≥ M/q^2$.
This task is to prove one elementary statement about Diophantine approximation.
If $f(x)$ is an univariate polynomial of degree $d$ with integer coefficients, $r$ an irrational root and $u=\frac pq$, $p,q\in \Bbb Z$, $q>0$, with $|r-u|<1$ not itself a root, then $$ q^df(u) $$ is a non-zero integer, and thus $$ \frac1{q^d}\le|f(u)|=|f(u)-f(r)|=|u-r|\,|f'(r+\theta(u-r))| $$ Let $K$ be a bound on the first derivative, $|f'(x)|\le K$ on the interval $x\in [r-1,r+1]$, then $$ |u-r|\ge \frac1{K\,q^d} $$ is a result by Liouville around 1840.