I want to find the sum:
$$\sum_{n=1}^{\infty}\int_0^{\frac{1}{\sqrt{n}}}\frac{2x^2}{1+x^4}dx$$
I start with finding the antiderivative of the integrant, which is:
$$\frac{1}{2\sqrt{2}}[\ln(x^2-\sqrt{2}x+1)-\ln(x^2+\sqrt{2}x+1)+2\arctan(\sqrt{2}x-1)+2\arctan(\sqrt{2}x+1)]$$
Then I use the fundamental theorem of calculus to evaluate the integral. It turns out that the result is really ugly and I have no idea how to hanled it. Is there any tricks to tackle this?