Question
Question: Evaluate \(\int {\dfrac{{{e^x}}}{{{e^x} + 1}}dx} \) ?...
Evaluate ∫ex+1exdx ?
Solution
First of all, we will add and subtract a number in the numerator, so that they get separated. After that, we will let the denominator as any variable (say t) and will convert dx into dt. Then after solving further we will re-put the values that we have left.
Complete Step by Step Solution:
Let us consider ∫ex+1exdx as y
⇒y=∫ex+1exdx
Now, we will add and subtract 1 in the numerator
⇒y=∫ex+1ex+1−1dx
Now, we will separate it into two parts (first one will be the ∫ex+1ex+1dx and the other one is ∫ex+1−1dx )
⇒y=∫ex+1ex+1dx+∫ex+1−1dx
We can also write it as
⇒y=∫ex+1ex+1dx−∫ex+11dx
⇒y=∫1dx−∫ex+11dx
As we know that ∫1dx=x
Therefore, ⇒y=x−∫ex+11dx
Let us consider −∫ex+11dx as I
⇒y=x+I
And I=−∫ex+11dx ……(i)
Let ex+1=t ……(ii)
Differentiating both sides of the above equation with respect to t
⇒dtd(ex)+dtd(1)=dtd(t)
On further simplification,
⇒ex(dtdx)+0=1
⇒ex(dx)=dt
⇒dx=exdt ……(iii)
Now, by putting the value of dx and ex+1 from (ii) and (iii) in (i), we get
⇒I=−∫t(t−1)1dt
Now, adding and subtracting t in the numerator
⇒I=−∫t(t−1)1+t−tdt
We can rewrite the above equation as
⇒I=−∫t(t−1)t−(t−1)dt
Now, we will separate the above equation into two parts (first one will be the −∫t(t−1)tdt and the other one is −∫t(t−1)−(t−1)dt )
⇒I=−∫t(t−1)tdt−∫t(t−1)−(t−1)dt
⇒I=−∫t−11dt−∫t−1dt
As we know that ∫x1dx=ln(x)
Hence I=−ln(t−1)+ln(t)
Now, putting the value of t from (ii)
⇒I=−ln(ex+1−1)+ln(ex+1)
We can also rewrite the above equation as
⇒I=ln(ex+1)−ln(ex)
As y=x+I
As we know ln(ex)=x
Therefore, y=x+ln(ex+1)−x
⇒y=ln(ex+1)
Note:
While doing these types of problems, strictly take care of dx and dt. When you let a variable (say x) to another variable (say t) then take care that you do not forget to change the dx into dt. And in the last, do not forget to put the given variables. Do not leave the answer in those variables which you have taken (let).