Integrand size = 28, antiderivative size = 105 \[ \int \frac {-1+x}{(1+x) \sqrt {1+\sqrt {1+\sqrt {1+x}}}} \, dx=\frac {-8 (-128-15 x)+64 \sqrt {1+\sqrt {1+x}}+\sqrt {1+x} \left (8-24 \sqrt {1+\sqrt {1+x}}\right )}{105 \sqrt {1+\sqrt {1+\sqrt {1+x}}}}+4 \sqrt {2} \text {arctanh}\left (\frac {\sqrt {1+\sqrt {1+\sqrt {1+x}}}}{\sqrt {2}}\right ) \]
[Out]
Time = 0.41 (sec) , antiderivative size = 124, normalized size of antiderivative = 1.18, number of steps used = 6, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.107, Rules used = {1643, 65, 212} \[ \int \frac {-1+x}{(1+x) \sqrt {1+\sqrt {1+\sqrt {1+x}}}} \, dx=4 \sqrt {2} \text {arctanh}\left (\frac {\sqrt {\sqrt {\sqrt {x+1}+1}+1}}{\sqrt {2}}\right )+\frac {8}{7} \left (\sqrt {\sqrt {x+1}+1}+1\right )^{7/2}-\frac {24}{5} \left (\sqrt {\sqrt {x+1}+1}+1\right )^{5/2}+\frac {16}{3} \left (\sqrt {\sqrt {x+1}+1}+1\right )^{3/2}+\frac {8}{\sqrt {\sqrt {\sqrt {x+1}+1}+1}} \]
[In]
[Out]
Rule 65
Rule 212
Rule 1643
Rubi steps \begin{align*} \text {integral}& = 2 \text {Subst}\left (\int \frac {-2+x^2}{x \sqrt {1+\sqrt {1+x}}} \, dx,x,\sqrt {1+x}\right ) \\ & = 4 \text {Subst}\left (\int \frac {x \left (-2+\left (-1+x^2\right )^2\right )}{\sqrt {1+x} \left (-1+x^2\right )} \, dx,x,\sqrt {1+\sqrt {1+x}}\right ) \\ & = 4 \text {Subst}\left (\int \left (-\frac {1}{(1+x)^{3/2}}+\frac {1}{(1-x) \sqrt {1+x}}+2 \sqrt {1+x}-3 (1+x)^{3/2}+(1+x)^{5/2}\right ) \, dx,x,\sqrt {1+\sqrt {1+x}}\right ) \\ & = \frac {8}{\sqrt {1+\sqrt {1+\sqrt {1+x}}}}+\frac {16}{3} \left (1+\sqrt {1+\sqrt {1+x}}\right )^{3/2}-\frac {24}{5} \left (1+\sqrt {1+\sqrt {1+x}}\right )^{5/2}+\frac {8}{7} \left (1+\sqrt {1+\sqrt {1+x}}\right )^{7/2}+4 \text {Subst}\left (\int \frac {1}{(1-x) \sqrt {1+x}} \, dx,x,\sqrt {1+\sqrt {1+x}}\right ) \\ & = \frac {8}{\sqrt {1+\sqrt {1+\sqrt {1+x}}}}+\frac {16}{3} \left (1+\sqrt {1+\sqrt {1+x}}\right )^{3/2}-\frac {24}{5} \left (1+\sqrt {1+\sqrt {1+x}}\right )^{5/2}+\frac {8}{7} \left (1+\sqrt {1+\sqrt {1+x}}\right )^{7/2}+8 \text {Subst}\left (\int \frac {1}{2-x^2} \, dx,x,\sqrt {1+\sqrt {1+\sqrt {1+x}}}\right ) \\ & = \frac {8}{\sqrt {1+\sqrt {1+\sqrt {1+x}}}}+\frac {16}{3} \left (1+\sqrt {1+\sqrt {1+x}}\right )^{3/2}-\frac {24}{5} \left (1+\sqrt {1+\sqrt {1+x}}\right )^{5/2}+\frac {8}{7} \left (1+\sqrt {1+\sqrt {1+x}}\right )^{7/2}+4 \sqrt {2} \text {arctanh}\left (\frac {\sqrt {1+\sqrt {1+\sqrt {1+x}}}}{\sqrt {2}}\right ) \\ \end{align*}
Time = 0.17 (sec) , antiderivative size = 102, normalized size of antiderivative = 0.97 \[ \int \frac {-1+x}{(1+x) \sqrt {1+\sqrt {1+\sqrt {1+x}}}} \, dx=\frac {-8 \sqrt {1+\sqrt {1+x}} \left (-8+3 \sqrt {1+x}\right )-8 \left (-113-\sqrt {1+x}-15 (1+x)\right )}{105 \sqrt {1+\sqrt {1+\sqrt {1+x}}}}+4 \sqrt {2} \text {arctanh}\left (\frac {\sqrt {1+\sqrt {1+\sqrt {1+x}}}}{\sqrt {2}}\right ) \]
[In]
[Out]
Time = 0.14 (sec) , antiderivative size = 86, normalized size of antiderivative = 0.82
method | result | size |
derivativedivides | \(\frac {8 \left (1+\sqrt {1+\sqrt {1+x}}\right )^{\frac {7}{2}}}{7}-\frac {24 \left (1+\sqrt {1+\sqrt {1+x}}\right )^{\frac {5}{2}}}{5}+\frac {16 \left (1+\sqrt {1+\sqrt {1+x}}\right )^{\frac {3}{2}}}{3}+\frac {8}{\sqrt {1+\sqrt {1+\sqrt {1+x}}}}+4 \sqrt {2}\, \operatorname {arctanh}\left (\frac {\sqrt {1+\sqrt {1+\sqrt {1+x}}}\, \sqrt {2}}{2}\right )\) | \(86\) |
default | \(\frac {8 \left (1+\sqrt {1+\sqrt {1+x}}\right )^{\frac {7}{2}}}{7}-\frac {24 \left (1+\sqrt {1+\sqrt {1+x}}\right )^{\frac {5}{2}}}{5}+\frac {16 \left (1+\sqrt {1+\sqrt {1+x}}\right )^{\frac {3}{2}}}{3}+\frac {8}{\sqrt {1+\sqrt {1+\sqrt {1+x}}}}+4 \sqrt {2}\, \operatorname {arctanh}\left (\frac {\sqrt {1+\sqrt {1+\sqrt {1+x}}}\, \sqrt {2}}{2}\right )\) | \(86\) |
[In]
[Out]
none
Time = 0.29 (sec) , antiderivative size = 150, normalized size of antiderivative = 1.43 \[ \int \frac {-1+x}{(1+x) \sqrt {1+\sqrt {1+\sqrt {1+x}}}} \, dx=\frac {2 \, {\left (105 \, \sqrt {2} {\left (x + 1\right )} \log \left (\frac {2 \, {\left (\sqrt {2} \sqrt {x + 1} \sqrt {\sqrt {x + 1} + 1} + \sqrt {2} \sqrt {x + 1}\right )} \sqrt {\sqrt {\sqrt {x + 1} + 1} + 1} + x + 4 \, \sqrt {x + 1} \sqrt {\sqrt {x + 1} + 1} + 4 \, \sqrt {x + 1} + 1}{x + 1}\right ) - 4 \, {\left (3 \, {\left (6 \, x + 41\right )} \sqrt {x + 1} - {\left (15 \, {\left (x + 8\right )} \sqrt {x + 1} + 4 \, x + 4\right )} \sqrt {\sqrt {x + 1} + 1} - 4 \, x - 4\right )} \sqrt {\sqrt {\sqrt {x + 1} + 1} + 1}\right )}}{105 \, {\left (x + 1\right )}} \]
[In]
[Out]
Time = 2.89 (sec) , antiderivative size = 133, normalized size of antiderivative = 1.27 \[ \int \frac {-1+x}{(1+x) \sqrt {1+\sqrt {1+\sqrt {1+x}}}} \, dx=\frac {8 \left (\sqrt {\sqrt {x + 1} + 1} + 1\right )^{\frac {7}{2}}}{7} - \frac {24 \left (\sqrt {\sqrt {x + 1} + 1} + 1\right )^{\frac {5}{2}}}{5} + \frac {16 \left (\sqrt {\sqrt {x + 1} + 1} + 1\right )^{\frac {3}{2}}}{3} - 2 \sqrt {2} \left (\log {\left (\sqrt {\sqrt {\sqrt {x + 1} + 1} + 1} - \sqrt {2} \right )} - \log {\left (\sqrt {\sqrt {\sqrt {x + 1} + 1} + 1} + \sqrt {2} \right )}\right ) + \frac {8}{\sqrt {\sqrt {\sqrt {x + 1} + 1} + 1}} \]
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 107, normalized size of antiderivative = 1.02 \[ \int \frac {-1+x}{(1+x) \sqrt {1+\sqrt {1+\sqrt {1+x}}}} \, dx=\frac {8}{7} \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {7}{2}} - \frac {24}{5} \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {5}{2}} + \frac {16}{3} \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {3}{2}} - 2 \, \sqrt {2} \log \left (-\frac {\sqrt {2} - \sqrt {\sqrt {\sqrt {x + 1} + 1} + 1}}{\sqrt {2} + \sqrt {\sqrt {\sqrt {x + 1} + 1} + 1}}\right ) + \frac {8}{\sqrt {\sqrt {\sqrt {x + 1} + 1} + 1}} \]
[In]
[Out]
none
Time = 7.03 (sec) , antiderivative size = 110, normalized size of antiderivative = 1.05 \[ \int \frac {-1+x}{(1+x) \sqrt {1+\sqrt {1+\sqrt {1+x}}}} \, dx=\frac {8}{7} \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {7}{2}} - \frac {24}{5} \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {5}{2}} + \frac {16}{3} \, {\left (\sqrt {\sqrt {x + 1} + 1} + 1\right )}^{\frac {3}{2}} - 2 \, \sqrt {2} \log \left (\frac {{\left | -2 \, \sqrt {2} + 2 \, \sqrt {\sqrt {\sqrt {x + 1} + 1} + 1} \right |}}{2 \, {\left (\sqrt {2} + \sqrt {\sqrt {\sqrt {x + 1} + 1} + 1}\right )}}\right ) + \frac {8}{\sqrt {\sqrt {\sqrt {x + 1} + 1} + 1}} \]
[In]
[Out]
Timed out. \[ \int \frac {-1+x}{(1+x) \sqrt {1+\sqrt {1+\sqrt {1+x}}}} \, dx=\int \frac {x-1}{\sqrt {\sqrt {\sqrt {x+1}+1}+1}\,\left (x+1\right )} \,d x \]
[In]
[Out]