Integrand size = 23, antiderivative size = 151 \[ \int \frac {\log \left (-1+4 x+4 \sqrt {(-1+x) x}\right )}{x^{5/2}} \, dx=-\frac {16}{3 \sqrt {x}}+\frac {4 \sqrt {-x+x^2}}{3 x^{3/2}}+\frac {32 \sqrt {2} \sqrt {-x+x^2} \arctan \left (\frac {2}{3} \sqrt {2} \sqrt {-1+x}\right )}{3 \sqrt {-1+x} \sqrt {x}}-\frac {32}{3} \sqrt {2} \arctan \left (2 \sqrt {2} \sqrt {x}\right )+\frac {44}{3} \arctan \left (\frac {\sqrt {x}}{\sqrt {-x+x^2}}\right )-\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{3 x^{3/2}} \]
[Out]
Time = 0.32 (sec) , antiderivative size = 151, normalized size of antiderivative = 1.00, number of steps used = 18, number of rules used = 13, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.565, Rules used = {2617, 2615, 6865, 6874, 209, 1602, 2045, 2033, 2046, 1160, 455, 52, 65} \[ \int \frac {\log \left (-1+4 x+4 \sqrt {(-1+x) x}\right )}{x^{5/2}} \, dx=\frac {32 \sqrt {2} \sqrt {x^2-x} \arctan \left (\frac {2}{3} \sqrt {2} \sqrt {x-1}\right )}{3 \sqrt {x-1} \sqrt {x}}+\frac {44}{3} \arctan \left (\frac {\sqrt {x}}{\sqrt {x^2-x}}\right )-\frac {32}{3} \sqrt {2} \arctan \left (2 \sqrt {2} \sqrt {x}\right )+\frac {4 \sqrt {x^2-x}}{3 x^{3/2}}-\frac {2 \log \left (4 \sqrt {x^2-x}+4 x-1\right )}{3 x^{3/2}}-\frac {16}{3 \sqrt {x}} \]
[In]
[Out]
Rule 52
Rule 65
Rule 209
Rule 455
Rule 1160
Rule 1602
Rule 2033
Rule 2045
Rule 2046
Rule 2615
Rule 2617
Rule 6865
Rule 6874
Rubi steps \begin{align*} \text {integral}& = \int \frac {\log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{x^{5/2}} \, dx \\ & = -\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{3 x^{3/2}}-\frac {16}{3} \int \frac {1}{x^{3/2} \left (-4 (1+2 x) \sqrt {-x+x^2}+8 \left (-x+x^2\right )\right )} \, dx \\ & = -\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{3 x^{3/2}}-\frac {32}{3} \text {Subst}\left (\int \frac {1}{x^2 \left (-4 \left (1+2 x^2\right ) \sqrt {-x^2+x^4}+8 \left (-x^2+x^4\right )\right )} \, dx,x,\sqrt {x}\right ) \\ & = -\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{3 x^{3/2}}-\frac {32}{3} \text {Subst}\left (\int \left (-\frac {1}{2 x^2}+\frac {4}{1+8 x^2}-\frac {x^2}{12 \sqrt {-x^2+x^4}}+\frac {\sqrt {-x^2+x^4}}{4 x^4}-\frac {5 \sqrt {-x^2+x^4}}{4 x^2}+\frac {32 \sqrt {-x^2+x^4}}{3 \left (1+8 x^2\right )}\right ) \, dx,x,\sqrt {x}\right ) \\ & = -\frac {16}{3 \sqrt {x}}-\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{3 x^{3/2}}+\frac {8}{9} \text {Subst}\left (\int \frac {x^2}{\sqrt {-x^2+x^4}} \, dx,x,\sqrt {x}\right )-\frac {8}{3} \text {Subst}\left (\int \frac {\sqrt {-x^2+x^4}}{x^4} \, dx,x,\sqrt {x}\right )+\frac {40}{3} \text {Subst}\left (\int \frac {\sqrt {-x^2+x^4}}{x^2} \, dx,x,\sqrt {x}\right )-\frac {128}{3} \text {Subst}\left (\int \frac {1}{1+8 x^2} \, dx,x,\sqrt {x}\right )-\frac {1024}{9} \text {Subst}\left (\int \frac {\sqrt {-x^2+x^4}}{1+8 x^2} \, dx,x,\sqrt {x}\right ) \\ & = -\frac {16}{3 \sqrt {x}}+\frac {4 \sqrt {-x+x^2}}{3 x^{3/2}}+\frac {128 \sqrt {-x+x^2}}{9 \sqrt {x}}-\frac {32}{3} \sqrt {2} \tan ^{-1}\left (2 \sqrt {2} \sqrt {x}\right )-\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{3 x^{3/2}}-\frac {4}{3} \text {Subst}\left (\int \frac {1}{\sqrt {-x^2+x^4}} \, dx,x,\sqrt {x}\right )-\frac {40}{3} \text {Subst}\left (\int \frac {1}{\sqrt {-x^2+x^4}} \, dx,x,\sqrt {x}\right )-\frac {\left (1024 \sqrt {-x+x^2}\right ) \text {Subst}\left (\int \frac {x \sqrt {-1+x^2}}{1+8 x^2} \, dx,x,\sqrt {x}\right )}{9 \sqrt {-1+x} \sqrt {x}} \\ & = -\frac {16}{3 \sqrt {x}}+\frac {4 \sqrt {-x+x^2}}{3 x^{3/2}}+\frac {128 \sqrt {-x+x^2}}{9 \sqrt {x}}-\frac {32}{3} \sqrt {2} \tan ^{-1}\left (2 \sqrt {2} \sqrt {x}\right )-\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{3 x^{3/2}}+\frac {4}{3} \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt {-x+x^2}}\right )+\frac {40}{3} \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt {-x+x^2}}\right )-\frac {\left (512 \sqrt {-x+x^2}\right ) \text {Subst}\left (\int \frac {\sqrt {-1+x}}{1+8 x} \, dx,x,x\right )}{9 \sqrt {-1+x} \sqrt {x}} \\ & = -\frac {16}{3 \sqrt {x}}+\frac {4 \sqrt {-x+x^2}}{3 x^{3/2}}-\frac {32}{3} \sqrt {2} \tan ^{-1}\left (2 \sqrt {2} \sqrt {x}\right )+\frac {44}{3} \tan ^{-1}\left (\frac {\sqrt {x}}{\sqrt {-x+x^2}}\right )-\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{3 x^{3/2}}+\frac {\left (64 \sqrt {-x+x^2}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {-1+x} (1+8 x)} \, dx,x,x\right )}{\sqrt {-1+x} \sqrt {x}} \\ & = -\frac {16}{3 \sqrt {x}}+\frac {4 \sqrt {-x+x^2}}{3 x^{3/2}}-\frac {32}{3} \sqrt {2} \tan ^{-1}\left (2 \sqrt {2} \sqrt {x}\right )+\frac {44}{3} \tan ^{-1}\left (\frac {\sqrt {x}}{\sqrt {-x+x^2}}\right )-\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{3 x^{3/2}}+\frac {\left (128 \sqrt {-x+x^2}\right ) \text {Subst}\left (\int \frac {1}{9+8 x^2} \, dx,x,\sqrt {-1+x}\right )}{\sqrt {-1+x} \sqrt {x}} \\ & = -\frac {16}{3 \sqrt {x}}+\frac {4 \sqrt {-x+x^2}}{3 x^{3/2}}+\frac {32 \sqrt {2} \sqrt {-x+x^2} \tan ^{-1}\left (\frac {2}{3} \sqrt {2} \sqrt {-1+x}\right )}{3 \sqrt {-1+x} \sqrt {x}}-\frac {32}{3} \sqrt {2} \tan ^{-1}\left (2 \sqrt {2} \sqrt {x}\right )+\frac {44}{3} \tan ^{-1}\left (\frac {\sqrt {x}}{\sqrt {-x+x^2}}\right )-\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{3 x^{3/2}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 0.63 (sec) , antiderivative size = 280, normalized size of antiderivative = 1.85 \[ \int \frac {\log \left (-1+4 x+4 \sqrt {(-1+x) x}\right )}{x^{5/2}} \, dx=-\frac {2 \left (8 \sqrt {-(-1+x)^2} x-2 \sqrt {-(-1+x)^2} \sqrt {(-1+x) x}+8 \sqrt {2-2 x} x \sqrt {(-1+x) x} \arctan \left (\frac {2 \sqrt {2}-i \sqrt {x}}{3 \sqrt {-1+x}}\right )+8 \sqrt {2-2 x} x \sqrt {(-1+x) x} \arctan \left (\frac {2 \sqrt {2}+i \sqrt {x}}{3 \sqrt {-1+x}}\right )+24 \sqrt {1-x} x \sqrt {(-1+x) x} \arctan \left (\sqrt {-1+x}\right )+16 \sqrt {2} \sqrt {-(-1+x)^2} x^{3/2} \arctan \left (2 \sqrt {2} \sqrt {x}\right )-2 \sqrt {-1+x} x \sqrt {(-1+x) x} \text {arctanh}\left (\sqrt {1-x}\right )+\sqrt {-(-1+x)^2} \log \left (-1+4 x+4 \sqrt {(-1+x) x}\right )\right )}{3 \sqrt {-(-1+x)^2} x^{3/2}} \]
[In]
[Out]
\[\int \frac {\ln \left (-1+4 x +4 \sqrt {\left (-1+x \right ) x}\right )}{x^{\frac {5}{2}}}d x\]
[In]
[Out]
none
Time = 0.37 (sec) , antiderivative size = 108, normalized size of antiderivative = 0.72 \[ \int \frac {\log \left (-1+4 x+4 \sqrt {(-1+x) x}\right )}{x^{5/2}} \, dx=-\frac {2 \, {\left (16 \, \sqrt {2} x^{2} \arctan \left (2 \, \sqrt {2} \sqrt {x}\right ) + 16 \, \sqrt {2} x^{2} \arctan \left (\frac {3 \, \sqrt {2} \sqrt {x}}{4 \, \sqrt {x^{2} - x}}\right ) - 22 \, x^{2} \arctan \left (\frac {\sqrt {x}}{\sqrt {x^{2} - x}}\right ) + 8 \, x^{\frac {3}{2}} + \sqrt {x} \log \left (4 \, x + 4 \, \sqrt {x^{2} - x} - 1\right ) - 2 \, \sqrt {x^{2} - x} \sqrt {x}\right )}}{3 \, x^{2}} \]
[In]
[Out]
Timed out. \[ \int \frac {\log \left (-1+4 x+4 \sqrt {(-1+x) x}\right )}{x^{5/2}} \, dx=\text {Timed out} \]
[In]
[Out]
\[ \int \frac {\log \left (-1+4 x+4 \sqrt {(-1+x) x}\right )}{x^{5/2}} \, dx=\int { \frac {\log \left (4 \, x + 4 \, \sqrt {{\left (x - 1\right )} x} - 1\right )}{x^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
none
Time = 0.40 (sec) , antiderivative size = 181, normalized size of antiderivative = 1.20 \[ \int \frac {\log \left (-1+4 x+4 \sqrt {(-1+x) x}\right )}{x^{5/2}} \, dx=\frac {22}{3} \, \pi - \frac {16}{3} \, \sqrt {2} {\left (\pi - 2 \, \arctan \left (\frac {\sqrt {2} {\left ({\left (\sqrt {x - 1} - \sqrt {x}\right )}^{2} - 1\right )}}{3 \, {\left (\sqrt {x - 1} - \sqrt {x}\right )}}\right )\right )} - \frac {32}{3} \, \sqrt {2} \arctan \left (2 \, \sqrt {2} \sqrt {x}\right ) + \frac {8 \, {\left (\sqrt {x - 1} - \sqrt {x} - \frac {1}{\sqrt {x - 1} - \sqrt {x}}\right )}}{3 \, {\left ({\left (\sqrt {x - 1} - \sqrt {x} - \frac {1}{\sqrt {x - 1} - \sqrt {x}}\right )}^{2} + 4\right )}} - \frac {16}{3 \, \sqrt {x}} - \frac {2 \, \log \left (4 \, x + 4 \, \sqrt {x^{2} - x} - 1\right )}{3 \, x^{\frac {3}{2}}} - \frac {44}{3} \, \arctan \left (\frac {{\left (\sqrt {x - 1} - \sqrt {x}\right )}^{2} - 1}{2 \, {\left (\sqrt {x - 1} - \sqrt {x}\right )}}\right ) \]
[In]
[Out]
Timed out. \[ \int \frac {\log \left (-1+4 x+4 \sqrt {(-1+x) x}\right )}{x^{5/2}} \, dx=\int \frac {\ln \left (4\,x+4\,\sqrt {x\,\left (x-1\right )}-1\right )}{x^{5/2}} \,d x \]
[In]
[Out]