<s>[INST] Integral $\int_{-1}^1\frac1x\sqrt{\frac{1+x}{1-x}}\ln\left(\frac{2\,x^2+2\,x+1}{2\,x^2-2\,x+1}\right) \mathrm dx$ I need help with this integral:
$$I=\int_{-1}^1\frac1x\sqrt{\frac{1+x}{1-x}}\ln\left(\frac{2\,x^2+2\,x+1}{2\,x^2-2\,x+1}\right)\ \mathrm dx.$$
The integrand graph looks like this:
$\hspace{1in}$
The approximate numeric value of the integral:
$$I\approx8.372211626601275661625747121...$$
Neither Mathematica nor Maple could find a closed form for this integral, and lookups of the approximate numeric value in WolframAlpha and ISC+ did not return plausible closed form candidates either. But I still hope there might be a closed form for it.
I am also interested in cases when only numerator or only denominator is present under the logarithm.
 [/INST] For the purposes of alternative methods, it may be of interest to note that the integrand
$$f(x)=\frac{1}{x}\sqrt{\frac{1+x}{1-x}}\log\left(\frac{2x^2+2x+1}{2x^2-2x+1}\right)$$ may be rewritten in terms of hyperbolic trigonometric functions. Using 
$$\tanh^{-1}(z) = \frac{1}{2}\log\left(\frac{1+z}{1-z}\right),$$
and we obtain
$$f(x)=\frac{1}{x}e^{\tanh^{-1}x}\log\left(\frac{1+\frac{2x}{1+2x^2}}{1-\frac{2x}{1+2x^2}}\right) = e^{\tanh^{-1} x}\left(\frac{2\tanh^{-1}\left(\frac{2x}{1+2x^2}\right)}{x}\right).$$
The rational function in the bracket, which we will denote $s(x)$, is symmetric about $x=0$.
The desired integral is
$$I=\int_{-1}^1 f(x)dx = \int_{-1}^1e^{\tanh^{-1}x}s(x)dx,$$
which, by adding the indicated useful definite integral to both side, gives
$$I + \int_{-1}^1 e^{-\tanh^{-1}x}s(x)dx = 2\int_{-1}^1 \frac{s(x)dx}{\sqrt{1-x^2}}.$$
Now using the change of variable $x=-y$ we have $$\int_{-1}^1 e^{-\tanh^{-1} x}s(x)dx = -\int_1^{-1} e^{\tanh y}s(-y)dy = \int_{-1}^1 e^{\tanh y}s(y)dy = I,$$ by the symmetry of $s(x)$. Hence, we finally obtain
$$I = \int_{-1}^1\frac{s(x)dx}{\sqrt{1-x^2}} = 2\int_{-1}^1\frac{1}{x\sqrt{1-x^2}}\tanh^{-1}\left(\frac{2x}{1+2x^2}\right)dx.$$
This integral is symmetric about $x=0$, so we have
$$I=4\int_0^1\frac{1}{x\sqrt{1-x^2}}\tanh^{-1}\left(\frac{2x}{1+2x^2}\right)dx,$$ which can be rewritten $$I=-4\int_0^1\left(\frac{d}{dx}\text{sech}^{-1}x\right)\tanh^{-1}\left(\frac{2x}{1+2x^2}\right)dx.$$
Using integration by parts this results in
$$I=8\int_0^1\frac{\text{sech}^{-1}(x)(1-2x^2)}{1+4x^4}dx.$$

We could also make the  change of variable $y=\text{sech}^{-1}x$ to obtain
$$I=8\int_0^\infty\frac{y(\cosh^2(y)-2)\sinh y}{\cosh^4(y)+4}dy= 8\int_0^\infty\frac{y\sinh^3 y}{\cosh^4y+4}dy-8\int_0^\infty\frac{y\sinh y}{\cosh^4 y+4}dy.$$
</s>