Optimal. Leaf size=153 \[ \frac {2 \sqrt {x^2+1} x}{3 \sqrt {\sqrt {x^2+1}+1}}+\frac {4 x}{3 \sqrt {\sqrt {x^2+1}+1}}-2 \tan ^{-1}\left (\frac {x}{\sqrt {\sqrt {x^2+1}+1}}\right )+\sqrt {\sqrt {2}-1} \tan ^{-1}\left (\frac {x}{\sqrt {1+\sqrt {2}} \sqrt {\sqrt {x^2+1}+1}}\right )-\sqrt {1+\sqrt {2}} \tanh ^{-1}\left (\frac {x}{\sqrt {\sqrt {2}-1} \sqrt {\sqrt {x^2+1}+1}}\right ) \]
________________________________________________________________________________________
Rubi [F] time = 0.79, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \begin {gather*} \int \frac {\left (1+x^4\right ) \sqrt {1+\sqrt {1+x^2}}}{-1+x^4} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {\left (1+x^4\right ) \sqrt {1+\sqrt {1+x^2}}}{-1+x^4} \, dx &=\int \left (\sqrt {1+\sqrt {1+x^2}}+\frac {2 \sqrt {1+\sqrt {1+x^2}}}{-1+x^4}\right ) \, dx\\ &=2 \int \frac {\sqrt {1+\sqrt {1+x^2}}}{-1+x^4} \, dx+\int \sqrt {1+\sqrt {1+x^2}} \, dx\\ &=\frac {2 x^3}{3 \left (1+\sqrt {1+x^2}\right )^{3/2}}+\frac {2 x}{\sqrt {1+\sqrt {1+x^2}}}+2 \int \left (-\frac {\sqrt {1+\sqrt {1+x^2}}}{2 \left (1-x^2\right )}-\frac {\sqrt {1+\sqrt {1+x^2}}}{2 \left (1+x^2\right )}\right ) \, dx\\ &=\frac {2 x^3}{3 \left (1+\sqrt {1+x^2}\right )^{3/2}}+\frac {2 x}{\sqrt {1+\sqrt {1+x^2}}}-\int \frac {\sqrt {1+\sqrt {1+x^2}}}{1-x^2} \, dx-\int \frac {\sqrt {1+\sqrt {1+x^2}}}{1+x^2} \, dx\\ &=\frac {2 x^3}{3 \left (1+\sqrt {1+x^2}\right )^{3/2}}+\frac {2 x}{\sqrt {1+\sqrt {1+x^2}}}-\int \left (\frac {i \sqrt {1+\sqrt {1+x^2}}}{2 (i-x)}+\frac {i \sqrt {1+\sqrt {1+x^2}}}{2 (i+x)}\right ) \, dx-\int \left (\frac {\sqrt {1+\sqrt {1+x^2}}}{2 (1-x)}+\frac {\sqrt {1+\sqrt {1+x^2}}}{2 (1+x)}\right ) \, dx\\ &=\frac {2 x^3}{3 \left (1+\sqrt {1+x^2}\right )^{3/2}}+\frac {2 x}{\sqrt {1+\sqrt {1+x^2}}}-\frac {1}{2} i \int \frac {\sqrt {1+\sqrt {1+x^2}}}{i-x} \, dx-\frac {1}{2} i \int \frac {\sqrt {1+\sqrt {1+x^2}}}{i+x} \, dx-\frac {1}{2} \int \frac {\sqrt {1+\sqrt {1+x^2}}}{1-x} \, dx-\frac {1}{2} \int \frac {\sqrt {1+\sqrt {1+x^2}}}{1+x} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 0.19, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (1+x^4\right ) \sqrt {1+\sqrt {1+x^2}}}{-1+x^4} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.27, size = 153, normalized size = 1.00 \begin {gather*} \frac {4 x}{3 \sqrt {1+\sqrt {1+x^2}}}+\frac {2 x \sqrt {1+x^2}}{3 \sqrt {1+\sqrt {1+x^2}}}-2 \tan ^{-1}\left (\frac {x}{\sqrt {1+\sqrt {1+x^2}}}\right )+\sqrt {-1+\sqrt {2}} \tan ^{-1}\left (\frac {\sqrt {-1+\sqrt {2}} x}{\sqrt {1+\sqrt {1+x^2}}}\right )-\sqrt {1+\sqrt {2}} \tanh ^{-1}\left (\frac {\sqrt {1+\sqrt {2}} x}{\sqrt {1+\sqrt {1+x^2}}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 11.14, size = 499, normalized size = 3.26 \begin {gather*} -\frac {12 \, x \sqrt {\sqrt {2} - 1} \arctan \left (\frac {{\left (51 \, x^{5} - 222 \, x^{3} - 2 \, \sqrt {2} {\left (5 \, x^{5} - 163 \, x^{3} - 46 \, x\right )} + 2 \, {\left (31 \, x^{3} + \sqrt {2} {\left (41 \, x^{3} - 81 \, x\right )} + 173 \, x\right )} \sqrt {x^{2} + 1} + 11 \, x\right )} \sqrt {3821 \, \sqrt {2} + 4841} \sqrt {\sqrt {2} - 1} + 4802 \, {\left (x^{4} + \sqrt {2} {\left (x^{4} - 3 \, x^{2} - 2\right )} + {\left (3 \, x^{2} + 2 \, \sqrt {2} {\left (x^{2} + 1\right )} + 1\right )} \sqrt {x^{2} + 1} - 1\right )} \sqrt {\sqrt {2} - 1} \sqrt {\sqrt {x^{2} + 1} + 1}}{2401 \, {\left (x^{5} - 10 \, x^{3} - 7 \, x\right )}}\right ) + 3 \, x \sqrt {\sqrt {2} + 1} \log \left (-\frac {{\left (71 \, x^{3} - \sqrt {2} {\left (61 \, x^{3} + 325 \, x\right )} + 2 \, \sqrt {x^{2} + 1} {\left (132 \, \sqrt {2} x - 193 \, x\right )} + 457 \, x\right )} \sqrt {\sqrt {2} + 1} + 2 \, {\left (71 \, x^{2} - \sqrt {2} {\left (61 \, x^{2} + 132\right )} + \sqrt {x^{2} + 1} {\left (132 \, \sqrt {2} - 193\right )} + 193\right )} \sqrt {\sqrt {x^{2} + 1} + 1}}{x^{3} - x}\right ) - 3 \, x \sqrt {\sqrt {2} + 1} \log \left (\frac {{\left (71 \, x^{3} - \sqrt {2} {\left (61 \, x^{3} + 325 \, x\right )} + 2 \, \sqrt {x^{2} + 1} {\left (132 \, \sqrt {2} x - 193 \, x\right )} + 457 \, x\right )} \sqrt {\sqrt {2} + 1} - 2 \, {\left (71 \, x^{2} - \sqrt {2} {\left (61 \, x^{2} + 132\right )} + \sqrt {x^{2} + 1} {\left (132 \, \sqrt {2} - 193\right )} + 193\right )} \sqrt {\sqrt {x^{2} + 1} + 1}}{x^{3} - x}\right ) - 6 \, x \arctan \left (\frac {4 \, {\left (x^{4} - 12 \, x^{2} + {\left (5 \, x^{2} - 3\right )} \sqrt {x^{2} + 1} + 3\right )} \sqrt {\sqrt {x^{2} + 1} + 1}}{x^{5} - 46 \, x^{3} + 17 \, x}\right ) - 8 \, {\left (x^{2} + \sqrt {x^{2} + 1} - 1\right )} \sqrt {\sqrt {x^{2} + 1} + 1}}{12 \, x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {{\left (x^{4} + 1\right )} \sqrt {\sqrt {x^{2} + 1} + 1}}{x^{4} - 1}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.04, size = 0, normalized size = 0.00 \[\int \frac {\left (x^{4}+1\right ) \sqrt {1+\sqrt {x^{2}+1}}}{x^{4}-1}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {{\left (x^{4} + 1\right )} \sqrt {\sqrt {x^{2} + 1} + 1}}{x^{4} - 1}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {\left (x^4+1\right )\,\sqrt {\sqrt {x^2+1}+1}}{x^4-1} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (x^{4} + 1\right ) \sqrt {\sqrt {x^{2} + 1} + 1}}{\left (x - 1\right ) \left (x + 1\right ) \left (x^{2} + 1\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________