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

  • MHB
  • Thread starter karush
  • Start date
  • Tags
    Dx
In summary,The equation $u=1-e^x,\ du=-e^x dx$ has two unknowns, $u$ and $du$. The equation can be solved for $u$ by taking the derivative with respect to $x$ and noting that $du=-e^x dx$, and solving for $u$.
  • #1
karush
Gold Member
MHB
3,269
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
  • #2
karush said:
$\int \frac{1}{1-e^x} dx$
$u=1-e^x,\ du=-e^x dx$
Not sure of next step
Try this:
\(\displaystyle \int \frac{1}{1 - e^x}~dx = \int \frac{1 - e^x + e^x}{1 - e^x}~dx\)

\(\displaystyle = \int \frac{1 - e^x}{1 - e^x}~dx + \int \frac{e^x}{1 - e^x}~dx\)

-Dan
 
  • #3
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$$
 
  • #4
Cool trick ... Thanks 4 help...I got
$$x-ln|e^x-1|+C$$
 
  • #5
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)
 
  • #6
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:
  • #7
This is what I would do:

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

\(\displaystyle \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?
 
  • #9
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...
 

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

What is the meaning of "Int 1/(1-e^x) dx"?

The term "Int 1/(1-e^x) dx" is a mathematical notation that represents the integral of the function 1/(1-e^x) with respect to the variable x. It is commonly used in calculus to find the area under a curve.

How do you solve the integral "Int 1/(1-e^x) dx"?

The integral "Int 1/(1-e^x) dx" can be solved using various techniques, such as substitution, integration by parts, or partial fractions. The specific method used will depend on the complexity of the function and the skills of the person solving it.

What is the domain of the function 1/(1-e^x)?

The function 1/(1-e^x) has a domain of all real numbers except for x = ln(1), where the denominator becomes 0. This is because the natural logarithm function, ln(x), is undefined for x = 0.

Why is the integral "Int 1/(1-e^x) dx" important in science?

The integral "Int 1/(1-e^x) dx" is important in science because it is used to solve various problems related to rates of change and accumulation, which are common in many scientific fields such as physics, chemistry, and engineering. It also has applications in statistics and probability.

Can the integral "Int 1/(1-e^x) dx" be solved using a calculator?

Yes, the integral "Int 1/(1-e^x) dx" can be solved using a calculator, but it is important to note that the calculator will only give an approximate solution. For more accurate results, it is recommended to use mathematical software or solve the integral by hand using appropriate techniques.

Back
Top