Optimal. Leaf size=74 \[ \frac{1}{18} \tan ^{-1}\left (\frac{(1-x)^2}{3 \sqrt{x^3-1}}\right )+\frac{1}{18} \tan ^{-1}\left (\frac{\sqrt{x^3-1}}{3}\right )-\frac{\tanh ^{-1}\left (\frac{\sqrt{3} (1-x)}{\sqrt{x^3-1}}\right )}{6 \sqrt{3}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.155523, antiderivative size = 74, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 8, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.444, Rules used = {486, 444, 63, 204, 2138, 203, 2145, 206} \[ \frac{1}{18} \tan ^{-1}\left (\frac{(1-x)^2}{3 \sqrt{x^3-1}}\right )+\frac{1}{18} \tan ^{-1}\left (\frac{\sqrt{x^3-1}}{3}\right )-\frac{\tanh ^{-1}\left (\frac{\sqrt{3} (1-x)}{\sqrt{x^3-1}}\right )}{6 \sqrt{3}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 486
Rule 444
Rule 63
Rule 204
Rule 2138
Rule 203
Rule 2145
Rule 206
Rubi steps
\begin{align*} \int \frac{x}{\sqrt{-1+x^3} \left (8+x^3\right )} \, dx &=-\left (\frac{1}{12} \int \frac{1-x}{(2+x) \sqrt{-1+x^3}} \, dx\right )-\frac{1}{12} \int \frac{-2-2 x+x^2}{\left (4-2 x+x^2\right ) \sqrt{-1+x^3}} \, dx-\frac{1}{4} \int \frac{x^2}{\left (-8-x^3\right ) \sqrt{-1+x^3}} \, dx\\ &=-\left (\frac{1}{12} \operatorname{Subst}\left (\int \frac{1}{(-8-x) \sqrt{-1+x}} \, dx,x,x^3\right )\right )+\frac{1}{6} \operatorname{Subst}\left (\int \frac{1}{9+x^2} \, dx,x,\frac{(1-x)^2}{\sqrt{-1+x^3}}\right )-\frac{1}{3} \operatorname{Subst}\left (\int \frac{1}{2-6 x^2} \, dx,x,\frac{1-x}{\sqrt{-1+x^3}}\right )\\ &=\frac{1}{18} \tan ^{-1}\left (\frac{(1-x)^2}{3 \sqrt{-1+x^3}}\right )-\frac{\tanh ^{-1}\left (\frac{\sqrt{3} (1-x)}{\sqrt{-1+x^3}}\right )}{6 \sqrt{3}}-\frac{1}{6} \operatorname{Subst}\left (\int \frac{1}{-9-x^2} \, dx,x,\sqrt{-1+x^3}\right )\\ &=\frac{1}{18} \tan ^{-1}\left (\frac{(1-x)^2}{3 \sqrt{-1+x^3}}\right )+\frac{1}{18} \tan ^{-1}\left (\frac{1}{3} \sqrt{-1+x^3}\right )-\frac{\tanh ^{-1}\left (\frac{\sqrt{3} (1-x)}{\sqrt{-1+x^3}}\right )}{6 \sqrt{3}}\\ \end{align*}
Mathematica [C] time = 0.0194046, size = 48, normalized size = 0.65 \[ \frac{x^2 \sqrt{1-x^3} F_1\left (\frac{2}{3};\frac{1}{2},1;\frac{5}{3};x^3,-\frac{x^3}{8}\right )}{16 \sqrt{x^3-1}} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.115, size = 286, normalized size = 3.9 \begin{align*} -{\frac{-{\frac{3}{2}}-{\frac{i}{2}}\sqrt{3}}{9}\sqrt{{\frac{-1+x}{-{\frac{3}{2}}-{\frac{i}{2}}\sqrt{3}}}}\sqrt{{\frac{1}{{\frac{3}{2}}-{\frac{i}{2}}\sqrt{3}} \left ( x+{\frac{1}{2}}-{\frac{i}{2}}\sqrt{3} \right ) }}\sqrt{{\frac{1}{{\frac{3}{2}}+{\frac{i}{2}}\sqrt{3}} \left ( x+{\frac{1}{2}}+{\frac{i}{2}}\sqrt{3} \right ) }}{\it EllipticPi} \left ( \sqrt{{\frac{-1+x}{-{\frac{3}{2}}-{\frac{i}{2}}\sqrt{3}}}},{\frac{i}{6}}\sqrt{3}+{\frac{1}{2}},\sqrt{{\frac{{\frac{3}{2}}+{\frac{i}{2}}\sqrt{3}}{{\frac{3}{2}}-{\frac{i}{2}}\sqrt{3}}}} \right ){\frac{1}{\sqrt{{x}^{3}-1}}}}+{\frac{\sqrt{2}}{36}\sum _{{\it \_alpha}={\it RootOf} \left ({{\it \_Z}}^{2}-2\,{\it \_Z}+4 \right ) }{ \left ( 2-{\it \_alpha} \right ) \left ({\it \_alpha}-1 \right ) \left ( -i\sqrt{3}-3 \right ) \sqrt{{\frac{-1+x}{-i\sqrt{3}-3}}}\sqrt{{\frac{2\,x+1-i\sqrt{3}}{-i\sqrt{3}+3}}}\sqrt{{\frac{2\,x+1+i\sqrt{3}}{i\sqrt{3}+3}}}{\it EllipticPi} \left ( \sqrt{{\frac{-1+x}{-{\frac{3}{2}}-{\frac{i}{2}}\sqrt{3}}}},{\frac{i}{6}}{\it \_alpha}\,\sqrt{3}+{\frac{{\it \_alpha}}{2}}-{\frac{i}{6}}\sqrt{3}-{\frac{1}{2}},\sqrt{{\frac{{\frac{3}{2}}+{\frac{i}{2}}\sqrt{3}}{{\frac{3}{2}}-{\frac{i}{2}}\sqrt{3}}}} \right ){\frac{1}{\sqrt{{x}^{3}-1}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{{\left (x^{3} + 8\right )} \sqrt{x^{3} - 1}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 3.58602, size = 1447, normalized size = 19.55 \begin{align*} \frac{1}{216} \, \sqrt{3} \log \left (\frac{4 \,{\left (x^{6} + 48 \, x^{5} + 186 \, x^{4} - 56 \, x^{3} + 6 \, \sqrt{3}{\left (x^{4} + 12 \, x^{3} + 12 \, x^{2} - 16 \, x\right )} \sqrt{x^{3} - 1} - 120 \, x^{2} - 96 \, x + 64\right )}}{x^{6} - 6 \, x^{5} + 24 \, x^{4} - 56 \, x^{3} + 96 \, x^{2} - 96 \, x + 64}\right ) - \frac{1}{216} \, \sqrt{3} \log \left (\frac{4 \,{\left (x^{6} + 48 \, x^{5} + 186 \, x^{4} - 56 \, x^{3} - 6 \, \sqrt{3}{\left (x^{4} + 12 \, x^{3} + 12 \, x^{2} - 16 \, x\right )} \sqrt{x^{3} - 1} - 120 \, x^{2} - 96 \, x + 64\right )}}{x^{6} - 6 \, x^{5} + 24 \, x^{4} - 56 \, x^{3} + 96 \, x^{2} - 96 \, x + 64}\right ) + \frac{1}{54} \, \arctan \left (\frac{{\left (x^{3} - 12 \, x^{2} - 6 \, x - 10\right )} \sqrt{x^{3} - 1}}{6 \,{\left (x^{4} - x^{3} - x + 1\right )}}\right ) - \frac{1}{54} \, \arctan \left (-\frac{\sqrt{x^{3} - 1}{\left (x^{2} - 8 \, x + 10\right )} +{\left (3 \, \sqrt{3}{\left (x^{3} + x^{2} - 2 \, x\right )} - \sqrt{x^{3} - 1}{\left (x^{2} + 10 \, x - 8\right )}\right )} \sqrt{\frac{x^{6} + 48 \, x^{5} + 186 \, x^{4} - 56 \, x^{3} + 6 \, \sqrt{3}{\left (x^{4} + 12 \, x^{3} + 12 \, x^{2} - 16 \, x\right )} \sqrt{x^{3} - 1} - 120 \, x^{2} - 96 \, x + 64}{x^{6} - 6 \, x^{5} + 24 \, x^{4} - 56 \, x^{3} + 96 \, x^{2} - 96 \, x + 64}}}{3 \,{\left (x^{3} - 3 \, x^{2} + 2\right )}}\right ) - \frac{1}{54} \, \arctan \left (-\frac{\sqrt{x^{3} - 1}{\left (x^{2} - 8 \, x + 10\right )} -{\left (3 \, \sqrt{3}{\left (x^{3} + x^{2} - 2 \, x\right )} + \sqrt{x^{3} - 1}{\left (x^{2} + 10 \, x - 8\right )}\right )} \sqrt{\frac{x^{6} + 48 \, x^{5} + 186 \, x^{4} - 56 \, x^{3} - 6 \, \sqrt{3}{\left (x^{4} + 12 \, x^{3} + 12 \, x^{2} - 16 \, x\right )} \sqrt{x^{3} - 1} - 120 \, x^{2} - 96 \, x + 64}{x^{6} - 6 \, x^{5} + 24 \, x^{4} - 56 \, x^{3} + 96 \, x^{2} - 96 \, x + 64}}}{3 \,{\left (x^{3} - 3 \, x^{2} + 2\right )}}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{\sqrt{\left (x - 1\right ) \left (x^{2} + x + 1\right )} \left (x + 2\right ) \left (x^{2} - 2 x + 4\right )}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x}{{\left (x^{3} + 8\right )} \sqrt{x^{3} - 1}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]