Show that $$f(x)=\cos x-\sin x$$ is bounded.
We know that $$-1\le\cos x\le1\\{-1}\le\sin x\le1,$$ so I tried to subtract these two inequalities, but it seems that it doesn't work as we get: $$0\le\cos x-\sin x\le0$$ I also noticed: $f(x)=\cos x-\sin x\ge\cos x-(-1)=\cos x+2$ and $f(x)=\cos x-\sin x\ge\cos x - 1$.
In this way you can find "exact bound" (least upper bound) $$\cos(x)-\sin(x)=a$$ $$\frac{\cos(x)}{\sqrt{2}}-\frac{\sin(x)}{\sqrt{2}}=\frac{a}{\sqrt{2}}$$ $$\cos\left(\frac{\pi}{4}\right)\cos(x)-\sin\left(\frac{\pi}{4}\right)\sin(x)=\frac{a}{\sqrt{2}}$$ $$\cos\left(\frac{\pi}{4}+x\right)=\frac{a}{\sqrt{2}}$$ $$a=\sqrt{2}\cos\left(\frac{\pi}{4}+x\right)$$ $$-\sqrt{2} \leq a \leq\sqrt{2} $$