Suppose $x \in (0,\frac{\pi}{2})$
and we want to prove $$x<\frac{\sin x +\tan x}{2}$$I tried to prove it by taking $f(x)=\sin x+ \tan x -2x$ and show $f(x) >0 ,when\space x \in (0,\frac{\pi}{2})$ take f'$$f'=\cos x +1+\tan ^2 x-2\\=\tan^2 x-(1-\cos x)\\=\tan ^2 x-2sin^2(\frac x2)$$ I get stuck here ,because the last line need to be proved $\tan ^2 x>2sin^2(\frac x2) ,when\space x \in (0,\frac{\pi}{2})$
$\bf{Question}:$ Is there a geometrical method to prove the first inequality ? (or other idea)
Thanks in advance.
$\bf{Remark}: $I can see the function is increasing $when\space x \in (0,\frac{\pi}{2})$ like below :https://www.desmos.com/calculator/www2psnhmu



$$f=\sin (x)+\tan (x)-2 x\implies f'=\cos (x)+\sec ^2(x)-2$$ Now, using the tangent half-angle substitution, we have $$f'=\frac{t^2}{4}+\frac{2}{\sqrt{t^2+4}}-1$$ Squaring leads to $$f'=0 \qquad \text{if} \qquad -\frac{t^6}{16}+\frac{t^4}{4}+t^2=0$$ the real roots are $$t=\pm\sqrt{2 \left(1+\sqrt{5}\right)}$$ Considering the positive root then $$f'=0 \qquad \text{if} \qquad x=2\tan ^{-1}\left(\sqrt{2 \left(1+\sqrt{5}\right)}\right)\approx 2.39255$$ So, the derivative does not cancel in the interval and it is always non negative.
Funny would also be a Taylor expansion; up to any order, the coefficients are positive.