1
$\begingroup$

I'm trying to prove that $\frac{x^2}{2} > x\cos x - \sin x$ for every $x\neq0$

$f(x) =\frac{x^2}{2} - x\cos x + \sin x $.

I need to prove that $f > 0 $ for every $x\neq 0$.

$f(0) = 0$.

$f'(x) = x(1+\sin x)$

for every $x > 0$,
$ f'(x) \geq 0$ and this means that $f$ is strictly growing in that interval meaning that for $x>0, f(x)>0$

However for negative values $f'(x)$ is not always positive. If so, how can I prove that $f >0 $ for those values as well?

  • 3
    If $x<0$, your $f'(x)\le 0$, which is exactly what you need.2017-02-16
  • 0
    Isn't it $f'(x)\le 0 \implies f(x) < f(0)$ for every $x < 0$? How is this what I need?2017-02-16
  • 1
    @S.Peter You have then that $f(0)x$,not the other way around.2017-02-16
  • 1
    You also may say proving it for $x>0$ is enough since the l.h.s. is an even function, whereas the r.h.s. is odd.2017-02-16

1 Answers 1

1

We have that $\frac{x\cos x-\sin x}{x^2}=\frac{d}{dx}\left(\frac{\sin x}{x}\right)$ is an odd function, hence in order to prove is is bounded by $\frac{1}{2}$ for any $x\in\mathbb{R}$ it is enough to show that its absolute value is bounded by $\frac{1}{2}$ for any $x\geq 0$. If $x\geq 0$ we have $\sin(x)\leq\min(x,1)$, hence $$ \forall t\geq 0,\qquad t\sin(t) \leq \min(t,t^2)\tag{1} $$ and by integrating both sides of $(1)$ over the interval $(0,x)$ we get: $$ \forall x\geq 1,\qquad \sin(x)-x\cos(x)\leq \frac{x^2}{2}-\frac{1}{6} \tag{2}$$ $$ \forall x\in[0,1],\qquad \sin(x)-x\cos(x)\leq \frac{x^3}{6}\tag{3} $$ It follows that over the interval $\left[0,\sqrt{\frac{7}{3}+2\sqrt{\frac{7}{3}}}\right]$ the function $f(x)=\frac{\sin x-x\cos x}{x^2} $ is positive and bounded by $\frac{1}{5}\left(3-\sqrt{\frac{3}{7}}\right)$. On the other hand, by the Cauchy-Schwarz inequality we have $\left|x\cos(x)-\sin(x)\right|\leq \sqrt{x^2+1}$, hence $$ \left|\frac{x\cos(x)-\sin(x)}{x^2}\right|\leq \frac{1}{5}\left(3-\sqrt{\frac{3}{7}}\right) \tag{4} $$ is trivial for any $x\geq \sqrt{\frac{7}{3}+2\sqrt{\frac{7}{3}}}$. This proves the slightly stronger inequality

$$ \forall x\in\mathbb{R},\qquad \frac{x\cos(x)-\sin(x)}{x^2}\leq \color{red}{\frac{1}{5}\left(3-\sqrt{\frac{3}{7}}\right)}=0.4690692658584\ldots\tag{5}$$