Optimal. Leaf size=114 \[ -\frac {2 \log \left (4 \sqrt {x^2-x}+4 x-1\right )}{\sqrt {x}}-\frac {4 \sqrt {2} \sqrt {x^2-x} \tan ^{-1}\left (\frac {2}{3} \sqrt {2} \sqrt {x-1}\right )}{\sqrt {x-1} \sqrt {x}}-8 \tan ^{-1}\left (\frac {\sqrt {x}}{\sqrt {x^2-x}}\right )+4 \sqrt {2} \tan ^{-1}\left (2 \sqrt {2} \sqrt {x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.31, antiderivative size = 114, normalized size of antiderivative = 1.00, number of steps used = 15, number of rules used = 13, integrand size = 23, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.565, Rules used = {2537, 2535, 6733, 6742, 203, 1588, 2021, 2008, 1146, 444, 50, 63, 204} \[ -\frac {2 \log \left (4 \sqrt {x^2-x}+4 x-1\right )}{\sqrt {x}}-\frac {4 \sqrt {2} \sqrt {x^2-x} \tan ^{-1}\left (\frac {2}{3} \sqrt {2} \sqrt {x-1}\right )}{\sqrt {x-1} \sqrt {x}}-8 \tan ^{-1}\left (\frac {\sqrt {x}}{\sqrt {x^2-x}}\right )+4 \sqrt {2} \tan ^{-1}\left (2 \sqrt {2} \sqrt {x}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 50
Rule 63
Rule 203
Rule 204
Rule 444
Rule 1146
Rule 1588
Rule 2008
Rule 2021
Rule 2535
Rule 2537
Rule 6733
Rule 6742
Rubi steps
\begin {align*} \int \frac {\log \left (-1+4 x+4 \sqrt {(-1+x) x}\right )}{x^{3/2}} \, dx &=\int \frac {\log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{x^{3/2}} \, dx\\ &=-\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{\sqrt {x}}-16 \int \frac {1}{\sqrt {x} \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 )}{\sqrt {x}}-32 \operatorname {Subst}\left (\int \frac {1}{-4 \left (1+2 x^2\right ) \sqrt {-x^2+x^4}+8 \left (-x^2+x^4\right )} \, dx,x,\sqrt {x}\right )\\ &=-\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{\sqrt {x}}-32 \operatorname {Subst}\left (\int \left (-\frac {1}{2 \left (1+8 x^2\right )}-\frac {x^2}{12 \sqrt {-x^2+x^4}}+\frac {\sqrt {-x^2+x^4}}{4 x^2}+\frac {4 \sqrt {-x^2+x^4}}{3 \left (-1-8 x^2\right )}\right ) \, dx,x,\sqrt {x}\right )\\ &=-\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{\sqrt {x}}+\frac {8}{3} \operatorname {Subst}\left (\int \frac {x^2}{\sqrt {-x^2+x^4}} \, dx,x,\sqrt {x}\right )-8 \operatorname {Subst}\left (\int \frac {\sqrt {-x^2+x^4}}{x^2} \, dx,x,\sqrt {x}\right )+16 \operatorname {Subst}\left (\int \frac {1}{1+8 x^2} \, dx,x,\sqrt {x}\right )-\frac {128}{3} \operatorname {Subst}\left (\int \frac {\sqrt {-x^2+x^4}}{-1-8 x^2} \, dx,x,\sqrt {x}\right )\\ &=-\frac {16 \sqrt {-x+x^2}}{3 \sqrt {x}}+4 \sqrt {2} \tan ^{-1}\left (2 \sqrt {2} \sqrt {x}\right )-\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{\sqrt {x}}+8 \operatorname {Subst}\left (\int \frac {1}{\sqrt {-x^2+x^4}} \, dx,x,\sqrt {x}\right )-\frac {\left (128 \sqrt {-x+x^2}\right ) \operatorname {Subst}\left (\int \frac {x \sqrt {-1+x^2}}{-1-8 x^2} \, dx,x,\sqrt {x}\right )}{3 \sqrt {-1+x} \sqrt {x}}\\ &=-\frac {16 \sqrt {-x+x^2}}{3 \sqrt {x}}+4 \sqrt {2} \tan ^{-1}\left (2 \sqrt {2} \sqrt {x}\right )-\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{\sqrt {x}}-8 \operatorname {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\frac {\sqrt {x}}{\sqrt {-x+x^2}}\right )-\frac {\left (64 \sqrt {-x+x^2}\right ) \operatorname {Subst}\left (\int \frac {\sqrt {-1+x}}{-1-8 x} \, dx,x,x\right )}{3 \sqrt {-1+x} \sqrt {x}}\\ &=4 \sqrt {2} \tan ^{-1}\left (2 \sqrt {2} \sqrt {x}\right )-8 \tan ^{-1}\left (\frac {\sqrt {x}}{\sqrt {-x+x^2}}\right )-\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{\sqrt {x}}+\frac {\left (24 \sqrt {-x+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{(-1-8 x) \sqrt {-1+x}} \, dx,x,x\right )}{\sqrt {-1+x} \sqrt {x}}\\ &=4 \sqrt {2} \tan ^{-1}\left (2 \sqrt {2} \sqrt {x}\right )-8 \tan ^{-1}\left (\frac {\sqrt {x}}{\sqrt {-x+x^2}}\right )-\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{\sqrt {x}}+\frac {\left (48 \sqrt {-x+x^2}\right ) \operatorname {Subst}\left (\int \frac {1}{-9-8 x^2} \, dx,x,\sqrt {-1+x}\right )}{\sqrt {-1+x} \sqrt {x}}\\ &=-\frac {4 \sqrt {2} \sqrt {-x+x^2} \tan ^{-1}\left (\frac {2}{3} \sqrt {2} \sqrt {-1+x}\right )}{\sqrt {-1+x} \sqrt {x}}+4 \sqrt {2} \tan ^{-1}\left (2 \sqrt {2} \sqrt {x}\right )-8 \tan ^{-1}\left (\frac {\sqrt {x}}{\sqrt {-x+x^2}}\right )-\frac {2 \log \left (-1+4 x+4 \sqrt {-x+x^2}\right )}{\sqrt {x}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.46, size = 177, normalized size = 1.55 \[ -2 i \sqrt {2} \log \left (4 (8 x+1)^2\right )+i \sqrt {2} \log \left ((8 x+1) \left (-10 x-6 \sqrt {(x-1) x}+1\right )\right )-\frac {2 \log \left (4 x+4 \sqrt {(x-1) x}-1\right )}{\sqrt {x}}+i \sqrt {2} \log \left ((8 x+1) \left (-10 x+6 \sqrt {(x-1) x}+1\right )\right )+4 \sqrt {2} \tan ^{-1}\left (2 \sqrt {2} \sqrt {x}\right )+8 \tan ^{-1}\left (\frac {\sqrt {(x-1) x}}{\sqrt {x}}\right )-4 \sqrt {2} \tan ^{-1}\left (\frac {2 \sqrt {2} \sqrt {(x-1) x}}{3 \sqrt {x}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.81, size = 84, normalized size = 0.74 \[ \frac {2 \, {\left (2 \, \sqrt {2} x \arctan \left (2 \, \sqrt {2} \sqrt {x}\right ) + 2 \, \sqrt {2} x \arctan \left (\frac {3 \, \sqrt {2} \sqrt {x}}{4 \, \sqrt {x^{2} - x}}\right ) - 4 \, x \arctan \left (\frac {\sqrt {x}}{\sqrt {x^{2} - x}}\right ) - \sqrt {x} \log \left (4 \, x + 4 \, \sqrt {x^{2} - x} - 1\right )\right )}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.48, size = 166, normalized size = 1.46 \[ 2 \, \sqrt {2} \pi i - 4 \, \pi i + 4 \, \pi \mathrm {sgn}\left (\sqrt {x - 1} - \sqrt {x}\right ) - 2 \, \sqrt {2} {\left (\pi \mathrm {sgn}\left (\sqrt {x - 1} - \sqrt {x}\right ) + 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 )} + 4 \, \sqrt {2} \arctan \left (\frac {2}{3} \, \sqrt {2} i\right ) + 4 \, \sqrt {2} \arctan \left (2 \, \sqrt {2} \sqrt {x}\right ) - \frac {2 \, \log \left (4 \, x + 4 \, \sqrt {{\left (x - 1\right )} x} - 1\right )}{\sqrt {x}} - 8 \, \arctan \relax (i) + 8 \, \arctan \left (\frac {{\left (\sqrt {x - 1} - \sqrt {x}\right )}^{2} - 1}{2 \, {\left (\sqrt {x - 1} - \sqrt {x}\right )}}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.08, size = 0, normalized size = 0.00 \[ \int \frac {\ln \left (4 x -1+4 \sqrt {\left (x -1\right ) x}\right )}{x^{\frac {3}{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 \[ -\frac {2 \, \log \left (4 \, \sqrt {x - 1} \sqrt {x} + 4 \, x - 1\right )}{\sqrt {x}} - \frac {2}{\sqrt {x}} - \int \frac {2 \, x^{2} + x}{4 \, x^{\frac {9}{2}} - 5 \, x^{\frac {7}{2}} + x^{\frac {5}{2}} + 4 \, {\left (x^{4} - x^{3}\right )} \sqrt {x - 1}}\,{d x} - \log \left (\sqrt {x} + 1\right ) + \log \left (\sqrt {x} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int \frac {\ln \left (4\,x+4\,\sqrt {x\,\left (x-1\right )}-1\right )}{x^{3/2}} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________