Optimal. Leaf size=459 \[ -\frac {\text {ArcTan}\left (\frac {\left (\sqrt {3}+\sqrt {3} x\right ) \left (1-x+x^2\right )}{1+x^3+\sqrt [3]{2} \sqrt [3]{1-3 x+3 x^3-9 x^4+3 x^6-9 x^7+x^9-3 x^{10}}}\right )}{2^{2/3} \sqrt {3}}-\frac {\log \left (1+x^3\right )}{3\ 2^{2/3}}+\frac {\log \left (1+2 x^3+x^6\right )}{6\ 2^{2/3}}+\frac {\log \left (-2-2 x^3+\sqrt [3]{2} \sqrt [3]{1-3 x+3 x^3-9 x^4+3 x^6-9 x^7+x^9-3 x^{10}}\right )}{3\ 2^{2/3}}-\frac {\log \left (4+8 x^3+4 x^6+\left (2 \sqrt [3]{2}+2 \sqrt [3]{2} x^3\right ) \sqrt [3]{1-3 x+3 x^3-9 x^4+3 x^6-9 x^7+x^9-3 x^{10}}+2^{2/3} \left (1-3 x+3 x^3-9 x^4+3 x^6-9 x^7+x^9-3 x^{10}\right )^{2/3}\right )}{6\ 2^{2/3}}+\frac {1}{3} \text {RootSum}\left [7+\text {$\#$1}^3+\text {$\#$1}^6\& ,\frac {5 \log \left (1+x^3\right )-5 \log \left (\sqrt [3]{1-3 x+3 x^3-9 x^4+3 x^6-9 x^7+x^9-3 x^{10}}-\text {$\#$1}-x^3 \text {$\#$1}\right )+\log \left (1+x^3\right ) \text {$\#$1}^3-\log \left (\sqrt [3]{1-3 x+3 x^3-9 x^4+3 x^6-9 x^7+x^9-3 x^{10}}-\text {$\#$1}-x^3 \text {$\#$1}\right ) \text {$\#$1}^3}{\text {$\#$1}+2 \text {$\#$1}^4}\& \right ] \]
[Out]
________________________________________________________________________________________
Rubi [C] Result contains complex when optimal does not.
time = 0.74, antiderivative size = 1245, normalized size of antiderivative = 2.71, number of steps
used = 31, number of rules used = 11, integrand size = 37, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.297, Rules used = {6820, 6851,
2099, 58, 631, 210, 31, 857, 725, 52, 57} \begin {gather*} -\frac {\sqrt [3]{3 x-1} \left (x^3+1\right ) \text {ArcTan}\left (\frac {1-\sqrt [3]{2} \sqrt [3]{3 x-1}}{\sqrt {3}}\right )}{2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (x^3+1\right )^3}}-\frac {i \left (1-3 i \sqrt {3}\right )^{2/3} \sqrt [3]{3 x-1} \left (x^3+1\right ) \text {ArcTan}\left (\frac {\frac {2 \sqrt [3]{2} \sqrt [3]{3 x-1}}{\sqrt [3]{1-3 i \sqrt {3}}}+1}{\sqrt {3}}\right )}{9\ 2^{2/3} \sqrt [3]{(1-3 x) \left (x^3+1\right )^3}}+\frac {5 i \sqrt [3]{2} \sqrt [3]{3 x-1} \left (x^3+1\right ) \text {ArcTan}\left (\frac {\frac {2 \sqrt [3]{2} \sqrt [3]{3 x-1}}{\sqrt [3]{1-3 i \sqrt {3}}}+1}{\sqrt {3}}\right )}{9 \sqrt [3]{1-3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (x^3+1\right )^3}}+\frac {i \left (1+3 i \sqrt {3}\right )^{2/3} \sqrt [3]{3 x-1} \left (x^3+1\right ) \text {ArcTan}\left (\frac {\frac {2 \sqrt [3]{2} \sqrt [3]{3 x-1}}{\sqrt [3]{1+3 i \sqrt {3}}}+1}{\sqrt {3}}\right )}{9\ 2^{2/3} \sqrt [3]{(1-3 x) \left (x^3+1\right )^3}}-\frac {5 i \sqrt [3]{2} \sqrt [3]{3 x-1} \left (x^3+1\right ) \text {ArcTan}\left (\frac {\frac {2 \sqrt [3]{2} \sqrt [3]{3 x-1}}{\sqrt [3]{1+3 i \sqrt {3}}}+1}{\sqrt {3}}\right )}{9 \sqrt [3]{1+3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (x^3+1\right )^3}}+\frac {i \left (1-3 i \sqrt {3}\right )^{2/3} \sqrt [3]{3 x-1} \left (x^3+1\right ) \log \left (-2 x-i \sqrt {3}+1\right )}{18\ 2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (x^3+1\right )^3}}-\frac {5 i \sqrt [3]{3 x-1} \left (x^3+1\right ) \log \left (-2 x-i \sqrt {3}+1\right )}{9\ 2^{2/3} \sqrt {3} \sqrt [3]{1-3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (x^3+1\right )^3}}-\frac {i \left (1+3 i \sqrt {3}\right )^{2/3} \sqrt [3]{3 x-1} \left (x^3+1\right ) \log \left (-2 x+i \sqrt {3}+1\right )}{18\ 2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (x^3+1\right )^3}}+\frac {5 i \sqrt [3]{3 x-1} \left (x^3+1\right ) \log \left (-2 x+i \sqrt {3}+1\right )}{9\ 2^{2/3} \sqrt {3} \sqrt [3]{1+3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (x^3+1\right )^3}}+\frac {\sqrt [3]{3 x-1} \left (x^3+1\right ) \log (x+1)}{6\ 2^{2/3} \sqrt [3]{(1-3 x) \left (x^3+1\right )^3}}-\frac {\sqrt [3]{3 x-1} \left (x^3+1\right ) \log \left (\sqrt [3]{3 x-1}+2^{2/3}\right )}{2\ 2^{2/3} \sqrt [3]{(1-3 x) \left (x^3+1\right )^3}}-\frac {i \left (1-3 i \sqrt {3}\right )^{2/3} \sqrt [3]{3 x-1} \left (x^3+1\right ) \log \left (\sqrt [3]{1-3 i \sqrt {3}}-\sqrt [3]{2} \sqrt [3]{3 x-1}\right )}{6\ 2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (x^3+1\right )^3}}+\frac {5 i \sqrt [3]{3 x-1} \left (x^3+1\right ) \log \left (\sqrt [3]{1-3 i \sqrt {3}}-\sqrt [3]{2} \sqrt [3]{3 x-1}\right )}{3\ 2^{2/3} \sqrt {3} \sqrt [3]{1-3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (x^3+1\right )^3}}+\frac {i \left (1+3 i \sqrt {3}\right )^{2/3} \sqrt [3]{3 x-1} \left (x^3+1\right ) \log \left (\sqrt [3]{1+3 i \sqrt {3}}-\sqrt [3]{2} \sqrt [3]{3 x-1}\right )}{6\ 2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (x^3+1\right )^3}}-\frac {5 i \sqrt [3]{3 x-1} \left (x^3+1\right ) \log \left (\sqrt [3]{1+3 i \sqrt {3}}-\sqrt [3]{2} \sqrt [3]{3 x-1}\right )}{3\ 2^{2/3} \sqrt {3} \sqrt [3]{1+3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (x^3+1\right )^3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 31
Rule 52
Rule 57
Rule 58
Rule 210
Rule 631
Rule 725
Rule 857
Rule 2099
Rule 6820
Rule 6851
Rubi steps
\begin {align*} \int \frac {1}{\sqrt [3]{1-3 x+3 x^3-9 x^4+3 x^6-9 x^7+x^9-3 x^{10}}} \, dx &=\int \frac {1}{\sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}} \, dx\\ &=\frac {\left (\sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \int \frac {1}{\sqrt [3]{-1+3 x} \left (1+x^3\right )} \, dx}{\sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}\\ &=\frac {\left (\sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \int \left (\frac {1}{3 (1+x) \sqrt [3]{-1+3 x}}+\frac {2-x}{3 \sqrt [3]{-1+3 x} \left (1-x+x^2\right )}\right ) \, dx}{\sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}\\ &=\frac {\left (\sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \int \frac {1}{(1+x) \sqrt [3]{-1+3 x}} \, dx}{3 \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}+\frac {\left (\sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \int \frac {2-x}{\sqrt [3]{-1+3 x} \left (1-x+x^2\right )} \, dx}{3 \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}\\ &=\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \log (1+x)}{6\ 2^{2/3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {\left (\sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \int \frac {(-1+3 x)^{2/3}}{1-x+x^2} \, dx}{9 \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}+\frac {\left (\sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \text {Subst}\left (\int \frac {1}{2 \sqrt [3]{2}-2^{2/3} x+x^2} \, dx,x,\sqrt [3]{-1+3 x}\right )}{2 \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}+\frac {\left (5 \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \int \frac {1}{\sqrt [3]{-1+3 x} \left (1-x+x^2\right )} \, dx}{9 \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}-\frac {\left (\sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \text {Subst}\left (\int \frac {1}{2^{2/3}+x} \, dx,x,\sqrt [3]{-1+3 x}\right )}{2\ 2^{2/3} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}\\ &=\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \log (1+x)}{6\ 2^{2/3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (2^{2/3}+\sqrt [3]{-1+3 x}\right )}{2\ 2^{2/3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {\left (\sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \int \left (\frac {2 i (-1+3 x)^{2/3}}{\sqrt {3} \left (1+i \sqrt {3}-2 x\right )}+\frac {2 i (-1+3 x)^{2/3}}{\sqrt {3} \left (-1+i \sqrt {3}+2 x\right )}\right ) \, dx}{9 \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}+\frac {\left (5 \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \int \left (\frac {2 i}{\sqrt {3} \left (1+i \sqrt {3}-2 x\right ) \sqrt [3]{-1+3 x}}+\frac {2 i}{\sqrt {3} \left (-1+i \sqrt {3}+2 x\right ) \sqrt [3]{-1+3 x}}\right ) \, dx}{9 \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}+\frac {\left (\sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1-\sqrt [3]{-2+6 x}\right )}{2^{2/3} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}\\ &=-\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \tan ^{-1}\left (\frac {1-\sqrt [3]{2} \sqrt [3]{-1+3 x}}{\sqrt {3}}\right )}{2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \log (1+x)}{6\ 2^{2/3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (2^{2/3}+\sqrt [3]{-1+3 x}\right )}{2\ 2^{2/3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {\left (2 i \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \int \frac {(-1+3 x)^{2/3}}{1+i \sqrt {3}-2 x} \, dx}{9 \sqrt {3} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}-\frac {\left (2 i \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \int \frac {(-1+3 x)^{2/3}}{-1+i \sqrt {3}+2 x} \, dx}{9 \sqrt {3} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}+\frac {\left (10 i \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \int \frac {1}{\left (1+i \sqrt {3}-2 x\right ) \sqrt [3]{-1+3 x}} \, dx}{9 \sqrt {3} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}+\frac {\left (10 i \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \int \frac {1}{\left (-1+i \sqrt {3}+2 x\right ) \sqrt [3]{-1+3 x}} \, dx}{9 \sqrt {3} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}\\ &=-\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \tan ^{-1}\left (\frac {1-\sqrt [3]{2} \sqrt [3]{-1+3 x}}{\sqrt {3}}\right )}{2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {5 i \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (1-i \sqrt {3}-2 x\right )}{9\ 2^{2/3} \sqrt {3} \sqrt [3]{1-3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {5 i \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (1+i \sqrt {3}-2 x\right )}{9\ 2^{2/3} \sqrt {3} \sqrt [3]{1+3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \log (1+x)}{6\ 2^{2/3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (2^{2/3}+\sqrt [3]{-1+3 x}\right )}{2\ 2^{2/3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {\left (5 i \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \text {Subst}\left (\int \frac {1}{\left (\frac {1}{2} \left (1-3 i \sqrt {3}\right )\right )^{2/3}+\sqrt [3]{\frac {1}{2} \left (1-3 i \sqrt {3}\right )} x+x^2} \, dx,x,\sqrt [3]{-1+3 x}\right )}{6 \sqrt {3} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}-\frac {\left (5 i \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \text {Subst}\left (\int \frac {1}{\left (\frac {1}{2} \left (1+3 i \sqrt {3}\right )\right )^{2/3}+\sqrt [3]{\frac {1}{2} \left (1+3 i \sqrt {3}\right )} x+x^2} \, dx,x,\sqrt [3]{-1+3 x}\right )}{6 \sqrt {3} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}-\frac {\left (5 i \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{\frac {1}{2} \left (1-3 i \sqrt {3}\right )}-x} \, dx,x,\sqrt [3]{-1+3 x}\right )}{3\ 2^{2/3} \sqrt {3} \sqrt [3]{1-3 i \sqrt {3}} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}-\frac {\left (i \left (1-3 i \sqrt {3}\right ) \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \int \frac {1}{\left (-1+i \sqrt {3}+2 x\right ) \sqrt [3]{-1+3 x}} \, dx}{9 \sqrt {3} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}+\frac {\left (5 i \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{\frac {1}{2} \left (1+3 i \sqrt {3}\right )}-x} \, dx,x,\sqrt [3]{-1+3 x}\right )}{3\ 2^{2/3} \sqrt {3} \sqrt [3]{1+3 i \sqrt {3}} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}-\frac {\left (i \left (1+3 i \sqrt {3}\right ) \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \int \frac {1}{\left (1+i \sqrt {3}-2 x\right ) \sqrt [3]{-1+3 x}} \, dx}{9 \sqrt {3} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}\\ &=-\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \tan ^{-1}\left (\frac {1-\sqrt [3]{2} \sqrt [3]{-1+3 x}}{\sqrt {3}}\right )}{2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {5 i \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (1-i \sqrt {3}-2 x\right )}{9\ 2^{2/3} \sqrt {3} \sqrt [3]{1-3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {i \left (1-3 i \sqrt {3}\right )^{2/3} \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (1-i \sqrt {3}-2 x\right )}{18\ 2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {5 i \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (1+i \sqrt {3}-2 x\right )}{9\ 2^{2/3} \sqrt {3} \sqrt [3]{1+3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {i \left (1+3 i \sqrt {3}\right )^{2/3} \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (1+i \sqrt {3}-2 x\right )}{18\ 2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \log (1+x)}{6\ 2^{2/3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (2^{2/3}+\sqrt [3]{-1+3 x}\right )}{2\ 2^{2/3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {5 i \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (\sqrt [3]{1-3 i \sqrt {3}}-\sqrt [3]{2} \sqrt [3]{-1+3 x}\right )}{3\ 2^{2/3} \sqrt {3} \sqrt [3]{1-3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {5 i \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (\sqrt [3]{1+3 i \sqrt {3}}-\sqrt [3]{2} \sqrt [3]{-1+3 x}\right )}{3\ 2^{2/3} \sqrt {3} \sqrt [3]{1+3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {\left (5 i \sqrt [3]{2} \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\frac {2 \sqrt [3]{-2+6 x}}{\sqrt [3]{1-3 i \sqrt {3}}}\right )}{3 \sqrt {3} \sqrt [3]{1-3 i \sqrt {3}} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}+\frac {\left (i \left (1-3 i \sqrt {3}\right )^{2/3} \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{\frac {1}{2} \left (1-3 i \sqrt {3}\right )}-x} \, dx,x,\sqrt [3]{-1+3 x}\right )}{6\ 2^{2/3} \sqrt {3} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}-\frac {\left (i \left (1-3 i \sqrt {3}\right ) \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \text {Subst}\left (\int \frac {1}{\left (\frac {1}{2} \left (1-3 i \sqrt {3}\right )\right )^{2/3}+\sqrt [3]{\frac {1}{2} \left (1-3 i \sqrt {3}\right )} x+x^2} \, dx,x,\sqrt [3]{-1+3 x}\right )}{12 \sqrt {3} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}+\frac {\left (5 i \sqrt [3]{2} \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\frac {2 \sqrt [3]{-2+6 x}}{\sqrt [3]{1+3 i \sqrt {3}}}\right )}{3 \sqrt {3} \sqrt [3]{1+3 i \sqrt {3}} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}-\frac {\left (i \left (1+3 i \sqrt {3}\right )^{2/3} \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \text {Subst}\left (\int \frac {1}{\sqrt [3]{\frac {1}{2} \left (1+3 i \sqrt {3}\right )}-x} \, dx,x,\sqrt [3]{-1+3 x}\right )}{6\ 2^{2/3} \sqrt {3} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}+\frac {\left (i \left (1+3 i \sqrt {3}\right ) \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \text {Subst}\left (\int \frac {1}{\left (\frac {1}{2} \left (1+3 i \sqrt {3}\right )\right )^{2/3}+\sqrt [3]{\frac {1}{2} \left (1+3 i \sqrt {3}\right )} x+x^2} \, dx,x,\sqrt [3]{-1+3 x}\right )}{12 \sqrt {3} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}\\ &=-\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \tan ^{-1}\left (\frac {1-\sqrt [3]{2} \sqrt [3]{-1+3 x}}{\sqrt {3}}\right )}{2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {5 i \sqrt [3]{2} \sqrt [3]{-1+3 x} \left (1+x^3\right ) \tan ^{-1}\left (\frac {1+\frac {2 \sqrt [3]{2} \sqrt [3]{-1+3 x}}{\sqrt [3]{1-3 i \sqrt {3}}}}{\sqrt {3}}\right )}{9 \sqrt [3]{1-3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {5 i \sqrt [3]{2} \sqrt [3]{-1+3 x} \left (1+x^3\right ) \tan ^{-1}\left (\frac {1+\frac {2 \sqrt [3]{2} \sqrt [3]{-1+3 x}}{\sqrt [3]{1+3 i \sqrt {3}}}}{\sqrt {3}}\right )}{9 \sqrt [3]{1+3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {5 i \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (1-i \sqrt {3}-2 x\right )}{9\ 2^{2/3} \sqrt {3} \sqrt [3]{1-3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {i \left (1-3 i \sqrt {3}\right )^{2/3} \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (1-i \sqrt {3}-2 x\right )}{18\ 2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {5 i \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (1+i \sqrt {3}-2 x\right )}{9\ 2^{2/3} \sqrt {3} \sqrt [3]{1+3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {i \left (1+3 i \sqrt {3}\right )^{2/3} \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (1+i \sqrt {3}-2 x\right )}{18\ 2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \log (1+x)}{6\ 2^{2/3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (2^{2/3}+\sqrt [3]{-1+3 x}\right )}{2\ 2^{2/3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {5 i \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (\sqrt [3]{1-3 i \sqrt {3}}-\sqrt [3]{2} \sqrt [3]{-1+3 x}\right )}{3\ 2^{2/3} \sqrt {3} \sqrt [3]{1-3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {i \left (1-3 i \sqrt {3}\right )^{2/3} \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (\sqrt [3]{1-3 i \sqrt {3}}-\sqrt [3]{2} \sqrt [3]{-1+3 x}\right )}{6\ 2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {5 i \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (\sqrt [3]{1+3 i \sqrt {3}}-\sqrt [3]{2} \sqrt [3]{-1+3 x}\right )}{3\ 2^{2/3} \sqrt {3} \sqrt [3]{1+3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {i \left (1+3 i \sqrt {3}\right )^{2/3} \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (\sqrt [3]{1+3 i \sqrt {3}}-\sqrt [3]{2} \sqrt [3]{-1+3 x}\right )}{6\ 2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {\left (i \left (1-3 i \sqrt {3}\right )^{2/3} \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\frac {2 \sqrt [3]{-2+6 x}}{\sqrt [3]{1-3 i \sqrt {3}}}\right )}{3\ 2^{2/3} \sqrt {3} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}-\frac {\left (i \left (1+3 i \sqrt {3}\right )^{2/3} \sqrt [3]{-1+3 x} \left (1+x^3\right )\right ) \text {Subst}\left (\int \frac {1}{-3-x^2} \, dx,x,1+\frac {2 \sqrt [3]{-2+6 x}}{\sqrt [3]{1+3 i \sqrt {3}}}\right )}{3\ 2^{2/3} \sqrt {3} \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}}\\ &=-\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \tan ^{-1}\left (\frac {1-\sqrt [3]{2} \sqrt [3]{-1+3 x}}{\sqrt {3}}\right )}{2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {5 i \sqrt [3]{2} \sqrt [3]{-1+3 x} \left (1+x^3\right ) \tan ^{-1}\left (\frac {1+\frac {2 \sqrt [3]{2} \sqrt [3]{-1+3 x}}{\sqrt [3]{1-3 i \sqrt {3}}}}{\sqrt {3}}\right )}{9 \sqrt [3]{1-3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {i \left (1-3 i \sqrt {3}\right )^{2/3} \sqrt [3]{-1+3 x} \left (1+x^3\right ) \tan ^{-1}\left (\frac {1+\frac {2 \sqrt [3]{2} \sqrt [3]{-1+3 x}}{\sqrt [3]{1-3 i \sqrt {3}}}}{\sqrt {3}}\right )}{9\ 2^{2/3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {5 i \sqrt [3]{2} \sqrt [3]{-1+3 x} \left (1+x^3\right ) \tan ^{-1}\left (\frac {1+\frac {2 \sqrt [3]{2} \sqrt [3]{-1+3 x}}{\sqrt [3]{1+3 i \sqrt {3}}}}{\sqrt {3}}\right )}{9 \sqrt [3]{1+3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {i \left (1+3 i \sqrt {3}\right )^{2/3} \sqrt [3]{-1+3 x} \left (1+x^3\right ) \tan ^{-1}\left (\frac {1+\frac {2 \sqrt [3]{2} \sqrt [3]{-1+3 x}}{\sqrt [3]{1+3 i \sqrt {3}}}}{\sqrt {3}}\right )}{9\ 2^{2/3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {5 i \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (1-i \sqrt {3}-2 x\right )}{9\ 2^{2/3} \sqrt {3} \sqrt [3]{1-3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {i \left (1-3 i \sqrt {3}\right )^{2/3} \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (1-i \sqrt {3}-2 x\right )}{18\ 2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {5 i \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (1+i \sqrt {3}-2 x\right )}{9\ 2^{2/3} \sqrt {3} \sqrt [3]{1+3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {i \left (1+3 i \sqrt {3}\right )^{2/3} \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (1+i \sqrt {3}-2 x\right )}{18\ 2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \log (1+x)}{6\ 2^{2/3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (2^{2/3}+\sqrt [3]{-1+3 x}\right )}{2\ 2^{2/3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {5 i \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (\sqrt [3]{1-3 i \sqrt {3}}-\sqrt [3]{2} \sqrt [3]{-1+3 x}\right )}{3\ 2^{2/3} \sqrt {3} \sqrt [3]{1-3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {i \left (1-3 i \sqrt {3}\right )^{2/3} \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (\sqrt [3]{1-3 i \sqrt {3}}-\sqrt [3]{2} \sqrt [3]{-1+3 x}\right )}{6\ 2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}-\frac {5 i \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (\sqrt [3]{1+3 i \sqrt {3}}-\sqrt [3]{2} \sqrt [3]{-1+3 x}\right )}{3\ 2^{2/3} \sqrt {3} \sqrt [3]{1+3 i \sqrt {3}} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}+\frac {i \left (1+3 i \sqrt {3}\right )^{2/3} \sqrt [3]{-1+3 x} \left (1+x^3\right ) \log \left (\sqrt [3]{1+3 i \sqrt {3}}-\sqrt [3]{2} \sqrt [3]{-1+3 x}\right )}{6\ 2^{2/3} \sqrt {3} \sqrt [3]{(1-3 x) \left (1+x^3\right )^3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.16, size = 179, normalized size = 0.39 \begin {gather*} -\frac {\sqrt [3]{-1+3 x} \left (1+x^3\right ) \left (\sqrt [3]{2} \left (2 \sqrt {3} \text {ArcTan}\left (\frac {1-\sqrt [3]{-2+6 x}}{\sqrt {3}}\right )+2 \log \left (2+\sqrt [3]{-2+6 x}\right )-\log \left (4-2 \sqrt [3]{-2+6 x}+(-2+6 x)^{2/3}\right )\right )+4 \text {RootSum}\left [7-\text {$\#$1}^3+\text {$\#$1}^6\&,\frac {-5 \log \left (\sqrt [3]{-1+3 x}-\text {$\#$1}\right )+\log \left (\sqrt [3]{-1+3 x}-\text {$\#$1}\right ) \text {$\#$1}^3}{-\text {$\#$1}+2 \text {$\#$1}^4}\&\right ]\right )}{12 \sqrt [3]{-\left ((-1+3 x) \left (1+x^3\right )^3\right )}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [C] Result contains higher order function than in optimal. Order 9 vs. order
1.
time = 5.50, size = 30717, normalized size = 66.92
method | result | size |
trager | \(\text {Expression too large to display}\) | \(30717\) |
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 [C] Result contains higher order function than in optimal. Order 3 vs. order
1.
time = 0.75, size = 3411, normalized size = 7.43 \begin {gather*} \text {Too large to display} \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 {1}{\sqrt [3]{- 3 x^{10} + x^{9} - 9 x^{7} + 3 x^{6} - 9 x^{4} + 3 x^{3} - 3 x + 1}}\, 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 {1}{{\left (-3\,x^{10}+x^9-9\,x^7+3\,x^6-9\,x^4+3\,x^3-3\,x+1\right )}^{1/3}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________