/ 2 \
|-1 + x| |/|-1 + x| \ |-1 + x| 2*sign(-1 + x) |
x *||-------- + log(x)*sign(-1 + x)| - -------- + -------------- + 2*DiracDelta(-1 + x)*log(x)|
|\ x / 2 x |
\ x /
$$x^{\left|{x - 1}\right|} \left(\left(\log{\left(x \right)} \operatorname{sign}{\left(x - 1 \right)} + \frac{\left|{x - 1}\right|}{x}\right)^{2} + 2 \log{\left(x \right)} \delta\left(x - 1\right) + \frac{2 \operatorname{sign}{\left(x - 1 \right)}}{x} - \frac{\left|{x - 1}\right|}{x^{2}}\right)$$
/ 3 \
|-1 + x| |/|-1 + x| \ 3*sign(-1 + x) 2*|-1 + x| /|-1 + x| \ / |-1 + x| 2*sign(-1 + x) \ 6*DiracDelta(-1 + x)|
x *||-------- + log(x)*sign(-1 + x)| - -------------- + ---------- + 2*DiracDelta(-1 + x, 1)*log(x) + 3*|-------- + log(x)*sign(-1 + x)|*|- -------- + -------------- + 2*DiracDelta(-1 + x)*log(x)| + --------------------|
|\ x / 2 3 \ x / | 2 x | x |
\ x x \ x / /
$$x^{\left|{x - 1}\right|} \left(\left(\log{\left(x \right)} \operatorname{sign}{\left(x - 1 \right)} + \frac{\left|{x - 1}\right|}{x}\right)^{3} + 3 \left(\log{\left(x \right)} \operatorname{sign}{\left(x - 1 \right)} + \frac{\left|{x - 1}\right|}{x}\right) \left(2 \log{\left(x \right)} \delta\left(x - 1\right) + \frac{2 \operatorname{sign}{\left(x - 1 \right)}}{x} - \frac{\left|{x - 1}\right|}{x^{2}}\right) + 2 \log{\left(x \right)} \delta^{\left( 1 \right)}\left( x - 1 \right) + \frac{6 \delta\left(x - 1\right)}{x} - \frac{3 \operatorname{sign}{\left(x - 1 \right)}}{x^{2}} + \frac{2 \left|{x - 1}\right|}{x^{3}}\right)$$