If \(\int_{0}^{1}\displaystyle\frac{e^x}{1+x}\,dx = K\), then \(\int_{0}^{1}\displaystyle\frac{e^x}{(1+x)^2}\,dx\) is equal to:
Answer & explanation
Correct answer: option 2
The correct answer is Option (2) → \(K+1-\displaystyle\frac{e}{2}\)
Since the derivative of \(\frac{1}{1+x}\) is \(-\frac{1}{(1+x)^2}\), the required integral appears when the given one is integrated by parts, with \(\frac{1}{1+x}\) as the first function and \(e^x\) as the second:
\( \displaystyle K = \int_{0}^{1}\frac{1}{1+x}\,e^x\,dx \)
\( \displaystyle = \left[\frac{e^x}{1+x}\right]_{0}^{1} - \int_{0}^{1}\left(-\frac{1}{(1+x)^2}\right)e^x\,dx \)
\( \displaystyle = \left(\frac{e}{2} - 1\right) + \int_{0}^{1}\frac{e^x}{(1+x)^2}\,dx \)
Rearranging:
\( \displaystyle \int_{0}^{1}\frac{e^x}{(1+x)^2}\,dx = K - \frac{e}{2} + 1 \)
\( \displaystyle = K + 1 - \frac{e}{2} \)