TITLE: Distinct roots of $ax^2-bx+c=0$ in $(0,1)$, where $a,b,c\in \mathbb{Z}^+$
QUESTION [5 upvotes]: Question Statement:-
Let $a,b,c$ be positive integers and consider all the quadratic equations of the form $ax^2-bx+c=0$ which have two distinct real roots in $(0,1)$. Find the least positive integers $a$ and $b$ for which such a quadratic equation exist.


Attempt at a solution:-
Let $f(x)=ax^2-bx+c$. Now as the roots of $f(x)=0$ lie in $(0,1)$ hence $f(0)\cdot f(1)\gt0$.
$$D\gt0\implies b^2-4ac\gt0$$
$$f(0)=c \\ f(1)=a-b+c$$
As, $a,b,c\in\mathbb{Z}^+$, so
$$f(0)\ge1 \implies c\ge1\tag{1}$$
$$f(1)\ge1\implies a-b+c\ge1\tag{2}$$
$$f(0)\cdot f(1)\ge1\implies c(a-b+c)\ge1\implies c^2+(a-b)c-1\ge0\tag{3}$$
Now, for the quadratic inequality in $c$ that we obtained in $(3)$, for it to hold we get
$$D\le0\implies (a-b)^2+4\le0$$
The above inequality doesn't hold $\forall a,b \in \mathbb{Z}^+$.
After arriving at this conclusion I am kind of stuck on what to conclude from the above result or rather am I going in the right direction.
A little push in the right direction in the form of a hint or rather what should be the line of thought for attempting the question. Please don't write the solution, just the line of thought to arrive at the solution would be enough.

REPLY [2 votes]: Let $x_1, x_2$ be the two roots with $0\lt x_1\lt x_2\lt 1$. The graph of $f(x)=ax^2-bx+c$ is a parabola (with $a\gt 0$) whose vertex $V$ is given by $f\space'(x)=2ax-b=0$, i.e. $$V=\left(\dfrac{b}{2a},f\left(\dfrac{b}{2a}\right)\right)=\left(\dfrac{b}{2a},\dfrac{4ac-b^2}{4a}\right)$$ Because the roots are real we have $b^2-4ac\gt 0$, furthermore  $f(x)$ is decreasing for $x\lt\dfrac{b}{2a}$ and increasing for $x\gt\dfrac{b}{2a}$ so one has that both $f(0)$ and $f(1)$ are positive (since $f(0)\le0\Rightarrow x_1\lt0$ and $f(1)\le 0\rightarrow x_2\gt1$) It follows we have the conditions
$$\begin{cases}f(1)=0\iff a+c\gt b\\4ac\lt b^2\\f(0)=c\gt 0\end{cases}$$ we can use just $$\begin{cases}a+c\gt b\\4ac\lt b^2\end{cases}$$ from which we get directly $b\ge 3$. Taking the minimun value $c=1$ we find incompatibility for $b=3$ and $b=4$ but for $b=5$ we have
$$\begin{cases}a+1\gt b\\4a\lt b^2\end{cases}\Rightarrow 4\lt a\lt\frac{25}{4}\Rightarrow 4\lt a\le 6$$ so have solutions $$(a,b,c)=(5,5,1),(6,5,1)$$  and it is easily verified that the equations $5x^2-5x+1=0$ and $6x^2-5x+1=0$ have roots according to the proposed problem.
Thus the required minimun values of $(a,b)$ is $\color{red}{(5,5)}$.
It is a simple question to verify that for values of $c\gt1$ there are not solution for $b\lt5$, say $b=4$, because we would deduce $a\gt 3-h$ and $a\lt \dfrac{4}{1+h}\le 2$