Prove that for all $x\neq 0$, $f(x)=\frac{1}{1+|x|}$ is differentiable, and that for $x=0, f$ is not differentiable.
My attempt: Using the definition of differentiability, $\lim_{h\rightarrow 0}\frac{f(x+h)-f(x)}{h}=\lim_{h\to 0}\frac{|x|-|x+h|}{h(1+|x+h|)(1+|x|)}$. However I'm not sure where to go from here.
On $\Bbb R\setminus\{0\}$, $f$ is the quotient of two differentiable functions, and therefore it is differentiable there.
On the other hand$$\lim_{x\to0^+}\frac{\frac1{1+|x|}-1}x=\lim_{x\to0^+}\frac1{1+|x|}\cdot\frac{|x|}x=1,$$whereas$$\lim_{x\to0^-}\frac{\frac1{1+|x|}-1}x=\lim_{x\to0^-}\frac1{1+|x|}\cdot\frac{|x|}x=-1.$$Therefore, $\lim_{x\to0}\frac{\frac1{1+|x|}-1}{x-1}$ doesn't exist, which means that $f$ is not differentiable at $0$.