Optimal. Leaf size=23 \[ \frac{\tanh ^{-1}\left (\frac{\sqrt{2} x}{\sqrt{x^4+1}}\right )}{\sqrt{2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0321883, antiderivative size = 23, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {1699, 206} \[ \frac{\tanh ^{-1}\left (\frac{\sqrt{2} x}{\sqrt{x^4+1}}\right )}{\sqrt{2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1699
Rule 206
Rubi steps
\begin{align*} \int \frac{1+x^2}{\left (1-x^2\right ) \sqrt{1+x^4}} \, dx &=\operatorname{Subst}\left (\int \frac{1}{1-2 x^2} \, dx,x,\frac{x}{\sqrt{1+x^4}}\right )\\ &=\frac{\tanh ^{-1}\left (\frac{\sqrt{2} x}{\sqrt{1+x^4}}\right )}{\sqrt{2}}\\ \end{align*}
Mathematica [C] time = 0.096379, size = 36, normalized size = 1.57 \[ \sqrt [4]{-1} \left (\text{EllipticF}\left (i \sinh ^{-1}\left (\sqrt [4]{-1} x\right ),-1\right )-2 \Pi \left (i;\left .\sin ^{-1}\left ((-1)^{3/4} x\right )\right |-1\right )\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.059, size = 112, normalized size = 4.9 \begin{align*} -{\frac{{\it EllipticF} \left ( x \left ({\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2} \right ) ,i \right ) }{{\frac{\sqrt{2}}{2}}+{\frac{i}{2}}\sqrt{2}}\sqrt{1-i{x}^{2}}\sqrt{1+i{x}^{2}}{\frac{1}{\sqrt{{x}^{4}+1}}}}-2\,{\frac{ \left ( -1 \right ) ^{3/4}\sqrt{1-i{x}^{2}}\sqrt{1+i{x}^{2}}{\it EllipticPi} \left ( \sqrt [4]{-1}x,-i,\sqrt{-i}- \left ( -1 \right ) ^{3/4} \right ) }{\sqrt{{x}^{4}+1}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -\int \frac{x^{2} + 1}{\sqrt{x^{4} + 1}{\left (x^{2} - 1\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.33205, size = 111, normalized size = 4.83 \begin{align*} \frac{1}{4} \, \sqrt{2} \log \left (\frac{x^{4} + 2 \, \sqrt{2} \sqrt{x^{4} + 1} x + 2 \, x^{2} + 1}{x^{4} - 2 \, x^{2} + 1}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} - \int \frac{x^{2}}{x^{2} \sqrt{x^{4} + 1} - \sqrt{x^{4} + 1}}\, dx - \int \frac{1}{x^{2} \sqrt{x^{4} + 1} - \sqrt{x^{4} + 1}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int -\frac{x^{2} + 1}{\sqrt{x^{4} + 1}{\left (x^{2} - 1\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]