I would like to prove that Taylor series of $\cos x$ is greater or equal than $\cos x$ when $|x| \le 1$: $$1-\frac12x^2+\frac1{24}x^4 \ge \cos x$$ I tried to think taking the as a function $g(x) = \cos x - \left(1-\frac12x^2+\frac1{24}x^4\right)$ and showing that is $> 0$, but I don't know how. Some help?
I also though at the Lagrange remainder. It should be: $$-\frac{\cos(c)}{6!}x^6$$ and it should be always negative for $x \in [-1,1]$. therefore this would prove that $\cos x$ is $\le$ than the Taylor expansion. is it right? And returning to the previous approach, how could I prove it?
There's actually a part of the Leibniz Alternating Series Test that gives you this for free. When we have a positive sequence $a_n$ approaching $0$ monotonically, then $$\sum_{n=0}^\infty (-1)^n a_n$$ converges to some finite $L$. Moreover (and this is the interesting bit), $$\left|\sum_{k=0}^n (-1)^k a_k - L\right| \le a_{k+1}.$$ In other words, each partial sum is sufficiently close to the limit that adding the next term will be an over-correction. It means that each partial sum will alternate being lesser or greater than $L$. That is, \begin{align*} a_0 &\ge L \\ a_0 - a_1 &\le L \\ a_0 - a_1 + a_2 &\ge L \\ a_0 - a_1 + a_2 - a_3 & \le L, \end{align*} etc.
In our case, the Taylor series for $\cos$ is $$\sum_{n=0}^\infty (-1)^n\frac{x^{2n}}{(2n)!}.$$ When $|x| \le 1$, note that $\frac{x^{2n}}{(2n)!}$ is a monotone decreasing sequence converging to $0$. Thus, we can say that the third partial sum, $$1 - \frac{x^2}{2} + \frac{x^4}{24}$$ is greater than or equal to the limit $\cos(x)$.