How to integrate lnabs(e^(x)+1)/e^x dx?
\[\frac{ \ln \left| e^x+1 \right| }{ e^x }dx\]
@hartnn @phi
how about \(u = e^{-x}\) ? tried?
it works out :) try it! and let me know if u get stuck
You mean the u-substitution?
yes
\(e^x+1 = \dfrac{1+e^{-x}}{e^{-x}}\)
How so?
\(e^x+1 = \dfrac{(e^x+1)e^{-x}}{e^{-x}}= \dfrac{1+e^{-x}}{e^{-x}}\)
But how does that help us to find the integral? u=e^-x du=-e^-x dx And?
\(-\int \ln (\dfrac{u+1}{u})du\) got this? ln A/B = ln A-ln B
i am assuming we can use the standard integral of ln x
\(\int \ln x dx = x (\ln x -1)+c\)
just use that to get these : \(\int \ln u dx -\int \ln (u+1) dx\)
if we cannot use it directly, we will need uv rule
Shouldn't we use the method of integration by parts in the first place?
trying that now... \(\ln |e^x+1| (-e^{-x}) -\int \dfrac{e^x}{e^x+1}\times e^{-x}dx \) yeah, works out...didn't find it shorter though
if we could directly use the result for ln x, then the u subs is easier/shorter. otherwise, by parts from the beginning is easier.
Well, the result I got is \[-\ln \left| e^x+1 \right|e ^{-x}+x-\ln \left| e^x+1 \right|+C\]
\(\ln |e^x+1| (-e^{-x}) -\int \dfrac{e^{-x}}{e^{-x}+1}dx \\ u = 1+e^{-x}\)
\(\ln |e^x+1| (-e^{-x}) -\int \dfrac{e^{-x}}{e^{-x}+1}dx \\ u = 1+e^{-x} \\ \ln |e^x+1| (-e^{-x}) +\int \dfrac{1}{u}du \\\ln |e^x+1| (-e^{-x}) +\ln (e^{-x}+1)+c \)
did i make a sign mistake anywhere?
No.
aah got it! \(\ln |e^x+1| (-e^{-x}) -\int \dfrac{e^x}{e^x+1}\times (-e^{-x})dx\)
\(\ln |e^x+1| (-e^{-x}) +\int \dfrac{e^{-x}}{e^{-x}+1}dx \\ u = 1+e^{-x} \\ ...\)
Join our real-time social learning platform and learn together with your friends!