Question : If $f(x) =5x^2 - 2kx + 1 < 0$ has exactly one integral solution, find the sum of all positive integral values of $k$.
My Attempt
Corresponding Equation of Inequality, $f(x) =5x^2 - 2kx + 1 = 0$. Let $\alpha,\beta$ be the roots. $f(x)<0$ for exactly one integral value of $x$.
Conditions Required
- $D>0 \\ 4k^2-20>0 \\k^2-5>0\\k \in(-\infty,-\sqrt5) \;\cup \;(\sqrt5,\infty) \qquad\text{(1)}$
- $|\alpha-\beta|\leq2 \\ |\frac{\sqrt D}a|\leq 2 \\\\ 2\frac{\sqrt{k^2-5}}{5}\leq2 \;\;\&\;\; 2\frac{\sqrt{k^2-5}}{5}\geq-2 \\\sqrt{k^2-5}\leq{5}\;\;\&\;\;\sqrt{k^2-5}\geq{-5}\\$
Solving we get $k\in[-\sqrt{30},\sqrt{30}]\qquad{(2)}\\$
and $k\in(-\infty,-\sqrt5] \; \cup \;[\sqrt5,\infty) \qquad\text{(3)}$
From $(1),(2),(3)$, we get $\boxed{k\in[-\sqrt{30},-\sqrt5) \; \cup \;(\sqrt5,\sqrt{30}]}$
Hence, sum of all positive integral values of $x$ is $3+4+5=12$
Issue: I think I have solved this problem correctly. But the answer at the back of my book is: $4+5=9$.
I mean, $\{3\}$ does not belong to the solution set, which I find strange. I might have made a mistake somewhere while solving it, but couldn't find it. I am just asking why $\{3\}$ does not belong to the solution set. Because it should, from what I see. Please help me with it. Thanks.

Just plot the thing for $k = 4$ and $k = 5$.(Use Desmos (https://www.desmos.com/calculator/g3r9safvji), for instance); you'll see that $x = 1$ is the sole integer solution in those two cases; for smaller $k$ there are no integer solutions; for larger $k$ there are at least two.
Those plots should let you see the error in your "solution".