$f(x) = \left\{ \begin{array}{ll} \ln(\sin(x))-\ln(x) & \mbox{if } 0<x<\pi \\ 0 \\ \ln(-\sin(x)) - \ln(-x) & \mbox{if } -\pi<x<0 \end{array} \right.$
The function is continuous, I've already checked that out. My problem is that I can not find whether the derivative exists at $x=0$.
Using the derivative by definition i get $$\lim_{h\to 0} \frac{\ln(\sin(h))-\ln(h)}{h}$$ and find that difficult to resolve. Thanks
HINT
Note that
$$\frac{\ln(\sin h)-\ln h}{h}=\frac{\ln\left(\frac{\sin h}{h}\right)}{h}=\frac{\ln\left(1-\frac{h^2}6+o(h^2)\right)}{-\frac{h^2}6+o(h^2)}\frac{-\frac{h^2}6 +o(h^2)}{h}$$
and recall that as $x\to 0$ by standard limit $\frac{\log(1+x)}x \to 1$.