For $x>0$, why is $$\cos{x}\gt1-\frac{x^2}{2!}+\frac{x^4}{4!}-\frac{x^6}{6!}$$ and $$\sin{x}\lt x-\frac{x^3}{3!}+\frac{x^5}{5!}.$$
Or in general, how do I know that
$$\cos{x}\gt 1-\frac{x^2}{2!}+\cdots + \frac{x^{4n}}{(4n)!}-\frac{x^{4n+2}}{(4n+2)!}$$
If $0\le x\le\dfrac\pi 2$, this results from Leibniz'criterion for alternating series: if an alternating series $\sum a_n$ is such that $\lvert a_n\rvert$ decreases to $0$ , then it converges. Furthermore, if $L$ is the sum of the series, $$\biggl\lvert\sum_{n=0}^N a_n-L\biggr\rvert\le\lvert a_{n+1}\rvert ,$$ and $(\sum_{n=0}^N a_n)-L$ and $a_{n+1}$ have the same sign.