1
$\begingroup$

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$$

  • 1
    $u=e^x$ implies that $du=e^xdx=udx$ so $dx=\frac1udu$2017-02-10
  • 0
    So basically $\frac{u^2}{u^2+3u+2} du$ will give me the answer?2017-02-10
  • 0
    nvm, I'm confused2017-02-10
  • 0
    No, the $u$ get's simplified, not squared. But I think you got it already...2017-02-10

2 Answers 2

2

HINT The mistake is here :

enter image description here

  • 0
    Oh! Nvm I got it. Hope u didnt see my edit. Thank you :)2017-02-10
2

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