Prove that the equation $\cos x - x -1/2 = 0$ has a unique real solution.
My solution: I was starting with a function $F(x) = \cos x - 1/2$ and the interval $[0,\pi/4]$ and trying to show that the fixed point theorem is applicable here. If I can find this solution to a few decimal places then I have shown that there is unique real solution. However, I am having some trouble applying the Fixed Point Theorem to $F(x)$. Any help would be greatly appreciated.
An other way
Let $f(x)=\cos(x)-\frac{1}{2}$. $$|f(x)-f(y)|=|\cos(x)-\cos(y)|.$$ Using the mean value theorem, we can show that $$|\cos(x)-\cos(y)|\leq \frac{\sqrt 2}{2}|x-y|$$
and thus $f$ is a contraction mapping. By Banach fixe point theorem, $f$ has a unique fix point, and thus, there is a unique $x$ such that $f(x)-x=0$ what prove the claim.
ADDED :
By mean value theorem, there is a $c=c_{x,y}\in]0,\pi/4[$ such that $$\cos(y)-\cos(x)=-\sin(c)(y-x)\implies -|\sin(c)||y-x|\leq \cos(y)-\cos(x)\leq |\sin(c)||y-x|\implies |\cos(x)-\cos(y)|\leq |\sin(c)||y-x|\leq \sin(\pi/4)|y-x|=\frac{\sqrt 2}{2}|y-x|.$$