# Integration problem

The question is to evaluate the integral in the attachment. My idea was to use partial fraction decomposition and so my new integral looked like:

A/((e^x)+1) + B/((e^x)+5) where I got A=-2 and B=-10

When I integrate this, I get:

-2ln((e^x)+1) - 10ln((e^x)+5)

However, this is not the answer.

#### Attachments

• 948 bytes Views: 292

## Answers and Replies

Related Calculus and Beyond Homework Help News on Phys.org
Dick
Homework Helper
I can tell you right away that the integral of 1/(e^x+1) is not ln(e^x+1). Differentiate the latter (remembering the chain rule) to see why not. To do this correctly substitute u=(e^x+1).

Last edited:
I cannot see the integral till the attatchment it is approved but how did you manage to integrate something of the form

$$\frac{A}{e^x+a}$$ to

$$A\ln{(e^x+a)}$$

?

One way to check if your integration is done correctly is to differentiate the function you arrived at and see if it matches the earlier function.

For ∫-2/((e^x)+1) dx, I choose u=(e^x)+1 so du=(e^x) dx so I get:

-2 ∫ du / u(e^x) where (e^x)= u-1 therefore -2 ∫ du / (u^2)-u

Is this correct?

Dick