Hi I am trying to prove this interesting integral $$ \mathcal{I}:=\int_0^\infty \frac{\sin a x-\sin b x}{\cosh \beta x}\frac{dx}{x}=2\arctan\left(\frac{\exp(\frac{a\pi}{2\beta})-\exp(\frac{b\pi}{2\beta})}{1+\exp{\big(\frac{(a+b)\pi}{2\beta}}\big)}\right), \qquad Re(\beta)>0. $$ This is related to another integral posted except that had cosines in the numerator instead of sine functions. The result is quite different, very interesting integrals. It sure looks like a Frullani but this one's result is quite different looking than just a logarithm function..I
A Frullani integral is $$ \int_0^\infty \frac{f(ax)-f(bx)}{x}dx=\big[f(0)-f(\infty)\big]\log \frac{b}{a}. $$ In this example, $\mathcal{I}$ has a term $\cosh \beta x$ in the denominator which it makes it appear different. Partial integration and splitting the integral up didn't work and ran into convergent issues. How can we solve this integral? Thank you.
Note $$ 2\cosh x=e^x+e^{-x}. $$