How do you integrate \[\left( {\dfrac{1}{{{e^x} + 1}}} \right)dx\]?
Answer
631.5k+ views
Hint: We use the substitution of the exponential term and convert the complete equation in terms of the new variable. Then use integration by parts to solve for the value of integration.
Complete step-by-step answer:
We have to solve for the value of \[\int {\left( {\dfrac{1}{{{e^x} + 1}}} \right)dx} \] … (1)
Let us substitute the value of \[{e^x} = t\]
Then differentiating both sides of the equation we get
\[ \Rightarrow {e^x}dx = dt\]
Shift all values except dx to right side of the equation
\[ \Rightarrow dx = \dfrac{{dt}}{{{e^x}}}\]
Put the value of \[{e^x} = t\]in RHS of the equation
\[ \Rightarrow dx = \dfrac{{dt}}{t}\] … (2)
Now substitute the value of \[{e^x} = t\] and the value of dx from equation (2) in equation (1)
\[ \Rightarrow \int {\left( {\dfrac{1}{{{e^x} + 1}}} \right)dx} = \int {\dfrac{1}{t}\left( {\dfrac{1}{{t + 1}}} \right)dt} \]
Now we know the term that has to be integrated can be broken using by parts method.
We write the integrand as sum of two integrands and solve for their respective coefficients
\[ \Rightarrow \dfrac{1}{t}\left( {\dfrac{1}{{t + 1}}} \right) = \dfrac{A}{t} + \dfrac{B}{{t + 1}}\] … (3)
Take LCM on both sides of the equation
\[ \Rightarrow \dfrac{1}{{t(t + 1)}} = \dfrac{{A(t + 1) + Bt}}{{t(t + 1)}}\]
Cancel same denominators from both sides of the equation
\[ \Rightarrow 1 = A(t + 1) + Bt\]
Now when we put the value of \[t = - 1\]we get
\[ \Rightarrow 1 = A( - 1 + 1) + B( - 1)\]
\[ \Rightarrow 1 = A \times (0) + B( - 1)\]
\[ \Rightarrow 1 = B( - 1)\]
Multiply both sides by -1
\[ \Rightarrow - 1 = B\] … (4)
Now when we put the value of \[t = 0\]we get
\[ \Rightarrow 1 = A(0 + 1) + B(0)\]
\[ \Rightarrow 1 = A \times (1)\]
\[ \Rightarrow 1 = A\] … (5)
Substitute the values of A and B in equation (3)
\[ \Rightarrow \dfrac{1}{t}\left( {\dfrac{1}{{t + 1}}} \right) = \dfrac{1}{t} + \dfrac{{ - 1}}{{t + 1}}\]
\[ \Rightarrow \dfrac{1}{t}\left( {\dfrac{1}{{t + 1}}} \right) = \dfrac{1}{t} - \dfrac{1}{{t + 1}}\]
Then the integration becomes \[\int {\dfrac{1}{t}\left( {\dfrac{1}{{t + 1}}} \right)} dt = \int {\dfrac{1}{t}dt - \int {\dfrac{1}{{t + 1}}} } dt\]
Since we know \[\int {\dfrac{1}{x}dx = \log x} + C\], we can write the integration as
\[ \Rightarrow \int {\dfrac{1}{t}dt - \int {\dfrac{1}{{t + 1}}} } dt = \log t - \log (1 + t) + C\]
We know property of log that \[\log m - \log n = \log \dfrac{m}{n}\]
\[ \Rightarrow \int {\dfrac{1}{t}dt - \int {\dfrac{1}{{t + 1}}} } dt = \log \dfrac{t}{{1 + t}} + C\]
Substitute the value of \[{e^x} = t\]
\[ \Rightarrow \int {\dfrac{1}{t}dt - \int {\dfrac{1}{{t + 1}}} } dt = \log \dfrac{{{e^x}}}{{1 + {e^x}}} + C\]
\[\therefore \]Integration of \[\left( {\dfrac{1}{{{e^x} + 1}}} \right)dx\] is \[\log \dfrac{{{e^x}}}{{1 + {e^x}}} + C\]
Note:
Many students make the mistake of cancelling the log function from the exponential function in the last step which is wrong as the log function is applied on the complete fraction, so to open it we will have to open the fraction first and then cancel it which is of no use.
Complete step-by-step answer:
We have to solve for the value of \[\int {\left( {\dfrac{1}{{{e^x} + 1}}} \right)dx} \] … (1)
Let us substitute the value of \[{e^x} = t\]
Then differentiating both sides of the equation we get
\[ \Rightarrow {e^x}dx = dt\]
Shift all values except dx to right side of the equation
\[ \Rightarrow dx = \dfrac{{dt}}{{{e^x}}}\]
Put the value of \[{e^x} = t\]in RHS of the equation
\[ \Rightarrow dx = \dfrac{{dt}}{t}\] … (2)
Now substitute the value of \[{e^x} = t\] and the value of dx from equation (2) in equation (1)
\[ \Rightarrow \int {\left( {\dfrac{1}{{{e^x} + 1}}} \right)dx} = \int {\dfrac{1}{t}\left( {\dfrac{1}{{t + 1}}} \right)dt} \]
Now we know the term that has to be integrated can be broken using by parts method.
We write the integrand as sum of two integrands and solve for their respective coefficients
\[ \Rightarrow \dfrac{1}{t}\left( {\dfrac{1}{{t + 1}}} \right) = \dfrac{A}{t} + \dfrac{B}{{t + 1}}\] … (3)
Take LCM on both sides of the equation
\[ \Rightarrow \dfrac{1}{{t(t + 1)}} = \dfrac{{A(t + 1) + Bt}}{{t(t + 1)}}\]
Cancel same denominators from both sides of the equation
\[ \Rightarrow 1 = A(t + 1) + Bt\]
Now when we put the value of \[t = - 1\]we get
\[ \Rightarrow 1 = A( - 1 + 1) + B( - 1)\]
\[ \Rightarrow 1 = A \times (0) + B( - 1)\]
\[ \Rightarrow 1 = B( - 1)\]
Multiply both sides by -1
\[ \Rightarrow - 1 = B\] … (4)
Now when we put the value of \[t = 0\]we get
\[ \Rightarrow 1 = A(0 + 1) + B(0)\]
\[ \Rightarrow 1 = A \times (1)\]
\[ \Rightarrow 1 = A\] … (5)
Substitute the values of A and B in equation (3)
\[ \Rightarrow \dfrac{1}{t}\left( {\dfrac{1}{{t + 1}}} \right) = \dfrac{1}{t} + \dfrac{{ - 1}}{{t + 1}}\]
\[ \Rightarrow \dfrac{1}{t}\left( {\dfrac{1}{{t + 1}}} \right) = \dfrac{1}{t} - \dfrac{1}{{t + 1}}\]
Then the integration becomes \[\int {\dfrac{1}{t}\left( {\dfrac{1}{{t + 1}}} \right)} dt = \int {\dfrac{1}{t}dt - \int {\dfrac{1}{{t + 1}}} } dt\]
Since we know \[\int {\dfrac{1}{x}dx = \log x} + C\], we can write the integration as
\[ \Rightarrow \int {\dfrac{1}{t}dt - \int {\dfrac{1}{{t + 1}}} } dt = \log t - \log (1 + t) + C\]
We know property of log that \[\log m - \log n = \log \dfrac{m}{n}\]
\[ \Rightarrow \int {\dfrac{1}{t}dt - \int {\dfrac{1}{{t + 1}}} } dt = \log \dfrac{t}{{1 + t}} + C\]
Substitute the value of \[{e^x} = t\]
\[ \Rightarrow \int {\dfrac{1}{t}dt - \int {\dfrac{1}{{t + 1}}} } dt = \log \dfrac{{{e^x}}}{{1 + {e^x}}} + C\]
\[\therefore \]Integration of \[\left( {\dfrac{1}{{{e^x} + 1}}} \right)dx\] is \[\log \dfrac{{{e^x}}}{{1 + {e^x}}} + C\]
Note:
Many students make the mistake of cancelling the log function from the exponential function in the last step which is wrong as the log function is applied on the complete fraction, so to open it we will have to open the fraction first and then cancel it which is of no use.
Recently Updated Pages
If x a + bt + ct2 where x is in meters and t is in class 11 physics CBSE

A car covers the first half distance between two places class 11 physics CBSE

The resultant of two vectors overrightarrow P and overrightarrow class 11 physics CBSE

Find the value of cos 135 class 11 maths CBSE

A mass M is held in place by an applied force F and class 11 physics CBSE

A solution of glucose in water is labelled as 10 dfracwv class 11 chemistry CBSE

Trending doubts
One Metric ton is equal to kg A 10000 B 1000 C 100 class 11 physics CBSE

Find the value of the expression given below sin 30circ class 11 maths CBSE

What do you mean by retardation What is its SI uni class 11 physics CBSE

Draw a diagram of nephron and explain its structur class 11 biology CBSE

10 examples of friction in our daily life

Difference between physical and chemical change class 11 chemistry CBSE

