Evaluate $$\lim_{x \to 0^+ } x^{x^{x}} - x^x$$
This is a solved example in my text book but i do not think that the solution is quite correct.
They have essentially used the fact $\lim_{x\to0^+}x^x$ is 1 and used that to write the term to be evaluated as $$0^1 - 1$$ which gives an answer of -1 The graph indeed gives the limit at $0^+$ as -1.
BUT
We could have used $\lim_{x\to0^+}x^x$ to evaluate $\lim_{x \to 0^+ } x^{x^{x}} - x^x$ as $$1^0 - 1$$ which does not give the correct answer.
Is the book's method correct?