Given a function $ |\sin (x)| $ over the interval $ [0, + \infty) $ we have to check whether the function is uniformly continuous or not ?
So I begin by letting $ |x-y| < \delta $ then if I consider $ | |\sin x|-|\sin y| | $ then by triangular inequality we have $$ | |\sin x|-|\sin y| | < |\sin x - \sin y| = 2 |\sin(\frac {x-y}{2}) \cos (\frac {x+y}{2})| < 2|\sin(\frac {x-y}{2})|$$
Hence if I choose a $\epsilon > 2 \sin(\frac {\delta}{2} ) $ I can assure $ | |\sin x|-|\sin y| | < \epsilon$.
Is my proof correct ? i want some clarity on this ! also I am open to new methods or hints if you have any !!
No, can't choose $\epsilon$ in terms of $\delta$, but you can rearrange your work and say that given $\epsilon>0$ then we can take $\delta=\epsilon$: for $|x-y|<\delta$, $$\begin{align}| |\sin x|-|\sin y| | &\leq |\sin x - \sin y| = 2 \left|\sin\left(\frac {x-y}{2}\right) \cos \left(\frac {x+y}{2}\right)\right| \\&\leq 2\left|\sin\left(\frac {x-y}{2}\right)\right| \leq |x-y|<\delta=\epsilon\end{align}$$ where we used the inequality $|\sin(t)|\leq |t|$ valid for any real $t$.
Hence $ |\sin (x)| $ is uniformly continuous over $\mathbb{R}$ (which include $[0, + \infty) $).