derivative of $\left| x^x \right|$ in the entire domain?

Solution 1:

Isn't the LHS of your function something like this? $$|(-x)^{-x}|=\left|-\left(\frac{1}{x}\right)^x\right|$$