Question:
Evaluate the following integrals:
$\int \frac{\mathrm{e}^{\mathrm{x}}}{\mathrm{x}}\left\{\mathrm{x}(\log \mathrm{x})^{2}+2 \log \mathrm{x}\right\} \mathrm{dx}$
Solution:
Let $I=\int \frac{e^{x}}{x}\left\{x(\log x)^{2}+2 \log x\right\} d x$
$=\int e^{x}(\log x)^{2} d x+2 \int \frac{e^{x}}{x} \log x d x$
Using integration by parts,
$=e^{x}(\log x)^{2}-\int e^{x} \frac{d}{d x}(\log x)^{2}+2 \int \frac{e^{x}}{x} \log x d x$
$=e^{x}(\log x)^{2}-2 \int \frac{e^{x}}{x} \log x d x+2 \int \frac{e^{x}}{x} \log x d x$
$=e^{x}(\log x)^{2}+c$
Click here to get exam-ready with eSaral
For making your preparation journey smoother of JEE, NEET and Class 8 to 10, grab our app now.