Question:

\(\int \frac{x+1}{x(1+x\mathrm{e}^{x})^{2}}\ \mathrm{d}x=\) (where \(C\) is a constant of integration.)

Show Hint

Substitute \(t=xe^{x}\) so that \((x+1)e^{x}dx\) becomes \(dt\), then split the result into partial fractions.
Updated On: Nov 18, 2026
  • \(\log (1+x\mathrm{e}^{x})+\frac{1}{1+x\mathrm{e}^{x}}+C\)
  • \(\log \left(\frac{x\mathrm{e}^{x}}{1+x\mathrm{e}^{x}}\right)+\frac{1}{1+x\mathrm{e}^{x}}+C\)
  • \(\log \left(\frac{x\mathrm{e}^{x}}{1+x\mathrm{e}^{x}}\right)+C\)
  • \(\log \left(\frac{x\mathrm{e}^{x}}{1+x\mathrm{e}^{x}}\right)-\frac{1}{1+x\mathrm{e}^{x}}+C\)
Show Solution
collegedunia
Verified By Collegedunia

The Correct Option is B

Solution and Explanation

Step 1: Understanding the Concept
Multiply numerator and denominator by \(e^{x}\) so that the derivative of \(xe^{x}\), namely \((x+1)e^{x}\), appears in the numerator.

Step 2: Substitute
\(I=\int\dfrac{(x+1)e^{x}}{xe^{x}(1+xe^{x})^{2}}dx\).
Put \(t=xe^{x}\), so \(dt=(x+1)e^{x}dx\). Then \(I=\int\dfrac{dt}{t(1+t)^{2}}\).

Step 3: Partial fractions
\(\dfrac{1}{t(1+t)^{2}}=\dfrac{1}{t}-\dfrac{1}{1+t}-\dfrac{1}{(1+t)^{2}}\).
Integrating: \(I=\log t-\log(1+t)+\dfrac{1}{1+t}+C\).

Step 4: Compare the options
Replace \(t=xe^{x}\): \(I=\log\left(\dfrac{xe^{x}}{1+xe^{x}}\right)+\dfrac{1}{1+xe^{x}}+C\), which is option (B).

Final Answer:
The integral equals \(\log\left(\dfrac{xe^{x}}{1+xe^{x}}\right)+\dfrac{1}{1+xe^{x}}+C\). \[ \boxed{\text{(B) }\log \left(\dfrac{x\mathrm{e}^{x}}{1+x\mathrm{e}^{x}}\right)+\dfrac{1}{1+x\mathrm{e}^{x}}+C} \]
Was this answer helpful?
0
0