I would like to evaluate the integral
$$I(a,b) = \int_0^\infty \frac{\tan^{-1} (ax) \tan^{-1} (bx)}{x^{2}}\,dx$$
and I know that
$$\int_0^\infty \frac{\tan^{-1} (rx)}{x(1+x^2)}\,dx = \frac{\pi}{2}\ln (r+1)$$ for $r>0$.
So I start by partial derivative on $a$ and use the last equivalency. Then I get stuck when going back to $I$ since I believe it must also depend on $b$.