Integral of (1+e^x)/(1-e^x) dx: Simplifying and Using Substitution Method

  • Thread starter Thread starter akbar786
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary

Homework Help Overview

The discussion revolves around the integral of the function (1+e^x)/(1-e^x) with respect to x. Participants explore various methods of simplification and substitution in the context of integral calculus.

Discussion Character

  • Exploratory, Mathematical reasoning, Problem interpretation

Approaches and Questions Raised

  • Participants discuss the substitution u = e^x and the resulting transformation of the integral. There are mentions of using partial fractions and alternative methods involving hyperbolic functions. Some express confusion about the next steps after distribution and simplification.

Discussion Status

Several participants have shared their attempts at solving the integral, with one confirming their results through substitution back to the original variable. Others have suggested checking the correctness of results by differentiation. The conversation reflects a mix of exploration and validation of approaches without reaching a definitive conclusion.

Contextual Notes

There is an emphasis on checking work and ensuring that the derivative of the final answer matches the original integrand. Participants are navigating through various methods while adhering to the constraints of the homework context.

akbar786
Messages
18
Reaction score
0

Homework Statement



integral of (1+e^x)/(1-e^x) dx

Homework Equations





The Attempt at a Solution


The TA said to make u = e^x
So, du = e^x dx. dx = du/e^x.
Since e^x = u

The integral now is (1+u)/(1-u)u
I am confused as to what to do after distribute the u in the bottom.
 
Physics news on Phys.org
Use partial fractions.
 
alright so i got A = 1 and B = 2 so now i have the integral of 1/u + 2/(1-u). Which i end up getting ln |u| - 2ln|1-u| + c. Now replacing the u for e^x i get ln e^x - 2 ln(1-e^X). Which is x-2 ln (1-e^x) + c. Is that the right answer?
 
Here's an alternate method you can use to solve this problem.

Whenever I see combinations of [itex]1\pm e^x[/itex], I look at what happens if I pull out a factor of [itex]e^{x/2}[/itex] to restore symmetry to the quantities. In this case, the integrand becomes

[tex]\frac{1+e^x}{1-e^x} = \frac{e^{x/2}(e^{-x/2}+e^{x/2})}{e^{x/2}(e^{-x/2}-e^{x/2})} = \frac{e^{-x/2}+e^{x/2}}{e^{-x/2}-e^{x/2}}[/tex]

You might notice that the top and bottom can be written in terms of hyperbolic trig functions or that they are derivatives of each other to within a constant factor. In either case, with the appropriate substitution, integrating is straightforward.
 
Check it yourself and see if it's the right answer. If the derivative of your answer equals the integrand, then your answer is correct.
 
akbar786 said:
alright so i got A = 1 and B = 2 so now i have the integral of 1/u + 2/(1-u). Which i end up getting ln |u| - 2ln|1-u| + c. Now replacing the u for e^x i get ln e^x - 2 ln(1-e^X). Which is x-2 ln (1-e^x) + c. Is that the right answer?
It's easy enough to check. Try differentiating your answer and see if you recover what you started with.
 
wow that makes is so much simpler..thanks so much!
 

Similar threads

Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
Replies
9
Views
2K
Replies
6
Views
3K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 12 ·
Replies
12
Views
3K