Integrand size = 19, antiderivative size = 127 \[ \int x \log \left (-1+4 x+4 \sqrt {(-1+x) x}\right ) \, dx=\frac {x}{32}-\frac {x^2}{8}-\frac {11}{32} \sqrt {-x+x^2}+\frac {1}{16} (1-2 x) \sqrt {-x+x^2}+\frac {1}{256} \text {arctanh}\left (\frac {1-10 x}{6 \sqrt {-x+x^2}}\right )-\frac {33}{128} \text {arctanh}\left (\frac {x}{\sqrt {-x+x^2}}\right )-\frac {1}{256} \log (1+8 x)+\frac {1}{2} x^2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right ) \]
[Out]
Time = 0.16 (sec) , antiderivative size = 127, normalized size of antiderivative = 1.00, number of steps used = 16, number of rules used = 10, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.526, Rules used = {2617, 2615, 6874, 654, 634, 212, 626, 748, 857, 738} \[ \int x \log \left (-1+4 x+4 \sqrt {(-1+x) x}\right ) \, dx=\frac {1}{256} \text {arctanh}\left (\frac {1-10 x}{6 \sqrt {x^2-x}}\right )-\frac {33}{128} \text {arctanh}\left (\frac {x}{\sqrt {x^2-x}}\right )-\frac {x^2}{8}+\frac {1}{16} (1-2 x) \sqrt {x^2-x}-\frac {11 \sqrt {x^2-x}}{32}+\frac {1}{2} x^2 \log \left (4 \sqrt {x^2-x}+4 x-1\right )+\frac {x}{32}-\frac {1}{256} \log (8 x+1) \]
[In]
[Out]
Rule 212
Rule 626
Rule 634
Rule 654
Rule 738
Rule 748
Rule 857
Rule 2615
Rule 2617
Rule 6874
Rubi steps \begin{align*} \text {integral}& = \int x \log \left (-1+4 x+4 \sqrt {-x+x^2}\right ) \, dx \\ & = \frac {1}{2} x^2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )+4 \int \frac {x^2}{-4 (1+2 x) \sqrt {-x+x^2}+8 \left (-x+x^2\right )} \, dx \\ & = \frac {1}{2} x^2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )+4 \int \left (\frac {1}{128}-\frac {x}{16}-\frac {1}{128 (1+8 x)}-\frac {x}{12 \sqrt {-x+x^2}}-\frac {1}{16} \sqrt {-x+x^2}+\frac {\sqrt {-x+x^2}}{48 (-1-8 x)}\right ) \, dx \\ & = \frac {x}{32}-\frac {x^2}{8}-\frac {1}{256} \log (1+8 x)+\frac {1}{2} x^2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )+\frac {1}{12} \int \frac {\sqrt {-x+x^2}}{-1-8 x} \, dx-\frac {1}{4} \int \sqrt {-x+x^2} \, dx-\frac {1}{3} \int \frac {x}{\sqrt {-x+x^2}} \, dx \\ & = \frac {x}{32}-\frac {x^2}{8}-\frac {11}{32} \sqrt {-x+x^2}+\frac {1}{16} (1-2 x) \sqrt {-x+x^2}-\frac {1}{256} \log (1+8 x)+\frac {1}{2} x^2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )+\frac {1}{192} \int \frac {1-10 x}{(-1-8 x) \sqrt {-x+x^2}} \, dx+\frac {1}{32} \int \frac {1}{\sqrt {-x+x^2}} \, dx-\frac {1}{6} \int \frac {1}{\sqrt {-x+x^2}} \, dx \\ & = \frac {x}{32}-\frac {x^2}{8}-\frac {11}{32} \sqrt {-x+x^2}+\frac {1}{16} (1-2 x) \sqrt {-x+x^2}-\frac {1}{256} \log (1+8 x)+\frac {1}{2} x^2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )+\frac {5}{768} \int \frac {1}{\sqrt {-x+x^2}} \, dx+\frac {3}{256} \int \frac {1}{(-1-8 x) \sqrt {-x+x^2}} \, dx+\frac {1}{16} \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {x}{\sqrt {-x+x^2}}\right )-\frac {1}{3} \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {x}{\sqrt {-x+x^2}}\right ) \\ & = \frac {x}{32}-\frac {x^2}{8}-\frac {11}{32} \sqrt {-x+x^2}+\frac {1}{16} (1-2 x) \sqrt {-x+x^2}-\frac {13}{48} \tanh ^{-1}\left (\frac {x}{\sqrt {-x+x^2}}\right )-\frac {1}{256} \log (1+8 x)+\frac {1}{2} x^2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )+\frac {5}{384} \text {Subst}\left (\int \frac {1}{1-x^2} \, dx,x,\frac {x}{\sqrt {-x+x^2}}\right )-\frac {3}{128} \text {Subst}\left (\int \frac {1}{36-x^2} \, dx,x,\frac {-1+10 x}{\sqrt {-x+x^2}}\right ) \\ & = \frac {x}{32}-\frac {x^2}{8}-\frac {11}{32} \sqrt {-x+x^2}+\frac {1}{16} (1-2 x) \sqrt {-x+x^2}+\frac {1}{256} \tanh ^{-1}\left (\frac {1-10 x}{6 \sqrt {-x+x^2}}\right )-\frac {33}{128} \tanh ^{-1}\left (\frac {x}{\sqrt {-x+x^2}}\right )-\frac {1}{256} \log (1+8 x)+\frac {1}{2} x^2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right ) \\ \end{align*}
Time = 0.41 (sec) , antiderivative size = 190, normalized size of antiderivative = 1.50 \[ \int x \log \left (-1+4 x+4 \sqrt {(-1+x) x}\right ) \, dx=\frac {8 \sqrt {1-x} x^{3/2}-32 \sqrt {1-x} x^{5/2}-32 \sqrt {1-x} x^{3/2} \sqrt {(-1+x) x}-72 \sqrt {-(-1+x)^2 x^2}-66 \sqrt {(-1+x) x} \arcsin \left (\sqrt {1-x}\right )+\sqrt {-((-1+x) x)} \text {arctanh}\left (\frac {1-10 x}{6 \sqrt {(-1+x) x}}\right )-\sqrt {-((-1+x) x)} \log (1+8 x)+128 \sqrt {1-x} x^{5/2} \log \left (-1+4 x+4 \sqrt {(-1+x) x}\right )}{256 \sqrt {-((-1+x) x)}} \]
[In]
[Out]
Time = 0.09 (sec) , antiderivative size = 175, normalized size of antiderivative = 1.38
method | result | size |
parts | \(\frac {x^{2} \ln \left (-1+4 x +4 \sqrt {\left (-1+x \right ) x}\right )}{2}-\frac {61 \ln \left (-\frac {1}{2}+x +\sqrt {x^{2}-x}\right )}{512}-\frac {13 \sqrt {x^{2}-x}}{64}+\frac {\operatorname {arctanh}\left (\frac {\frac {4}{3}-\frac {40 x}{3}}{\sqrt {64 \left (x +\frac {1}{8}\right )^{2}-80 x -1}}\right )}{256}+\frac {x \sqrt {x^{2}-x}}{48}-\frac {x^{2} \sqrt {x^{2}-x}}{3}-\frac {x^{2}}{8}+\frac {x}{32}-\frac {\ln \left (1+8 x \right )}{256}+\frac {3 \left (2 x -1\right ) \sqrt {x^{2}-x}}{32}+\frac {\left (x^{2}-x \right )^{\frac {3}{2}}}{3}+\frac {\sqrt {64 \left (x +\frac {1}{8}\right )^{2}-80 x -1}}{512}-\frac {5 \ln \left (-\frac {1}{2}+x +\sqrt {\left (x +\frac {1}{8}\right )^{2}-\frac {5 x}{4}-\frac {1}{64}}\right )}{512}\) | \(175\) |
[In]
[Out]
none
Time = 0.35 (sec) , antiderivative size = 114, normalized size of antiderivative = 0.90 \[ \int x \log \left (-1+4 x+4 \sqrt {(-1+x) x}\right ) \, dx=-\frac {1}{8} \, x^{2} + \frac {1}{2} \, {\left (x^{2} - 1\right )} \log \left (4 \, x + 4 \, \sqrt {x^{2} - x} - 1\right ) - \frac {1}{32} \, \sqrt {x^{2} - x} {\left (4 \, x + 9\right )} + \frac {1}{32} \, x + \frac {63}{256} \, \log \left (8 \, x + 1\right ) - \frac {31}{256} \, \log \left (-2 \, x + 2 \, \sqrt {x^{2} - x} + 1\right ) + \frac {63}{256} \, \log \left (-2 \, x + 2 \, \sqrt {x^{2} - x} - 1\right ) - \frac {63}{256} \, \log \left (-4 \, x + 4 \, \sqrt {x^{2} - x} + 1\right ) \]
[In]
[Out]
\[ \int x \log \left (-1+4 x+4 \sqrt {(-1+x) x}\right ) \, dx=\int x \log {\left (4 x + 4 \sqrt {x^{2} - x} - 1 \right )}\, dx \]
[In]
[Out]
\[ \int x \log \left (-1+4 x+4 \sqrt {(-1+x) x}\right ) \, dx=\int { x \log \left (4 \, x + 4 \, \sqrt {{\left (x - 1\right )} x} - 1\right ) \,d x } \]
[In]
[Out]
none
Time = 0.41 (sec) , antiderivative size = 114, normalized size of antiderivative = 0.90 \[ \int x \log \left (-1+4 x+4 \sqrt {(-1+x) x}\right ) \, dx=\frac {1}{2} \, x^{2} \log \left (4 \, x + 4 \, \sqrt {{\left (x - 1\right )} x} - 1\right ) - \frac {1}{8} \, x^{2} - \frac {1}{32} \, \sqrt {x^{2} - x} {\left (4 \, x + 9\right )} + \frac {1}{32} \, x - \frac {1}{256} \, \log \left ({\left | 8 \, x + 1 \right |}\right ) + \frac {33}{256} \, \log \left ({\left | -2 \, x + 2 \, \sqrt {x^{2} - x} + 1 \right |}\right ) - \frac {1}{256} \, \log \left ({\left | -2 \, x + 2 \, \sqrt {x^{2} - x} - 1 \right |}\right ) + \frac {1}{256} \, \log \left ({\left | -4 \, x + 4 \, \sqrt {x^{2} - x} + 1 \right |}\right ) \]
[In]
[Out]
Timed out. \[ \int x \log \left (-1+4 x+4 \sqrt {(-1+x) x}\right ) \, dx=\int x\,\ln \left (4\,x+4\,\sqrt {x\,\left (x-1\right )}-1\right ) \,d x \]
[In]
[Out]