Evaluate the following integrals:
$\int \mathrm{e}^{x}\left(\log x+\frac{1}{x^{2}}\right) d x$
Let $I=\int e^{x}\left(\log x+\frac{1}{x^{2}}\right) d x$
$=\int e^{x}\left(\log x+\frac{1}{x}-\frac{1}{x}+\frac{1}{x^{2}}\right) d x$
$=\int e^{x}\left(\log x-\frac{1}{x}\right) d x+\int e^{x}\left(\frac{1}{x}+\frac{1}{x^{2}}\right) d x$
Using integration by parts,
$=e^{x}\left(\log x-\frac{1}{x}\right)-\int e^{x} \frac{d}{d x}\left(\log x-\frac{1}{x}\right) d x+\int e^{x}\left(\frac{1}{x}+\frac{1}{x^{2}}\right) d x$
$=e^{x}\left(\log x-\frac{1}{x}\right)-\int e^{x}\left(\frac{1}{x}+\frac{1}{x^{2}}\right) d x+\int e^{x}\left(\frac{1}{x}+\frac{1}{x^{2}}\right) d x$
$=e^{x}\left(\log x-\frac{1}{x}\right)+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.