I have the function
$$ \Sigma(x) = \frac{\sqrt{R^2-x^2}(\left| R\right| -1)}{\left(R^2-1\right) \left(x^2-1\right)}+\frac{\tan ^{-1}\left(\frac{\sqrt{R^2-x^2}}{\sqrt{R^2 \left(1-x^2\right)}}\right)-\tan ^{-1}\left(\frac{\sqrt{R^2-x^2}}{\sqrt{1-x^2}}\right)}{\left(1-x^2\right)^{3/2}} $$
and need to compute the integral
$$ \overline{\Sigma}(x) =\frac{2}{x^2}\int_0^xx\Sigma(x')dx' $$
for $0<x<1$. My Mathematica (12.0) seems to hang without end on trying to do the definite integral:
sigx = (-ArcTan[Sqrt[R^2 - x^2]/Sqrt[1 - x^2]] + ArcTan[Sqrt[R^2 - x^2]/Sqrt[R^2 (1 - x^2)]])/(1 - x^2)^(3/2) + Sqrt[R^2 - x^2][-1 + Sqrt[R^2]]/((-1 + R^2) (-1 + x^2))
int = Integrate[x*sigx, {x, 0, X}, Assumptions->{x<1 && x<= R && x>0}]
And also on trying to take the limit on the indefinite result:
intIndef = Integrate[x*sigx, x, Assumptions->{x<1 && x<= R}]
Limit[intIndef, x->0, Assumptions->{R > 0, R \[Element] Reals}]
Note that I'm using what I think are important assumptions that should help things along. Is this integrand truly just nasty, or am I missing a possible technique?
0<X<1
(note capital x). That said, it still might hang. $\endgroup$