The value of the integral $\int e^x\left(\frac{1}{x}-\frac{1}{x^2}\right) d x$ is :
Answer & explanation
Correct answer: option 1
$I = \int e^x\left(\frac{1}{x}-\frac{1}{x^2}\right) d x$
this of the type
$\int e^x (f(x) + f'(x)) dx = e^x f(x) + C$
here $f(x) = \frac{1}{x}~~~~~~f'(x) = \frac{1}{x^2}$
$I = \frac{e^x}{x}+C$