\( \int e^x\left(\log x+\displaystyle\frac{1}{x^2}\right)dx \) is equal to: ( consider \( \log x=\log_e x \) )
[\( C \) is an arbitrary constant]
Answer & explanation
Correct answer: option 3
The correct answer is Option (3) → \( e^x\left(\log x-\displaystyle\frac{1}{x}\right)+c \)
The standard result is \( \int e^x\big(f(x)+f'(x)\big)\,dx=e^x f(x)+c \), so the bracket has to be written as a function plus its derivative.
Let \( f(x)=\log x-\frac{1}{x} \). Then
\( \displaystyle f'(x)=\frac{1}{x}+\frac{1}{x^2} \)
\( \displaystyle f(x)+f'(x)=\log x-\frac{1}{x}+\frac{1}{x}+\frac{1}{x^2} \)
\( \displaystyle =\log x+\frac{1}{x^2} \)
This is exactly the bracket, so
\( \displaystyle \int e^x\left(\log x+\frac{1}{x^2}\right)dx=e^x\left(\log x-\frac{1}{x}\right)+c \)