I've the function ($A>1$ is a real positive variable; $F= \lfloor A \rfloor$ and $F \ge 1$ because $A>1$):
$$ U = \frac {F + (A - F)^2 } {A} $$
How can I minimize that function? In my old notes about this, the procedure is: (i) choose $F=1$ (why?); (ii) do the derivative $dU/dA$; (iii) replace the right value of A in U.
Thank you in advance.
We can do this elementary, without calculus. We want to minimize the function $ f: (1,\infty) \to \mathbb{R} $ with
$$ f(x)=\frac{\lfloor x \rfloor+(x-\lfloor x \rfloor)^2}{x} $$
Notice that $ \lfloor x \rfloor \geq 1 $ and using AM-GM:
$$ \begin{aligned} \frac{\lfloor x \rfloor+(x-\lfloor x \rfloor)^2}{x} &= \frac{x^2+\lfloor x \rfloor+\lfloor x \rfloor^2-2x\lfloor x \rfloor}{x}\\ &\geq \frac{2x\sqrt{\lfloor x \rfloor+\lfloor x \rfloor^2}-2x\lfloor x \rfloor}{x}\\ &=2\left(\sqrt{\lfloor x \rfloor+\lfloor x \rfloor^2}-\lfloor x \rfloor\right)\\ &=\frac{2\lfloor x \rfloor}{\sqrt{\lfloor x \rfloor+\lfloor x \rfloor^2}+\lfloor x \rfloor}\\ &=\frac{2}{\sqrt{\frac{1}{\lfloor x \rfloor}+1}+1}\\ &\geq \frac{2}{\sqrt{1+1}+1}\\ &=2(\sqrt{2}-1) \end{aligned} $$
This value is attained when $ \lfloor x \rfloor = 1 $ and $ x^2=\lfloor x \rfloor+\lfloor x \rfloor^2=2 $ which gives $ x=\sqrt{2} $.