Optimal. Leaf size=104 \[ -\frac {2}{15} \sqrt {\sqrt {x^2+1}+1} \left (3 x^2+1\right )+\sqrt {x^2+1} \left (\frac {8 x}{15 \sqrt {\sqrt {x^2+1}+1}}-\frac {2}{15} \sqrt {\sqrt {x^2+1}+1}\right )+\frac {2 x \left (3 x^2+11\right )}{15 \sqrt {\sqrt {x^2+1}+1}} \]
________________________________________________________________________________________
Rubi [F] time = 0.17, 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 {1+\sqrt {1+x^2}}}{x+\sqrt {1+x^2}} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
Rubi steps
\begin {align*} \int \frac {\sqrt {1+\sqrt {1+x^2}}}{x+\sqrt {1+x^2}} \, dx &=-\int x \sqrt {1+\sqrt {1+x^2}} \, dx+\int \sqrt {1+x^2} \sqrt {1+\sqrt {1+x^2}} \, dx\\ &=-\left (\frac {1}{2} \operatorname {Subst}\left (\int \sqrt {1+\sqrt {x}} \, dx,x,1+x^2\right )\right )+\int \sqrt {1+x^2} \sqrt {1+\sqrt {1+x^2}} \, dx\\ &=\int \sqrt {1+x^2} \sqrt {1+\sqrt {1+x^2}} \, dx-\operatorname {Subst}\left (\int x \sqrt {1+x} \, dx,x,\sqrt {1+x^2}\right )\\ &=\int \sqrt {1+x^2} \sqrt {1+\sqrt {1+x^2}} \, dx-\operatorname {Subst}\left (\int \left (-\sqrt {1+x}+(1+x)^{3/2}\right ) \, dx,x,\sqrt {1+x^2}\right )\\ &=\frac {2}{3} \left (1+\sqrt {1+x^2}\right )^{3/2}-\frac {2}{5} \left (1+\sqrt {1+x^2}\right )^{5/2}+\int \sqrt {1+x^2} \sqrt {1+\sqrt {1+x^2}} \, dx\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.13, size = 72, normalized size = 0.69 \begin {gather*} \frac {2 \sqrt {\sqrt {x^2+1}+1} \left (-3 x^3+\left (3 \sqrt {x^2+1}+1\right ) x^2-\left (\sqrt {x^2+1}+1\right ) x+7 \left (\sqrt {x^2+1}-1\right )\right )}{15 x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.40, size = 104, normalized size = 1.00 \begin {gather*} \frac {2 x \left (11+3 x^2\right )}{15 \sqrt {1+\sqrt {1+x^2}}}-\frac {2}{15} \left (1+3 x^2\right ) \sqrt {1+\sqrt {1+x^2}}+\sqrt {1+x^2} \left (\frac {8 x}{15 \sqrt {1+\sqrt {1+x^2}}}-\frac {2}{15} \sqrt {1+\sqrt {1+x^2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.62, size = 48, normalized size = 0.46 \begin {gather*} -\frac {2 \, {\left (3 \, x^{3} - x^{2} - {\left (3 \, x^{2} - x + 7\right )} \sqrt {x^{2} + 1} + x + 7\right )} \sqrt {\sqrt {x^{2} + 1} + 1}}{15 \, 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 {\sqrt {\sqrt {x^{2} + 1} + 1}}{x + \sqrt {x^{2} + 1}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {\sqrt {1+\sqrt {x^{2}+1}}}{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*} \int \frac {\sqrt {\sqrt {x^{2} + 1} + 1}}{x + \sqrt {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^2+1}+1}}{x+\sqrt {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 {\sqrt {x^{2} + 1} + 1}}{x + \sqrt {x^{2} + 1}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________