Evaluate $$\int_{-\infty}^{\infty}\arctan\left(\frac{1}{2x^2}\right)\mathrm dx$$
And how can I solve it using $$\sum^{\infty}_{x=-\infty}\arctan\left(\frac{1}{2x^2}\right)\quad\text{ and }\quad \sum^{\infty}_{x=1}\arctan\left(\frac{1}{2x^2}\right)$$
My try:
Let
$$ I = \int_{-\infty}^{\infty}\arctan\left(\frac{1}{2x^2}\right)\cdot 1 \ \mathrm dx = 2\int_{0}^{\infty}\arctan\left(\frac{1}{2x^2}\right)\cdot 1\ \mathrm dx $$
Using Integration by parts, we get $$I = 2\left[\arctan\left(\frac{1}{2x^2}\right)\cdot x\right]_{0}^{\infty}-2\int_{0}^{\infty}\frac{4x^2}{1+4x^4}\ \mathrm dx$$
Now how can I solve after that and also how we connect these integrals to the sums?