I believe I have evaluated the following integral, and was wondering if I can get a check to my work from my fellow MSE users please! Here is my work and the integral.
$$I:=\int_{0}^{t}\frac{\arctan(x)}{1-x^2}\,dx$$
$$I=\arctan(t)\mathrm{arctanh}(t)-\frac{1}{2}\int_{0}^{t}\frac{\log(\frac{1+x}{1-x})}{1+x^2}\,dx$$
Let $$x\longrightarrow{\frac{1-x}{1 +x}}$$
$$I=\arctan(t)\mathrm{arctanh}(t)-\frac{1}{2}\int_{1}^{\frac{1-t}{1+t}}\frac{\log(x)}{1+x^2}\,dx$$
$$I=\arctan(t)\mathrm{arctanh}(t)-\frac{1}{2}I_{1}$$
Now consider the integral:
$$I_{1}:=\int_{1}^{\frac{1-t}{1+t}}\frac{\log(x)}{1+x^2}\,dx$$
$$I_{1}=\int_{1}^{\frac{1-t}{1+t}}\log(x)\sum_{n=0}^{\infty}(-1)^nx^{2n}\,dx$$
$$I_{1}=\sum_{n=0}^{\infty}(-1)^n\int_{1}^{\frac{1-t}{1+t}}x^{2n}\log(x)\,dx$$
$$I_{1}=\sum_{n=0}^{\infty}(-1)^n[\frac{(\frac{1-t}{1+t})^{2n+1}}{2n+1}\log(\frac{1-t}{1+t})-\frac{(\frac{1-t}{1+t})^{2n+1}}{(2n+1)^2}+\frac{1}{(2n+1)^2}]$$
$$I_{1}=\log(\frac{1-t}{1+t})\arctan(\frac{1-t}{1+t})-\mathrm{Ti}_{2}(\frac{1-t}{1+t})+G$$
Putting everything together we get the resut:
$$I=\mathrm{arctanh}(t)[\arctan(t)+\arctan(\frac{1-t}{1+t})]-\frac{1}{2}G+\frac{1}{2}\mathrm{Ti}_{2}(\frac{1-t}{1+t})$$
Where $\mathrm{Ti}_{2}(x)$ denotes the inverse tangent integral, $G$ denotes Catalan’s constant.
Is this right? Can it be simplified? Anyone got cool and related integrals?