jonnburton
Junior Member
- Joined
- Dec 16, 2012
- Messages
- 155
Hi,
I have a problem in my textbook and am not sure how to get started with this. Could anybody offer any suggestions as to how to deal with this:
\(\displaystyle \int^0_{-ln2} \frac{2}{e^x+1}dx\)
This is supposed to be solved by substitution, where \(\displaystyle u = e^x +1\)
I wasn't sure how to get started with this. At first glance I thought that it's \(\displaystyle \int^0_{-ln2} \frac{2}{u}dx\) but that doesn't go anywhere as there's no way to substitute for 'dx'.
Then I thought perhaps it can be expressed as \(\displaystyle \int^0_{-ln2} \frac{2}{e^x} + 2 dx\) and as \(\displaystyle dx = \frac{1}{e^x}du\) I think the integral can be re-written as: \(\displaystyle 2\int^0_{-ln2} \frac{1}{e^x} + 2 du\)
I'm not sure if what I've done there makes sense as I calculated the definite integral as follows and did not get the answer provided in the back of the book:
\(\displaystyle 2\int^0_{-ln2} e^{-x} + 2 du\)
Now, integrating:
\(\displaystyle 2 \left[-e^{-x} + 2x\right]_{-ln2}^0\)
\(\displaystyle \left[-2e^{-x} + 4x\right]_{-ln2}^0\)
\(\displaystyle \left[-2\right] - \left[-2e^{ln2}-4ln2\right]\)
\(\displaystyle -6-4ln2\)
As ever, I would be very grateful for any information!
I have a problem in my textbook and am not sure how to get started with this. Could anybody offer any suggestions as to how to deal with this:
\(\displaystyle \int^0_{-ln2} \frac{2}{e^x+1}dx\)
This is supposed to be solved by substitution, where \(\displaystyle u = e^x +1\)
I wasn't sure how to get started with this. At first glance I thought that it's \(\displaystyle \int^0_{-ln2} \frac{2}{u}dx\) but that doesn't go anywhere as there's no way to substitute for 'dx'.
Then I thought perhaps it can be expressed as \(\displaystyle \int^0_{-ln2} \frac{2}{e^x} + 2 dx\) and as \(\displaystyle dx = \frac{1}{e^x}du\) I think the integral can be re-written as: \(\displaystyle 2\int^0_{-ln2} \frac{1}{e^x} + 2 du\)
I'm not sure if what I've done there makes sense as I calculated the definite integral as follows and did not get the answer provided in the back of the book:
\(\displaystyle 2\int^0_{-ln2} e^{-x} + 2 du\)
Now, integrating:
\(\displaystyle 2 \left[-e^{-x} + 2x\right]_{-ln2}^0\)
\(\displaystyle \left[-2e^{-x} + 4x\right]_{-ln2}^0\)
\(\displaystyle \left[-2\right] - \left[-2e^{ln2}-4ln2\right]\)
\(\displaystyle -6-4ln2\)
As ever, I would be very grateful for any information!