It seems so that the integral diverges but to show that I want to find an $f(x)$ which meets the requirements $f(x) \leq $ the original equation for all $x \in (0,\infty)$ which can be reasonably integrated but im having trouble finding that function. Any help?
Thanks in advance.
hint
For any $x>0$,
$$\arctan(x)=\frac{\pi}{2}-\arctan(\frac 1x)$$
Your integral is then a sum of a divergent and a convergent integral.
You will use $$\arctan(\frac 1x) \sim \frac 1x \; (x\to +\infty)$$