Integrand size = 51, antiderivative size = 406 \[ \int \frac {\left (1+x^4\right ) \sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\left (1-x^4\right ) \sqrt {x+\sqrt {1+x^2}}} \, dx=\frac {\left (-8-3 x-32 x^2\right ) \sqrt {1+\sqrt {x+\sqrt {1+x^2}}}+(2-16 x) \sqrt {x+\sqrt {1+x^2}} \sqrt {1+\sqrt {x+\sqrt {1+x^2}}}+\sqrt {1+x^2} \left ((-3-32 x) \sqrt {1+\sqrt {x+\sqrt {1+x^2}}}-16 \sqrt {x+\sqrt {1+x^2}} \sqrt {1+\sqrt {x+\sqrt {1+x^2}}}\right )}{24 \left (x+\sqrt {1+x^2}\right )^{3/2}}+\frac {1}{8} \text {arctanh}\left (\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}\right )-\frac {1}{2} \text {RootSum}\left [-2+4 \text {$\#$1}^4-4 \text {$\#$1}^6+\text {$\#$1}^8\&,\frac {\log \left (\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}-\text {$\#$1}\right ) \text {$\#$1}}{-1+\text {$\#$1}^2}\&\right ]+\text {RootSum}\left [2-4 \text {$\#$1}^2+6 \text {$\#$1}^4-4 \text {$\#$1}^6+\text {$\#$1}^8\&,\frac {\log \left (\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}-\text {$\#$1}\right ) \text {$\#$1}}{-1+3 \text {$\#$1}^2-3 \text {$\#$1}^4+\text {$\#$1}^6}\&\right ]+\frac {1}{2} \text {RootSum}\left [2-8 \text {$\#$1}^2+8 \text {$\#$1}^4-4 \text {$\#$1}^6+\text {$\#$1}^8\&,\frac {\log \left (\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}-\text {$\#$1}\right ) \text {$\#$1}}{-1+\text {$\#$1}^2}\&\right ] \]
Time = 0.00 (sec) , antiderivative size = 367, normalized size of antiderivative = 0.90 \[ \int \frac {\left (1+x^4\right ) \sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\left (1-x^4\right ) \sqrt {x+\sqrt {1+x^2}}} \, dx=\frac {1}{24} \left (-\frac {\sqrt {1+\sqrt {x+\sqrt {1+x^2}}} \left (8+32 x^2+3 \sqrt {1+x^2}-2 \sqrt {x+\sqrt {1+x^2}}+16 \sqrt {1+x^2} \sqrt {x+\sqrt {1+x^2}}+x \left (3+32 \sqrt {1+x^2}+16 \sqrt {x+\sqrt {1+x^2}}\right )\right )}{\left (x+\sqrt {1+x^2}\right )^{3/2}}+3 \text {arctanh}\left (\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}\right )-12 \text {RootSum}\left [-2+4 \text {$\#$1}^4-4 \text {$\#$1}^6+\text {$\#$1}^8\&,\frac {\log \left (\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}-\text {$\#$1}\right ) \text {$\#$1}}{-1+\text {$\#$1}^2}\&\right ]+24 \text {RootSum}\left [2-4 \text {$\#$1}^2+6 \text {$\#$1}^4-4 \text {$\#$1}^6+\text {$\#$1}^8\&,\frac {\log \left (\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}-\text {$\#$1}\right ) \text {$\#$1}}{-1+3 \text {$\#$1}^2-3 \text {$\#$1}^4+\text {$\#$1}^6}\&\right ]+12 \text {RootSum}\left [2-8 \text {$\#$1}^2+8 \text {$\#$1}^4-4 \text {$\#$1}^6+\text {$\#$1}^8\&,\frac {\log \left (\sqrt {1+\sqrt {x+\sqrt {1+x^2}}}-\text {$\#$1}\right ) \text {$\#$1}}{-1+\text {$\#$1}^2}\&\right ]\right ) \]
Integrate[((1 + x^4)*Sqrt[1 + Sqrt[x + Sqrt[1 + x^2]]])/((1 - x^4)*Sqrt[x + Sqrt[1 + x^2]]),x]
(-((Sqrt[1 + Sqrt[x + Sqrt[1 + x^2]]]*(8 + 32*x^2 + 3*Sqrt[1 + x^2] - 2*Sq rt[x + Sqrt[1 + x^2]] + 16*Sqrt[1 + x^2]*Sqrt[x + Sqrt[1 + x^2]] + x*(3 + 32*Sqrt[1 + x^2] + 16*Sqrt[x + Sqrt[1 + x^2]])))/(x + Sqrt[1 + x^2])^(3/2) ) + 3*ArcTanh[Sqrt[1 + Sqrt[x + Sqrt[1 + x^2]]]] - 12*RootSum[-2 + 4*#1^4 - 4*#1^6 + #1^8 & , (Log[Sqrt[1 + Sqrt[x + Sqrt[1 + x^2]]] - #1]*#1)/(-1 + #1^2) & ] + 24*RootSum[2 - 4*#1^2 + 6*#1^4 - 4*#1^6 + #1^8 & , (Log[Sqrt[ 1 + Sqrt[x + Sqrt[1 + x^2]]] - #1]*#1)/(-1 + 3*#1^2 - 3*#1^4 + #1^6) & ] + 12*RootSum[2 - 8*#1^2 + 8*#1^4 - 4*#1^6 + #1^8 & , (Log[Sqrt[1 + Sqrt[x + Sqrt[1 + x^2]]] - #1]*#1)/(-1 + #1^2) & ])/24
Below are the steps used by Rubi to obtain the solution. The rule number used for the transformation is given above next to the arrow. The rules definitions used are listed below.
\(\displaystyle \int \frac {\left (x^4+1\right ) \sqrt {\sqrt {\sqrt {x^2+1}+x}+1}}{\left (1-x^4\right ) \sqrt {\sqrt {x^2+1}+x}} \, dx\) |
\(\Big \downarrow \) 7276 |
\(\displaystyle \int \left (\frac {2 \sqrt {\sqrt {\sqrt {x^2+1}+x}+1}}{\left (1-x^4\right ) \sqrt {\sqrt {x^2+1}+x}}-\frac {\sqrt {\sqrt {\sqrt {x^2+1}+x}+1}}{\sqrt {\sqrt {x^2+1}+x}}\right )dx\) |
\(\Big \downarrow \) 2009 |
\(\displaystyle -\int \frac {\sqrt {\sqrt {x+\sqrt {x^2+1}}+1}}{\sqrt {x+\sqrt {x^2+1}}}dx+\frac {1}{2} i \int \frac {\sqrt {\sqrt {x+\sqrt {x^2+1}}+1}}{(i-x) \sqrt {x+\sqrt {x^2+1}}}dx+\frac {1}{2} \int \frac {\sqrt {\sqrt {x+\sqrt {x^2+1}}+1}}{(1-x) \sqrt {x+\sqrt {x^2+1}}}dx+\frac {1}{2} i \int \frac {\sqrt {\sqrt {x+\sqrt {x^2+1}}+1}}{(x+i) \sqrt {x+\sqrt {x^2+1}}}dx+\frac {1}{2} \int \frac {\sqrt {\sqrt {x+\sqrt {x^2+1}}+1}}{(x+1) \sqrt {x+\sqrt {x^2+1}}}dx\) |
3.31.10.3.1 Defintions of rubi rules used
Int[(u_)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> With[{v = RationalFunctionE xpand[u/(a + b*x^n), x]}, Int[v, x] /; SumQ[v]] /; FreeQ[{a, b}, x] && IGtQ [n, 0]
Not integrable
Time = 0.00 (sec) , antiderivative size = 41, normalized size of antiderivative = 0.10
\[\int \frac {\left (x^{4}+1\right ) \sqrt {1+\sqrt {x +\sqrt {x^{2}+1}}}}{\left (-x^{4}+1\right ) \sqrt {x +\sqrt {x^{2}+1}}}d x\]
Result contains higher order function than in optimal. Order 3 vs. order 1.
Time = 1.21 (sec) , antiderivative size = 7234, normalized size of antiderivative = 17.82 \[ \int \frac {\left (1+x^4\right ) \sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\left (1-x^4\right ) \sqrt {x+\sqrt {1+x^2}}} \, dx=\text {Too large to display} \]
integrate((x^4+1)*(1+(x+(x^2+1)^(1/2))^(1/2))^(1/2)/(-x^4+1)/(x+(x^2+1)^(1 /2))^(1/2),x, algorithm="fricas")
Not integrable
Time = 54.32 (sec) , antiderivative size = 105, normalized size of antiderivative = 0.26 \[ \int \frac {\left (1+x^4\right ) \sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\left (1-x^4\right ) \sqrt {x+\sqrt {1+x^2}}} \, dx=- \int \frac {\sqrt {\sqrt {x + \sqrt {x^{2} + 1}} + 1}}{x^{4} \sqrt {x + \sqrt {x^{2} + 1}} - \sqrt {x + \sqrt {x^{2} + 1}}}\, dx - \int \frac {x^{4} \sqrt {\sqrt {x + \sqrt {x^{2} + 1}} + 1}}{x^{4} \sqrt {x + \sqrt {x^{2} + 1}} - \sqrt {x + \sqrt {x^{2} + 1}}}\, dx \]
integrate((x**4+1)*(1+(x+(x**2+1)**(1/2))**(1/2))**(1/2)/(-x**4+1)/(x+(x** 2+1)**(1/2))**(1/2),x)
-Integral(sqrt(sqrt(x + sqrt(x**2 + 1)) + 1)/(x**4*sqrt(x + sqrt(x**2 + 1) ) - sqrt(x + sqrt(x**2 + 1))), x) - Integral(x**4*sqrt(sqrt(x + sqrt(x**2 + 1)) + 1)/(x**4*sqrt(x + sqrt(x**2 + 1)) - sqrt(x + sqrt(x**2 + 1))), x)
Not integrable
Time = 0.91 (sec) , antiderivative size = 43, normalized size of antiderivative = 0.11 \[ \int \frac {\left (1+x^4\right ) \sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\left (1-x^4\right ) \sqrt {x+\sqrt {1+x^2}}} \, dx=\int { -\frac {{\left (x^{4} + 1\right )} \sqrt {\sqrt {x + \sqrt {x^{2} + 1}} + 1}}{{\left (x^{4} - 1\right )} \sqrt {x + \sqrt {x^{2} + 1}}} \,d x } \]
integrate((x^4+1)*(1+(x+(x^2+1)^(1/2))^(1/2))^(1/2)/(-x^4+1)/(x+(x^2+1)^(1 /2))^(1/2),x, algorithm="maxima")
-integrate((x^4 + 1)*sqrt(sqrt(x + sqrt(x^2 + 1)) + 1)/((x^4 - 1)*sqrt(x + sqrt(x^2 + 1))), x)
Timed out. \[ \int \frac {\left (1+x^4\right ) \sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\left (1-x^4\right ) \sqrt {x+\sqrt {1+x^2}}} \, dx=\text {Timed out} \]
integrate((x^4+1)*(1+(x+(x^2+1)^(1/2))^(1/2))^(1/2)/(-x^4+1)/(x+(x^2+1)^(1 /2))^(1/2),x, algorithm="giac")
Not integrable
Time = 0.00 (sec) , antiderivative size = 42, normalized size of antiderivative = 0.10 \[ \int \frac {\left (1+x^4\right ) \sqrt {1+\sqrt {x+\sqrt {1+x^2}}}}{\left (1-x^4\right ) \sqrt {x+\sqrt {1+x^2}}} \, dx=\int -\frac {\sqrt {\sqrt {x+\sqrt {x^2+1}}+1}\,\left (x^4+1\right )}{\left (x^4-1\right )\,\sqrt {x+\sqrt {x^2+1}}} \,d x \]
int(-(((x + (x^2 + 1)^(1/2))^(1/2) + 1)^(1/2)*(x^4 + 1))/((x^4 - 1)*(x + ( x^2 + 1)^(1/2))^(1/2)),x)