SOLUTION: What is the integral of dx/(e^(2x)+1) using trigonometric substitution?

Algebra ->  Test -> SOLUTION: What is the integral of dx/(e^(2x)+1) using trigonometric substitution?      Log On


   



Question 1193106: What is the integral of dx/(e^(2x)+1) using trigonometric substitution?
Answer by Edwin McCravy(20060) About Me  (Show Source):
You can put this solution on YOUR website!

int%28%28dx%29%2F%28e%5E%282x%29%2B1%29%29

Notice that e%5E%282x%29%2B1 can be written as the sum of squares:

%28e%5Ex%29%5E2%2B1%5E2 

Draw a right triangle
Always put the simpler expression on the adjacent side.  Since 1
is simpler than ex, we put it on the adjacent side.  
The sign between the squares is + so we put the more complicated 
expression on the opposite side.  [If it had been - we would have 
put the more complicated expression on the hypotenuse.]



So e%5Ex%2F1%5E%22%22+=+opposite%2Fadjacent+=+tan%28theta%29

e%5Ex+=+tan%28theta%29
Solve for x by taking natural logs of both sides:
x=ln%28tan%28theta%29%5E%22%22%29
We find dx by multiplying the derivative by dθ 

dx=sec%5E2%28theta%29%2Amatrix%281%2C2%2Cd%2Ctheta%29%2Ftan%28theta%29%29

Then we use the Pythagorean theorem to label the
missing side, which is the hypotenuse.

 

Now we're ready to substitute:

int%28%28dx%29%2F%28e%5E%282x%29%2B1%29%29

We substitute for dx



Now here's a trick.  Observe that the denominator 
equals the square of the hypotenuse, and since sec%28theta%29=hypotenuse%2Fadjacent=sqrt%28%28e%5E%282x%29%2B1%29%29%2F1%5E%22%22

the denominator is just sec2(θ)



Now the sec2(θ)'s cancel:



int%28matrix%281%2C2%2Cd%2Ctheta%29%2Ftan%28theta%29%29

int%28cot%28theta%29matrix%281%2C2%2Cd%2Ctheta%29%29

ln%28sin%28theta%29%5E%22%22%29%2BC

Now we look back at the triangle and find that

sin%28theta%29=opposite%2Fhypotenuse+=+e%5Ex%2Fsqrt%28e%5E%282x%29%2B1%29

ln%28e%5Ex%2Fsqrt%28e%5E%282x%29%2B1%29%29%2BC


ln%28e%5Ex%29-ln%28sqrt%28e%5E%282x%29%2B1%29%29%2BC


x-ln%28e%5E%282x%29%2B1%29%5E%28%221%2F2%22%29%2BC

x-expr%281%2F2%29ln%28e%5E%282x%29%2B1%29%2BC   <-- final answer

Edwin