I have to analyse the convergence of $\displaystyle \int_{0}^{+\infty}\frac{\arctan \alpha x - \arctan \beta x}{x} dx$; $\alpha,\beta \in R$
I have written:
$\displaystyle \int_{0}^{+\infty}\frac{\arctan \alpha x - \arctan \beta x}{x} dx = \displaystyle \int_{0}^{+\infty}\frac{\arctan \frac {\alpha x - \beta x}{1 + \alpha \beta x^2}}{x}dx = \displaystyle \int_{0}^{1} + \displaystyle \int_{1}^{+\infty}$
But I don't know how I can conclude something about this.
The only things to consider are behavior near zero and infinity. Near zero $\arctan(\alpha x) - \arctan(\beta x) = \alpha x - \beta x +O(x^3) $ and so the integrand tends to $\alpha-\beta$ as $x \to 0^{+} $ and the integral converges, while as $x \to \infty, \arctan(\alpha x) - \arctan(\beta x) = \frac{1}{\beta x} - \frac{1}{\alpha x} + O(\frac{1}{x^3}) $ (as long as $\alpha$ and $ \beta $ have the same sign) and so the integrand is $O(\frac{1}{x^2})$ so the integral also converges. If $\alpha$ and $\beta$ have opposite signs the numerator near infinity is $ \pm \pi + O(\frac{1}{x}) $ so the integral diverges.
Another way to obtain the value is by differentiating under the integral sign. Suppose $\alpha, \beta >0 $. Set $$ f(\alpha) = \int_0^{\infty} \frac{\arctan(\alpha x)-\arctan(\beta x)}{x} \, dx $$ Then $$ f'(\alpha) = \int_0^{\infty} \frac{1}{1+\alpha^2 x^2} \, dx = \frac{1}{\alpha} \arctan(\alpha x) \left|_0^{\infty} \right. = \frac{\pi}{2\alpha} $$ So $$ f(\alpha) = \frac{\pi}{2} \log (\alpha) + c $$ To find $c$ note that $ f(\beta) = 0 $. This is a special case of a more general result. See https://en.wikipedia.org/wiki/Frullani_integral