Given $a < \dfrac{\pi} {2}$. If $M < 1$ with $|\cos x - \cos y| \leq M|x-y|$ for every $x, y \in [0,a]$, then compute the value of $M$
I have no idea to approach this problem (come from real analysis olympiad in my state) , but my friend said that we should use intermediate value theorem in real analysis. Too bad I don't have much experience to apply that theorem. Could you help me? Regards.