I want to show that
$$\int\limits ^{\infty }_{0}\frac{x}{\left( x^{2} +1\right)^2\left( e^{tx} +1\right)} dx=\frac{\psi^{(1)}(\frac{t}{2\pi})-4\psi^{(1)}(\frac{t}{\pi})}{8\pi}t+\frac14 $$
where $\psi^{(1)}(z)$ is the first derivative of the digamma function, but I've never come across such an integral and don't know what to do. Any help would be greatly appreciated.
We first modifiy the integral to be calculated, by remarking that, changing $x=-u$, \begin{align} I&=\int^{\infty }_{0}\frac{x}{\left( x^{2} +1\right)^2\left( e^{tx} +1\right)}\,dx\\ &=-\int_{-\infty }^{0}\frac{u}{\left( u^{2} +1\right)^2\left( e^{-tu} +1\right)}\,du\\ &=-\int_{-\infty }^{0}\frac{ue^{tu} }{\left( u^{2} +1\right)^2\left( e^{tu} +1\right)}\,du\\ &=-\int_{-\infty }^{0}\frac{u}{\left( u^{2} +1\right)^2}\,du+\int_{-\infty }^{0}\frac{u}{\left( u^{2} +1\right)^2\left( e^{tu} +1\right)}\,du\\ &=\frac{1}{2}+I^- \end{align} where \begin{equation} I^-=\int_{-\infty }^{0}\frac{u}{\left( u^{2} +1\right)^2\left( e^{tu} +1\right)}\,du \end{equation} Then, we have \begin{align} I&=I^-+\frac{1}{2}\\ I+I^-&=\int_{-\infty }^{\infty}\frac{u}{\left( u^{2} +1\right)^2\left( e^{tu} +1\right)}\,du \end{align} Thus, \begin{equation} I=\frac{1}{4}+\frac{1}{2}\int_{-\infty }^{\infty}\frac{u}{\left( u^{2} +1\right)^2\left( e^{tu} +1\right)}\,du \end{equation} This integral is evaluated by the residue method, by closing the contour with the upper half circle. It can easily be verified that the half-circle contribution vanishes. Interior poles lie at