How Do You Integrate $\int \frac{1}{1-e^x} dx$ with Substitution?

  • Context: MHB 
  • Thread starter Thread starter karush
  • Start date Start date
  • Tags Tags
    Dx
Click For Summary

Discussion Overview

The discussion revolves around the integration of the function $\int \frac{1}{1-e^x} dx$. Participants explore various substitution methods and approaches to solve the integral, including algebraic manipulation and series expansion. The scope includes mathematical reasoning and technical explanations related to integration techniques.

Discussion Character

  • Mathematical reasoning
  • Technical explanation
  • Exploratory

Main Points Raised

  • Some participants propose using the substitution $u=1-e^x$ and derive $du=-e^x dx$, but express uncertainty about the next steps.
  • Another participant suggests rewriting the integral as $\int \frac{1 - e^x + e^x}{1 - e^x}~dx$ to separate the terms, leading to a different approach.
  • One participant details a partial fraction decomposition of $\frac{1}{u(u-1)}$ and derives an expression involving logarithms, arriving at $-\ln |1-e^x| + x + C$.
  • Several participants confirm arriving at similar results, noting that $\ln |1-e^x|$ is equivalent to $\ln |e^x-1|$.
  • Another method presented involves using a series expansion to express the integral as a sum, leading to $x - \log(1 - e^x) + C$.
  • Some participants discuss a different substitution involving $e^{-x}$, leading to $-\ln\left|e^{-x}-1\right| + C$, and question whether an additional $x$ term should be included in the final answer.
  • One participant suggests rewriting the logarithmic argument in terms of $e^x$ to clarify the presence of the $x$ term.

Areas of Agreement / Disagreement

Participants generally agree on the methods used to approach the integral, but there are differing opinions on the final form of the answer and whether additional terms are necessary. The discussion remains unresolved regarding the exact expression for the integral.

Contextual Notes

Some participants express uncertainty about the steps following the substitution and the implications of different forms of the logarithmic expressions. There is also a lack of consensus on whether the final answers are equivalent or if they differ by additional terms.

karush
Gold Member
MHB
Messages
3,240
Reaction score
5
$\int \frac{1}{1-e^x} dx$
$u=1-e^x,\ du=-e^x dx$
Not sure of next step
 
Physics news on Phys.org
karush said:
$\int \frac{1}{1-e^x} dx$
$u=1-e^x,\ du=-e^x dx$
Not sure of next step
Try this:
[math]\int \frac{1}{1 - e^x}~dx = \int \frac{1 - e^x + e^x}{1 - e^x}~dx[/math]

[math]= \int \frac{1 - e^x}{1 - e^x}~dx + \int \frac{e^x}{1 - e^x}~dx[/math]

-Dan
 
karush said:
$\int \frac{1}{1-e^x} dx$
$u=1-e^x,\ du=-e^x dx$
Not sure of next step

$$u=1-e^x \\ du=-e^x dx \Rightarrow dx=-\frac{du}{e^x}=\frac{du}{u-1}$$
$$\int \frac{1}{1-e^x}dx=\int \frac{1}{u} \frac{1}{u-1}du=\int \frac{1}{u(u-1)}du=(*)$$

$$\frac{1}{u(u-1)}=\frac{A}{u}+\frac{B}{u-1}=\frac{A(u-1)+Bu}{u(u-1)}=\frac{(A+B)u-A}{u(u-1)}$$

So,it must be:

$$A+B=0 \Rightarrow B=-A \\ -A=1 \Rightarrow A=-1 \\ B=-A=1$$

$$(*)=\int \left ( -\frac{1}{u}+\frac{1}{u-1}\right )du=- \ln | u |+\ln{|u-1|}+c \\ =- \ln |1-e^x|+\ln |1-e^x-1|+c=-\ln |1-e^x|+x+c$$
 
Cool trick ... Thanks 4 help...I got
$$x-ln|e^x-1|+C$$
 
karush said:
Cool trick ... Thanks 4 help...I got
$$x-ln|e^x-1|+C$$

Nice! So, we got the same result, since $\ln |1-e^x|=\ln |e^x-1|$.. (Smirk)
 
There are worse methods of doing it :

$$\begin{aligned}\int \frac{1}{1-e^x}, \mathrm{d}x = \int \left ( 1 + e^x + e^{2x} + e^{3x} + \cdots \right ) \, \mathrm{d}x &= \left ( x + e^x + \frac{e^{2x}}{2} + \frac{e^{3x}}{3} + \cdots \right ) + C \\ &= x + \sum_{n = 1}^\infty \frac{(e^x)^n}{n} + C \\ &= x - \log(1 - e^x) + C\end{aligned}$$

So, yes, karush, your answer agrees with mine.
 
Last edited:
This is what I would do:

$$\int\frac{1}{1-e^x}\,dx=-\int\frac{-e^{-x}}{e^{-x}-1}\,dx=-\ln\left|e^{-x}-1\right|+C$$
 
MarkFL said:
This is what I would do:

$$\int\frac{1}{1-e^x}\,dx=-\int\frac{-e^{-x}}{e^{-x}-1}\,dx=-\ln\left|e^{-x}-1\right|+C$$
Isn't there another x in the answer?
 
karush said:
Isn't there another x in the answer?

Try rewriting the log argument in terms of $e^x$ and see what happens...:D
 
  • #10
OK I see the x appears...
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 27 ·
Replies
27
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 5 ·
Replies
5
Views
1K