Optimal. Leaf size=555 \[ \log (1+x)+\frac {2 \log \left (x+\sqrt {1+x}\right )}{\sqrt {1+x}}-6 \log \left (\sqrt {1+x}\right ) \log \left (x+\sqrt {1+x}\right )-\frac {\log ^2\left (x+\sqrt {1+x}\right )}{1+x}-\left (1+\sqrt {5}\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )+6 \log \left (\frac {1}{2} \left (-1+\sqrt {5}\right )\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )+\left (3+\sqrt {5}\right ) \log \left (x+\sqrt {1+x}\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )-\frac {1}{2} \left (3+\sqrt {5}\right ) \log ^2\left (1-\sqrt {5}+2 \sqrt {1+x}\right )-\left (1-\sqrt {5}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )+\left (3-\sqrt {5}\right ) \log \left (x+\sqrt {1+x}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )-\left (3-\sqrt {5}\right ) \log \left (-\frac {1-\sqrt {5}+2 \sqrt {1+x}}{2 \sqrt {5}}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )-\frac {1}{2} \left (3-\sqrt {5}\right ) \log ^2\left (1+\sqrt {5}+2 \sqrt {1+x}\right )-\left (3+\sqrt {5}\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right ) \log \left (\frac {1+\sqrt {5}+2 \sqrt {1+x}}{2 \sqrt {5}}\right )+6 \log \left (\sqrt {1+x}\right ) \log \left (1+\frac {2 \sqrt {1+x}}{1+\sqrt {5}}\right )+6 \text {Li}_2\left (-\frac {2 \sqrt {1+x}}{1+\sqrt {5}}\right )-\left (3+\sqrt {5}\right ) \text {Li}_2\left (-\frac {1-\sqrt {5}+2 \sqrt {1+x}}{2 \sqrt {5}}\right )-\left (3-\sqrt {5}\right ) \text {Li}_2\left (\frac {1+\sqrt {5}+2 \sqrt {1+x}}{2 \sqrt {5}}\right )-6 \text {Li}_2\left (1+\frac {2 \sqrt {1+x}}{1-\sqrt {5}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.49, antiderivative size = 555, normalized size of antiderivative = 1.00, number of steps
used = 35, number of rules used = 16, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.889, Rules used = {2605,
2608, 814, 646, 31, 2604, 2404, 2353, 2352, 2354, 2438, 2465, 2437, 2338, 2441, 2440}
\begin {gather*} 6 \text {PolyLog}\left (2,-\frac {2 \sqrt {x+1}}{1+\sqrt {5}}\right )-\left (3+\sqrt {5}\right ) \text {PolyLog}\left (2,-\frac {2 \sqrt {x+1}-\sqrt {5}+1}{2 \sqrt {5}}\right )-\left (3-\sqrt {5}\right ) \text {PolyLog}\left (2,\frac {2 \sqrt {x+1}+\sqrt {5}+1}{2 \sqrt {5}}\right )-6 \text {PolyLog}\left (2,\frac {2 \sqrt {x+1}}{1-\sqrt {5}}+1\right )-\frac {\log ^2\left (x+\sqrt {x+1}\right )}{x+1}-\frac {1}{2} \left (3+\sqrt {5}\right ) \log ^2\left (2 \sqrt {x+1}-\sqrt {5}+1\right )-\frac {1}{2} \left (3-\sqrt {5}\right ) \log ^2\left (2 \sqrt {x+1}+\sqrt {5}+1\right )-6 \log \left (\sqrt {x+1}\right ) \log \left (x+\sqrt {x+1}\right )+\left (3+\sqrt {5}\right ) \log \left (2 \sqrt {x+1}-\sqrt {5}+1\right ) \log \left (x+\sqrt {x+1}\right )+\left (3-\sqrt {5}\right ) \log \left (2 \sqrt {x+1}+\sqrt {5}+1\right ) \log \left (x+\sqrt {x+1}\right )+\frac {2 \log \left (x+\sqrt {x+1}\right )}{\sqrt {x+1}}+\log (x+1)+6 \log \left (\frac {1}{2} \left (\sqrt {5}-1\right )\right ) \log \left (2 \sqrt {x+1}-\sqrt {5}+1\right )-\left (1+\sqrt {5}\right ) \log \left (2 \sqrt {x+1}-\sqrt {5}+1\right )-\left (3-\sqrt {5}\right ) \log \left (-\frac {2 \sqrt {x+1}-\sqrt {5}+1}{2 \sqrt {5}}\right ) \log \left (2 \sqrt {x+1}+\sqrt {5}+1\right )-\left (1-\sqrt {5}\right ) \log \left (2 \sqrt {x+1}+\sqrt {5}+1\right )-\left (3+\sqrt {5}\right ) \log \left (2 \sqrt {x+1}-\sqrt {5}+1\right ) \log \left (\frac {2 \sqrt {x+1}+\sqrt {5}+1}{2 \sqrt {5}}\right )+6 \log \left (\sqrt {x+1}\right ) \log \left (\frac {2 \sqrt {x+1}}{1+\sqrt {5}}+1\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 646
Rule 814
Rule 2338
Rule 2352
Rule 2353
Rule 2354
Rule 2404
Rule 2437
Rule 2438
Rule 2440
Rule 2441
Rule 2465
Rule 2604
Rule 2605
Rule 2608
Rubi steps
\begin {align*} \int \frac {\log ^2\left (x+\sqrt {1+x}\right )}{(1+x)^2} \, dx &=2 \text {Subst}\left (\int \frac {\log ^2\left (-1+x+x^2\right )}{x^3} \, dx,x,\sqrt {1+x}\right )\\ &=-\frac {\log ^2\left (x+\sqrt {1+x}\right )}{1+x}+2 \text {Subst}\left (\int \frac {(1+2 x) \log \left (-1+x+x^2\right )}{x^2 \left (-1+x+x^2\right )} \, dx,x,\sqrt {1+x}\right )\\ &=-\frac {\log ^2\left (x+\sqrt {1+x}\right )}{1+x}+2 \text {Subst}\left (\int \left (-\frac {\log \left (-1+x+x^2\right )}{x^2}-\frac {3 \log \left (-1+x+x^2\right )}{x}+\frac {(4+3 x) \log \left (-1+x+x^2\right )}{-1+x+x^2}\right ) \, dx,x,\sqrt {1+x}\right )\\ &=-\frac {\log ^2\left (x+\sqrt {1+x}\right )}{1+x}-2 \text {Subst}\left (\int \frac {\log \left (-1+x+x^2\right )}{x^2} \, dx,x,\sqrt {1+x}\right )+2 \text {Subst}\left (\int \frac {(4+3 x) \log \left (-1+x+x^2\right )}{-1+x+x^2} \, dx,x,\sqrt {1+x}\right )-6 \text {Subst}\left (\int \frac {\log \left (-1+x+x^2\right )}{x} \, dx,x,\sqrt {1+x}\right )\\ &=\frac {2 \log \left (x+\sqrt {1+x}\right )}{\sqrt {1+x}}-6 \log \left (\sqrt {1+x}\right ) \log \left (x+\sqrt {1+x}\right )-\frac {\log ^2\left (x+\sqrt {1+x}\right )}{1+x}-2 \text {Subst}\left (\int \frac {1+2 x}{x \left (-1+x+x^2\right )} \, dx,x,\sqrt {1+x}\right )+2 \text {Subst}\left (\int \left (\frac {\left (3+\sqrt {5}\right ) \log \left (-1+x+x^2\right )}{1-\sqrt {5}+2 x}+\frac {\left (3-\sqrt {5}\right ) \log \left (-1+x+x^2\right )}{1+\sqrt {5}+2 x}\right ) \, dx,x,\sqrt {1+x}\right )+6 \text {Subst}\left (\int \frac {(1+2 x) \log (x)}{-1+x+x^2} \, dx,x,\sqrt {1+x}\right )\\ &=\frac {2 \log \left (x+\sqrt {1+x}\right )}{\sqrt {1+x}}-6 \log \left (\sqrt {1+x}\right ) \log \left (x+\sqrt {1+x}\right )-\frac {\log ^2\left (x+\sqrt {1+x}\right )}{1+x}-2 \text {Subst}\left (\int \left (-\frac {1}{x}+\frac {3+x}{-1+x+x^2}\right ) \, dx,x,\sqrt {1+x}\right )+6 \text {Subst}\left (\int \left (\frac {2 \log (x)}{1-\sqrt {5}+2 x}+\frac {2 \log (x)}{1+\sqrt {5}+2 x}\right ) \, dx,x,\sqrt {1+x}\right )+\left (2 \left (3-\sqrt {5}\right )\right ) \text {Subst}\left (\int \frac {\log \left (-1+x+x^2\right )}{1+\sqrt {5}+2 x} \, dx,x,\sqrt {1+x}\right )+\left (2 \left (3+\sqrt {5}\right )\right ) \text {Subst}\left (\int \frac {\log \left (-1+x+x^2\right )}{1-\sqrt {5}+2 x} \, dx,x,\sqrt {1+x}\right )\\ &=\log (1+x)+\frac {2 \log \left (x+\sqrt {1+x}\right )}{\sqrt {1+x}}-6 \log \left (\sqrt {1+x}\right ) \log \left (x+\sqrt {1+x}\right )-\frac {\log ^2\left (x+\sqrt {1+x}\right )}{1+x}+\left (3+\sqrt {5}\right ) \log \left (x+\sqrt {1+x}\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )+\left (3-\sqrt {5}\right ) \log \left (x+\sqrt {1+x}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )-2 \text {Subst}\left (\int \frac {3+x}{-1+x+x^2} \, dx,x,\sqrt {1+x}\right )+12 \text {Subst}\left (\int \frac {\log (x)}{1-\sqrt {5}+2 x} \, dx,x,\sqrt {1+x}\right )+12 \text {Subst}\left (\int \frac {\log (x)}{1+\sqrt {5}+2 x} \, dx,x,\sqrt {1+x}\right )+\left (-3-\sqrt {5}\right ) \text {Subst}\left (\int \frac {(1+2 x) \log \left (1-\sqrt {5}+2 x\right )}{-1+x+x^2} \, dx,x,\sqrt {1+x}\right )+\left (-3+\sqrt {5}\right ) \text {Subst}\left (\int \frac {(1+2 x) \log \left (1+\sqrt {5}+2 x\right )}{-1+x+x^2} \, dx,x,\sqrt {1+x}\right )\\ &=\log (1+x)+\frac {2 \log \left (x+\sqrt {1+x}\right )}{\sqrt {1+x}}-6 \log \left (\sqrt {1+x}\right ) \log \left (x+\sqrt {1+x}\right )-\frac {\log ^2\left (x+\sqrt {1+x}\right )}{1+x}+6 \log \left (\frac {1}{2} \left (-1+\sqrt {5}\right )\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )+\left (3+\sqrt {5}\right ) \log \left (x+\sqrt {1+x}\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )+\left (3-\sqrt {5}\right ) \log \left (x+\sqrt {1+x}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )+6 \log \left (\sqrt {1+x}\right ) \log \left (1+\frac {2 \sqrt {1+x}}{1+\sqrt {5}}\right )-6 \text {Subst}\left (\int \frac {\log \left (1+\frac {2 x}{1+\sqrt {5}}\right )}{x} \, dx,x,\sqrt {1+x}\right )+12 \text {Subst}\left (\int \frac {\log \left (-\frac {2 x}{1-\sqrt {5}}\right )}{1-\sqrt {5}+2 x} \, dx,x,\sqrt {1+x}\right )+\left (-3-\sqrt {5}\right ) \text {Subst}\left (\int \left (\frac {2 \log \left (1-\sqrt {5}+2 x\right )}{1-\sqrt {5}+2 x}+\frac {2 \log \left (1-\sqrt {5}+2 x\right )}{1+\sqrt {5}+2 x}\right ) \, dx,x,\sqrt {1+x}\right )-\left (1-\sqrt {5}\right ) \text {Subst}\left (\int \frac {1}{\frac {1}{2}+\frac {\sqrt {5}}{2}+x} \, dx,x,\sqrt {1+x}\right )+\left (-3+\sqrt {5}\right ) \text {Subst}\left (\int \left (\frac {2 \log \left (1+\sqrt {5}+2 x\right )}{1-\sqrt {5}+2 x}+\frac {2 \log \left (1+\sqrt {5}+2 x\right )}{1+\sqrt {5}+2 x}\right ) \, dx,x,\sqrt {1+x}\right )-\left (1+\sqrt {5}\right ) \text {Subst}\left (\int \frac {1}{\frac {1}{2}-\frac {\sqrt {5}}{2}+x} \, dx,x,\sqrt {1+x}\right )\\ &=\log (1+x)+\frac {2 \log \left (x+\sqrt {1+x}\right )}{\sqrt {1+x}}-6 \log \left (\sqrt {1+x}\right ) \log \left (x+\sqrt {1+x}\right )-\frac {\log ^2\left (x+\sqrt {1+x}\right )}{1+x}-\left (1+\sqrt {5}\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )+6 \log \left (\frac {1}{2} \left (-1+\sqrt {5}\right )\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )+\left (3+\sqrt {5}\right ) \log \left (x+\sqrt {1+x}\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )-\left (1-\sqrt {5}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )+\left (3-\sqrt {5}\right ) \log \left (x+\sqrt {1+x}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )+6 \log \left (\sqrt {1+x}\right ) \log \left (1+\frac {2 \sqrt {1+x}}{1+\sqrt {5}}\right )+6 \text {Li}_2\left (-\frac {2 \sqrt {1+x}}{1+\sqrt {5}}\right )-6 \text {Li}_2\left (1+\frac {2 \sqrt {1+x}}{1-\sqrt {5}}\right )-\left (2 \left (3-\sqrt {5}\right )\right ) \text {Subst}\left (\int \frac {\log \left (1+\sqrt {5}+2 x\right )}{1-\sqrt {5}+2 x} \, dx,x,\sqrt {1+x}\right )-\left (2 \left (3-\sqrt {5}\right )\right ) \text {Subst}\left (\int \frac {\log \left (1+\sqrt {5}+2 x\right )}{1+\sqrt {5}+2 x} \, dx,x,\sqrt {1+x}\right )-\left (2 \left (3+\sqrt {5}\right )\right ) \text {Subst}\left (\int \frac {\log \left (1-\sqrt {5}+2 x\right )}{1-\sqrt {5}+2 x} \, dx,x,\sqrt {1+x}\right )-\left (2 \left (3+\sqrt {5}\right )\right ) \text {Subst}\left (\int \frac {\log \left (1-\sqrt {5}+2 x\right )}{1+\sqrt {5}+2 x} \, dx,x,\sqrt {1+x}\right )\\ &=\log (1+x)+\frac {2 \log \left (x+\sqrt {1+x}\right )}{\sqrt {1+x}}-6 \log \left (\sqrt {1+x}\right ) \log \left (x+\sqrt {1+x}\right )-\frac {\log ^2\left (x+\sqrt {1+x}\right )}{1+x}-\left (1+\sqrt {5}\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )+6 \log \left (\frac {1}{2} \left (-1+\sqrt {5}\right )\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )+\left (3+\sqrt {5}\right ) \log \left (x+\sqrt {1+x}\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )-\left (1-\sqrt {5}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )+\left (3-\sqrt {5}\right ) \log \left (x+\sqrt {1+x}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )-\left (3-\sqrt {5}\right ) \log \left (-\frac {1-\sqrt {5}+2 \sqrt {1+x}}{2 \sqrt {5}}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )-\left (3+\sqrt {5}\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right ) \log \left (\frac {1+\sqrt {5}+2 \sqrt {1+x}}{2 \sqrt {5}}\right )+6 \log \left (\sqrt {1+x}\right ) \log \left (1+\frac {2 \sqrt {1+x}}{1+\sqrt {5}}\right )+6 \text {Li}_2\left (-\frac {2 \sqrt {1+x}}{1+\sqrt {5}}\right )-6 \text {Li}_2\left (1+\frac {2 \sqrt {1+x}}{1-\sqrt {5}}\right )-\left (3-\sqrt {5}\right ) \text {Subst}\left (\int \frac {\log (x)}{x} \, dx,x,1+\sqrt {5}+2 \sqrt {1+x}\right )+\left (2 \left (3-\sqrt {5}\right )\right ) \text {Subst}\left (\int \frac {\log \left (\frac {2 \left (1-\sqrt {5}+2 x\right )}{2 \left (1-\sqrt {5}\right )-2 \left (1+\sqrt {5}\right )}\right )}{1+\sqrt {5}+2 x} \, dx,x,\sqrt {1+x}\right )-\left (3+\sqrt {5}\right ) \text {Subst}\left (\int \frac {\log (x)}{x} \, dx,x,1-\sqrt {5}+2 \sqrt {1+x}\right )+\left (2 \left (3+\sqrt {5}\right )\right ) \text {Subst}\left (\int \frac {\log \left (\frac {2 \left (1+\sqrt {5}+2 x\right )}{-2 \left (1-\sqrt {5}\right )+2 \left (1+\sqrt {5}\right )}\right )}{1-\sqrt {5}+2 x} \, dx,x,\sqrt {1+x}\right )\\ &=\log (1+x)+\frac {2 \log \left (x+\sqrt {1+x}\right )}{\sqrt {1+x}}-6 \log \left (\sqrt {1+x}\right ) \log \left (x+\sqrt {1+x}\right )-\frac {\log ^2\left (x+\sqrt {1+x}\right )}{1+x}-\left (1+\sqrt {5}\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )+6 \log \left (\frac {1}{2} \left (-1+\sqrt {5}\right )\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )+\left (3+\sqrt {5}\right ) \log \left (x+\sqrt {1+x}\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )-\frac {1}{2} \left (3+\sqrt {5}\right ) \log ^2\left (1-\sqrt {5}+2 \sqrt {1+x}\right )-\left (1-\sqrt {5}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )+\left (3-\sqrt {5}\right ) \log \left (x+\sqrt {1+x}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )-\left (3-\sqrt {5}\right ) \log \left (-\frac {1-\sqrt {5}+2 \sqrt {1+x}}{2 \sqrt {5}}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )-\frac {1}{2} \left (3-\sqrt {5}\right ) \log ^2\left (1+\sqrt {5}+2 \sqrt {1+x}\right )-\left (3+\sqrt {5}\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right ) \log \left (\frac {1+\sqrt {5}+2 \sqrt {1+x}}{2 \sqrt {5}}\right )+6 \log \left (\sqrt {1+x}\right ) \log \left (1+\frac {2 \sqrt {1+x}}{1+\sqrt {5}}\right )+6 \text {Li}_2\left (-\frac {2 \sqrt {1+x}}{1+\sqrt {5}}\right )-6 \text {Li}_2\left (1+\frac {2 \sqrt {1+x}}{1-\sqrt {5}}\right )+\left (3-\sqrt {5}\right ) \text {Subst}\left (\int \frac {\log \left (1+\frac {2 x}{2 \left (1-\sqrt {5}\right )-2 \left (1+\sqrt {5}\right )}\right )}{x} \, dx,x,1+\sqrt {5}+2 \sqrt {1+x}\right )+\left (3+\sqrt {5}\right ) \text {Subst}\left (\int \frac {\log \left (1+\frac {2 x}{-2 \left (1-\sqrt {5}\right )+2 \left (1+\sqrt {5}\right )}\right )}{x} \, dx,x,1-\sqrt {5}+2 \sqrt {1+x}\right )\\ &=\log (1+x)+\frac {2 \log \left (x+\sqrt {1+x}\right )}{\sqrt {1+x}}-6 \log \left (\sqrt {1+x}\right ) \log \left (x+\sqrt {1+x}\right )-\frac {\log ^2\left (x+\sqrt {1+x}\right )}{1+x}-\left (1+\sqrt {5}\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )+6 \log \left (\frac {1}{2} \left (-1+\sqrt {5}\right )\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )+\left (3+\sqrt {5}\right ) \log \left (x+\sqrt {1+x}\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )-\frac {1}{2} \left (3+\sqrt {5}\right ) \log ^2\left (1-\sqrt {5}+2 \sqrt {1+x}\right )-\left (1-\sqrt {5}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )+\left (3-\sqrt {5}\right ) \log \left (x+\sqrt {1+x}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )-\left (3-\sqrt {5}\right ) \log \left (-\frac {1-\sqrt {5}+2 \sqrt {1+x}}{2 \sqrt {5}}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )-\frac {1}{2} \left (3-\sqrt {5}\right ) \log ^2\left (1+\sqrt {5}+2 \sqrt {1+x}\right )-\left (3+\sqrt {5}\right ) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right ) \log \left (\frac {1+\sqrt {5}+2 \sqrt {1+x}}{2 \sqrt {5}}\right )+6 \log \left (\sqrt {1+x}\right ) \log \left (1+\frac {2 \sqrt {1+x}}{1+\sqrt {5}}\right )+6 \text {Li}_2\left (-\frac {2 \sqrt {1+x}}{1+\sqrt {5}}\right )-\left (3+\sqrt {5}\right ) \text {Li}_2\left (-\frac {1-\sqrt {5}+2 \sqrt {1+x}}{2 \sqrt {5}}\right )-\left (3-\sqrt {5}\right ) \text {Li}_2\left (\frac {1+\sqrt {5}+2 \sqrt {1+x}}{2 \sqrt {5}}\right )-6 \text {Li}_2\left (1+\frac {2 \sqrt {1+x}}{1-\sqrt {5}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.99, size = 1076, normalized size = 1.94 \begin {gather*} \frac {1}{2} \left (2 \log (1+x)-6 \log \left (\frac {1}{2} \left (1+\sqrt {5}\right )\right ) \log (1+x)-12 \log \left (\frac {2 \sqrt {1+x}}{-1+\sqrt {5}}\right ) \log \left (\frac {1}{2}-\frac {\sqrt {5}}{2}+\sqrt {1+x}\right )+6 \log (1+x) \log \left (\frac {1}{2}-\frac {\sqrt {5}}{2}+\sqrt {1+x}\right )-6 \log \left (-1+\sqrt {5}-2 \sqrt {1+x}\right ) \log \left (\frac {1}{2}-\frac {\sqrt {5}}{2}+\sqrt {1+x}\right )-2 \sqrt {5} \log \left (-1+\sqrt {5}-2 \sqrt {1+x}\right ) \log \left (\frac {1}{2}-\frac {\sqrt {5}}{2}+\sqrt {1+x}\right )+3 \log ^2\left (\frac {1}{2}-\frac {\sqrt {5}}{2}+\sqrt {1+x}\right )+\sqrt {5} \log ^2\left (\frac {1}{2}-\frac {\sqrt {5}}{2}+\sqrt {1+x}\right )+6 \log (1+x) \log \left (\frac {1}{2} \left (1+\sqrt {5}\right )+\sqrt {1+x}\right )-6 \log \left (-1+\sqrt {5}-2 \sqrt {1+x}\right ) \log \left (\frac {1}{2} \left (1+\sqrt {5}\right )+\sqrt {1+x}\right )-2 \sqrt {5} \log \left (-1+\sqrt {5}-2 \sqrt {1+x}\right ) \log \left (\frac {1}{2} \left (1+\sqrt {5}\right )+\sqrt {1+x}\right )+3 \log ^2\left (\frac {1}{2} \left (1+\sqrt {5}\right )+\sqrt {1+x}\right )-\sqrt {5} \log ^2\left (\frac {1}{2} \left (1+\sqrt {5}\right )+\sqrt {1+x}\right )+\frac {4 \log \left (x+\sqrt {1+x}\right )}{\sqrt {1+x}}-6 \log (1+x) \log \left (x+\sqrt {1+x}\right )+6 \log \left (-1+\sqrt {5}-2 \sqrt {1+x}\right ) \log \left (x+\sqrt {1+x}\right )+2 \sqrt {5} \log \left (-1+\sqrt {5}-2 \sqrt {1+x}\right ) \log \left (x+\sqrt {1+x}\right )-\frac {2 \log ^2\left (x+\sqrt {1+x}\right )}{1+x}-2 \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )-2 \sqrt {5} \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )+3 \log (5) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )+\sqrt {5} \log (5) \log \left (1-\sqrt {5}+2 \sqrt {1+x}\right )-2 \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )+2 \sqrt {5} \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )-6 \log \left (\frac {1}{2}-\frac {\sqrt {5}}{2}+\sqrt {1+x}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )+2 \sqrt {5} \log \left (\frac {1}{2}-\frac {\sqrt {5}}{2}+\sqrt {1+x}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )-6 \log \left (\frac {1}{2} \left (1+\sqrt {5}\right )+\sqrt {1+x}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )+2 \sqrt {5} \log \left (\frac {1}{2} \left (1+\sqrt {5}\right )+\sqrt {1+x}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )+6 \log \left (x+\sqrt {1+x}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )-2 \sqrt {5} \log \left (x+\sqrt {1+x}\right ) \log \left (1+\sqrt {5}+2 \sqrt {1+x}\right )+6 \log \left (\frac {1}{2}-\frac {\sqrt {5}}{2}+\sqrt {1+x}\right ) \log \left (\frac {1+\sqrt {5}+2 \sqrt {1+x}}{2 \sqrt {5}}\right )-2 \sqrt {5} \log \left (\frac {1}{2}-\frac {\sqrt {5}}{2}+\sqrt {1+x}\right ) \log \left (\frac {1+\sqrt {5}+2 \sqrt {1+x}}{2 \sqrt {5}}\right )+12 \text {Li}_2\left (-\frac {2 \sqrt {1+x}}{1+\sqrt {5}}\right )-4 \sqrt {5} \text {Li}_2\left (\frac {-1+\sqrt {5}-2 \sqrt {1+x}}{2 \sqrt {5}}\right )-12 \text {Li}_2\left (\frac {-1+\sqrt {5}-2 \sqrt {1+x}}{-1+\sqrt {5}}\right )\right ) \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 0.01, size = 0, normalized size = 0.00 \[\int \frac {\ln \left (x +\sqrt {1+x}\right )^{2}}{\left (1+x \right )^{2}}\, 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*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [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]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\log {\left (x + \sqrt {x + 1} \right )}^{2}}{\left (x + 1\right )^{2}}\, dx \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*} \text {could not integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\ln \left (x+\sqrt {x+1}\right )}^2}{{\left (x+1\right )}^2} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________