Let $f$ be a function defined by :
$$f(x)=x-\sqrt{x^2-x+1}$$
Show that: $$\forall x\in\mathbb{R},\quad f(x)<\dfrac{1}{2} $$ without use notion of différentiable
let $x\in\mathbb{R}$
\begin{aligned} f(x)-\dfrac{1}{2}&=x-\dfrac{1}{2}-\sqrt{x^2-x+1} \\ &=\dfrac{(x-\dfrac{1}{2})^2-|x^2-x+1|}{(x-\dfrac{1}{2})+\sqrt{x^2-x+1}}\\ &= \dfrac{-3/4}{(x-\dfrac{1}{2})+\sqrt{x^2-x+1}} \end{aligned}
i don't know if $(x-\dfrac{1}{2})+\sqrt{x^2-x+1} $ positive or negative for all x in R