I want to integrate: $$\int_{-\infty}^\infty e^{x/2}\operatorname{sech}(x)\,dx.$$
I've trying to test some of my integration skills by attempting some integrals that are standard with residues, but for this one, I must be making a very silly mistake because after checking things with a calculator it doesn't align with what should be right.
I started with integration by parts letting: $u=e^{x/2} => du=\frac{1}{2}e^{x/2}\,dx$ and $dv=\operatorname{sech}(x)\,dx => v=2\arctan(e^x)$ or $-2\arctan(e^{-x})$
I split the integral of $\operatorname{sech}(x)$ into two integrals so it would converge for the limits at infinity (this seemed to work for other integrals I did). After plugging everything:$$-2e^{x/2}\arctan(e^{-x})|_{-\infty}^{\infty}-\int_0^\infty e^{x/2}v\,dx =$$ $$-\int_{-\infty}^0 e^{x/2}\arctan(e^x)\,dx+\int_0^{\infty}e^{x/2}\arctan(e^{-x})\,dx. $$
This, however, is not correct, and I've been staring at it for too long. It would be much appreciated if some help could be given!