Today I came across the inequality $$ \cos(\phi)\leq 1-\frac{2\phi^2}{\pi^2}\tag{1} $$ which holds for (actually, iff) $\phi\in[-\pi,\pi]$; this can be used, e.g., to show that for all $z\in\mathbb C\setminus\{0\}$ $$ \operatorname{Arg}(z)\leq \frac\pi2\left|\frac{z}{|z|}-1\right|\,. $$ I believe most calculus students would prove (1) by showing that the function \begin{align*} f:[0,\pi]&\to\mathbb R\\ \phi&\mapsto 1-\frac{2\phi^2}{\pi^2}-\cos(\phi) \end{align*} is non-negative. As $f$ is differentiable it attains its minimum either at the boundary or at a critical point. As $f(0)=0=f(\pi)$ it suffices to show that $f$ restricted to $(0,\pi)$ has no local minima -- this can be done via some basic, yet somewhat tedious calculations (e.g., "$\sin(\phi)=\frac{4}{\pi^2}\phi$ has exactly one solution in $(0,\infty)$, and this solution is in $(\frac{\pi}2,\pi)")$.
This seems overly complicated and it feels like there should exist a more "elegant" approach to this problem, but so far I could not come up with anything of sorts. For example similar inequalities can be cast into inequalities of certain integrals (e.g., here), but I was not yet able to cast the above problem into such a framework. Any comments and ideas are welcome!