Step 1: Understanding the Concept
Multiply the top and bottom by \(e^x\) so the denominator becomes a perfect square.
Step 2: Rewrite
\(\int\frac{e^x\,dx}{e^{2x}+2e^x+1}=\int\frac{e^x\,dx}{(e^x+1)^2}\)
Step 3: Substitute
Let \(t=e^x+1\), so \(dt=e^x\,dx\). Then \(\int\frac{dt}{t^2}=-\frac{1}{t}+c\).
Step 4: Compare the options
The answer is \(\frac{-1}{e^x+1}+c\), option (B).
Final Answer:
The integral equals \(\frac{-1}{e^x+1}+c\).
\[ \boxed{\text{(B) }\dfrac{-1}{e^{x}+1}+c} \]