The integral \(\int e^x\left(\displaystyle\frac{x-1}{2x^2}\right)dx\) is equal to:
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → \(\displaystyle\frac{e^x}{2x}+C\), where C is constant of integration
The bracket splits into two fractions:
\( \displaystyle \frac{x-1}{2x^2} = \frac{1}{2x} - \frac{1}{2x^2} \)
With \(f(x) = \frac{1}{2x}\),
\( \displaystyle f'(x) = -\frac{1}{2x^2} \)
So the integrand has the form \(e^x\left[f(x) + f'(x)\right]\). By the standard result
\( \displaystyle \int e^x\left[f(x) + f'(x)\right]dx = e^x f(x) + C \)
we get
\( \displaystyle \int e^x\left(\frac{1}{2x} - \frac{1}{2x^2}\right)dx = \frac{e^x}{2x} + C \)