Optimal. Leaf size=242 \[ \frac {\left (78032-1254 x+193024 x^2-3072 x^3+35840 x^4\right ) \sqrt {1+\sqrt {x+\sqrt {1+x^2}}}+\left (184+345 x+2048 x^2+2560 x^3\right ) \sqrt {x+\sqrt {1+x^2}} \sqrt {1+\sqrt {x+\sqrt {1+x^2}}}+\sqrt {1+x^2} \left (\left (282+175104 x-3072 x^2+35840 x^3\right ) \sqrt {1+\sqrt {x+\sqrt {1+x^2}}}+\left (-935+2048 x+2560 x^2\right ) \sqrt {x+\sqrt {1+x^2}} \sqrt {1+\sqrt {x+\sqrt {1+x^2}}}\right )}{80640 x \sqrt {1+x^2}+40320 \left (1+2 x^2\right )}-\frac {251}{128} \tanh ^{-1}\left (\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [F]
time = 0.10, 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 \sqrt {1+x^2} \sqrt {1+\sqrt {x+\sqrt {1+x^2}}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \sqrt {1+x^2} \sqrt {1+\sqrt {x+\sqrt {1+x^2}}} \, dx &=\int \sqrt {1+x^2} \sqrt {1+\sqrt {x+\sqrt {1+x^2}}} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.30, size = 177, normalized size = 0.73 \begin {gather*} \frac {\frac {\sqrt {1+\sqrt {x+\sqrt {1+x^2}}} \left (2 \left (39016-627 x+96512 x^2-1536 x^3+17920 x^4\right )+\left (184+345 x+2048 x^2+2560 x^3\right ) \sqrt {x+\sqrt {1+x^2}}+\sqrt {1+x^2} \left (282+175104 x-3072 x^2+35840 x^3+\left (-935+2048 x+2560 x^2\right ) \sqrt {x+\sqrt {1+x^2}}\right )\right )}{1+2 x^2+2 x \sqrt {1+x^2}}-79065 \tanh ^{-1}\left (\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}\right )}{40320} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.02, size = 0, normalized size = 0.00 \[\int \sqrt {x^{2}+1}\, \sqrt {1+\sqrt {x +\sqrt {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*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.36, size = 118, normalized size = 0.49 \begin {gather*} -\frac {1}{40320} \, {\left (1120 \, x^{2} - 2 \, \sqrt {x^{2} + 1} {\left (9520 \, x + 141\right )} + {\left (1680 \, x^{2} - 5 \, \sqrt {x^{2} + 1} {\left (336 \, x - 187\right )} - 2215 \, x - 184\right )} \sqrt {x + \sqrt {x^{2} + 1}} + 1818 \, x - 78032\right )} \sqrt {\sqrt {x + \sqrt {x^{2} + 1}} + 1} - \frac {251}{256} \, \log \left (\sqrt {\sqrt {x + \sqrt {x^{2} + 1}} + 1} + 1\right ) + \frac {251}{256} \, \log \left (\sqrt {\sqrt {x + \sqrt {x^{2} + 1}} + 1} - 1\right ) \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 \sqrt {x^{2} + 1} \sqrt {\sqrt {x + \sqrt {x^{2} + 1}} + 1}\, dx \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*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \sqrt {\sqrt {x+\sqrt {x^2+1}}+1}\,\sqrt {x^2+1} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________