3.27.81 \(\int \sqrt {1+x^2} \sqrt {1+\sqrt {x+\sqrt {1+x^2}}} \, dx\) [2681]

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]

((35840*x^4-3072*x^3+193024*x^2-1254*x+78032)*(1+(x+(x^2+1)^(1/2))^(1/2))^(1/2)+(2560*x^3+2048*x^2+345*x+184)*
(x+(x^2+1)^(1/2))^(1/2)*(1+(x+(x^2+1)^(1/2))^(1/2))^(1/2)+(x^2+1)^(1/2)*((35840*x^3-3072*x^2+175104*x+282)*(1+
(x+(x^2+1)^(1/2))^(1/2))^(1/2)+(2560*x^2+2048*x-935)*(x+(x^2+1)^(1/2))^(1/2)*(1+(x+(x^2+1)^(1/2))^(1/2))^(1/2)
))/(80640*x*(x^2+1)^(1/2)+80640*x^2+40320)-251/128*arctanh((1+(x+(x^2+1)^(1/2))^(1/2))^(1/2))

________________________________________________________________________________________

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]

Int[Sqrt[1 + x^2]*Sqrt[1 + Sqrt[x + Sqrt[1 + x^2]]],x]

[Out]

Defer[Int][Sqrt[1 + x^2]*Sqrt[1 + Sqrt[x + Sqrt[1 + x^2]]], x]

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]

Integrate[Sqrt[1 + x^2]*Sqrt[1 + Sqrt[x + Sqrt[1 + x^2]]],x]

[Out]

((Sqrt[1 + Sqrt[x + Sqrt[1 + x^2]]]*(2*(39016 - 627*x + 96512*x^2 - 1536*x^3 + 17920*x^4) + (184 + 345*x + 204
8*x^2 + 2560*x^3)*Sqrt[x + Sqrt[1 + x^2]] + Sqrt[1 + x^2]*(282 + 175104*x - 3072*x^2 + 35840*x^3 + (-935 + 204
8*x + 2560*x^2)*Sqrt[x + Sqrt[1 + x^2]])))/(1 + 2*x^2 + 2*x*Sqrt[1 + x^2]) - 79065*ArcTanh[Sqrt[1 + Sqrt[x + S
qrt[1 + x^2]]]])/40320

________________________________________________________________________________________

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]

int((x^2+1)^(1/2)*(1+(x+(x^2+1)^(1/2))^(1/2))^(1/2),x)

[Out]

int((x^2+1)^(1/2)*(1+(x+(x^2+1)^(1/2))^(1/2))^(1/2),x)

________________________________________________________________________________________

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]

integrate((x^2+1)^(1/2)*(1+(x+(x^2+1)^(1/2))^(1/2))^(1/2),x, algorithm="maxima")

[Out]

integrate(sqrt(x^2 + 1)*sqrt(sqrt(x + sqrt(x^2 + 1)) + 1), x)

________________________________________________________________________________________

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]

integrate((x^2+1)^(1/2)*(1+(x+(x^2+1)^(1/2))^(1/2))^(1/2),x, algorithm="fricas")

[Out]

-1/40320*(1120*x^2 - 2*sqrt(x^2 + 1)*(9520*x + 141) + (1680*x^2 - 5*sqrt(x^2 + 1)*(336*x - 187) - 2215*x - 184
)*sqrt(x + sqrt(x^2 + 1)) + 1818*x - 78032)*sqrt(sqrt(x + sqrt(x^2 + 1)) + 1) - 251/256*log(sqrt(sqrt(x + sqrt
(x^2 + 1)) + 1) + 1) + 251/256*log(sqrt(sqrt(x + sqrt(x^2 + 1)) + 1) - 1)

________________________________________________________________________________________

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]

integrate((x**2+1)**(1/2)*(1+(x+(x**2+1)**(1/2))**(1/2))**(1/2),x)

[Out]

Integral(sqrt(x**2 + 1)*sqrt(sqrt(x + sqrt(x**2 + 1)) + 1), x)

________________________________________________________________________________________

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]

integrate((x^2+1)^(1/2)*(1+(x+(x^2+1)^(1/2))^(1/2))^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(x^2 + 1)*sqrt(sqrt(x + sqrt(x^2 + 1)) + 1), x)

________________________________________________________________________________________

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]

int(((x + (x^2 + 1)^(1/2))^(1/2) + 1)^(1/2)*(x^2 + 1)^(1/2),x)

[Out]

int(((x + (x^2 + 1)^(1/2))^(1/2) + 1)^(1/2)*(x^2 + 1)^(1/2), x)

________________________________________________________________________________________