# Show $f(x)=\sqrt{x}$ is uniformly continuous on $[0,\infty)$ [duplicate]

Show $f(x)=\sqrt{x}$ is uniformly continuous on $[0,\infty)$

Let $\epsilon>0$, then there exists a $\delta=\epsilon^2$ such that $|x_1-x_2|<\delta$ for all $x_1,x_2\in[0,\infty)$.

\begin{align}|f(x_1)-f(x_2)|&=|\sqrt{x_1}-\sqrt{x_2}|\\&<\sqrt{|x_1-x_2|}\\&<\sqrt{\delta}\\&=\epsilon\end{align}

Can someone tell me where I did wrong? I don't see where the error is. Thanks

EDIT

From comment, people said the argument I have is right, I want to know how to show $|\sqrt{x_1}-\sqrt {x_2} |\leq\sqrt {|x_1-x_2|}$ is true.

## marked as duplicate by Jack, user91500, Ian Miller, BLAZE, draks ...Dec 10 '15 at 6:42

For $x,y\geq 0$, $$|\sqrt x - \sqrt y|^2 \leq |\sqrt x - \sqrt y||\sqrt x + \sqrt y|.$$
The only thing I see wrong is using $<$ instead of $\leq$ for $|\sqrt{x_1}-\sqrt{x_2}|\leq \sqrt{|x_1-x_2|}$.
• I am wondering how to show $|\sqrt {x_1}-\sqrt {x_2}|\leq \sqrt {|x_1-x_2|}$ is true – Simple Dec 10 '15 at 1:49