Optimal. Leaf size=171 \[ \sqrt {\sqrt {2}-1} \tan ^{-1}\left (\frac {\sqrt {2 \left (1+\sqrt {2}\right )} x \sqrt {\sqrt {x^4+1}+x^2}}{\sqrt {x^4+1}+x^2+1}\right )+\sqrt {2} \tanh ^{-1}\left (\frac {\sqrt {2} x \sqrt {\sqrt {x^4+1}+x^2}}{\sqrt {x^4+1}+x^2+1}\right )-\sqrt {1+\sqrt {2}} \tanh ^{-1}\left (\frac {\sqrt {2 \left (\sqrt {2}-1\right )} x \sqrt {\sqrt {x^4+1}+x^2}}{\sqrt {x^4+1}+x^2+1}\right ) \]
________________________________________________________________________________________
Rubi [F] time = 0.31, 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 {\sqrt {x^2+\sqrt {1+x^4}}}{1+x^2} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+x^2} \, dx &=\int \left (\frac {i \sqrt {x^2+\sqrt {1+x^4}}}{2 (i-x)}+\frac {i \sqrt {x^2+\sqrt {1+x^4}}}{2 (i+x)}\right ) \, dx\\ &=\frac {1}{2} i \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{i-x} \, dx+\frac {1}{2} i \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{i+x} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [F] time = 0.11, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\sqrt {x^2+\sqrt {1+x^4}}}{1+x^2} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.83, size = 242, normalized size = 1.42 \begin {gather*} \sqrt {-1+\sqrt {2}} \tan ^{-1}\left (\frac {-\sqrt {\frac {1}{2}+\frac {1}{\sqrt {2}}}+\sqrt {\frac {1}{2}+\frac {1}{\sqrt {2}}} x^2+\sqrt {\frac {1}{2}+\frac {1}{\sqrt {2}}} \sqrt {1+x^4}}{x \sqrt {x^2+\sqrt {1+x^4}}}\right )+\sqrt {2} \tanh ^{-1}\left (\frac {-\frac {1}{\sqrt {2}}+\frac {x^2}{\sqrt {2}}+\frac {\sqrt {1+x^4}}{\sqrt {2}}}{x \sqrt {x^2+\sqrt {1+x^4}}}\right )-\sqrt {1+\sqrt {2}} \tanh ^{-1}\left (\frac {-\sqrt {-\frac {1}{2}+\frac {1}{\sqrt {2}}}+\sqrt {-\frac {1}{2}+\frac {1}{\sqrt {2}}} x^2+\sqrt {-\frac {1}{2}+\frac {1}{\sqrt {2}}} \sqrt {1+x^4}}{x \sqrt {x^2+\sqrt {1+x^4}}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.77, size = 333, normalized size = 1.95 \begin {gather*} \sqrt {\sqrt {2} - 1} \arctan \left (\frac {{\left (\sqrt {2} x^{2} + x^{2} + \sqrt {x^{4} + 1} {\left ({\left (\sqrt {2} + 1\right )} \sqrt {-2 \, \sqrt {2} + 3} - \sqrt {2} - 1\right )} - {\left (x^{2} + \sqrt {2} {\left (x^{2} + 2\right )} + 3\right )} \sqrt {-2 \, \sqrt {2} + 3} + 1\right )} \sqrt {x^{2} + \sqrt {x^{4} + 1}} \sqrt {\sqrt {2} - 1}}{2 \, x}\right ) + \frac {1}{4} \, \sqrt {2} \log \left (4 \, x^{4} + 4 \, \sqrt {x^{4} + 1} x^{2} + 2 \, {\left (\sqrt {2} x^{3} + \sqrt {2} \sqrt {x^{4} + 1} x\right )} \sqrt {x^{2} + \sqrt {x^{4} + 1}} + 1\right ) - \frac {1}{4} \, \sqrt {\sqrt {2} + 1} \log \left (\frac {\sqrt {2} x^{2} + 2 \, x^{2} + {\left (x^{3} + \sqrt {2} x - \sqrt {x^{4} + 1} x + x\right )} \sqrt {x^{2} + \sqrt {x^{4} + 1}} \sqrt {\sqrt {2} + 1} + \sqrt {x^{4} + 1} {\left (\sqrt {2} + 1\right )}}{x^{2} + 1}\right ) + \frac {1}{4} \, \sqrt {\sqrt {2} + 1} \log \left (\frac {\sqrt {2} x^{2} + 2 \, x^{2} - {\left (x^{3} + \sqrt {2} x - \sqrt {x^{4} + 1} x + x\right )} \sqrt {x^{2} + \sqrt {x^{4} + 1}} \sqrt {\sqrt {2} + 1} + \sqrt {x^{4} + 1} {\left (\sqrt {2} + 1\right )}}{x^{2} + 1}\right ) \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 {\sqrt {x^{2} + \sqrt {x^{4} + 1}}}{x^{2} + 1}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.02, size = 0, normalized size = 0.00 \[\int \frac {\sqrt {x^{2}+\sqrt {x^{4}+1}}}{x^{2}+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 {\sqrt {x^{2} + \sqrt {x^{4} + 1}}}{x^{2} + 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 {\sqrt {\sqrt {x^4+1}+x^2}}{x^2+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 {\sqrt {x^{2} + \sqrt {x^{4} + 1}}}{x^{2} + 1}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________