Optimal. Leaf size=123 \[ -\frac {1}{3} \sqrt {2} \tan ^{-1}\left (\frac {\sqrt {2} x \sqrt [4]{x^4-x}}{\sqrt {x^4-x}-x^2}\right )-\frac {1}{3} \sqrt {2} \tanh ^{-1}\left (\frac {\frac {\sqrt {x^4-x}}{\sqrt {2}}+\frac {x^2}{\sqrt {2}}}{x \sqrt [4]{x^4-x}}\right )+\frac {4 \left (x^4-x\right )^{3/4} \left (x^3-1\right )}{21 x^6} \]
________________________________________________________________________________________
Rubi [B] time = 0.82, antiderivative size = 338, normalized size of antiderivative = 2.75, number of steps used = 20, number of rules used = 14, integrand size = 36, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.389, Rules used = {2056, 6725, 271, 264, 466, 465, 494, 461, 211, 1165, 628, 1162, 617, 204} \begin {gather*} \frac {\sqrt [4]{x} \sqrt [4]{x^3-1} \log \left (\frac {x^{3/2}}{\sqrt {x^3-1}}-\frac {\sqrt {2} x^{3/4}}{\sqrt [4]{x^3-1}}+1\right )}{3 \sqrt {2} \sqrt [4]{x^4-x}}-\frac {\sqrt [4]{x} \sqrt [4]{x^3-1} \log \left (\frac {x^{3/2}}{\sqrt {x^3-1}}+\frac {\sqrt {2} x^{3/4}}{\sqrt [4]{x^3-1}}+1\right )}{3 \sqrt {2} \sqrt [4]{x^4-x}}+\frac {\sqrt {2} \sqrt [4]{x} \sqrt [4]{x^3-1} \tan ^{-1}\left (1-\frac {\sqrt {2} x^{3/4}}{\sqrt [4]{x^3-1}}\right )}{3 \sqrt [4]{x^4-x}}-\frac {\sqrt {2} \sqrt [4]{x} \sqrt [4]{x^3-1} \tan ^{-1}\left (\frac {\sqrt {2} x^{3/4}}{\sqrt [4]{x^3-1}}+1\right )}{3 \sqrt [4]{x^4-x}}+\frac {\left (1-x^3\right )^2}{21 x^5 \sqrt [4]{x^4-x}}+\frac {1-x^3}{7 x^5 \sqrt [4]{x^4-x}}-\frac {1-x^3}{7 x^2 \sqrt [4]{x^4-x}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 204
Rule 211
Rule 264
Rule 271
Rule 461
Rule 465
Rule 466
Rule 494
Rule 617
Rule 628
Rule 1162
Rule 1165
Rule 2056
Rule 6725
Rubi steps
\begin {align*} \int \frac {1-3 x^3+3 x^6}{x^6 \left (-1+2 x^3\right ) \sqrt [4]{-x+x^4}} \, dx &=\frac {\left (\sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \int \frac {1-3 x^3+3 x^6}{x^{25/4} \sqrt [4]{-1+x^3} \left (-1+2 x^3\right )} \, dx}{\sqrt [4]{-x+x^4}}\\ &=\frac {\left (\sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \int \left (-\frac {3}{4 x^{25/4} \sqrt [4]{-1+x^3}}+\frac {3}{2 x^{13/4} \sqrt [4]{-1+x^3}}+\frac {1}{4 x^{25/4} \sqrt [4]{-1+x^3} \left (-1+2 x^3\right )}\right ) \, dx}{\sqrt [4]{-x+x^4}}\\ &=\frac {\left (\sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \int \frac {1}{x^{25/4} \sqrt [4]{-1+x^3} \left (-1+2 x^3\right )} \, dx}{4 \sqrt [4]{-x+x^4}}-\frac {\left (3 \sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \int \frac {1}{x^{25/4} \sqrt [4]{-1+x^3}} \, dx}{4 \sqrt [4]{-x+x^4}}+\frac {\left (3 \sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \int \frac {1}{x^{13/4} \sqrt [4]{-1+x^3}} \, dx}{2 \sqrt [4]{-x+x^4}}\\ &=\frac {1-x^3}{7 x^5 \sqrt [4]{-x+x^4}}-\frac {2 \left (1-x^3\right )}{3 x^2 \sqrt [4]{-x+x^4}}-\frac {\left (3 \sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \int \frac {1}{x^{13/4} \sqrt [4]{-1+x^3}} \, dx}{7 \sqrt [4]{-x+x^4}}+\frac {\left (\sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \operatorname {Subst}\left (\int \frac {1}{x^{22} \sqrt [4]{-1+x^{12}} \left (-1+2 x^{12}\right )} \, dx,x,\sqrt [4]{x}\right )}{\sqrt [4]{-x+x^4}}\\ &=\frac {1-x^3}{7 x^5 \sqrt [4]{-x+x^4}}-\frac {10 \left (1-x^3\right )}{21 x^2 \sqrt [4]{-x+x^4}}+\frac {\left (\sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \operatorname {Subst}\left (\int \frac {1}{x^8 \sqrt [4]{-1+x^4} \left (-1+2 x^4\right )} \, dx,x,x^{3/4}\right )}{3 \sqrt [4]{-x+x^4}}\\ &=\frac {1-x^3}{7 x^5 \sqrt [4]{-x+x^4}}-\frac {10 \left (1-x^3\right )}{21 x^2 \sqrt [4]{-x+x^4}}+\frac {\left (\sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \operatorname {Subst}\left (\int \frac {\left (1-x^4\right )^2}{x^8 \left (-1-x^4\right )} \, dx,x,\frac {x^{3/4}}{\sqrt [4]{-1+x^3}}\right )}{3 \sqrt [4]{-x+x^4}}\\ &=\frac {1-x^3}{7 x^5 \sqrt [4]{-x+x^4}}-\frac {10 \left (1-x^3\right )}{21 x^2 \sqrt [4]{-x+x^4}}+\frac {\left (\sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \operatorname {Subst}\left (\int \left (-\frac {1}{x^8}+\frac {3}{x^4}-\frac {4}{1+x^4}\right ) \, dx,x,\frac {x^{3/4}}{\sqrt [4]{-1+x^3}}\right )}{3 \sqrt [4]{-x+x^4}}\\ &=\frac {1-x^3}{7 x^5 \sqrt [4]{-x+x^4}}-\frac {1-x^3}{7 x^2 \sqrt [4]{-x+x^4}}+\frac {\left (1-x^3\right )^2}{21 x^5 \sqrt [4]{-x+x^4}}-\frac {\left (4 \sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \operatorname {Subst}\left (\int \frac {1}{1+x^4} \, dx,x,\frac {x^{3/4}}{\sqrt [4]{-1+x^3}}\right )}{3 \sqrt [4]{-x+x^4}}\\ &=\frac {1-x^3}{7 x^5 \sqrt [4]{-x+x^4}}-\frac {1-x^3}{7 x^2 \sqrt [4]{-x+x^4}}+\frac {\left (1-x^3\right )^2}{21 x^5 \sqrt [4]{-x+x^4}}-\frac {\left (2 \sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \operatorname {Subst}\left (\int \frac {1-x^2}{1+x^4} \, dx,x,\frac {x^{3/4}}{\sqrt [4]{-1+x^3}}\right )}{3 \sqrt [4]{-x+x^4}}-\frac {\left (2 \sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \operatorname {Subst}\left (\int \frac {1+x^2}{1+x^4} \, dx,x,\frac {x^{3/4}}{\sqrt [4]{-1+x^3}}\right )}{3 \sqrt [4]{-x+x^4}}\\ &=\frac {1-x^3}{7 x^5 \sqrt [4]{-x+x^4}}-\frac {1-x^3}{7 x^2 \sqrt [4]{-x+x^4}}+\frac {\left (1-x^3\right )^2}{21 x^5 \sqrt [4]{-x+x^4}}-\frac {\left (\sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \operatorname {Subst}\left (\int \frac {1}{1-\sqrt {2} x+x^2} \, dx,x,\frac {x^{3/4}}{\sqrt [4]{-1+x^3}}\right )}{3 \sqrt [4]{-x+x^4}}-\frac {\left (\sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \operatorname {Subst}\left (\int \frac {1}{1+\sqrt {2} x+x^2} \, dx,x,\frac {x^{3/4}}{\sqrt [4]{-1+x^3}}\right )}{3 \sqrt [4]{-x+x^4}}+\frac {\left (\sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \operatorname {Subst}\left (\int \frac {\sqrt {2}+2 x}{-1-\sqrt {2} x-x^2} \, dx,x,\frac {x^{3/4}}{\sqrt [4]{-1+x^3}}\right )}{3 \sqrt {2} \sqrt [4]{-x+x^4}}+\frac {\left (\sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \operatorname {Subst}\left (\int \frac {\sqrt {2}-2 x}{-1+\sqrt {2} x-x^2} \, dx,x,\frac {x^{3/4}}{\sqrt [4]{-1+x^3}}\right )}{3 \sqrt {2} \sqrt [4]{-x+x^4}}\\ &=\frac {1-x^3}{7 x^5 \sqrt [4]{-x+x^4}}-\frac {1-x^3}{7 x^2 \sqrt [4]{-x+x^4}}+\frac {\left (1-x^3\right )^2}{21 x^5 \sqrt [4]{-x+x^4}}+\frac {\sqrt [4]{x} \sqrt [4]{-1+x^3} \log \left (1+\frac {x^{3/2}}{\sqrt {-1+x^3}}-\frac {\sqrt {2} x^{3/4}}{\sqrt [4]{-1+x^3}}\right )}{3 \sqrt {2} \sqrt [4]{-x+x^4}}-\frac {\sqrt [4]{x} \sqrt [4]{-1+x^3} \log \left (1+\frac {x^{3/2}}{\sqrt {-1+x^3}}+\frac {\sqrt {2} x^{3/4}}{\sqrt [4]{-1+x^3}}\right )}{3 \sqrt {2} \sqrt [4]{-x+x^4}}-\frac {\left (\sqrt {2} \sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \operatorname {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\frac {\sqrt {2} x^{3/4}}{\sqrt [4]{-1+x^3}}\right )}{3 \sqrt [4]{-x+x^4}}+\frac {\left (\sqrt {2} \sqrt [4]{x} \sqrt [4]{-1+x^3}\right ) \operatorname {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\frac {\sqrt {2} x^{3/4}}{\sqrt [4]{-1+x^3}}\right )}{3 \sqrt [4]{-x+x^4}}\\ &=\frac {1-x^3}{7 x^5 \sqrt [4]{-x+x^4}}-\frac {1-x^3}{7 x^2 \sqrt [4]{-x+x^4}}+\frac {\left (1-x^3\right )^2}{21 x^5 \sqrt [4]{-x+x^4}}+\frac {\sqrt {2} \sqrt [4]{x} \sqrt [4]{-1+x^3} \tan ^{-1}\left (1-\frac {\sqrt {2} x^{3/4}}{\sqrt [4]{-1+x^3}}\right )}{3 \sqrt [4]{-x+x^4}}-\frac {\sqrt {2} \sqrt [4]{x} \sqrt [4]{-1+x^3} \tan ^{-1}\left (1+\frac {\sqrt {2} x^{3/4}}{\sqrt [4]{-1+x^3}}\right )}{3 \sqrt [4]{-x+x^4}}+\frac {\sqrt [4]{x} \sqrt [4]{-1+x^3} \log \left (1+\frac {x^{3/2}}{\sqrt {-1+x^3}}-\frac {\sqrt {2} x^{3/4}}{\sqrt [4]{-1+x^3}}\right )}{3 \sqrt {2} \sqrt [4]{-x+x^4}}-\frac {\sqrt [4]{x} \sqrt [4]{-1+x^3} \log \left (1+\frac {x^{3/2}}{\sqrt {-1+x^3}}+\frac {\sqrt {2} x^{3/4}}{\sqrt [4]{-1+x^3}}\right )}{3 \sqrt {2} \sqrt [4]{-x+x^4}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 1.37, size = 192, normalized size = 1.56 \begin {gather*} \frac {16 \left (1-2 x^3\right )^2 x^3 \, _3F_2\left (\frac {5}{4},2,2;1,\frac {9}{4};\frac {x^3}{1-x^3}\right )-8 x^3 \, _2F_1\left (\frac {5}{4},2;\frac {9}{4};\frac {x^3}{1-x^3}\right )+192 x^9 \, _2F_1\left (\frac {5}{4},2;\frac {9}{4};\frac {x^3}{1-x^3}\right )-80 x^6 \, _2F_1\left (\frac {5}{4},2;\frac {9}{4};\frac {x^3}{1-x^3}\right )-5 \left (128 x^9-144 x^6+13 x^3+3\right ) \, _2F_1\left (\frac {1}{4},1;\frac {5}{4};\frac {x^3}{1-x^3}\right )+150 x^9-345 x^6+240 x^3-45}{315 x^4 \left (x \left (x^3-1\right )\right )^{5/4}} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.69, size = 123, normalized size = 1.00 \begin {gather*} \frac {4 \left (-1+x^3\right ) \left (-x+x^4\right )^{3/4}}{21 x^6}-\frac {1}{3} \sqrt {2} \tan ^{-1}\left (\frac {\sqrt {2} x \sqrt [4]{-x+x^4}}{-x^2+\sqrt {-x+x^4}}\right )-\frac {1}{3} \sqrt {2} \tanh ^{-1}\left (\frac {\frac {x^2}{\sqrt {2}}+\frac {\sqrt {-x+x^4}}{\sqrt {2}}}{x \sqrt [4]{-x+x^4}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 2.07, size = 479, normalized size = 3.89 \begin {gather*} \frac {28 \, \sqrt {2} x^{6} \arctan \left (-\frac {\sqrt {2} {\left (x^{4} - x\right )}^{\frac {3}{4}} x - \sqrt {2} {\left (x^{4} - x\right )}^{\frac {1}{4}} {\left (x^{3} - 1\right )} + {\left (2 \, x^{4} - \sqrt {2} {\left (x^{4} - x\right )}^{\frac {3}{4}} x - \sqrt {2} {\left (x^{4} - x\right )}^{\frac {1}{4}} {\left (x^{3} - 1\right )} - 2 \, x\right )} \sqrt {\frac {2 \, x^{3} + 2 \, \sqrt {2} {\left (x^{4} - x\right )}^{\frac {1}{4}} x^{2} + 4 \, \sqrt {x^{4} - x} x + 2 \, \sqrt {2} {\left (x^{4} - x\right )}^{\frac {3}{4}} - 1}{2 \, x^{3} - 1}}}{2 \, {\left (x^{4} - x\right )}}\right ) + 28 \, \sqrt {2} x^{6} \arctan \left (-\frac {\sqrt {2} {\left (x^{4} - x\right )}^{\frac {3}{4}} x - \sqrt {2} {\left (x^{4} - x\right )}^{\frac {1}{4}} {\left (x^{3} - 1\right )} - {\left (2 \, x^{4} + \sqrt {2} {\left (x^{4} - x\right )}^{\frac {3}{4}} x + \sqrt {2} {\left (x^{4} - x\right )}^{\frac {1}{4}} {\left (x^{3} - 1\right )} - 2 \, x\right )} \sqrt {\frac {2 \, x^{3} - 2 \, \sqrt {2} {\left (x^{4} - x\right )}^{\frac {1}{4}} x^{2} + 4 \, \sqrt {x^{4} - x} x - 2 \, \sqrt {2} {\left (x^{4} - x\right )}^{\frac {3}{4}} - 1}{2 \, x^{3} - 1}}}{2 \, {\left (x^{4} - x\right )}}\right ) - 7 \, \sqrt {2} x^{6} \log \left (\frac {2 \, x^{3} + 2 \, \sqrt {2} {\left (x^{4} - x\right )}^{\frac {1}{4}} x^{2} + 4 \, \sqrt {x^{4} - x} x + 2 \, \sqrt {2} {\left (x^{4} - x\right )}^{\frac {3}{4}} - 1}{2 \, x^{3} - 1}\right ) + 7 \, \sqrt {2} x^{6} \log \left (\frac {2 \, x^{3} - 2 \, \sqrt {2} {\left (x^{4} - x\right )}^{\frac {1}{4}} x^{2} + 4 \, \sqrt {x^{4} - x} x - 2 \, \sqrt {2} {\left (x^{4} - x\right )}^{\frac {3}{4}} - 1}{2 \, x^{3} - 1}\right ) + 16 \, {\left (x^{4} - x\right )}^{\frac {3}{4}} {\left (x^{3} - 1\right )}}{84 \, x^{6}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.24, size = 125, normalized size = 1.02 \begin {gather*} -\frac {4}{21} \, {\left (-\frac {1}{x^{3}} + 1\right )}^{\frac {7}{4}} - \frac {1}{3} \, \sqrt {2} \arctan \left (\frac {1}{2} \, \sqrt {2} {\left (\sqrt {2} + 2 \, {\left (-\frac {1}{x^{3}} + 1\right )}^{\frac {1}{4}}\right )}\right ) - \frac {1}{3} \, \sqrt {2} \arctan \left (-\frac {1}{2} \, \sqrt {2} {\left (\sqrt {2} - 2 \, {\left (-\frac {1}{x^{3}} + 1\right )}^{\frac {1}{4}}\right )}\right ) + \frac {1}{6} \, \sqrt {2} \log \left (\sqrt {2} {\left (-\frac {1}{x^{3}} + 1\right )}^{\frac {1}{4}} + \sqrt {-\frac {1}{x^{3}} + 1} + 1\right ) - \frac {1}{6} \, \sqrt {2} \log \left (-\sqrt {2} {\left (-\frac {1}{x^{3}} + 1\right )}^{\frac {1}{4}} + \sqrt {-\frac {1}{x^{3}} + 1} + 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [C] time = 7.33, size = 181, normalized size = 1.47
method | result | size |
trager | \(\frac {4 \left (x^{3}-1\right ) \left (x^{4}-x \right )^{\frac {3}{4}}}{21 x^{6}}+\frac {\RootOf \left (\textit {\_Z}^{4}+1\right ) \ln \left (\frac {2 \sqrt {x^{4}-x}\, \RootOf \left (\textit {\_Z}^{4}+1\right )^{3} x -2 \left (x^{4}-x \right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}+1\right )^{2} x^{2}+2 \left (x^{4}-x \right )^{\frac {3}{4}}+\RootOf \left (\textit {\_Z}^{4}+1\right )}{2 x^{3}-1}\right )}{3}+\frac {\RootOf \left (\textit {\_Z}^{4}+1\right )^{3} \ln \left (\frac {2 \left (x^{4}-x \right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}+1\right )^{2} x^{2}+2 \sqrt {x^{4}-x}\, \RootOf \left (\textit {\_Z}^{4}+1\right ) x +2 \left (x^{4}-x \right )^{\frac {3}{4}}+\RootOf \left (\textit {\_Z}^{4}+1\right )^{3}}{2 x^{3}-1}\right )}{3}\) | \(181\) |
risch | \(\frac {\frac {4}{21} x^{6}-\frac {8}{21} x^{3}+\frac {4}{21}}{x^{5} \left (x \left (x^{3}-1\right )\right )^{\frac {1}{4}}}+\frac {\RootOf \left (\textit {\_Z}^{4}+1\right ) \ln \left (\frac {2 \sqrt {x^{4}-x}\, \RootOf \left (\textit {\_Z}^{4}+1\right )^{3} x -2 \left (x^{4}-x \right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}+1\right )^{2} x^{2}+2 \left (x^{4}-x \right )^{\frac {3}{4}}+\RootOf \left (\textit {\_Z}^{4}+1\right )}{2 x^{3}-1}\right )}{3}+\frac {\RootOf \left (\textit {\_Z}^{4}+1\right )^{3} \ln \left (\frac {2 \left (x^{4}-x \right )^{\frac {1}{4}} \RootOf \left (\textit {\_Z}^{4}+1\right )^{2} x^{2}+2 \sqrt {x^{4}-x}\, \RootOf \left (\textit {\_Z}^{4}+1\right ) x +2 \left (x^{4}-x \right )^{\frac {3}{4}}+\RootOf \left (\textit {\_Z}^{4}+1\right )^{3}}{2 x^{3}-1}\right )}{3}\) | \(186\) |
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*} \int \frac {3 \, x^{6} - 3 \, x^{3} + 1}{{\left (x^{4} - x\right )}^{\frac {1}{4}} {\left (2 \, x^{3} - 1\right )} x^{6}}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {3\,x^6-3\,x^3+1}{x^6\,{\left (x^4-x\right )}^{1/4}\,\left (2\,x^3-1\right )} \,d x \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 {3 x^{6} - 3 x^{3} + 1}{x^{6} \sqrt [4]{x \left (x - 1\right ) \left (x^{2} + x + 1\right )} \left (2 x^{3} - 1\right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________