Integrand size = 19, antiderivative size = 133 \[ \int \sqrt {1+\sqrt {1+\sqrt {1+x}}} \, dx=\frac {8}{315} (27+35 x) \sqrt {1+\sqrt {1+\sqrt {1+x}}}-\frac {64}{315} \sqrt {1+\sqrt {1+x}} \sqrt {1+\sqrt {1+\sqrt {1+x}}}+\sqrt {1+x} \left (\frac {8}{315} \sqrt {1+\sqrt {1+\sqrt {1+x}}}+\frac {8}{63} \sqrt {1+\sqrt {1+x}} \sqrt {1+\sqrt {1+\sqrt {1+x}}}\right ) \]
[Out]
Time = 0.04 (sec) , antiderivative size = 70, normalized size of antiderivative = 0.53, number of steps used = 5, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.158, Rules used = {378, 1412, 786} \[ \int \sqrt {1+\sqrt {1+\sqrt {1+x}}} \, dx=\frac {8}{9} \left (\sqrt {\sqrt {x+1}+1}+1\right )^{9/2}-\frac {24}{7} \left (\sqrt {\sqrt {x+1}+1}+1\right )^{7/2}+\frac {16}{5} \left (\sqrt {\sqrt {x+1}+1}+1\right )^{5/2} \]
[In]
[Out]
Rule 378
Rule 786
Rule 1412
Rubi steps \begin{align*} \text {integral}& = 2 \text {Subst}\left (\int x \sqrt {1+\sqrt {1+x}} \, dx,x,\sqrt {1+x}\right ) \\ & = 2 \text {Subst}\left (\int \sqrt {1+\sqrt {x}} (-1+x) \, dx,x,1+\sqrt {1+x}\right ) \\ & = 4 \text {Subst}\left (\int x \sqrt {1+x} \left (-1+x^2\right ) \, dx,x,\sqrt {1+\sqrt {1+x}}\right ) \\ & = 4 \text {Subst}\left (\int \left (2 (1+x)^{3/2}-3 (1+x)^{5/2}+(1+x)^{7/2}\right ) \, dx,x,\sqrt {1+\sqrt {1+x}}\right ) \\ & = \frac {16}{5} \left (1+\sqrt {1+\sqrt {1+x}}\right )^{5/2}-\frac {24}{7} \left (1+\sqrt {1+\sqrt {1+x}}\right )^{7/2}+\frac {8}{9} \left (1+\sqrt {1+\sqrt {1+x}}\right )^{9/2} \\ \end{align*}
Time = 0.06 (sec) , antiderivative size = 72, normalized size of antiderivative = 0.54 \[ \int \sqrt {1+\sqrt {1+\sqrt {1+x}}} \, dx=\frac {8}{315} \sqrt {1+\sqrt {1+\sqrt {1+x}}} \left (27+35 x+\sqrt {1+x}-8 \sqrt {1+\sqrt {1+x}}+5 \sqrt {1+x} \sqrt {1+\sqrt {1+x}}\right ) \]
[In]
[Out]
Time = 0.14 (sec) , antiderivative size = 47, normalized size of antiderivative = 0.35
method | result | size |
derivativedivides | \(\frac {8 \left (1+\sqrt {1+\sqrt {1+x}}\right )^{\frac {9}{2}}}{9}-\frac {24 \left (1+\sqrt {1+\sqrt {1+x}}\right )^{\frac {7}{2}}}{7}+\frac {16 \left (1+\sqrt {1+\sqrt {1+x}}\right )^{\frac {5}{2}}}{5}\) | \(47\) |
default | \(\frac {8 \left (1+\sqrt {1+\sqrt {1+x}}\right )^{\frac {9}{2}}}{9}-\frac {24 \left (1+\sqrt {1+\sqrt {1+x}}\right )^{\frac {7}{2}}}{7}+\frac {16 \left (1+\sqrt {1+\sqrt {1+x}}\right )^{\frac {5}{2}}}{5}\) | \(47\) |
[In]
[Out]
none
Time = 0.25 (sec) , antiderivative size = 44, normalized size of antiderivative = 0.33 \[ \int \sqrt {1+\sqrt {1+\sqrt {1+x}}} \, dx=\frac {8}{315} \, {\left ({\left (5 \, \sqrt {x + 1} - 8\right )} \sqrt {\sqrt {x + 1} + 1} + 35 \, x + \sqrt {x + 1} + 27\right )} \sqrt {\sqrt {\sqrt {x + 1} + 1} + 1} \]
[In]
[Out]
Time = 1.31 (sec) , antiderivative size = 230, normalized size of antiderivative = 1.73 \[ \int \sqrt {1+\sqrt {1+\sqrt {1+x}}} \, dx=- \frac {\sqrt {2} \sqrt {x + 1} \sqrt {\sqrt {x + 1} + 1} \sqrt {\sqrt {\sqrt {x + 1} + 1} + 1} \Gamma \left (- \frac {1}{4}\right ) \Gamma \left (\frac {1}{4}\right )}{63 \pi } - \frac {\sqrt {2} \sqrt {x + 1} \sqrt {\sqrt {\sqrt {x + 1} + 1} + 1} \Gamma \left (- \frac {1}{4}\right ) \Gamma \left (\frac {1}{4}\right )}{315 \pi } - \frac {\sqrt {2} \left (x + 1\right ) \sqrt {\sqrt {\sqrt {x + 1} + 1} + 1} \Gamma \left (- \frac {1}{4}\right ) \Gamma \left (\frac {1}{4}\right )}{9 \pi } + \frac {8 \sqrt {2} \sqrt {\sqrt {x + 1} + 1} \sqrt {\sqrt {\sqrt {x + 1} + 1} + 1} \Gamma \left (- \frac {1}{4}\right ) \Gamma \left (\frac {1}{4}\right )}{315 \pi } + \frac {8 \sqrt {2} \sqrt {\sqrt {\sqrt {x + 1} + 1} + 1} \Gamma \left (- \frac {1}{4}\right ) \Gamma \left (\frac {1}{4}\right )}{315 \pi } \]
[In]
[Out]
Result contains higher order function than in optimal. Order 3 vs. order 2.
Time = 0.19 (sec) , antiderivative size = 46, normalized size of antiderivative = 0.35 \[ \int \sqrt {1+\sqrt {1+\sqrt {1+x}}} \, dx=\frac {8}{9} \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {9}{2}} - \frac {24}{7} \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {7}{2}} + \frac {16}{5} \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {5}{2}} \]
[In]
[Out]
Result contains higher order function than in optimal. Order 3 vs. order 2.
Time = 0.35 (sec) , antiderivative size = 312, normalized size of antiderivative = 2.35 \[ \int \sqrt {1+\sqrt {1+\sqrt {1+x}}} \, dx=\frac {8}{315} \, {\left ({\left (35 \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {9}{2}} - 180 \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {7}{2}} + 378 \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {5}{2}} - 420 \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {3}{2}} + 315 \, \sqrt {\sqrt {\sqrt {x + 1} + 1} + 1}\right )} \mathrm {sgn}\left (4 \, {\left (\sqrt {x + 1} + 1\right )}^{2} - 8 \, \sqrt {x + 1} - 7\right ) + 9 \, {\left (5 \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {7}{2}} - 21 \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {5}{2}} + 35 \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {3}{2}} - 35 \, \sqrt {\sqrt {\sqrt {x + 1} + 1} + 1}\right )} \mathrm {sgn}\left (4 \, {\left (\sqrt {x + 1} + 1\right )}^{2} - 8 \, \sqrt {x + 1} - 7\right ) - 21 \, {\left (3 \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {5}{2}} - 10 \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {3}{2}} + 15 \, \sqrt {\sqrt {\sqrt {x + 1} + 1} + 1}\right )} \mathrm {sgn}\left (4 \, {\left (\sqrt {x + 1} + 1\right )}^{2} - 8 \, \sqrt {x + 1} - 7\right ) - 105 \, {\left ({\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {3}{2}} - 3 \, \sqrt {\sqrt {\sqrt {x + 1} + 1} + 1}\right )} \mathrm {sgn}\left (4 \, {\left (\sqrt {x + 1} + 1\right )}^{2} - 8 \, \sqrt {x + 1} - 7\right )\right )} \mathrm {sgn}\left (4 \, x + 1\right ) \]
[In]
[Out]
Timed out. \[ \int \sqrt {1+\sqrt {1+\sqrt {1+x}}} \, dx=\int \sqrt {\sqrt {\sqrt {x+1}+1}+1} \,d x \]
[In]
[Out]