What am I doing wrong. (Basic PFD)

76 Views Asked by At

Evaluate: $$\int \frac{e^x}{e^{2x} + 3e^x + 2} dx$$

My solution: Let $u = e^x$, then $$\int \frac{u}{u^2+3u+2} du=\dots$$

and $\frac{u}{(u+1)(u+2)} = \frac{A}{u+2} + \frac{B}{u+1}$ with $A = 2, B = -1$. So, $$\dots=-2 \ln |u + 2| - \ln |u+1| + C$$ resubstitute: $= 2 \ln |e^x + 2| - \ln |e^x+1| + C$. Apparently the answer is this: $$\ln(1 + e^x) - \ln(2 + e^x) + C$$

2

There are 2 best solutions below

1
On BEST ANSWER

HINT The mistake is here :

enter image description here

0
On

No $u$ in the numerator. You forgot that $du = e^x\,dx$.