I need to determine whether the improper integral converges or not:
$\int_{0}^{\infty}\left(\frac{1}{2x}-\frac{1}{e^{x}-e^{-x}}\right)dx$
any ideas how to start?
Edit: What I've done:
$$\int_{0}^{\infty}\frac{1}{2x}-\frac{1}{e^{x}-e^{-x}} = \int_{0}^{\infty}\frac{1}{2x} - \int_{0}^{\infty}\frac{1}{e^{x}-e^{-x}} = \frac{1}{2}\int_{0}^{\infty}\frac{1}{x} - \int_{0}^{\infty}\frac{1}{e^{x}-e^{-x}} = $$
It seems to me that the left one diverges but the integral actually converges
Thanks!