Step 1: Understanding the Concept
Multiply the numerator and denominator by \( e^x \) so that the numerator becomes \( (x+1)e^x\,dx \), which is the differential of \( x e^x \).
Step 2: Substitution
Let \( t = x e^x \). Then \( dt = (x+1)e^x\,dx \).
The integral becomes \( \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 and Back-substitute
\( \int = \log|t| - \log|1+t| + \dfrac{1}{1+t} + c \)
Putting \( t = x e^x \) gives \( \log\left|\dfrac{x e^x}{1+x e^x}\right| + \dfrac{1}{1+x e^x} + c \), which is option (D).
Final Answer:
The integral equals the logarithm of x e^x over (1 + x e^x) plus 1/(1 + x e^x) plus c.
\[ \boxed{\text{(D) }\log\left|\dfrac{x e^{x}}{1+x e^{x}}\right|+\dfrac{1}{1+x e^{x}}+c} \]