Question:hard

\(\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

The Correct Option is B

Solution and Explanation

Step 1: Choose the substitution
The integrand is $\dfrac{(x+1)}{x(1+xe^{x})^{2}}$. Since $\dfrac{d}{dx}(xe^{x})=(x+1)e^{x}$, let $t=xe^{x}$.

Step 2: Reduce and integrate
$\dfrac{x+1}{x}dx=\dfrac{(x+1)e^{x}}{xe^{x}}dx=\dfrac{dt}{t}$, so $I=\int\dfrac{dt}{t(1+t)^{2}}=\int\left[\dfrac{1}{t}-\dfrac{1}{1+t}-\dfrac{1}{(1+t)^{2}}\right]dt$.
This gives $\log\dfrac{t}{1+t}+\dfrac{1}{1+t}+C$.

Step 3: Check by differentiation
Differentiating $\log\dfrac{t}{1+t}+\dfrac{1}{1+t}$ with respect to $t$ gives $\dfrac{1}{t(1+t)}-\dfrac{1}{(1+t)^{2}}=\dfrac{1}{t(1+t)^{2}}$, so the result is correct and matches option (B).

Final Answer:
Option (B) is the correct antiderivative. \[ \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