I need help with this integral,
$$\int \ln(x^2 e^x)\, dx $$
What I have:
I know ,that I can not integer $\ln$ so I rewrite it like this:
$$\int 1 \ln(x^2 e^x)\, dx = \left| \begin{array}{cc} u=\ln(x^2 e^x) & v'=\frac{1}{x^2 e^x} \\ u'=1 & v=x \end{array} \right| = x\ln(x^2 e^x)- \int \frac{1}{x^2 e^x}x = ?$$
Now I am not sure what to do.
The result is:
$$2 (x\ln x -x)+\frac{1}{2}x^2 + C $$
Thank you very much.