How to prove that $g(x) = \sqrt{x}, x\in [0, \infty]$ is differentiable?
Is my proof correct?
Let $x_0 \in [0, \infty]$.
$ \begin{align} \lim_{h \downarrow 0} \frac{g(x_0 + h) - g(x_0)}{h} &= \lim_{h \downarrow 0} \frac{\sqrt{x_0 + h} - \sqrt{x_0}}{h} \\ &= \lim_{h \downarrow 0} \frac{ \sqrt{x_0} - \sqrt{x_0} }{h} \\ &= 0 \\ &= \lim_{h \uparrow 0} \frac{ \sqrt {x_0 + h} - \sqrt{x_0}}{h} \\ &= \lim_{h \uparrow 0} \frac{g(x_0 + h) - g(x_0)}{h} \\ \end{align}$
Yes, but you need $x>0$ and to continue: $$\lim_{h\rightarrow0^+}\frac{\sqrt{x+h}-\sqrt{x}}{h}=\lim_{h\rightarrow0^+}\frac{(\sqrt{x+h}+\sqrt{x})(\sqrt{x+h}-\sqrt{x})}{h(\sqrt{x+h}+\sqrt{x})}=$$ $$=\lim_{h\rightarrow0^+}\frac{x+h-x}{h(\sqrt{x+h}+\sqrt{x})}=\lim_{h\rightarrow0^+}\frac{h}{h(\sqrt{x+h}+\sqrt{x})}=\frac{1}{2\sqrt{x}}.$$