let
$f:[2,4] \to \mathbb{R}, f(x)= \sqrt{x} \cdot \log(x-1)$.
How can I check if $f$ is differentiable $\forall x \in (2,4)$ ?
The function is valid $\forall x \in (2,4)$ because $x+h > 0 \forall x \in (2,4),\quad h \to 0$ and $x+h-1 > 1 \forall x \in (2,4),\quad h \to 0$
$\begin{align} \lim_{h \to 0}\frac{f(x+h)-f(x)}{h} &= \lim_{h \to 0} \frac{\sqrt{x+h} \cdot \log(x+h-1)- \sqrt{x} \cdot \log(x-1)}{h} \\ \end{align}$
Question: How can I go on ? If I use L'Hopital's rule $h$ turns into $0$ in the denominator. So that step does not make any sense.
$$\frac{\sqrt x\log(x-1)-\sqrt{x_0}\log(x_0-1)}{x-x_0}=$$
$$=\frac{\sqrt x\log(x-1)-\sqrt{x_0}\log(x-1)+\sqrt{x_0}\log(x-1)-\sqrt{x_0}\log(x_0-1)}{x-x_0}=$$
$$\frac{\left(\sqrt x-\sqrt{x_0}\right)\log(x-1)+\sqrt{x_0}\log\frac{x-1}{x_0-1}}{x-x_0}=$$
$$=\left(\sqrt x+\sqrt{x_0}\right)\log(x-1)+\sqrt{x_0}\frac{\log\frac{x-1}{x_0-1}}{x-x_0}\xrightarrow[x\to x_0]{}2\sqrt{x_0}\log(x_0-1)+\frac{\sqrt{x_0}}{x_0-1}\frac{x_0-1}{x_0-1}=$$
$$=2\sqrt{x_0}\log(x_0-1)+\frac{\sqrt{x_0}}{x_0-1}$$