0

how to integrate $\int_{-\infty}^\infty\frac{dx}{x^2(1+e^x)}$? How can I integrate this difficult form of integration, I tried many times to solve it by parts or by substitution but I didn't get it.

ex.nihil
  • 934
Mario
  • 61

2 Answers2

2

Using $\int_{\Bbb R}f(x)dx=\int_0^\infty[f(x)+f(-x)]dx$,$$\int_{\Bbb R}\frac{1}{x^2}\frac{1}{1+e^x}dx=\int_0^\infty\frac{1}{x^2}\underbrace{\left[\frac{1}{1+e^x}+\frac{1}{1+e^{-x}}\right]}_1dx=\int_0^\infty\frac{dx}{x^2}=\infty.$$

J.G.
  • 115,835
  • I don't understand this step $\int_0^\infty\frac{1}{x^2}\underbrace{\left[\frac{1}{1+e^x}+\frac{1}{1+e^{-x}}\right]}_1dx$ – Mario Dec 21 '19 at 20:52
  • @Mario $\frac{1}{1+e^{-x}}=\frac{e^x}{1+e^x}=1-\frac{1}{1+e^x}$. – J.G. Dec 21 '19 at 20:54
0

Let u = -x => Integral from -infinity to infinity of du/(u^2*(1+e-u)) = integral of e^u/(u^2(1+e^u)) du.

Take the original integral and add it to this one to get(switch u to x): 2I = integral (e^x+1)/x^2 *1/(e^x+1) du=integral of 1/x^2 dx.

Integral from -infinity to infinity of 1/x^2 dx = 2*int from 0 to infinity of 1/x^2 dx = -1/x from 0 to infinity which diverges.

So the original integral equals divergent/2 which still diverges.