\(\int e^x\left(\displaystyle\frac{1-x}{1+x^2}\right)^2 dx=\)
Answer & explanation
Correct answer: option 1
The correct answer is Option (1) → \(\displaystyle\frac{e^x}{1+x^2}+C\)
The integral has the standard form \(\int e^x\left(f(x)+f'(x)\right)dx = e^x f(x)+C\). Expanding the square shows it:
\( \displaystyle \left(\frac{1-x}{1+x^2}\right)^2 = \frac{1+x^2-2x}{(1+x^2)^2} \)
\( \displaystyle = \frac{1}{1+x^2}-\frac{2x}{(1+x^2)^2} \)
Let
\( \displaystyle f(x) = \frac{1}{1+x^2} \)
\( \displaystyle f'(x) = -\frac{2x}{(1+x^2)^2} \)
So the integrand is exactly \(e^x\left(f(x)+f'(x)\right)\), and
\( \displaystyle \int e^x\left(\frac{1-x}{1+x^2}\right)^2 dx = \frac{e^x}{1+x^2}+C \)