Question:
Find $\lim\limits_{x \to \infty} \sqrt{\ln(x)} - \sqrt{\ln(x)-\ln(\ln(x))}$
For some independent work I would like to analyse this limit. Graphing it, I observe that the function reaches a unique global maximum. Examining the derivative I obtain that this holds when $$x^2 = \ln(x) \exp[(\ln(x)-1)^2]$$
But to obtain a closed form expression for $x$ seems not easy. And even if I prove this, it still doesn't help to compute the limit which is what I am really interested in. I also tried factoring $\sqrt{\ln(x)}$ and using L'Hopital but it didn't help much.
I guess we can also just inspect $\sqrt{y} - \sqrt{y - \ln(y)}$ to understand what is really happening.
Your limit is the same as the limit of $g(x) = \sqrt{x} - \sqrt{x - \ln(x)}$.
Let $x > 1$:
$\begin{align*} g(x) &= g(x) \cdot \frac{\sqrt{x} + \sqrt{x - \ln(x)}}{\sqrt{x} + \sqrt{x - \ln(x)}} = \frac{\sqrt{x}^2 - \sqrt{x - \ln(x)}^2}{\sqrt{x} + \sqrt{x - \ln(x)}} = \frac{x - (x - \ln(x))}{ \sqrt{x} \left(1 + \sqrt{1 - \frac{\ln(x)}{x}}\right)}\\ &= \frac{\ln(x)}{\sqrt{x}}\cdot \frac{1}{ 1 + \sqrt{1 - \frac{\ln(x)}{x}}} \sim \frac{\ln(x)}{2\sqrt{x}} \longrightarrow 0 \end{align*} $
You even have $f(x) = g\circ \ln (x) \sim \frac{\ln(\ln(x))}{\sqrt{\ln(x)}}$, it seems hard to do better, you would have to develop $\sqrt{1 - \frac{\ln(x)}{x}}$ in Taylor series of order $1$.
In similar case where you want to study the behavior of $k(x) = f(g(x)) - f(g(x) - h(x)) $ where $h = o(g)$ in $\infty$, you would like to think about the derivative, indeed, if $f$ is differentiable, you will have $$K(x) \sim f'(g(x)) \cdot h(x)$$ Which here with $f(x) = \sqrt{x}$, $g(x) = \ln(x)$, $h(x) = \ln(\ln(x))$, works perfectly.