Step 1: Understanding the Concept
Multiply the numerator and denominator by \(e^x\) so that \((x+1)e^x\,dx\) appears as \(dt\) with \(t=xe^x\).
Step 2: Substitution
\(I=\int\dfrac{(x+1)e^x\,dx}{xe^x(1+xe^x)^2}=\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}\)
Step 4: Integrate
\(I=\log t-\log(1+t)+\dfrac{1}{1+t}+c=\log\dfrac{xe^x}{1+xe^x}+\dfrac{1}{1+xe^x}+c\)
Final Answer:
The integral equals the log term plus \(\dfrac{1}{1+xe^x}\) and a constant.
\[ \boxed{\text{(C) }\log\left(\dfrac{xe^{x}}{1+xe^{x}}\right)+\dfrac{1}{1+xe^{x}}+c} \]