Recently, I tried to solve $\displaystyle\int x^{\ln(x)-1}\ln(x)\,\mathrm dx$ then I was stuck on this part (but not on the substitution).
My stuck was when I saw in the calculator, that it does this:
$$\displaystyle\int x^{\ln(x)-1}\ln(x)\,\mathrm dx$$ Prepare for Substitution: $$\int\frac{1}{x}\cdot e^{\ln^2(x)}\ln(x)\,\mathrm dx$$
My question is, how $x^{\ln(x)-1}\ln(x)=\dfrac{1}{x}\cdot e^{\ln^2(x)}\ln(x)=\dfrac{e^{\ln^2(x)}\ln(x)}{x}$?
$$ \begin{aligned} \because x^{\ln x-1} = & \frac{x^{\ln x}}{x} \\ = & \frac{e^{\ln \left(x^{\ln x}\right)}}{x} \\ = & \frac{e^{\ln x(\ln x)}}{x} \\ = & \frac{e^{\ln ^2 x}}{x}\\ \therefore x^{\ln x-1} \ln x=&\frac{e^{\ln ^2 x} \ln x}{x} \end{aligned} $$