Let
$$f:(-\frac{\pi}{2},\frac{\pi}{2}) \to \Bbb R$$ $$f(x)=-\ln(\cos (x))$$ Show that $$\left| f(x)-\frac{x^2}2 \right| \le \frac23\left| x^3 \right| \qquad x \in[-\frac{\pi}{4},\frac{\pi}{4}]$$
My attempt:
We have $\left| -\ln(\cos (x))-\frac{x^2}2 \right| \le \frac23\left| x^3 \right| \iff |\ln(\cos (x))+\frac{x^2}2\left| \le \frac23 \right|x^3| $
The first thing that comes to my mind is to show that $\cos(\alpha)\ge \frac{1}{\sqrt2}$ for $\alpha \in[-\frac{\pi}{4},\frac{\pi}{4}]$ (i)
After that, I would have to go on to show that $0 \ge \ln(\beta)$ for $\beta \in[\frac{1}{\sqrt2},1]$ (ii) which I also don't know how to prove.
Once that is done we have $$\left| \frac{x^2}2 \right| \le \frac23\left| x^3 \right|$$ and we are done.
So my question is: how can I go on about (i) and (ii)?
Thanks in advance.